Every time I install automake-1.7.9, it installs into slot 1.5 and unmerges automake-1.5. This is rather annoying, since the result is a bunch of "broken" emerges, and portage seems to want to down and upgrade between 1.7.9 and 1.5 all the time. I tried uninstalling all of 1.5, 1.7.9 and automake-wrapper, for so to reinstall automake-wrapper, but the result was the same as before: >>cat /var/db/pkg/sys-devel/automake-1.7.9/SLOT 1.5 >>emerge automake-wrapper -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild UD] sys-devel/automake-1.5 [1.7.9] [ebuild R ] sys-devel/automake-wrapper-1 I hope you can help. Let me know what more info you need from me. Thanks, Thomas. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.1-r4,glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r1 i686) =============================================================== == System uname: 2.6.10-gentoo-r1 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Jan 25 2005, 15:26:30)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.2.3-r5, 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.6.3, 1.7.9, 1.8.5-r2, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r3 virtual/os-headers: 2.4.19-r1, 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/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/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="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow" DISTDIR="/storage/screamster/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc sandbox sfperms" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http:// gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa apm avi berkdb bitmap-fonts cdr crypt cscope cups dga dvd dvdr encode esd f77 fam fbcon flac font-server foomaticdb fortran gd gdbm ggi gif gpm gtk gtk2 guile imagemagick imlib innodb ipv6 java jpeg junit kde libg++ libwww mad mikmod motif mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime readline sdl slang snmp spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb wmf xine xml xml2 xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
looks like a portage bug ... SLOT for all automakes (except 1.8.5-r1) are set to ${PV:0:3} ... that means 1.7.9 should be in SLOT 1.7 ... could you attach the cache files: /var/cache/edp/dep/usr/portage/sys-devel/automake-*
Created attachment 49609 [details] /var/cache/edb/dep/usr/portage/sys-devel/automake-1.4_p6
Created attachment 49610 [details] /var/cache/edb/dep/usr/portage/sys-devel/automake-1.5
Created attachment 49611 [details] /var/cache/edb/dep/usr/portage/sys-devel/automake-1.6.3
Created attachment 49612 [details] /var/cache/edb/dep/usr/portage/sys-devel/automake-1.7.9
Created attachment 49613 [details] /var/cache/edb/dep/usr/portage/sys-devel/automake-1.8.5-r2
Created attachment 49614 [details] /var/cache/edb/dep/usr/portage/sys-devel/automake-1.9.4
Created attachment 49615 [details] /var/cache/edb/dep/usr/portage/sys-devel/automake-wrapper-1
I added all the files you asked for. :) (For future reference, should I zip them up, or would it be preferrable to be able to view them online?)
the cached SLOT info all looks correct to me :/
err, cat you post the output of: grep . /var/db/pkg/sys-devel/automake-*/SLOT
Here it is: >> grep . /var/db/pkg/sys-devel/automake-*/SLOT /var/db/pkg/sys-devel/automake-1.4_p6/SLOT:1.4 /var/db/pkg/sys-devel/automake-1.6.3/SLOT:1.6 /var/db/pkg/sys-devel/automake-1.7.9/SLOT:1.5 /var/db/pkg/sys-devel/automake-1.8.5-r2/SLOT:1.8 /var/db/pkg/sys-devel/automake-1.9.4/SLOT:1.9 /var/db/pkg/sys-devel/automake-wrapper-1/SLOT:0
# grep ^SLOT /var/db/pkg/sys-devel/automake-1.7.9/automake-1.7.9.ebuild SLOT="${PV:0:3}" Do you get the above?
No, I get this: >> grep ^SLOT /var/db/pkg/sys-devel/automake-1.7.9/automake-1.7.9.ebuild SLOT="1.5"
wow, that is weird i added 1.7.9-r1 to portage for unrelated reasons ... could you see if you upgrade to that, everything gets fixed ?
Have you synced recently? Do you happen to have an old version of automake in an overlay?
I synced about an hour before I filed this bug report. I'm syncing now, and will try to install it again, and if that doesn't work, I'll install 1.7.9-r1.
automake-1.7.9-r1 did install correctly into the 1.7 slot. A reemerge of automake-1.7.9 did just install into slot 1.5 again. I also see that the new ebuild is quite a bit slimmer :) Thanks for helping me/us with this bug, and have a great weekend!
sounds good ;)