Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60012 - pyopengl dependancy problem
Summary: pyopengl dependancy problem
Status: RESOLVED DUPLICATE of bug 61712
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-10 18:26 UTC by Daniel Kasak
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kasak 2004-08-10 18:26:45 UTC
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"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-08-13 20:25:58 UTC
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 ?
Comment 2 Daniel Kasak 2004-08-15 15:41:47 UTC
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...
Comment 3 Daniel Kasak 2004-08-25 17:30:08 UTC
*** This bug has been marked as a duplicate of 61712 ***