Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
revdep-rebuild question
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
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3932
Location: Hamburg

PostPosted: Thu Feb 16, 2012 7:53 pm    Post subject: revdep-rebuild question Reply with quote

I'm wondering why revdep-rebuild wants rebuild imagemagick although it was emerge few minutes before. I tlooks like that fiew parts of imagemagick were build against existing libraries under /usr/lib rather than against newly build libraries under /var/tmp/portage :
Code:
tfoerste@n22 ~ $ lddtree /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/wpg.so
wpg.so => /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/wpg.so (interpreter => none)
    libMagickCore.so.4 => not found
    liblcms2.so.2 => /usr/lib/liblcms2.so.2
    libtiff.so.5 => /usr/lib/libtiff.so.5
libMagickCore.so.4 is of course gone and replaced by the new one :
Code:
tfoerste@n22 ~ $ ls -l /usr/lib/libMagickCore*
-rw-r--r-- 1 root root     956 Feb 16 20:30 /usr/lib/libMagickCore.la
lrwxrwxrwx 1 root root      22 Feb 16 20:30 /usr/lib/libMagickCore.so -> libMagickCore.so.5.0.0
lrwxrwxrwx 1 root root      22 Feb 16 20:30 /usr/lib/libMagickCore.so.5 -> libMagickCore.so.5.0.0
-rwxr-xr-x 1 root root 2489084 Feb 16 20:30 /usr/lib/libMagickCore.so.5.0.0

Here's what revdep-rebuild says :
Code:
n22 ~ # revdep-rebuild
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 24% ]  *   broken /usr/bin/spumux (requires libMagickCore.so.4)
[ 55% ]  *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/aai.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/art.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/avs.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/bgr.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/bmp.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/braille.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/cals.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/caption.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/cin.so (requires libMagickCore.so.4)
...
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/xwd.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/ycbcr.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/yuv.so (requires libMagickCore.so.4)
 *   broken /usr/lib/ImageMagick-6.7.5/modules-Q16/filters/analyze.so (requires libMagickCore.so.4)
[ 72% ]  *   broken /usr/lib/libMagick++.so.5.0.0 (requires libMagickWand.so.4)
 *   broken /usr/lib/libMagickWand.so.5.0.0 (requires libMagickCore.so.4)
[ 76% ]  *   broken /usr/lib/libreoffice/share/extensions/mysql-connector-ooo/mysqlc.uno.so (requires libmysqlcppconn.so.5
libuno_cppuhelpergcc3.so.3
libuno_cppu.so.3
libuno_sal.so.3)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/bin/spumux -> media-video/dvdauthor
 *   /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/aai.so -> media-gfx/imagemagick
 *   /usr/lib/ImageMagick-6.7.5/modules-Q16/coders/art.so -> media-gfx/imagemagick
...
 *   /usr/lib/libMagick++.so.5.0.0 -> media-gfx/imagemagick
 *   /usr/lib/libMagickWand.so.5.0.0 -> media-gfx/imagemagick
 *   /usr/lib/libreoffice/share/extensions/mysql-connector-ooo/mysqlc.uno.so -> app-office/libreoffice-bin
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot --autounmask=n --quiet-build=y --keep-going=y  app-office/libreoffice-bin:0 media-gfx/imagemagick:0 media-video/dvdauthor:0
........^C
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9733
Location: almost Mile High in the USA

PostPosted: Thu Feb 16, 2012 8:11 pm    Post subject: Reply with quote

Only thing I can think of as a possible bug in the build scripts of imagemagick to pick up system libs before using freshly built libs in its own build... which would be wrong... it would have worked if the system libs were missing before building.

It should fix itself on the second build however... at least I would hope.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3932
Location: Hamburg

PostPosted: Thu Feb 16, 2012 8:22 pm    Post subject: Reply with quote

It seems to be a bug, b/c rebuilding now solved it - I'll file a bug report.
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