I have KDE 3.5 and 4.0 installed. When doing emerge -uavDN world, emerge correctly upgrades the KDE4 ebuilds, but leaves out KDE3.5 packages that have upgrades. Reproducible: Always Steps to Reproduce: 1.Unmask KDE 3.5 and KDE4 packages. 2.Install non latest versions of (e.g.) kdelibs-3.5.8-r3 and kdelibs-4.0.0 3. execute emerge -uavDN world Actual Results: kdelibs-4.0.0 is upgraded to kdelibs-4.0.3 (the latest available package) kdelibs-3.5.8-r3 is not upgraded to kdelibs-3.5.9-r2 Expected Results: I would expect both slots to be upgraded to the latest available packages. emerge --info Portage 2.1.5_rc6 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r1 x86_64) ================================================================= System uname: 2.6.25-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-53 Timestamp of tree: Wed, 23 Apr 2008 11:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 9999 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ABI="amd64" ACCEPT_KEYWORDS="amd64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ANT_HOME="/usr/share/ant" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ARCH="amd64" ASFLAGS_x86="--32" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CCACHE_DIR="/ccache" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-march=k8 -O2 -pipe" CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CVS_RSH="ssh" CXXFLAGS="-march=k8 -O2 -pipe" DEFAULT_ABI="amd64" DISPLAY=":0" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--verbose" EMERGE_WARNING_DELAY="10" FEATURES="ccache collision-protect distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7-r2/html" GCC_SPECS="" GDK_USE_XFT="1" GENERATION="2" GENTOO_MIRRORS="http://www.wright-family.me.uk/ http://gentoo.virginmedia.com/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ " HOME="/root" INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info" INPUT_DEVICES="evdev keyboard mouse synaptics" JAVAC="/etc/java-config-2/current-system-vm/bin/javac" JAVA_HOME="/etc/java-config-2/current-system-vm" JDK_HOME="/etc/java-config-2/current-system-vm" KDEDIRS="/usr:/usr/local:/usr/kde/4.0:/usr/kde/3.5" KERNEL="linux" LANG="en_GB.UTF-8" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_ALL="en_GB.UTF-8" LDFLAGS="" LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LIBDIR_amd64="lib64" LIBDIR_x86="lib32" LIBGL_DRIVERS_PATH="/usr/lib64/dri:/usr/lib32/dri" LINGUAS="en_GB en" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:" MAKEOPTS="-j3" MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/lib64/php5/man/:/usr/kde/4.0/share/man:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/opt/opera/share/man" MULTILIB_ABIS="amd64 x86" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)" OPENGL_PROFILE="xorg-x11" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/4.0/sbin:/usr/kde/4.0/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin" PKGDIR="/usr/portage/packages" PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig" PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib64/portage/bin" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="warn error log" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save_summary echo" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_PYM_PATH="/usr/lib64/portage/pym" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="3" PORTAGE_TMPDIR="/var/tmp" PORTAGE_TMPFS="/dev/shm" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/mine" PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10:/usr/lib64/klibc" PWD="/root" PYTHONPATH="/usr/lib64/portage/pym" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" ROOT="/" ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/4.0/sbin:/usr/kde/4.0/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin" RPMDIR="/usr/portage/rpm" RUBYOPT="-rauto_gem" SANE_CONFIG_DIR="/etc/sane.d" SHELL="/bin/bash" SHLVL="1" STAGE1_USE="nptl nptlonly unicode" SYMLINK_LIB="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa amarok amd64 apache2 avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr clamav cli cracklib crypt cups daap dbus dcraw dell dri dts dv dvb dvd dvdnav dvdr dvdread eds emboss encode esd evo exif extensions extra-algorithms extrafilters fam ffmpeg firefox flac fortran gd gdbm geoip gif gimpprint glitz gmp gphoto2 gpm gstreamer hal http iconv ieee1394 ipv6 isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos lcms ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin obex ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection scanner sdl session spell spl sqlite sse sse2 ssl svg tcpd tiff tk truetype unicode urandom utempter vorbis xml xorg xv zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa" USER="root" USERLAND="GNU" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" VIDEO_CARDS="radeon fglrx vesa" VMHANDLE="blackdown-jdk-1.4.2" XAUTHORITY="/root/.xauthdNK11O" XDG_DATA_DIRS="/usr/share:/usr/kde/4.0/share:/usr/local/share:/usr/kde/3.5/share" _="/usr/bin/emerge"
Is kdelibs in your world file?
(In reply to comment #1) > Is kdelibs in your world file? > Yes, as follows: $grep kdelibs /var/lib/portage/world kde-base/kdelibs kde-base/kdelibs:3.5 It was not just kdelibs, that was having the problem. I'll look over the emerge log to see if the other packages were later on this evening.
Please post the output of "grep kde-* /var/lib/portage/world" and attach your package.unmask and package.keywords file. If you look in http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.8-r3.ebuild?rev=1.8&view=markup you can see that kdelibs-3.5.9 is still keyworded ~amd64. If you only unmasked and keyworded kde-4.0.*, as you should, there's no kdelibs update package as 3.5.9 is masked by the ~amd64 keyword.
Created attachment 150856 [details] kde packages in world Attached my KDE packages in world
(In reply to comment #3) > If you look in > http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.8-r3.ebuild?rev=1.8&view=markup > you can see that kdelibs-3.5.9 is still keyworded ~amd64. If you only unmasked > and keyworded kde-4.0.*, as you should, there's no kdelibs update package as > 3.5.9 is masked by the ~amd64 keyword. In that case, a separate emerge kdelibs:3.5 wouldn't have worked would it?
Created attachment 150858 [details] packages.keywords Concatenated from several files, as I use autounmask and directories for packages.keywords and packages.unmask
Created attachment 150860 [details] packages.unmask Created as for packages.keywords with the following script, if anyones interested in doing similar: cd /etc/portage/packages.unmask for x in `ls *`; do grep -v "^#" $x |grep -v "^$" >> ~/packages.unmask; done;
(In reply to comment #1) > Is kdelibs in your world file? > Other packages that did not auto upgrade were: kde-base/ark:3.5 kde-base/kcalc:3.5 kde-base/kcheckpass:3.5 kde-base/kdebase-startkde:3.5 kde-base/kdemultimedia-kioslaves:3.5 kde-base/kdepasswd:3.5 kde-base/kdesktop:3.5 kde-base/kdm:3.5 kde-base/kgpg:3.5 kde-base/kmix:3.5 kde-base/kompare:3.5 kde-base/konsole:3.5 kde-base/kpersonalizer:3.5 kde-base/kreadconfig:3.5 kde-base/ksmserver:3.5 kde-base/ksplashml:3.5 kde-base/ktimer:3.5 kde-base/kwin:3.5 kde-base/libkcddb:3.5
(In reply to comment #5) > (In reply to comment #3) > > > If you look in > > http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.8-r3.ebuild?rev=1.8&view=markup > > you can see that kdelibs-3.5.9 is still keyworded ~amd64. If you only unmasked > > and keyworded kde-4.0.*, as you should, there's no kdelibs update package as > > 3.5.9 is masked by the ~amd64 keyword. > > In that case, a separate emerge kdelibs:3.5 wouldn't have worked would it? > No, it wouldn't.(In reply to comment #5) > (In reply to comment #3) > > > If you look in > > http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.8-r3.ebuild?rev=1.8&view=markup > > you can see that kdelibs-3.5.9 is still keyworded ~amd64. If you only unmasked > > and keyworded kde-4.0.*, as you should, there's no kdelibs update package as > > 3.5.9 is masked by the ~amd64 keyword. > > In that case, a separate emerge kdelibs:3.5 wouldn't have worked would it? > Did you add the "kde-base/kdelibs ~amd64" line to the keywords file before trying to update? If not, no, running emerge kdelibs:3.5 wouldn't work. You're doing the worst thing you can do which is to mix *heavily* stable and unstable packages - don't get surprised if things start to break. You also should clean your files as you're using everything from "kde-base/PN:kde-4 **", "=kde-base/P ~amd64" to "kde-base/PN ~amd64. I would suggest you use /etc/portage/package.{keywords,unmask}/kde[4] files as it would make things clearer. Also, you might want to clean your world file as it seems quite a few of those kde packages are deps to another packages. As it is, I think this is an invalid bug. Clean your system and try to update again. If portage "forgets" to update any package, open the bug again.
(In reply to comment #9) > Did you add the "kde-base/kdelibs ~amd64" line to the keywords file before > trying to update? If not, no, running emerge kdelibs:3.5 wouldn't work. > You're doing the worst thing you can do which is to mix *heavily* stable and > unstable packages - don't get surprised if things start to break. I have not changed any of the keywords or mask files before or after doing any of these actions above. As I've stated, emerge -uavDN did not update any of the files I've quoted above, but explicitly emerging them as emerge kdelibs:3.5 did upgrade them, without changing any mask or keywords file. I know I've a mix of stable and unstable packages, and I'd expect them to break, and indeed am quite happy for them to do so. How else am I to report bugs? This (possible) bug is to do with the installation of these packages, so I don't see how them being stable or unstable would make a difference. > You also should clean your files as you're using everything from > "kde-base/PN:kde-4 **", "=kde-base/P ~amd64" to "kde-base/PN ~amd64. I would > suggest you use /etc/portage/package.{keywords,unmask}/kde[4] files as it > would make things clearer. I do actually have them split up as several files, but I agree that they should be cleaned up. Several years running does tend to build up unnecessary things in these files. > Also, you might want to clean your world file as it seems > quite a few of those kde packages are deps to another packages. Will do. > As it is, I think this is an invalid bug. Clean your system and try to update > again. If portage "forgets" to update any package, open the bug again. Hmm, I think that this is still a bug, but I see your point. Its an edge case in any case. I'll clean up and see how I get on.