Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glib failed to build when migrating to profile 17.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
PhoenixStarEclipse
n00b
n00b


Joined: 11 May 2017
Posts: 71
Location: Jiangsu/China

PostPosted: Fri May 24, 2019 3:06 pm    Post subject: glib failed to build when migrating to profile 17.1 Reply with quote

glib complains about missing libmount, but I think I had it installed:
Code:

╭─ag@AprilGrimoire ~ 
╰─$ ls -al /lib/libmount.so
lrwxrwxrwx 1 root root 22 May 24 22:45 /lib/libmount.so -> /usr/lib32/libmount.so
╭─ag@AprilGrimoire ~ 
╰─$ ls -al /lib32/libmount.so
lrwxrwxrwx 1 root root 22 May 24 22:45 /lib32/libmount.so -> /usr/lib32/libmount.so
╭─ag@AprilGrimoire ~ 
╰─$ locate libmount
/lib/libmount.so
/lib64/libmount.so.1
/lib64/libmount.so.1.1.0
/usr/include/libmount
/usr/include/libmount/libmount.h
/usr/lib/libmount.a
/usr/lib/libmount.so
/usr/lib/libmount.so.1
/usr/lib/libmount.so.1.1.0
/usr/lib64/libmount.a
/usr/lib64/libmount.so


Any suggestions? :D

Here's the build.log for glib:
https://paste.ubuntu.com/p/djj76YMfPk/
_________________
Think twice,code once.


Last edited by PhoenixStarEclipse on Sat May 25, 2019 2:27 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16494

PostPosted: Sat May 25, 2019 12:49 am    Post subject: Re: glib failed to build when migrating to profile 17.1 Reply with quote

PhoenixStarEclipse wrote:
Code:
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/glib-2.58.3/work/glib-2.58.3-abi_x86_32.x86/config.log
Please place this file in a pastebin and provide a link to it.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7466

PostPosted: Sat May 25, 2019 1:18 am    Post subject: Re: glib failed to build when migrating to profile 17.1 Reply with quote

Answer is certainly there, just in front of your eyes :)
Code:
╭─ag@AprilGrimoire ~ 
╰─$ ls -al /lib/libmount.so
lrwxrwxrwx 1 root root 22 May 24 22:45 /lib/libmount.so -> /usr/lib32/libmount.so
╭─ag@AprilGrimoire ~ 
╰─$ ls -al /lib32/libmount.so
lrwxrwxrwx 1 root root 22 May 24 22:45 /lib32/libmount.so -> /usr/lib32/libmount.so

so the 32bits version of libmount is located in /usr/lib32 and these two are just symlink to it

see the problem next? where is /usr/lib32/libmount.so, not in your list...
Code:
╭─ag@AprilGrimoire ~ 
╰─$ locate libmount
/lib/libmount.so
/lib64/libmount.so.1
/lib64/libmount.so.1.1.0
/usr/include/libmount
/usr/include/libmount/libmount.h
/usr/lib/libmount.a
/usr/lib/libmount.so
/usr/lib/libmount.so.1
/usr/lib/libmount.so.1.1.0
/usr/lib64/libmount.a
/usr/lib64/libmount.so
Back to top
View user's profile Send private message
PhoenixStarEclipse
n00b
n00b


Joined: 11 May 2017
Posts: 71
Location: Jiangsu/China

PostPosted: Sat May 25, 2019 2:30 am    Post subject: Re: glib failed to build when migrating to profile 17.1 Reply with quote

krinn wrote:
Answer is certainly there, just in front of your eyes :)
Code:
╭─ag@AprilGrimoire ~ 
╰─$ ls -al /lib/libmount.so
lrwxrwxrwx 1 root root 22 May 24 22:45 /lib/libmount.so -> /usr/lib32/libmount.so
╭─ag@AprilGrimoire ~ 
╰─$ ls -al /lib32/libmount.so
lrwxrwxrwx 1 root root 22 May 24 22:45 /lib32/libmount.so -> /usr/lib32/libmount.so

so the 32bits version of libmount is located in /usr/lib32 and these two are just symlink to it

see the problem next? where is /usr/lib32/libmount.so, not in your list...
Code:
╭─ag@AprilGrimoire ~ 
╰─$ locate libmount
/lib/libmount.so
/lib64/libmount.so.1
/lib64/libmount.so.1.1.0
/usr/include/libmount
/usr/include/libmount/libmount.h
/usr/lib/libmount.a
/usr/lib/libmount.so
/usr/lib/libmount.so.1
/usr/lib/libmount.so.1.1.0
/usr/lib64/libmount.a
/usr/lib64/libmount.so

