Summary: | libglade emerge is successful but fails under revdep-rebuild | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Dave O'Connor <doc+gentoo-bugs> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | swift, tom |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dave O'Connor
2005-07-17 10:05:59 UTC
I noticed this behaviour too. It seems that emerge --depclean does not support multi-slotted packages. After an emerge --depclean dev-libs/libxml is removed, although libglade-0.17-r6 (current version) has a dependency on this package. The only way to fix this is to add dev-libs/libxml to your world file. To reproduce: 1. emerge --depclean (will remove libxml) 2. revdep-rebuild (will try to recompile libglade-0.17-r6, but fails on missing xml-config) 3. emerge --oneshot dev-libs/libxml 4. revdep-rebuild (will succeed now) 5. emerge --ask --depclean (will want to remove libxml again) Somehow the dependency on libxml in libglade isn't working. emerge --info: Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11.11 i686) ================================================================= System uname: 2.6.11.11 i686 AMD Athlon(TM) XP 2000+ Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 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.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks fixpackages sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo ftp://trumpetti.atm.tut.fi/gentoo/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j4" PKGDIR="/usr/local/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-overlays/custom-ebuilds /usr/local/portage-overlays/lila-theme" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X aac acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl dga dvd eds emboss encode esd exif fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imagemagick imlib ipv6 java jpeg junit libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl pam pdflib perl png ppds python quicktime readline samba scanner sdl slang spell sse ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml xml2 xosd xv zlib video_cards_matrox userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS I'm wondering why libxml has a SLOT since the other package has a different name (libxml2). But indeed, the behavior is not what is expected of it. Well, revdep-rebuild uses --nodeps; if you remove that, it (revdep-rebuild) should work. But --depclean should never have removed it in the first place. I have similar problems with: [ebuild N ] dev-util/indent-2.2.9-r2 [ebuild N ] dev-libs/libxml-1.8.17-r2 [ebuild N ] gnome-base/oaf-0.6.10 [ebuild N ] gnome-base/gnome-libs-1.4.2 [ebuild N ] gnome-base/gnome-common-2.8.0 [ebuild N ] media-libs/gdk-pixbuf-0.22.0-r3 All of them are dependencies of a world-listed package (or dependency of such a package) yet are all triggered for removal by --depclean. Maybe this bug should get a higher priority? I am using Gentoo since two years now and as far as I remember this problem has always been there with some packages. Just forgot... only concerning the libglade-0.17-r6 thing: Maybe you want to execute a emerge --unmerge libglade-0.17-r6 and then run a revdep-rebuild It is possible that you do not need libglade-0.17 any more and it is only left on the system by emerge --depclean because also libglade is a slot installation. The fix for revdep-rebuild is in gentoolkit-0.2.1_pre* Fix is in gentoolkit-0.2.1 |