Hi gentoo devs, I found that my kde 3.5 installation was pulling many things from kde 4.0.0 when I unmasked and keyworded kde 4.0.0 ebuilds. After a closer look, it seems that this is caused by some kde 3.5 ebuilds not depending on a specific version of another kde-base/* ebuild. As a regexp-fu training, I did a command that should show what ebuilds are affected: cd /usr/portage/kde-base/ egrep -e '([^<~/])kde-base/[-a-zA-Z]{1,}' */*-3.5*.ebuild | egrep -v 'e(log|warn)|deprange|kdebase-pam|<=|!=' (though some of them are false-positives) I marked this bug as minor as it only affects those crazy ones wanting kde 3.5 and 4.0.0 alongside. I will also post emerge -v --deep --update, which shows the problem.
nb-esprimo /usr/portage/kde-base # emerge -pvt -uD world These are the packages that would be merged, in reverse order: Calculating world dependencies... done! [nomerge ] x11-base/xorg-x11-7.2 [ebuild U ] x11-base/xorg-server-1.3.0.0-r3 [1.3.0.0-r2] USE="dri sdl xorg -3dfx -debug -dmx -ipv6 -kdrive -minimal -nptl -xprint" INPUT_DEVICES="evdev keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="i810 -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -glint -i128 -i740 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo" 0 kB [nomerge ] kde-base/kdm-3.5.8-r1 USE="kdeenablefinal kdehiddenvisibility pam -arts -debug -xinerama" [ebuild NS ] kde-base/kdepasswd-4.0.0 USE="-debug" 0 kB [nomerge ] kde-base/konsole-3.5.8 USE="kdeenablefinal kdehiddenvisibility -arts -debug -xinerama" [ebuild NS ] kde-base/kcontrol-4.0.0 USE="opengl ssl -debug -htmlhandbook -ieee1394 -logitech-mouse" 0 kB [ebuild NS ] kde-base/kcminit-4.0.0 USE="-debug" 0 kB [ebuild N ] kde-base/ksplash-4.0.0 USE="mmx sse sse2 -3dnow (-altivec) -debug -xinerama" 0 kB [ebuild NS ] kde-base/khelpcenter-4.0.0 USE="-debug -htmlhandbook" 0 kB [ebuild N ] kde-base/systemsettings-4.0.0 USE="opengl ssl usb -debug -htmlhandbook -ieee1394 -xinerama" 0 kB [ebuild NS ] kde-base/kdebase-data-4.0.0 0 kB [ebuild NS ] kde-base/khotkeys-4.0.0 USE="-debug" 0 kB [ebuild N ] kde-base/libkworkspace-4.0.0 USE="-debug" 0 kB [nomerge ] kde-base/kdm-3.5.8-r1 USE="kdeenablefinal kdehiddenvisibility pam -arts -debug -xinerama" [nomerge ] kde-base/kdesktop-3.5.8 USE="kdeenablefinal kdehiddenvisibility xscreensaver -arts -debug -xinerama" [nomerge ] kde-base/kcontrol-3.5.8-r2 USE="kdeenablefinal kdehiddenvisibility opengl -arts -debug -ieee1394 -joystick -logitech-mouse -xinerama" [nomerge ] kde-base/khelpcenter-3.5.8 USE="kdeenablefinal kdehiddenvisibility -arts -debug -xinerama" [ebuild NS ] kde-base/kdebase-kioslaves-4.0.0 USE="bzip2 samba -debug -htmlhandbook -openexr" 0 kB [ebuild NS ] kde-base/kdialog-4.0.0 USE="-debug" 0 kB [nomerge ] kde-base/kdepasswd-4.0.0 USE="-debug" [ebuild NS ] kde-base/libkonq-4.0.0 USE="-debug -test" 0 kB [ebuild NS ] kde-base/kdesu-4.0.0 USE="-debug -htmlhandbook" 0 kB
nb-esprimo /usr/portage/kde-base # emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-rc8 i686) ================================================================= System uname: 2.6.24-rc8 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz Timestamp of tree: Fri, 18 Jan 2008 13:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0_rc6-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" 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/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/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://mirror.switch.ch/ftp/mirror/gentoo/ " LANG="cs_CZ.utf8" LC_ALL="cs_CZ.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="cs" MAKEOPTS="-j3" PKGDIR="/usr/portage/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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib acl acpi alsa amarok bash-completion berkdb bitmap-fonts bzip2 cairo caps cdda cddb cdparanoia cdr cgi cli cracklib crypt css cups curl dbus dga dri dts dvd dvdr dvdread eds emboss enca encode evo exif fam fastcgi fbcon ffmpeg firefox flac fontconfig fortran ftp gd gdbm geoip gif gimp gpm gtk history hyperestraier iconv inotify ipod ipw4965 irc isdnlog java jingle jpeg kde kdeenablefinal kdehiddenvisibility kipi lame latex lcms libcaca libsamplerate lm_sensors lzo mad midi mikmod mjpeg mmap mmx mmxext mp3 mp4 mpeg mudflap musicbrainz ncurses network network-cron nls nowlistening nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png pppd python qt3 qt3support qt4 quicktime rar readline real reflection rtc samba sdl session slang smp sndfile spell spl sse sse2 ssl ssse3 stream svg syslog theora threads tiff tk truetype truetype-fonts type1-fonts unicode usb visualization vorbis win32codecs x264 x86 xcb xcomposite xml xorg xosd xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 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="cs" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
If you want to update some kde-3.5 package, you'll need to run emerge -uDav <pkg>:3.5 If you want to have different packages sets for 3.5 and 4.0, be sure to check your world file /var/lib/portage/world and to make sure you have entries for the appropriate slot, as any entry of the type kde-base/<pkg> will try to emerge the kde-4 version of the package.
As noted above... This is exact same behaviour you get with any slotted stuff in world. *** This bug has been marked as a duplicate of bug 6411 ***
nb-esprimo /usr/portage/kde-base # emerge -pt -uD kde-base/kdm:3.5 These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] kde-base/kdm-3.5.8-r1 [ebuild NS ] kde-base/kdepasswd-4.0.0 USE="-debug" [ebuild NS ] kde-base/libkonq-4.0.0 USE="-debug -test" [nomerge ] kde-base/kdm-3.5.8-r1 [nomerge ] kde-base/kdesktop-3.5.8 [nomerge ] kde-base/kcontrol-3.5.8-r2 [nomerge ] kde-base/khelpcenter-3.5.8 [ebuild NS ] kde-base/kdebase-kioslaves-4.0.0 USE="bzip2 samba -debug -htmlhandbook -openexr" [ebuild NS ] kde-base/kdialog-4.0.0 USE="-debug" [ebuild NS ] kde-base/kdesu-4.0.0 USE="-debug -htmlhandbook" [nomerge ] kde-base/kdepasswd-4.0.0 USE="-debug" [nomerge ] x11-libs/qt-4.3.3 [ebuild U ] x11-libs/libXfont-1.3.1-r1 [1.3.1] As you can see, kde-base/kdm-3.5.8-r1 pulls kde-base/kdepasswd-4.0.0, because kdm-3.5.8-1 has bogus entry in RDEPEND: nb-esprimo /usr/portage/kde-base # grep kdepasswd /usr/portage/kde-base/kdm/kdm-3.5.8-r1.ebuild kde-base/kdepasswd This way, world file is not involved.
(In reply to comment #5) > kdm-3.5.8-1 has bogus entry in RDEPEND: > nb-esprimo /usr/portage/kde-base # grep kdepasswd > /usr/portage/kde-base/kdm/kdm-3.5.8-r1.ebuild > kde-base/kdepasswd I'm confirming it. Please reopen this bug.
I'll take care of it...
Created attachment 141224 [details] list of kde-base 3.5 packages with version-free kde-base/* dependencies (In reply to comment #7) > I'll take care of it... Thanks, I'll attach the list of potentially affected ebuilds. (output of my funky regexp)
*** Bug 206640 has been marked as a duplicate of this bug. ***
(In reply to comment #0) > I marked this bug as minor as it only affects those crazy ones wanting kde > 3.5 and 4.0.0 alongside. I will also post emerge -v --deep --update, which > shows the problem. While KDE 4.0.0 will never leave package.mask a future version of 4.0.x might. This bug could become a blocker for that. Hence it's not really a minor bug. ;)
*** Bug 206805 has been marked as a duplicate of this bug. ***
I'm having the same problem with dev-util/kdevelop-3.5.0 (it pulls kde-4.0 components) Additionally, after I let it to pull the 4.0 stuff, nothing (on my system) depends on kde-base/cervisia:3.5 and kde-base/kdesdk-kioslaves:3.5 any longer, so if I were to go through with an emerge --depclean I'd get a broken dev-util/kdevelop-3.5.0.
*** Bug 207245 has been marked as a duplicate of this bug. ***
*** Bug 207339 has been marked as a duplicate of this bug. ***
Fixed for kde-misc/knetworkmanager-0.2.1_p20071228 (I hope)
Unless I missed any, all packages in kde-base, kde-misc, and all packages the KDE herd maintains should be fixed, resolving accordingly. If I missed any packages *that the KDE herd maintains* please reopen. I will file bugs for other herds asap.