Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206528 (kde4-deps) - Some kde-base/*-3.5* ebuilds pull kde 4.0.0 packages when unmasked
Summary: Some kde-base/*-3.5* ebuilds pull kde 4.0.0 packages when unmasked
Status: RESOLVED FIXED
Alias: kde4-deps
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 206640 206805 207245 207339 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-18 14:26 UTC by Matěj Laitl
Modified: 2008-03-08 14:28 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
list of kde-base 3.5 packages with version-free kde-base/* dependencies (list.txt,5.58 KB, text/plain)
2008-01-18 15:41 UTC, Matěj Laitl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matěj Laitl 2008-01-18 14:26:05 UTC
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.
Comment 1 Matěj Laitl 2008-01-18 14:29:13 UTC
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
Comment 2 Matěj Laitl 2008-01-18 14:30:20 UTC
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
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2008-01-18 14:44:09 UTC
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.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-18 14:50:02 UTC
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 ***
Comment 5 Matěj Laitl 2008-01-18 14:53:33 UTC
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.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-01-18 15:30:13 UTC
(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.
Comment 7 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-01-18 15:34:11 UTC
I'll take care of it...
Comment 8 Matěj Laitl 2008-01-18 15:41:23 UTC
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)
Comment 9 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-01-19 14:30:33 UTC
*** Bug 206640 has been marked as a duplicate of this bug. ***
Comment 10 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-01-19 14:42:24 UTC
(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. ;)
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2008-01-20 20:28:35 UTC
*** Bug 206805 has been marked as a duplicate of this bug. ***
Comment 12 Jon Severinsson 2008-01-22 06:59:02 UTC
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.
Comment 13 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-01-24 04:04:46 UTC
*** Bug 207245 has been marked as a duplicate of this bug. ***
Comment 14 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-01-25 03:57:08 UTC
*** Bug 207339 has been marked as a duplicate of this bug. ***
Comment 15 Robert Buchholz (RETIRED) gentoo-dev 2008-02-17 16:06:29 UTC
Fixed for kde-misc/knetworkmanager-0.2.1_p20071228 (I hope)
Comment 16 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-03-08 14:28:39 UTC
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.