Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
revdep-rebuild no errors
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
Keepun
n00b
n00b


Joined: 04 Feb 2012
Posts: 13

PostPosted: Tue Jul 03, 2012 12:23 pm    Post subject: revdep-rebuild no errors Reply with quote

Demo:
Code:
# ls -l /usr/lib/libgth*
-rw-r--r-- 1 root root 22216 июня  27 00:36 /usr/lib/libgthread-2.0.a
lrwxrwxrwx 1 root root    26 июня  27 00:36 /usr/lib/libgthread-2.0.so -> libgthread-2.0.so.0.3000.3
lrwxrwxrwx 1 root root    26 июня  27 00:36 /usr/lib/libgthread-2.0.so.0 -> libgthread-2.0.so.0.3000.3
-rwxr-xr-x 1 root root 18696 июня  27 00:36 /usr/lib/libgthread-2.0.so.0.3000.3

# ACCEPT_KEYWORDS="~amd64" emerge -1 ">=dev-libs/glib-2.32"
[ebuild     U  ] dev-libs/glib-2.32.3 [2.30.3] USE="-static-libs*"

# ls -l /usr/lib/libgth*
lrwxrwxrwx 1 root root   26 июля   3 14:19 /usr/lib/libgthread-2.0.so -> libgthread-2.0.so.0.3200.3
lrwxrwxrwx 1 root root   26 июля   3 14:19 /usr/lib/libgthread-2.0.so.0 -> libgthread-2.0.so.0.3200.3
-rwxr-xr-x 1 root root 5920 июля   3 14:19 /usr/lib/libgthread-2.0.so.0.3200.3

# emerge -1 =x11-libs/gtk+-2.24.10-r1
no errors

# emerge -1 =x11-libs/pango-1.29.4
no errors

# emerge -1 =x11-libs/gtk+-2.24.10-r1
no errors

# emerge -1 glib
>>> Emerging (1 of 1) dev-libs/glib-2.30.3
no errors

# ls -l /usr/lib/libgth*
-rw-r--r-- 1 root root 22216 июля   3 14:39 /usr/lib/libgthread-2.0.a
lrwxrwxrwx 1 root root    26 июля   3 14:39 /usr/lib/libgthread-2.0.so -> libgthread-2.0.so.0.3000.3
lrwxrwxrwx 1 root root    26 июля   3 14:39 /usr/lib/libgthread-2.0.so.0 -> libgthread-2.0.so.0.3000.3
-rwxr-xr-x 1 root root 18696 июля   3 14:39 /usr/lib/libgthread-2.0.so.0.3000.3

# emerge -1 =x11-libs/gtk+-2.24.10-r1
libtool: link: gcc -o /tmp/portage/x11-libs/gtk+-2.24.10-r1/work/gtk+-2.24.10/gdk/tmp-introspectvypko0/.libs/Gdk-2.0 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -march=native -pipe -Wall
-pthread /tmp/portage/x11-libs/gtk+-2.24.10-r1/work/gtk+-2.24.10/gdk/tmp-introspectvypko0/Gdk-2.0.o -Wl,--export-dynamic  -L. ./.libs/libgdk-x11-2.0.so
-lpangocairo-1.0 -lpango-1.0 /usr/lib64/libfontconfig.so -lfreetype -lz -lbz2 -lexpat -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite
-lXdamage -lXfixes -lgdk_pixbuf-2.0 -lcairo -lX11 -lm -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libpangocairo-1.0.so: undefined reference to `g_mutex_trylock'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libpangocairo-1.0.so: undefined reference to `g_mutex_unlock'
/usr/lib64/libpangoft2-1.0.so.0: undefined reference to `g_mutex_lock'
collect2: ld returned 1 exit status

# revdep-rebuild -i
No ERRORS!

Fix:
# equery d glib
rebuild all (But in this case only =x11-libs/pango-1.29.4)
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Tue Jul 03, 2012 1:11 pm    Post subject: Reply with quote

revdep-rebuild doesn't check for missing symbols, as there would be too many false positives.
Back to top
View user's profile Send private message
Silentsand74
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2007
Posts: 131

PostPosted: Thu Jul 12, 2012 4:24 pm    Post subject: Reply with quote

By the way can the command
Code:
emerge @preserved-rebuild
solve the issue as well?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Jul 12, 2012 4:32 pm    Post subject: Reply with quote

Lightangel wrote:
By the way can the command
Code:
emerge @preserved-rebuild
solve the issue as well?

No chance.
Back to top
View user's profile Send private message
gollum
n00b
n00b


Joined: 18 May 2002
Posts: 19

PostPosted: Tue Sep 25, 2012 8:33 pm    Post subject: Reply with quote

VoidMage wrote:
revdep-rebuild doesn't check for missing symbols, as there would be too many false positives.


So is there really no better thing to do than:
Code:
emerge -av1 $(equery -q d glib | sed s/^/=/)

and rebuild 101 packages!???

or, some smart grep for g_mutex_lock in /usr/lib64 and pipe that through equery b...?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Wed Sep 26, 2012 2:07 am    Post subject: Reply with quote

You could also upgrade dev-libs/glib back to the version which provides that symbol. Why did you downgrade it after installing packages that depended on it?
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