Oh, thanks! I made /usr/lib32/libmount.so a symlink to /usr/lib/libmount.so by mistake.
_________________
Think twice,code once.
Back to top
View user's profile Send private message
PhoenixStarEclipse
n00b
n00b


Joined: 11 May 2017
Posts: 71
Location: Jiangsu/China

PostPosted: Sat May 25, 2019 2:44 am    Post subject: Re: glib failed to build when migrating to profile 17.1 Reply with quote

krinn wrote:
Answer is certainly there, just in front of your eyes :)
Code:
╭─ag@AprilGrimoire ~ 
╰─$ ls -al /lib/libmount.so
lrwxrwxrwx 1 root root 22 May 24 22:45 /lib/libmount.so -> /usr/lib32/libmount.so
╭─ag@AprilGrimoire ~ 
╰─$ ls -al /lib32/libmount.so
lrwxrwxrwx 1 root root 22 May 24 22:45 /lib32/libmount.so -> /usr/lib32/libmount.so

so the 32bits version of libmount is located in /usr/lib32 and these two are just symlink to it

see the problem next? where is /usr/lib32/libmount.so, not in your list...
Code:
╭─ag@AprilGrimoire ~ 
╰─$ locate libmount
/lib/libmount.so
/lib64/libmount.so.1
/lib64/libmount.so.1.1.0
/usr/include/libmount
/usr/include/libmount/libmount.h
/usr/lib/libmount.a
/usr/lib/libmount.so
/usr/lib/libmount.so.1
/usr/lib/libmount.so.1.1.0
/usr/lib64/libmount.a
/usr/lib64/libmount.so


I think I fixed this problem but it doesn't work.
Code:

╭─ag@AprilGrimoire ~ 
╰─$ ls -al /usr/lib32/libmount.so*     
lrwxrwxrwx 1 root root     17 May 25 10:29 /usr/lib32/libmount.so -> libmount.so.1.1.0
lrwxrwxrwx 1 root root     17 May 25 10:29 /usr/lib32/libmount.so.1 -> libmount.so.1.1.0
-rwxr-xr-x 1 root root 519140 Apr 21 16:52 /usr/lib32/libmount.so.1.1.0
╭─ag@AprilGrimoire ~ 
╰─$ sudo updatedb
Password:
╭─ag@AprilGrimoire ~ 
╰─$ locate libmount                   
/lib/libmount.so
/lib64/libmount.so.1
/lib64/libmount.so.1.1.0
/usr/include/libmount
/usr/include/libmount/libmount.h
/usr/lib/libmount.a
/usr/lib/libmount.so
/usr/lib/libmount.so.1
/usr/lib/libmount.so.1.1.0
/usr/lib64/libmount.a
/usr/lib64/libmount.so
╭─ag@AprilGrimoire ~ 
╰─$ ldconfig -p | grep libmount
   libmount.so.1 (libc6,x86-64) => /lib64/libmount.so.1
   libmount.so.1 (libc6) => /usr/lib32/libmount.so.1
   libmount.so (libc6) => /usr/lib32/libmount.so

I don't know why they are not showing up in locate.
_________________
Think twice,code once.
Back to top
View user's profile Send private message
PhoenixStarEclipse
n00b
n00b


Joined: 11 May 2017
Posts: 71
Location: Jiangsu/China

PostPosted: Sat May 25, 2019 3:22 am    Post subject: Re: glib failed to build when migrating to profile 17.1 Reply with quote

krinn wrote:
Answer is certainly there, just in front of your eyes :)
Code:
╭─ag@AprilGrimoire ~ 
╰─$ ls -al /lib/libmount.so
lrwxrwxrwx 1 root root 22 May 24 22:45 /lib/libmount.so -> /usr/lib32/libmount.so
╭─ag@AprilGrimoire ~ 
╰─$ ls -al /lib32/libmount.so
lrwxrwxrwx 1 root root 22 May 24 22:45 /lib32/libmount.so -> /usr/lib32/libmount.so

so the 32bits version of libmount is located in /usr/lib32 and these two are just symlink to it

see the problem next? where is /usr/lib32/libmount.so, not in your list...
Code:
╭─ag@AprilGrimoire ~ 
╰─$ locate libmount
/lib/libmount.so
/lib64/libmount.so.1
/lib64/libmount.so.1.1.0
/usr/include/libmount
/usr/include/libmount/libmount.h
/usr/lib/libmount.a
/usr/lib/libmount.so
/usr/lib/libmount.so.1
/usr/lib/libmount.so.1.1.0
/usr/lib64/libmount.a
/usr/lib64/libmount.so


Thanks, I reinstalled util-linux and the problem is gone.
_________________
Think twice,code once.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum