I'm trying to update our packages. I have run 'fixpackages'. If I run: emerge -up --deep gnome it works. But if I run: emerge -upkb --deep gnome I get: These are the packages that I would merge, in order: --- Calculating dependencies | emerge: there are no masked or unmasked ebuilds to satisfy "dev-python/pyopengl". !!! Error calculating dependencies. Please correct. --- I have tried deleting /usr/portage/dev-python and /usr/portage/gnome-base and re-syncing. I have re-built the package for pyopengl, and noticed that when it installs, I get the following error: --- * Performing Python Module Cleanup ..... * Cleaning orphaned Python bytecode from /usr/lib/python2.2/site-packages .. * Cleaning orphaned Python bytecode from /usr/lib/python2.3/site-packages .. $ >>> original instance of package unmerged safely. /var/tmp/portage-pkg/pyopengl-2.0.0.44/inf/pyopengl-2.0.0.44.ebuild: line 65: [: -eq: unary operator expected * Caching service dependencies... >>> dev-python/pyopengl-2.0.0.44 merged. --- Bug has endured over the past 2 weeks ( and multiple /usr/portage updates ) Reproducible: Always Steps to Reproduce: 1. Have packages for everything already built, with some packages out of date ( sorry ) 2. run 'emerge -upkb --deep gnome' Actual Results: Calculating dependencies | emerge: there are no masked or unmasked ebuilds to satisfy "dev-python/pyopengl". !!! Error calculating dependencies. Please correct. Expected Results: Output a list of packages to install / build. Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.5-gentoo) ================================================================= System uname: 2.6.5-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb composite crypt cups directfb encode esd foomaticdb freetds gdbm gif gnome gpm gtk gtk2 imlib imlib2 jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
i've fixed the unary operator warning in opengl, but i didn't know gnome depended on pyopengl. i duno whether that caused dependencies calculation to fail, but i suspect not. what happens if you don't use --deep? and also remove the pyopengl pacakge from /usr/portage/packages/All ?
I've tried removing pyopengl from /usr/portage/packages/All and also the sym-link from /usr/portage/packages/dev-python, then unmerging pyopengl. Problem persists: --- wtooke ~ # emerge -upkb --deep world These are the packages that I would merge, in order: Calculating world dependencies | emerge: there are no masked or unmasked ebuilds to satisfy "dev-python/pyopengl". !!! Problem with binary gnome-base/gnome-2.6.2-r1 !!! Possibly a DEPEND/*DEPEND problem. !!! Depgraph creation failed. wtooke ~ # --- If I don't use --deep it works: --- wtooke ~ # emerge -upkb world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] sys-libs/cracklib-2.7-r10 [2.7-r9] [ebuild U ] x11-misc/xscreensaver-4.16 [4.15] [ebuild N ] net-dns/libidn-0.5.4 [ebuild N ] kde-base/kdelibs-3.3.0_beta2 [ebuild N ] kde-base/kdebase-3.3.0_beta2 [ebuild U ] sys-apps/net-tools-1.60-r9 [1.60-r8] wtooke ~ # --- however I've read in the forums that you can break things horribly by not using --deep and that this is the only supported way of keeping things up-to-date is by using --deep. Anyway I can get around the issue at the moment by doing emerge -up --deep world ( without the -kb ) and then copying and pasting the results into another terminal to build the packages. I have just tried renaming /usr/portage/packages to /usr/portage/packages_BAD, and remaking /usr/portage/packages and /usr/portage/packages/All and trying the depgraph thing and it works. So something strange has happened to my packages directory. But what? As far as I know, the only things stored in there are packages and sym-links to packages. But something is certainly up...
*** This bug has been marked as a duplicate of 61712 ***