Fails to install with a bunch of errors related to "Cannot assign type float" and "Invalid operand" errors. Reproducible: Always Steps to Reproduce: 1. emerge dev-python/soya Actual Results: Errors beginning with: /var/tmp/portage/dev-python/soya-0.13_rc1/work/Soya-0.13rc1/init.pyx:246:20: Invalid operand types for '|' (int; enum SDL_GLattr) Expected Results: Should have merged. endurance quag7 # emerge --info Portage 2.1.2.11 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo x86_64) ================================================================= System uname: 2.6.22-gentoo x86_64 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sat, 18 Aug 2007 23:20:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo/ " MAKEOPTS="-j5" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acl acpi aim alsa amd64 amr arts automount bash-completion berkdb binary-drivers bitmap-fonts bogofilter bonobo buttons bzip2 cairo cdparanoia cdr cdrom cgi chroot cli cpudetection cracklib crypt cups curl curlwrappers custom-flags daap dbus dga directfb divx doc dri dv dvb dvd dvdr dvdread effects emul-linux-x86 enca encode epiphany esd evo exif fam fbcon ffmpeg flac fortran ftp gaim gd gdbm geoip gif gimp gimpprint gnome gnome-print gnomecanvas gnomedb gphoto2 gpm gps graphviz gtk gtk2 hal hash iconv icq idn ieee1394 imagemagick insecure-savers ipv6 isdnlog jabber jack java javascript jingle jit joystick jpeg jpeg2k kqemu lcms libcaca libnotify libsamplerate libvisual live lm_sensors lzo lzw mad maildir mbox mbrola meanwhile midi mikmod mime mng mp3 mp4 mpeg2 mplayer msn mudflap multiuser musepack musicbrainz ncurses network nls nntp nptl nptlonly nsplugin nvidia offensive ogg ole openal openexr opengl openmp oscar pam pcre pdf perl php plotutils png posix pppd print python qemu-fast qt3 qt4 readline reflection resid rle rtc samba scanner sdl sensord server session silc slp snmp sockets socks5 speex spell spl sqlite sse3 sse4 ssl stats svg sysfs syslog tagwriting tcl tcltk tcpd tga theora threads tidy tiff tk tokenizer truetype truetype-fonts type1-fonts usb v4l v4l2 vcd verbose visualization vnc vncviewer vorbis vorbis-psy webdav wma wmf x264 xanim xchatdccserver xcomposite xext xine xml xmlreader xmlrpc xmlwriter xorg xosd xpm xsl xtended xv xvid xvmc xvnc yaepg yahoo zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo ivtvdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 128502 [details] Build log for dev-python/soya-0.13_rc1
Let's finally bump it to 0.13, which (according to the url) works fine.
.13.2 I presume you mean (from URL)
.13 has the same problem as _rc1 does. .13.2, however, compiles fine. However, there is no tutorial/examples file for that version as of yet. I removed those lines from the ebuild to create the digest, and then everything worked fine. I do not know how/if this affects x86 at all, but this fixes it for amd64.
I ran into the exact same problem on plain old x86. Bumping to version 13.2 (and missing out on the tutorials) fixed the problem for me, too.
The problem is the use of >dev-python/pyrex-0.9.4.1. Pyrex is not needed as a dependency, but is taken "auto-magically". To avoid this, I created a patch forcing the build process to not use pyrex even if it is installed.
Created attachment 133566 [details, diff] soya-no-pyrex.patch The proposed patch. Note: The following soya releases (0.13.*) also use this auto-magic dependency. Thus, it might be even useful there to avoid similar errors in the future ;)
Created attachment 133567 [details, diff] ebuild diff for soya-0.13_rc1.ebuild The diff for the current soya ebuild.
verify patch fixes compilation for amd64. Can we have patch added to ebuild and ~amd64 keyword added?
Created attachment 137350 [details] Soya build log with diff applied to ebuild + patch
Still no luck with ~amd64, unfortunately, but I am not a developer and may have done something wrong. Since I've reinstalled since I filed this bug, I'm going to paste in my new emerge --info: Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64) ================================================================= System uname: 2.6.22-gentoo-r9 x86_64 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz Timestamp of tree: Thu, 29 Nov 2007 21:46:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-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/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo/ " MAKEOPTS="-j5" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sajinet /usr/portage/local/layman/sunrise /usr/portage/local/layman/zugaina /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acl alsa amd64 arts artswrappersuid bash-competion berkdb binary-drivers bitmap-fonts cairo cdr cdrom cli cracklib crypt cups curl curlwrappers custom-flags dbus dga divx dri dv dvd dvdr dvdread effects emul-linux-x86 flac fortran gcj gdbm geoip gif gimp gnutls gpm iconv ieee1394 imagemagick ipv6 isdnlog ivtv jabber jack java javascript jpeg jpeg2k kvm lm_sensors midi mmx mp2 mp3 mp4 mpeg2 mplayer mudflap musicbrainz ncurses net network nls nntp nptl nptlonly nvidia offensive ogg opengl openmp pam pcre pdf perl php png ppds pppd python qemu qt3 readline reflection scanner sdl server session snmp sockets socks5 spl sse sse2 ssl stats tagwriting tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd verbose visualization vnc vncviewer xcomposite xine xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia ivtvdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS quag7@endurance ~ : emerge --info > emergeinfo.txt quag7@endurance ~ : cat ./emergeinfo.txt Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64) ================================================================= System uname: 2.6.22-gentoo-r9 x86_64 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz Timestamp of tree: Thu, 29 Nov 2007 21:46:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" CHOST="x86_64-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/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo/ " MAKEOPTS="-j5" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sajinet /usr/portage/local/layman/sunrise /usr/portage/local/layman/zugaina /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acl alsa amd64 arts artswrappersuid bash-competion berkdb binary-drivers bitmap-fonts cairo cdr cdrom cli cracklib crypt cups curl curlwrappers custom-flags dbus dga divx dri dv dvd dvdr dvdread effects emul-linux-x86 flac fortran gcj gdbm geoip gif gimp gnutls gpm iconv ieee1394 imagemagick ipv6 isdnlog ivtv jabber jack java javascript jpeg jpeg2k kvm lm_sensors midi mmx mp2 mp3 mp4 mpeg2 mplayer mudflap musicbrainz ncurses net network nls nntp nptl nptlonly nvidia offensive ogg opengl openmp pam pcre pdf perl php png ppds pppd python qemu qt3 readline reflection scanner sdl server session snmp sockets socks5 spl sse sse2 ssl stats tagwriting tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd verbose visualization vnc vncviewer xcomposite xine xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia ivtvdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Soya has a strange build system: the OPENAL setting is _only_ honored, if the pyrex files are recompiled ... So we have two choices: a) either make openal and pyopenal a hard dependency (and don't need pyrex) b) keep the openal useflag and add pyrex as a build dependency
Btw: If the useflag is kept, I would rename it to "sound" as the openal flag does not simply link to another library, but adds general sound support (which is not clear on first sight - I realized it first after reading the code ;))
Try with the 0.14 that is in the tree :)