When trying to emerge --deep --newuse world or emerge --deep --newuse system the following occurs: --- vladimir@arrow ~ $ emerge -pv --deep --newuse world These are the packages that would be merged, in order: Calculating world dependencies - !!! An atom in the dependencies is not fully-qualified. Multiple matches: n e e d m o r e t h a n 1 v a l u e t o u n p a c k !!! This ebuild cannot be installed: '/usr/portage/local/layman/xeffects/x11-libs/qt/qt-3.3.6-r4.ebuild' !!! Please notify the package maintainer that atoms must be fully-qualified. !!! Problem resolving dependencies for x11-misc/xscreensaver !!! Depgraph creation failed. --- When trying to --update or --newuse without the deep flag there is no problem. -- Also, when trying to emerge certain ebuilds (such as kmplayer-0.9.3.ebuild) the problem is the same with the message: -- !!! This ebuild cannot be installed: '/usr/portage/media-video/kmplayer/kmplayer-0.9.3.ebuild' !!! Please notify the package maintainer that atoms must be fully-qualified. -- emerge --info --- Portage 2.1.2_rc1-r5 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-rc4-mm2 i686) ================================================================= System uname: 2.6.19-rc4-mm2 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System version 1.12.6 Last Sync: Thu, 09 Nov 2006 01:47:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo ftp://ftp.heanet.ie/pub/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://194.117.143.69 http://ftp.gentoo.or.kr/ ftp://ftp.nyx.hu/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/" LANG="en_GB.UTF-8" LINGUAS="en_GB ru ja de en" MAKEOPTS="-j2" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/vmware/trunk /usr/portage/local/layman/java-experimental /usr/portage/local/layman/WTK-Testing /usr/portage/local/layman/xeffects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acl acpi alsa anthy apache2 apm asf bash-completion beagle berkdb bidi bitmap-fonts bzip2 cairo canna cdb cdparanoia cdr cjk clamav cli cracklib crypt css cups dbus dlloader dri dts dv dvd dvdr dvdread dxr3 elibc_glibc emboss encode esd exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp fuse gaim gcj gconf gd gdbm geoip gif glitz glut gmp gnome gphoto2 gpm gstreamer gtk hal icc iconv ieee1394 imagemagick imlib immqt immqt-bc innodb input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_vmmouse ipv6 isdnlog java jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux ldap libg++ linguas_de linguas_en linguas_en_GB linguas_ja linguas_ru mad memlimit mhash mikmod mime mmx mono mp3 mpeg mysql mysqli ncurses network newspr nls nptl nptlonly nsplugin objc objc++ objc-gc odbc ogg openal opengl oss pam pcre pdf perl php plotutils png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session sharedmem simplexml smartcard sockets socks5 spell spl sqlite sqlite3 sse sse2 ssl svg tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nvidia video_cards_vesa video_cards_vmware vorbis wifi win32codecs xcomposite xine xinerama xml xml2 xorg xosd xpm xprint xscreensaver xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> !!! This ebuild cannot be installed: > '/usr/portage/local/layman/xeffects/x11-libs/qt/qt-3.3.6-r4.ebuild' Not our business, we don't maintain xeffect overlay.
(I'm sorry, I didn't remove layman from my make.conf) Same error applies though: arrow ~ # emerge -pv --deep --newuse world These are the packages that would be merged, in order: Calculating world dependencies / !!! An atom in the dependencies is not fully-qualified. Multiple matches: n e e d m o r e t h a n 1 v a l u e t o u n p a c k !!! This ebuild cannot be installed: '/usr/portage/x11-libs/qt/qt-3.3.6-r4.ebuild' !!! Please notify the package maintainer that atoms must be fully-qualified. !!! Problem resolving dependencies for x11-misc/xscreensaver !!! Depgraph creation failed. --- arrow ~ # emerge -pv --deep --newuse system These are the packages that would be merged, in order: Calculating system dependencies \ !!! An atom in the dependencies is not fully-qualified. Multiple matches: n e e d m o r e t h a n 1 v a l u e t o u n p a c k !!! This ebuild cannot be installed: '/usr/portage/x11-libs/qt/qt-3.3.6-r4.ebuild' !!! Please notify the package maintainer that atoms must be fully-qualified. !!! Problem resolving dependencies for virtual/ssh !!! Depgraph creation failed.
Created attachment 101535 [details, diff] raise the ValueError for debugging purposes If the patch is saved as /tmp/raise.patch, then it can be applied as follows: cd /usr/lib/portage patch -p1 < /tmp/raise.patch Please apply this patch and reproduce the error with --debug enabled, then post the output here.
Interesting result... I am attaching the logfile before emerge actually merges the 23 found packages to update. So using --debug works and not using --debug doesn't. I still get the same problem after patching.
Created attachment 101538 [details] [emerge --debug --deep --newuse world] Log after patching I stopped the script once it tried downloading files. I also got this on the command line: ----- arrow vladimir # emerge --debug --deep --newuse world >> portage-emerge-dU.log !!! Ebuilds for the following packages are either all !!! masked or don't exist: x11-misc/xscreensaver media-gfx/digikam kde-base/kgpg kde-base/kuser kde-base/kcachegrind kde-base/kde-i18n app-i18n/scim-anthy kde-base/kdenetwork-meta kde-base/kamera media-video/kaffeine kde-base/kdeadmin-meta kde-base/ksnapshot kde-base/kdesdk-kioslaves kde-base/kmix kde-base/kdemultimedia-kioslaves kde-base/kdeartwork-meta kde-base/kdeutils-meta app-editors/kile media-sound/amarok kde-base/kdebase-startkde kde-base/konsole kde-base/kuiviewer kde-base/kdeaddons-meta x11-themes/polyester kde-base/ark app-i18n/scim-uim dev-util/kdevelop kde-base/kpdf kde-base/superkaramba app-cdr/k3b kde-base/kdebase-meta
Created attachment 101544 [details, diff] raise the ValueError (again) for debugging purposes The error got caught in another place, so you'll have to apply this other patch in the same way and try again (you need both patches).
Created attachment 101546 [details] New logfile [emerge --debug --deep --newuse world] Ah now it's more interesting... Command line output shows this: ---- arrow vladimir # emerge --debug --deep --newuse world >> portage-emerge2-dU.log Traceback (most recent call last): File "/usr/bin/emerge", line 4612, in ? retval = emerge_main() File "/usr/bin/emerge", line 4607, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 3962, in action_build if not mydepgraph.xcreate(myaction): File "/usr/bin/emerge", line 1688, in xcreate if not self.select_dep( File "/usr/bin/emerge", line 1412, in select_dep myuse=selected_pkg[-1], rev_dep=rev_deps, arg=arg): File "/usr/bin/emerge", line 936, in create parent_arg=arg): File "/usr/bin/emerge", line 1405, in select_dep rev_dep=rev_deps, arg=arg): File "/usr/bin/emerge", line 936, in create parent_arg=arg): File "/usr/bin/emerge", line 1405, in select_dep rev_dep=rev_deps, arg=arg): File "/usr/bin/emerge", line 936, in create parent_arg=arg): File "/usr/bin/emerge", line 1405, in select_dep rev_dep=rev_deps, arg=arg): File "/usr/bin/emerge", line 927, in create parent_arg=arg): File "/usr/bin/emerge", line 1405, in select_dep rev_dep=rev_deps, arg=arg): File "/usr/bin/emerge", line 936, in create parent_arg=arg): File "/usr/bin/emerge", line 1405, in select_dep rev_dep=rev_deps, arg=arg): File "/usr/bin/emerge", line 936, in create parent_arg=arg): File "/usr/bin/emerge", line 1405, in select_dep rev_dep=rev_deps, arg=arg): File "/usr/bin/emerge", line 927, in create parent_arg=arg): File "/usr/bin/emerge", line 1405, in select_dep rev_dep=rev_deps, arg=arg): File "/usr/bin/emerge", line 936, in create parent_arg=arg): File "/usr/bin/emerge", line 1405, in select_dep rev_dep=rev_deps, arg=arg): File "/usr/bin/emerge", line 936, in create parent_arg=arg): File "/usr/bin/emerge", line 1405, in select_dep rev_dep=rev_deps, arg=arg): File "/usr/bin/emerge", line 936, in create parent_arg=arg): File "/usr/bin/emerge", line 1198, in select_dep myroot=myroot, trees=self.trees, return_all_deps=True) File "/usr/lib/portage/pym/portage.py", line 3661, in dep_check mysplit2=dep_wordreduce(mysplit2,mysettings,mydbapi,mode,use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 3689, in dep_wordreduce deplist[mypos]=dep_wordreduce(deplist[mypos],mysettings,mydbapi,mode,use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 3689, in dep_wordreduce deplist[mypos]=dep_wordreduce(deplist[mypos],mysettings,mydbapi,mode,use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 3701, in dep_wordreduce mydep=mydbapi.match(deplist[mypos],use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 4067, in match mylist = match_from_list(mydep,self.cp_list(mykey,use_cache=use_cache)) File "/usr/lib/portage/pym/portage_dep.py", line 314, in match_from_list cat, pkg = catsplit(mycpv) ValueError: need more than 1 value to unpack
The x11-libs/qt-3.3.6-r4 depstring is apparently okay, so I'm not sure what's triggering that. Do you still receive the error if you disable all of your overlays? If not, add them back one by one in until the error happens again so that we know which one is causing it.
*** Bug 154614 has been marked as a duplicate of this bug. ***
*** Bug 154632 has been marked as a duplicate of this bug. ***
I have no overlays and I see this issue when portage wants to merge kpf. What should I do, this is preventing me from even doing a -pDu world.
(In reply to comment #11) > I have no overlays and I see this issue when portage wants to merge kpf. What > should I do, this is preventing me from even doing a -pDu world. Maybe if you sync again then that will solve it.
i just synced it didn't solve the problem.
Please reproduce the problem with --debug enabled and python-trace in FEATURES. For example: FEATURES=python-trace emerge --debug -uD world &> debug.log The log will quite large, so use tail to save the last 1000 lines: tail -n 1000 debug.log > last_1000.log The last 1000 lines of a python-trace log should give me enough informatoin to diagnose the source of the problem (without the need to apply any patches).
Created attachment 101672 [details] debug log with python-trace and --debug (no patches, no overlay) I've attached the last 1000 lines of a debug log: jule@brubeck ~ $ FEATURES=python-trace emerge --debug -uD world &> debug.log here is my emerge --info just in case Portage 2.1.2_rc1-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.18-suspend2 i686) ================================================================= System uname: 2.6.18-suspend2 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.12.6 Last Sync: Sat, 11 Nov 2006 02:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fforce-addr" 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/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium-m -O2 -pipe -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distclean distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.mirrored.ca http://gentoo.osuosl.org/ http://adelie.polymtl.ca/" LINGUAS="en en_US" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3ds X acpi adns alsa apm arts bash-completion berkdb bitmap-fonts cairo cdr cjk cli cracklib crypt cups divx4linux dlloader dri dvd dvdread elibc_glibc emboss encode firefox foomaticdb fortran gd-external gdbm gif glut gnome gphoto2 gpm groff gstreamer gtk gtk2 iconv imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog jack java jpeg kde kdeenablefinal kernel_linux kqemu libg++ libnotify libwww linguas_en linguas_en_US mad mikmod mono mp3 mpeg mplayer ncurses nls no-seamonkey nomotif noseamonkey nptl nptlonly nsplugin offensive ogg openal opengl oss pam pcre pdf perl png postgres postgresql pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_card_radeon video_cards_radeon vorbis xorg xscreensaver xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
It seems that virtual/x11 expanded to >=xorg-x11-7.0.0_rc3 somehow: ['||', '<>=xorg-x11-7.0.0_rc3-7', '<virtual/x11-7']] Do you have >=xorg-x11-7.0.0_rc3 in /etc/portage/profile/virtuals? If so, remove it.
good god it was all over the place. That fixed the problem. portage update soon?
(In reply to comment #17) > good god it was all over the place. That fixed the problem. portage update > soon? What do you mean it was all over the place? Do you have any idea how it might have gotten there?
I had that item in virtuals once, and only that item. Removing it resolved the issue. I do not know how it got there.
I also had that problem and removing xorg-x11-7.0.0_rc3 from the file mentioned above solved it. I'm not sure ghow it got there ... I might have put it there a long time ago but it seems to have caused problems only today...
(In reply to comment #20) > I also had that problem and removing xorg-x11-7.0.0_rc3 from the file mentioned > above solved it. I'm not sure ghow it got there ... I might have put it there a > long time ago but it seems to have caused problems only today... The change in behavior is apparently a side effect from the fix for bug #154223. Anyway, you've all got invalid atoms in /etc/portage/profile/virtuals. I'll add some validation for that file in order to prevent people from triggering this error.
well that explains why it didn't occur on my other machines. Thanks alot, i remember putting that line in /etc/portage/profile/virtual a long time ago, when xorg-7 first got into portage.
All of the atoms are now validated in svn r5010.
This has been released in 2.1.2_rc1-r6.
FYI, after removing that xorg line from that profile file mentioned, after a sync, it was put back and I had to manually delete it once again, because I got the error yet again. Maybe I missed something, but this is fyi. Portage 2.1.2_rc1-r5 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18.2-ifc i686) ================================================================= System uname: 2.6.18.2-ifc i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System version 1.12.6 Last Sync: Fri, 17 Nov 2006 11:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo" LINGUAS="en" MAKEOPTS="-j2" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 alsa berkdb bitmap-fonts bzip2 cairo cdr chroot cli cracklib crypt dbus dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gpm gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog jpeg kde kdeenablefinal kernel_linux libg++ linguas_en mad mikmod mmx mp3 mpeg ncurses network nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png ppds pppd pwdb python qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl svg theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_ati video_cards_fglrx video_cards_radeon vorbis win32codecs xml xml2 xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #25) > FYI, after removing that xorg line from that profile file mentioned, after a > sync, it was put back and I had to manually delete it once again, because I got > the error yet again. Maybe I missed something, but this is fyi. I'm not sure what's inserting that into your virtuals file, but I can assure you that it doesn't happen to most people. I'd be interested to now what is doing it. You might make it immutable with `chattr +i /etc/portage/profile/virtuals` to see if that helps.
It had to have been added manually, since it was a fix for a bug that arose when Xorg 7.0 first got into portage. i cannot recall the number, but it had something to do with virtual/xorg-x11 was being blocked by another package. Inserting this into profile/virtuals was the workaround.