Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232731 - dev-python/pyopengl-2.0.0.44 - /usr/include/python2.5/numarray/arraybase.h:27: error: two or more data types in declaration specifiers
Summary: dev-python/pyopengl-2.0.0.44 - /usr/include/python2.5/numarray/arraybase.h:27...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 09:30 UTC by Tomáš Chaloupka
Modified: 2008-08-10 11:02 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 Tomáš Chaloupka 2008-07-23 09:30:09 UTC
After the upgrade to Python2.5 and running the python-updater, this package failed to build with this error:

i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer -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/numarray -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/numarray -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/numarray -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/numarray -I/usr/include/python2.5/Numeric -Isrc/gle/src -c src/interface_util/interface_util.c -o build/temp.linux-i686-2.5/src/interface_util/interface_util.o
In file included from /usr/include/python2.5/numarray/arrayobject.h:19,
                 from src/interface_util/../config.h:123,
                 from src/interface_util/interface_util.c:1:
/usr/include/python2.5/numarray/arraybase.h:27: error: two or more data types in declaration specifiers
/usr/include/python2.5/numarray/arraybase.h:27: warning: useless type name in empty declaration
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
 *
 * ERROR: dev-python/pyopengl-2.0.0.44 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2352:  Called distutils_src_compile
 *             environment, line  686:  Called die
 * The specific snippet of code:
 *       ${python} setup.py build "$@" || die "compilation failed"
 *  The die message:
 *   compilation failed

Reproducible: Always

Steps to Reproduce:
1.emerge pyopengl
2.
3.




emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 2800+
Timestamp of tree: Wed, 23 Jul 2008 08:34:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.vein.hu/pub/linux/distributions/gentoo/ http://gentoo.ynet.sk/pub "
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa arts berkdb bluetooth branding bzip2 cairo cdr cli colordiff cpudetection cracklib crypt cups dbus dmi dri dts dvb dvd dvdr dvdread emboss encode evo fam ffmpeg filepicker firefox flac foomaticdb fortran gdbm gif gimpprint glitz gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kerberos ldap libnotify logrotate mad matroska midi mikmod mmx mmxext mono mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session slang spell spl sse sse2 ssl startup-notification subversion svg tcpd tiff truetype unicode usb vorbis win32codecs wma x264 x86 xcomposite xinerama xml xorg xv xvid xvmc zeroconf zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" DVB_CARDS="tda10045" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" LIRC_DEVICES="hauppauge_dvb" USERLAND="GNU" VIDEO_CARDS="nvidia vmware nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2008-07-25 07:06:32 UTC
What versions of dev-python/numarray and dev-python/numeric do you have emerged?
Comment 2 Tomáš Chaloupka 2008-07-25 07:20:07 UTC
(In reply to comment #1)
> What versions of dev-python/numarray and dev-python/numeric do you have
> emerged?
> 

numarray - 1.3.1
numeric - 24.2-r6
Comment 3 Tomáš Chaloupka 2008-08-10 11:02:45 UTC
Ok, I unmerged numarray and numeric, reemerged sip and then pyopengl emerged sucesfully.

(In reply to comment #2)
> (In reply to comment #1)
> > What versions of dev-python/numarray and dev-python/numeric do you have
> > emerged?
> > 
> 
> numarray - 1.3.1
> numeric - 24.2-r6
>