Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135062 - gentoolkit-0.2.2_rc1 - revdep-rebuild ignores broken libraries
Summary: gentoolkit-0.2.2_rc1 - revdep-rebuild ignores broken libraries
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-31 10:59 UTC by Timo Rothweiler
Modified: 2006-05-31 13:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Rothweiler 2006-05-31 10:59:37 UTC
Lately I get the following when I run revdep-rebuild -p and as you can see, it finds a broken library, but at the end it says that everything is consistent.
I would expect it to either not find any broken library when reporting that everything is consistent, or rather rebuild the package to which this library found belongs.


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... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib/libpoppler-cairo.la (requires /usr/lib/gcc/i686-pc-linux-gnu/4.1.1//libstdc++.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.



Output of emerge --info:

Portage 2.1_rc3-r3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer"
DISTDIR="/home/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/home/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac alsa amr apm asf audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cli crypt css curl dri dts dv dvd dvdr emboss encode ffmpeg flac foomaticdb gd gdbm gif gtk2 imagemagick imlib isdnlog ithreads jpeg jpeg2k kde kdeenablefinal kqemu libg++ libsamplerate libwww lm_sensors logitech-mouse mad mikmod mmx mmxext motif mp3 mp4 mpeg ncurses network nls no-old-linux noamazon nptl nptlonly nsplugin ogg opengl oss pam pcre pdf pdflib perl png pppd python qt quicktime rdesktop readline reflection rtc sdl session spl ssl symlink tcpd theora threads truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis win32codecs x264 xcomposite xml xorg xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-31 11:01:37 UTC
Wrong tool for this job, you need fix_libtool_files.sh

*** This bug has been marked as a duplicate of 73435 ***
Comment 2 Paul Varner (RETIRED) gentoo-dev 2006-05-31 12:37:44 UTC
I don't think that this is a dup of 73435, however, it is most likely not a bug with revdep-rebuild either. Most likely, /usr/lib/libpoppler-cairo.la is an orphaned file. If a file is orphaned, revdep-rebuild will not be able to assign a package to be rebuilt and thus the message that dynamic linking is consistent.

Run the following to verify that the file is an orphan:

equery belongs /usr/lib/libpoppler-cairo.la

If the command doesn't return a package name, then the file is orphaned.  

If the above command does return a package, then please run the following:

revdep-rebuild --keep-temp --pretend

Please reopen the bug and attach the output along with the resulting ~/.revdep-rebuild* files.
Comment 3 Timo Rothweiler 2006-05-31 13:04:08 UTC
Ok, you are right: the file is orphaned:


home ~ # equery belongs /usr/lib/libpoppler-cairo.la
[ Searching for file(s) /usr/lib/libpoppler-cairo.la in *... ]
home ~ #


... Then the error must have occured during some autoclean or unmerging operation. I know that i never delete files from such directories by hand.