While I was rebuilding my system with debugging flags, dev-python/pyopengl failed to emerge though it did compile fine before. Here is the compilation error: creating build/temp.linux-x86_64-2.5/src/interface_util x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -march=nocona -O2 -pipe -ggdb -fPIC -DGLX_PLATFORM -DNUMERIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include -I/usr/include/python2.5/pygsl -I/usr/include/python2.5/Numeric -Isrc/gle/src -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include -I/usr/include/python2.5/pygsl -I/usr/include/python2.5/Numeric -Isrc/gle/src -c -DGLX_PLATFORM -DNUMERIC -I/usr/include/python2.5 -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include -I/usr/include/python2.5/pygsl -I/usr/include/python2.5/Numeric -Isrc/gle/src -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include -I/usr/include/python2.5/pygsl -I/usr/include/python2.5/Numeric -Isrc/gle/src -c src/interface_util/interface_util.c -o build/temp.linux-x86_64-2.5/src/interface_util/interface_util.o src/interface_util/interface_util.c: In function ‘_PyObject_FromUnsignedCharArray’: src/interface_util/interface_util.c:117: error: ‘PyArray_API’ undeclared (first use in this function) src/interface_util/interface_util.c:117: error: (Each undeclared identifier is reported only once src/interface_util/interface_util.c:117: error: for each function it appears in.) src/interface_util/interface_util.c:117: error: ‘PyArray_UBYTE’ undeclared (first use in this function) src/interface_util/interface_util.c:117: warning: return makes pointer from integer without a cast src/interface_util/interface_util.c: In function ‘_PyObject_FromCharArray’: src/interface_util/interface_util.c:124: error: ‘PyArray_API’ undeclared (first use in this function) src/interface_util/interface_util.c:124: error: ‘PyArray_SBYTE’ undeclared (first use in this function) src/interface_util/interface_util.c:124: warning: return makes pointer from integer without a cast src/interface_util/interface_util.c: In function ‘_PyObject_FromShortArray’: src/interface_util/interface_util.c:133: error: ‘PyArray_API’ undeclared (first use in this function) src/interface_util/interface_util.c:133: error: ‘PyArray_SHORT’ undeclared (first use in this function) src/interface_util/interface_util.c:133: warning: return makes pointer from integer without a cast src/interface_util/interface_util.c: In function ‘_PyObject_FromIntArray’: src/interface_util/interface_util.c:142: error: ‘PyArray_API’ undeclared (first use in this function) src/interface_util/interface_util.c:142: error: ‘PyArray_INT’ undeclared (first use in this function) src/interface_util/interface_util.c:142: warning: return makes pointer from integer without a cast src/interface_util/interface_util.c: In function ‘_PyObject_FromFloatArray’: src/interface_util/interface_util.c:149: error: ‘PyArray_API’ undeclared (first use in this function) src/interface_util/interface_util.c:149: error: ‘PyArray_FLOAT’ undeclared (first use in this function) src/interface_util/interface_util.c:149: warning: return makes pointer from integer without a cast src/interface_util/interface_util.c: In function ‘_PyObject_FromDoubleArray’: src/interface_util/interface_util.c:156: error: ‘PyArray_API’ undeclared (first use in this function) src/interface_util/interface_util.c:156: error: ‘PyArray_DOUBLE’ undeclared (first use in this function) src/interface_util/interface_util.c:156: warning: return makes pointer from integer without a cast src/interface_util/interface_util.c: In function ‘__PyObject_AsFloatArray’: src/interface_util/interface_util.c:698: warning: passing argument 3 of ‘PyString_AsStringAndSize’ from incompatible pointer type src/interface_util/interface_util.c: In function ‘Numeric_PyObject_AsFloatArray’: src/interface_util/interface_util.c:699: error: ‘PyArrayObject’ undeclared (first use in this function) src/interface_util/interface_util.c:699: error: ‘contiguous’ undeclared (first use in this function) src/interface_util/interface_util.c:699: error: expected expression before ‘)’ token src/interface_util/interface_util.c: In function ‘_PyObject_AsFloatArray’: src/interface_util/interface_util.c:699: error: ‘PyArray_API’ undeclared (first use in this function) [and so on] src/interface_util/interface_util.c:757: error: ‘PyArray_API’ undeclared (first use in this function) src/interface_util/interface_util.c:759: error: ‘PyArrayObject’ undeclared (first use in this function) src/interface_util/interface_util.c:759: error: expected expression before ‘)’ token src/interface_util/interface_util.c:759: error: expected expression before ‘)’ token error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 * * ERROR: dev-python/pyopengl-2.0.0.44 failed. Reproducible: Always Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo_dazuko-patch-r3-stable x86_64) ================================================================= System uname: 2.6.26-gentoo_dazuko-patch-r3-stable x86_64 Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz Timestamp of tree: Sat, 06 Dec 2008 12:45:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/bin/mygenkernel /usr/sbin/run-crons /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer multilib-strict parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gentoo.inode.at/source/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en de" MAKEOPTS="-j5" PKGDIR="/home/ftp/binpkg/" PORTAGE_COMPRESS="" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/alon-barlev /usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/portage/local/modified /usr/portage/local/own" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib accessibility acl acpi alsa amd64 amr amrnb amrr amrwb apm async audacious audiofile bash-completion battery berkdb bindist bl bluetooth branding bzip2 cairo cardbus cdinstall cjk cli cpufreq cracklib crypt css ctype cups dbus dga directfb divx dri dts dvd dvdr dvdread eds encode evo exif fam fbcon fbcondecor fbsplash ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimp glade glibc-omitfp glitz gmedia gmp gnutls gphoto2 gs gsm gstreamer gtk gtkhtml guile hal hddtemp hdf5 iconv icq icu idn ieee1394 imagemagick imap imlib iproute2 isdnlog jack java javascript jikes jpeg jpeg2k kerberos keyscrub kpathsea laptop latex lcms ldap libcaca libnotify libv4l2 libwww live lm_sensors logrotate loop-aes lzo mad memlimit midi mikmod mime mmx mmxext mng motif mp2 mp3 mp4 mpeg mudflap multilib musepack ncurses nls nntp nowin nptl nptlonly nsplugin nvidia ogg opengl openmp opensslcrypto pam pch pcmcia pcre pda pdf perl plotutils png posix ppds pppd print python quicktime readline realmedia reflection rtsp ruby rubytests samba sasl sdl server session simplexml slang sndfile soap sockets sou speex spell spl sse sse2 ssl ssse3 startup-notification stream suhosin svg swat sysfs syslog tcpd tetex tga theora threads tiff truetype unicode usb userlocales v4l v4l2 vcd vim-syntax vim-with-x vorbis wifi winbind wma wmf wmp wxwindows x264 xanim xcomposite xine xinetd xml xorg xpm xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" CAMERAS="fuji ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS
Please test with dev-python/pyopengl-3.0.0.
(In reply to comment #1) > Please test with dev-python/pyopengl-3.0.0. > pyopengl-3.0.0_beta6 as well as pyopengl-3.0.0 compiles fine and I assume 3.0.0_beta8 as well but didn't try.