!! Note, I run an unstable system emerge -pv kpdf gives: These are the packages that would be merged, in order: Calculating dependencies ... done! [blocks B ] =kde-base/kdebase-3.5* (is blocking kde-base/kdeprint-3.5.2) [ebuild N ] app-text/psutils-1.17 60 kB [ebuild N ] app-text/enscript-1.6.4-r1 USE="-nls" 1,012 kB [ebuild N ] kde-base/kdeprint-3.5.2 USE="cups kdeenablefinal -arts -debug -kdexdeltas -xinerama" 0 kB [ebuild R ] kde-base/kpdf-3.5.2 USE="kdeenablefinal -arts -debug -kdexdeltas -xinerama" 0 kB Total size of downloads: 1,073 kB kdeprint, needed by kpdf is blocked by kdebase emerge --info: Gentoo Base System version 1.12.0_pre16 Portage 2.1_pre7-r3 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.15-suspend2-r8-s050414 i686) ================================================================= System uname: 2.6.15-suspend2-r8-s050414 i686 Intel(R) Pentium(R) M processor 1.86GHz dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer prelink sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ " MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 asf automount avi background bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cdparanoia cgi cli cpudetection crypt ctype cups dba dbus dga dhcp dri dts dvd dvdr eds emboss encode escreen esd expat fastbuild fbcon ffmpeg foomaticdb force-cgi-redirect fortran ftp fuse gd gdbm gif glitz glut gpm gstreamer gtk gtk2 hal ibam idea ieee1394 imap imlib ipv6 isdnlog java jpeg jpeg2k kde kdeenablefinal kqemu libclamav libg++ libwww logitech-mouse lzo mad maildir matroska mbox md5sum memlimit mikmod mmx mng mono motif mozilla mp3 mpeg mppe-mppc mysql ncurses network nntp noamazon nptl nptlonly nsplugin offensive ogg oggvorbis openexr opengl oss pam pcre pdf pdflib perl pic png posix pppd python qt quicktime rdesktop readline real samba sdl session silc simplexml slp soap sockets spell spl sqlite sse sse2 ssl svg syslog tcpd tetex threads tiff timidity tokenizer truetype truetype-fonts type1-fonts udev usb vim vim-with-x visualization vorbis wifi win32codecs wmf xcomposite xgetdefault xine xml xml2 xmms xscreensaver xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_ati video_cards_fglrx" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
That's because kdebase is monolithic and provides all of that. You either need to install kdegraphics, or uninstall kdebase and install kdebase-meta
(In reply to comment #1) > That's because kdebase is monolithic and provides all of that. > > You either need to install kdegraphics, or uninstall kdebase and install > kdebase-meta > This is too confusing. So, mixing monolithic kde packages with modular ones is not OK? For example: kdebase + kdelibs + kpdf [NOT OK] kdebase + kdelibs + kdegraphics [OK] kdebase-meta + kdelibs + kpdf [OK] Is this correct?
Correct. It's somewhat explained here: http://www.gentoo.org/doc/en/kde-split-ebuilds.xml
(In reply to comment #3) > Correct. > > It's somewhat explained here: > http://www.gentoo.org/doc/en/kde-split-ebuilds.xml > *** BEGIN QUOTE Split and monolithic ebuild interoperability Split and monolithic ebuilds can be mixed freely. The only restriction is that a monolithic ebuild can't be installed at the same time as a split ebuild deriving from it. There are blocking deps in the ebuilds that enforce this, so you can do anything emerge allows you to do. Ordinarily, however, there's no reason to use such a mixed configuration. In fact, except for special cases like very slow-compiling boxes (mips), you should use the split ebuilds for all your needs. The split ebuilds are also the default ebuilds. This means that when some other ebuild depends on a KDE application, it will want to install a split ebuild. However, the matching monolithic ebuild will also satisfy that dep, so you can emerge the monolithic ebuild manually and then emerge the ebuild that depended on it. *** END QUOTE So according to the docs, even the "non-ordinary" type of mixed configuration should work. Consider the last paragraph i quoted. Why doesn't kdebase already satisfy kpdf's dependency for kdeprint, presenting us with this conflicting issue?
Yep, you look to be correct here. I suppose someone wiser than I in the ways of the depranges will have to chime in. What kdebase do you currently have installed? (I assume 3.5.2, but I don't think it explicitly says).
Yes, I just emerged everything 3.5.2 today, most notably kdebase, kdelibs and kpdf-3.5.2. What's most weird, is that kpdf didn't seem to require kdeprint when i upgraded it from 3.5.1. An excerpt from emerge -pDtuv world: [blocks B ] =kde-base/kdebase-3.5* (is blocking kde-base/kdeprint-3.5.2) [nomerge ] kde-base/kpdf-3.5.2 USE="xinerama -arts -debug -kdeenablefinal" [ebuild N ] kde-base/kdeprint-3.5.2 USE="cups xinerama -arts -debug -kdeenablefinal" 0 kB [ebuild N ] app-text/enscript-1.6.4-r1 USE="-nls" 0 kB [ebuild N ] kde-base/kghostview-3.5.2 USE="xinerama -arts -debug -kdeenablefinal" 0 kB
I see that kdeprint can optionally depend on enscript and kghostview if the kde use flag is set (and is shown in your pretend). I wonder if that's somehow causing the issue.
It's my fault. Exchanging the deprange() calls with deprange-dual() should fix it. Personally I'm more and more leaning towards removing the monolithic packages, though. It's more trouble for than it's worth it, seeeing users facing blockers again and again.
Thinking about the implications: kdeprint depends on kghostview and kpdf on kdeprint. Changing the dependencies in both packages using deprange-dual(), this would imply for the monlithic part of the dependencies that kdebase depends on kdegraphics and kdegraphics on kdebase. Logically I'd say, since it's a || depedency and the whole dependecy calculation doesn't come into play when both kdebase and kdegraphics are used this should not be a problem. Right!?
Committed, sorry for the inconvenience.
Reopen, people still complain about blockers after they've synced recently and I can reproduce it as well. # emerge -pv kpdf These are the packages that would be merged, in order: Calculating dependencies... done! [blocks B ] =kde-base/kdeprint-3.5* (is blocking kde-base/kdebase-3.5.2) [blocks B ] =kde-base/kpdf-3.5* (is blocking kde-base/kdegraphics-3.5.2) [blocks B ] =kde-base/kghostview-3.5* (is blocking kde-base/kdegraphics-3.5.2) [blocks B ] =kde-base/kdebase-3.5* (is blocking kde-base/kdeprint-3.5.2) [blocks B ] =kde-base/kdegraphics-3.5* (is blocking kde-base/kpdf-3.5.2) [ebuild N ] app-text/psutils-1.17 60 kB [ebuild N ] kde-base/kghostview-3.5.2 USE="-arts -debug -kdeenablefinal -kdexdeltas xinerama" 7,117 kB [ebuild N ] app-text/enscript-1.6.4-r1 USE="nls" 1,012 kB [ebuild N ] dev-libs/cyrus-sasl-2.1.21-r2 USE="-authdaemond berkdb crypt gdbm -java -kerberos -ldap -mysql -ntlm_unsupported_patch pam -postgres -sample -srp ssl urandom" 1,547 kB [ebuild N ] x11-apps/xmessage-1.0.1 USE="-debug -xprint" 81 kB [ebuild N ] x11-apps/xset-1.0.1 USE="-debug" 86 kB [ebuild N ] kde-base/kdebase-pam-6 0 kB [ebuild N ] kde-base/kdebase-3.5.2 USE="-arts cups -debug -hal -ieee1394 -java -kdeenablefinal -ldap lm_sensors -logitech-mouse -openexr opengl pam samba ssl -xcomposite xinerama -xscreensaver -zeroconf" 23,042 kB [ebuild N ] app-text/poppler-bindings-0.5.1 USE="-cairo -gtk qt" 0 kB [ebuild N ] dev-libs/fribidi-0.10.7 579 kB [ebuild N ] media-libs/imlib-1.9.14-r3 574 kB [ebuild N ] kde-base/kdegraphics-3.5.2 USE="-arts -debug -gphoto2 imlib -kdeenablefinal -openexr opengl pdf -povray -scanner -tetex xinerama" 6 kB [ebuild N ] kde-base/kdeprint-3.5.2 USE="-arts cups -debug -kdeenablefinal -kdexdeltas xinerama" 0 kB [ebuild N ] media-libs/t1lib-5.0.2 USE="X -doc" 1,657 kB [ebuild N ] kde-base/kpdf-3.5.2 USE="-arts -debug -kdeenablefinal -kdexdeltas xinerama" 0 kB
Created attachment 83612 [details] output of "emerge -dp kdeprint" Seems like it's not any of the kde packages' fault, since it specifies the dependencies correctly (from what I can see). The generated dep-string from the kde eclasses specifies: "|| ( ~kde-base/kghostview-3.5.2 ~kde-base/kdegraphics-3.5.2 )" but portage is still trying to drag in both kghostview and kdegraphics.
Which Portage version are you using? There's no existing monolithic KDE 3.4 that Portage might try to update (missing the [U ] though), no? I'm a bit puzzled, because I can't reproduce this behaviour, using Portage 2.0.54.
2.1_pre7-r3 here. There's no KDE installed, except for kdelibs and qt 3.5.2.
(In reply to comment #13) > Which Portage version are you using? Latest unstable: sys-apps/portage-2.1_pre7-r3 > There's no existing monolithic KDE 3.4 that Portage might try to update > (missing the [U ] though), no? Not sure what you mean here... But I'm totally on ~amd64; haven't had anything KDE 3.4 related installed since december sometime... > I'm a bit puzzled, because I can't reproduce this behaviour, using Portage > 2.0.54. Haven't tried downgrading yet portage to see if the problem persists, but will probably try that in the next hour.
I downgraded portage to version 2.0.54, but I'm still experiencing the same problem... As far as I can see, I don't have any monolithic KDE package installed, but here is a list of the kde-base packages I have installed currently: $ qlist -Iv kde-base kde-base/cervisia-3.5.2 kde-base/kcheckpass-3.5.0 kde-base/kcminit-3.5.0 kde-base/kcontrol-3.5.2 kde-base/kde-env-3-r4 kde-base/kdebase-data-3.5.2 kde-base/kdebase-kioslaves-3.5.2 kde-base/kdebase-pam-6 kde-base/kdelibs-3.5.2 kde-base/kdemultimedia-kioslaves-3.5.2 kde-base/kdesdk-kioslaves-3.5.2 kde-base/kdesktop-3.5.2 kde-base/kdesu-3.5.0 kde-base/kdialog-3.5.0 kde-base/kdm-3.5.2 kde-base/kfind-3.5.2 kde-base/kgpg-3.5.2 kde-base/khelpcenter-3.5.2 kde-base/khotkeys-3.5.1 kde-base/kicker-3.5.2 kde-base/kompare-3.5.1 kde-base/konqueror-3.5.2 kde-base/kpdf-3.5.2 kde-base/libkcddb-3.5.2 kde-base/libkonq-3.5.2
I've experienced similar issues due to have bad dependencies somewhere in /var/db/pkg/kde-base/*/*DEPEND. In cases such as this, it doesn't help to sync because the bad dependencies remain /var/db/pkg until the package is uninstalled or rebuilt. In order to track down the offending *DEPEND files, I do something like this: find /var/db/pkg -name '*DEPEND' | xargs grep kde-base/kdebase A query like that will likely identify where the monolithic packages are being pulled in.
(In reply to comment #17) > find /var/db/pkg -name '*DEPEND' | xargs grep kde-base/kdebase /var/db/pkg/net-im/sim-0.9.4_rc1/RDEPEND:kde? ( kde-base/kdelibs || ( kde-base/kdebase-data kde-base/kdebase ) ) !kde? ( =x11-libs/qt-3* spell? ( app-text/aspell ) ) ssl? ( dev-libs/openssl ) dev-libs/libxml2 dev-libs/libxslt /var/db/pkg/net-im/sim-0.9.4_rc1/DEPEND:kde? ( kde-base/kdelibs || ( kde-base/kdebase-data kde-base/kdebase ) ) !kde? ( =x11-libs/qt-3* spell? ( app-text/aspell ) ) ssl? ( dev-libs/openssl ) dev-libs/libxml2 dev-libs/libxslt sys-devel/flex app-arch/zip !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) /var/db/pkg/media-sound/amarok-1.4_beta2-r1/RDEPEND:kde? ( || ( kde-base/konqueror kde-base/kdebase ) || ( kde-base/kdemultimedia-kioslaves kde-base/kdemultimedia ) ) arts? ( kde-base/arts || ( kde-base/kdemultimedia-arts kde-base/kdemultimedia ) ) xine? ( >=media-libs/xine-lib-1_rc4 ) gstreamer? ( =media-libs/gstreamer-0.10* =media-libs/gst-plugins-base-0.10* ) musicbrainz? ( >=media-libs/tunepimp-0.3 ) >=media-libs/taglib-1.4 mysql? ( >=dev-db/mysql-4.0.16 ) postgres? ( dev-db/postgresql ) opengl? ( virtual/opengl ) xmms? ( >=media-sound/xmms-1.2 ) visualization? ( media-libs/libsdl >=media-plugins/libvisual-plugins-0.2 ) ipod? ( media-libs/libgpod ) akode? ( media-libs/akode ) aac? ( media-libs/libmp4v2 ) exscalibar? ( media-libs/exscalibar ) real? ( media-video/realplayer ) ifp? ( media-libs/libifp ) dev-lang/ruby >=kde-base/kdelibs-3.3 =x11-libs/qt-3.3* ~kde-base/kde-env-3 /var/db/pkg/media-sound/amarok-1.4_beta2-r1/DEPEND:kde? ( || ( kde-base/konqueror kde-base/kdebase ) || ( kde-base/kdemultimedia-kioslaves kde-base/kdemultimedia ) ) arts? ( kde-base/arts || ( kde-base/kdemultimedia-arts kde-base/kdemultimedia ) ) xine? ( >=media-libs/xine-lib-1_rc4 ) gstreamer? ( =media-libs/gstreamer-0.10* =media-libs/gst-plugins-base-0.10* ) musicbrainz? ( >=media-libs/tunepimp-0.3 ) >=media-libs/taglib-1.4 mysql? ( >=dev-db/mysql-4.0.16 ) postgres? ( dev-db/postgresql ) opengl? ( virtual/opengl ) xmms? ( >=media-sound/xmms-1.2 ) visualization? ( media-libs/libsdl >=media-plugins/libvisual-plugins-0.2 ) ipod? ( media-libs/libgpod ) akode? ( media-libs/akode ) aac? ( media-libs/libmp4v2 ) exscalibar? ( media-libs/exscalibar ) real? ( media-video/realplayer ) ifp? ( media-libs/libifp ) >=dev-util/pkgconfig-0.9.0 >=kde-base/kdelibs-3.3 =x11-libs/qt-3.3* !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) >=sys-devel/automake-1.7.0 sys-devel/autoconf sys-devel/make dev-util/pkgconfig dev-lang/perl ~kde-base/kde-env-3 !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) /var/db/pkg/app-cdr/k3b-0.12.14/RDEPEND:kde? ( || ( kde-base/kdesu kde-base/kdebase ) ) hal? ( sys-apps/dbus sys-apps/hal ) media-libs/libsamplerate media-libs/taglib >=media-sound/cdparanoia-3.9.8 sndfile? ( media-libs/libsndfile ) ffmpeg? ( media-video/ffmpeg ) flac? ( media-libs/flac ) mp3? ( media-libs/libmad ) musepack? ( media-libs/libmpcdec ) vorbis? ( media-libs/libvorbis ) musicbrainz? ( media-libs/musicbrainz ) encode? ( media-sound/lame ) alsa? ( media-libs/alsa-lib ) virtual/cdrtools >=app-cdr/cdrdao-1.1.7-r3 media-sound/normalize dvdr? ( app-cdr/dvd+rw-tools ) css? ( media-libs/libdvdcss ) encode? ( media-sound/sox media-video/transcode ) vcd? ( media-video/vcdimager ) >=kde-base/kdelibs-3.4 =x11-libs/qt-3.3* ~kde-base/kde-env-3 /var/db/pkg/app-cdr/k3b-0.12.14/DEPEND:kde? ( || ( kde-base/kdesu kde-base/kdebase ) ) hal? ( sys-apps/dbus sys-apps/hal ) media-libs/libsamplerate media-libs/taglib >=media-sound/cdparanoia-3.9.8 sndfile? ( media-libs/libsndfile ) ffmpeg? ( media-video/ffmpeg ) flac? ( media-libs/flac ) mp3? ( media-libs/libmad ) musepack? ( media-libs/libmpcdec ) vorbis? ( media-libs/libvorbis ) musicbrainz? ( media-libs/musicbrainz ) encode? ( media-sound/lame ) alsa? ( media-libs/alsa-lib ) dev-util/pkgconfig >=kde-base/kdelibs-3.4 =x11-libs/qt-3.3* !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) >=sys-devel/automake-1.7.0 sys-devel/autoconf sys-devel/make dev-util/pkgconfig dev-lang/perl ~kde-base/kde-env-3 !bootstrap? ( sys-devel/patch ) Anything helpful in there?
I think I fixed it, the dependency was kde? || ( kghostview kdegraphics) without the external ( ) after ?, probably leading to problems with portage parsing. I also actually added kde useflag to IUSE. Please wait an hour, sync, make sure you have at least revision 1.7 of the ebuild, and tell if it's still an issue.
Yup, that fixed it. Thanks alot! But it might be an idea to check for this in repoman so that it doesn't happen again, as it seems to be a pretty easy thing to miss =)
Confirmed here as well. Closing, sorry everyone for the trouble.
Mea maxima cupla. :/ Thanks for fixing it, Diego.
I wonder if the problem is back with kdebase 3.5.9. I get: =========================== emerge -p --depclean --verbose .... Dependencies could not be completely resolved due to the following required packages not being installed: >=kde-base/kdeprint-3.5.9:3.5 required by kde-base/kpdf-3.5.9 ========================== I compiled kpdf commenting out the dependency to kdeprint in the current ebuild. It compiled fine and runs fine. I have the monolothic kdebase isntalled which supplies kdeprint: ==================== emerge -s kdebase Searching... [ Results for search key : kdebase ] [ Applications found : 6 ] * kde-base/kdebase Latest version available: 3.5.9 Latest version installed: 3.5.9 Size of files: 23,708 kB Homepage: http://www.kde.org/ Description: KDE base packages: the desktop, panel, window manager, konqueror... License: GPL-2 ============================================