Summary: | revdep-rebuild misses to rebuild imlib when having switched from libungif to giflib | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Muchacki (RETIRED) <muchar> |
Component: | [OLD] KDE | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | aben, acs+gentoo, anthony.staines, axel.privat, bobb, brandon, ebo, esigra, Fragger00, gentoo_bugzilla, gunix, howard_b_golden, kde, matt, phil, puggy, s, schulz.benjamin, swdrumm, theosib |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Robert Muchacki (RETIRED)
2005-02-24 15:28:55 UTC
kuickshow doesn't use libungif directly; it uses imlib, on which it depends. The attempt to link against libungif must be coming from imlib's .la files. Try remerging media-libs/imlib. No reply from reporter. *** Bug 86779 has been marked as a duplicate of this bug. *** re-emerging media-libs/imlib solved it in case of Bug #86779 *** Bug 87727 has been marked as a duplicate of this bug. *** *** Bug 87840 has been marked as a duplicate of this bug. *** This still happens on a fresh 2005.0 install. I followed the quickinstall guide and installed from GRP > USE="bindist" emerge -k xorg-x11 kde and immediately after, emerging kde3.4 (not split ebuilds) on top of that > emerge sync > ACCEPT_KEYWORDS="~x86" emerge -kb kde per this post I http://forums.gentoo.org/viewtopic-t-282539-highlight-libungif.html > emerge -k libungif and > ACCEPT_KEYWORDS="~x86" emerge -kb kde again. *** Bug 91781 has been marked as a duplicate of this bug. *** *** Bug 92373 has been marked as a duplicate of this bug. *** *** Bug 88128 has been marked as a duplicate of this bug. *** *** Bug 96184 has been marked as a duplicate of this bug. *** *** Bug 96285 has been marked as a duplicate of this bug. *** Reemering imlib-1.9.14-r3 didn't help in my case. *** Bug 96343 has been marked as a duplicate of this bug. *** *** Bug 97792 has been marked as a duplicate of this bug. *** *** Bug 98713 has been marked as a duplicate of this bug. *** *** Bug 98771 has been marked as a duplicate of this bug. *** *** Bug 99570 has been marked as a duplicate of this bug. *** *** Bug 99715 has been marked as a duplicate of this bug. *** *** Bug 100097 has been marked as a duplicate of this bug. *** This bug does not seems to be attached to the right package. I did not found it, by searching for kdegraphics That is the reason for all duplicated bugs. *** Bug 100634 has been marked as a duplicate of this bug. *** *** Bug 100801 has been marked as a duplicate of this bug. *** *** Bug 105236 has been marked as a duplicate of this bug. *** *** Bug 106374 has been marked as a duplicate of this bug. *** This bug bit me as well. Re-emerging imlib fixed it. *** Bug 114370 has been marked as a duplicate of this bug. *** *** Bug 114384 has been marked as a duplicate of this bug. *** *** Bug 114983 has been marked as a duplicate of this bug. *** I just ran into this when a world update wanted to emerge kdegraphics-3.4.3-r2. (X86 2005.1) The imlib hint was almost right, the dependency did hide in /usr/lib/imlib2/loaders/gif.la (it did pull /usr/lib/libungif.la). I know the system was changed from ungif to gif keyword in make.conf a while ago, so this is partially user fault, but probably worth a hint, especially since it was not found by a revdep-rebuild that was ran after that. Reemerging imlib2 (note the '2') did fix it. *** Bug 115200 has been marked as a duplicate of this bug. *** *** Bug 108435 has been marked as a duplicate of this bug. *** *** Bug 116568 has been marked as a duplicate of this bug. *** *** Bug 116797 has been marked as a duplicate of this bug. *** hm According to a thread in the german part of forums.g.o, it looks like that even the revdep-rebuild version in the latest gentoolkit package fails to rebuild imlib for some reason. garath ~ # emerge -pv gentoolkit [ebuild R ] app-portage/gentoolkit-0.2.1_rc4 0 kB [1] garath ~ # ldd /usr/kde/3.5/bin/kuickshow <snip> libImlib.so.1 => /usr/lib/libImlib.so.1 (0xb6c6a000) libungif.so.4 => /usr/lib/libungif.so.4 (0xb6bf5000) <snip> garath ~ # ldd /usr/lib/libImlib.so.1 <snip> libungif.so.4 => /usr/lib/libungif.so.4 (0xb7ecb000) <snip> garath ~ # emerge -auDNv world These are the packages that I would merge, in order: Calculating world dependencies ...done! [blocks B ] media-libs/libungif (is blocking media-libs/giflib-4.1.4) [ebuild N ] media-libs/giflib-4.1.4 +X -rle 591 kB Total size of downloads: 591 kB !!! Error: The above package list contains packages which cannot be installed !!! on the same system. garath ~ # emerge --unmerge media-libs/libungif garath ~ # emerge -auDNv world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N ] media-libs/giflib-4.1.4 +X -rle 591 kB Total size of downloads: 591 kB Do you want me to merge these packages? [Yes/No] yes <snip> >>> media-libs/giflib-4.1.4 merged. >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. garath ~ # emerge -v kuickshow <snip> /bin/sed: can't read /usr/lib/libungif.la: No such file or directory libtool: link: `/usr/lib/libungif.la' is not a valid libtool archive make[3]: *** [libkdeinit_kuickshow.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/kuickshow-3.5.0/work/kuickshow-3.5.0/kuickshow/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kuickshow-3.5.0/work/kuickshow-3.5.0/kuickshow' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kuickshow-3.5.0/work/kuickshow-3.5.0' make: *** [all] Error 2 garath ~ # revdep-rebuild --ignore --pretend --extra-verbose Configuring search environment for revdep-rebuild revdep-rebuild environment: SEARCH_DIRS="/bin/ /sbin/ /usr/bin/ /usr/sbin/ /lib/ /usr/lib/ /usr/libexec/ /opt/bin/ /usr/i686-pc-linux-gnu/gcc-bin/3.4.4/ /opt/blackdown-jdk-1.4.2.03/bin/ /opt/blackdown-jdk-1.4.2.03/jre/bin/ /usr/kde/3.5/sbin/ /usr/kde/3.5/bin/ /usr/qt/3/bin/ /opt/vmware/workstation/bin/ /opt/bin/ /usr/i686-pc-linux-gnu/gcc-bin/3.4.4/ /opt/blackdown-jdk-1.4.2.03/bin/ /opt/blackdown-jdk-1.4.2.03/jre/bin/ /usr/kde/3.5/bin/ /usr/qt/3/bin/ /usr/games/bin/ /opt/vmware/workstation/bin/ /opt/limewire/ /usr/local/lib/ //usr/lib/opengl/nvidia/lib/ /usr/i686-pc-linux-gnu/lib/ /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/ /usr/lib/ /usr/lib/openmotif-2.2/ /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/ /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/native_threads/ /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/classic/ /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/server/ /usr/kde/3.5/lib/ /usr/qt/3/lib/ /usr/lib/nspr/ /usr/lib/nss/ /usr/games/lib/ /usr/lib/libstdc++-v3/" SEARCH_DIRS_MASK="/usr/lib/azureus" LD_LIBRARY_MASK="libodbcinst.so libodbc.so libjava.so libjvm.so" CALLED_OPTIONS="" EMERGE_OPTIONS="--pretend" 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/kde/3.5/lib/kde3/kuickshow.so (requires libungif.so.4) broken /usr/kde/3.5/lib/libkdeinit_kuickshow.so (requires libungif.so.4) broken /usr/lib/libImlib.so.1.9.14 (requires libungif.so.4) broken /usr/lib/libimlib-gif.so (requires libungif.so.4) 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) All prepared. Starting rebuild... emerge --oneshot --pretend =media-libs/imlib-1.9.14-r3 =kde-base/kuickshow-3.5.0 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-libs/imlib-1.9.14-r3 [ebuild R ] kde-base/kuickshow-3.5.0 Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild. garath ~ # revdep-rebuild --extra-verbose <snip> Build finished correctly. Removing temporary files... You can re-run revdep-rebuild to verify that all libraries and binaries are fixed. If some inconsistency remains, it can be orphaned file, deep dependency, binary package or specially evaluated library. garath ~ # ldd /usr/kde/3.5/bin/kuickshow <snip> libImlib.so.1 => /usr/lib/libImlib.so.1 (0xb6c90000) libgif.so.4 => /usr/lib/libgif.so.4 (0xb6c1b000) <snip> garath ~ # ldd /usr/lib/libImlib.so.1 <snip> libgif.so.4 => /usr/lib/libgif.so.4 (0xb7f34000) <snip> Reopen, if you have a system that can duplicate the problem and are willing to help troubleshoot. Essentially the same problem with kdegraphics 3.4.3-r3 - compilation fails looking for libungif.la. Emerging 'imlib' doesn't seem to help. I'm now tryig emerging 'giflib-4.1.4'. I have neither 'gif' nor 'ungif' in my make.conf, although gif turns up in my USE flags. emerge --info Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686) ================================================================= System uname: 2.6.13-gentoo-r3 i686 Pentium III (Katmai) Gentoo Base System version 1.6.13 distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.uni-c.dk/gentoo/" LINGUAS="en_GB en fr de es" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acl alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl eds emboss encode esd exif expat f77 fam flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java jpeg junit kde lcms ldap libg++ libwww lua mad mhash mikmod mmx mng motif mozilla mozsvg mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pda pdflib perl png python qt quicktime readline recode samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev vorbis xine xml xml2 xmms xv xvid zlib linguas_en_GB linguas_en linguas_fr linguas_de linguas_es userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS (In reply to comment #37) Thanks for testing Paul. I don't see why it shouldn't work either, but our user base continuous to file bugs. At least this will find an end, now that libungif is gone. Referencing the (german) thread here, just in case. http://forums.gentoo.org/viewtopic-t-415882.html (In reply to comment #38) > Essentially the same problem with kdegraphics 3.4.3-r3 - compilation fails > looking for libungif.la. Emerging 'imlib' doesn't seem to help. I'm now tryig > emerging 'giflib-4.1.4'. I have neither 'gif' nor 'ungif' in my make.conf, > although gif turns up in my USE flags. > 'emerge giflib' worked a treat - all is now well. Thanks to Paul Varner for a very helpful e-mail which I reproduce :- 'Try the following: If libungif is still installed, emerge --unmerge libungif emerge --oneshot giflib (use oneshot so it doesn't get added to world) If you don't have the latest gentoolkit which is gentoolkit-0.2.1_rc4 echo "=app-portage/gentoolkit-0.2.1_rc4 ~x86" >> /etc/portage/package.keywords emerge gentoolkit --pretend (make sure that the latest will be installed) emerge gentoolkit revdep-rebuild --ignore --pretend If you agree with the listing revdep-rebuild After this your system should be consistent. Regards, Paul' *** Bug 117102 has been marked as a duplicate of this bug. *** Worked for me (117102). Thanks! *** Bug 117599 has been marked as a duplicate of this bug. *** *** Bug 118249 has been marked as a duplicate of this bug. *** *** Bug 121674 has been marked as a duplicate of this bug. *** *** Bug 121947 has been marked as a duplicate of this bug. *** *** Bug 125785 has been marked as a duplicate of this bug. *** *** Bug 128666 has been marked as a duplicate of this bug. *** *** Bug 131973 has been marked as a duplicate of this bug. *** *** Bug 135616 has been marked as a duplicate of this bug. *** *** Bug 144546 has been marked as a duplicate of this bug. *** *** Bug 146109 has been marked as a duplicate of this bug. *** *** Bug 158856 has been marked as a duplicate of this bug. *** |