| Summary: | dev-python/cgkit-2.0.0_alpha8 - wrappers/rply/rply/rply.c:1019: error: invalid conversion from ‘int’ to ‘e_ply_type’ | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Renan T. Inácio <zerocaronte> |
| Component: | New packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | flameeyes, gengor, peter |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 235848 | ||
| Bug Blocks: | |||
|
Description
Renan T. Inácio
2008-07-18 06:04:04 UTC
I am seeing an identical error: trevor ~ # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686) ================================================================= System uname: 2.6.25-gentoo-r7 i686 Genuine Intel(R) CPU T2400 @ 1.83GHz Timestamp of tree: Thu, 21 Aug 2008 00:36:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 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.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -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/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="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo" LANG="en_AU.UTF-8" MAKEOPTS="-j3" 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/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3ds X a52 aac aalib acl acpi alsa apache2 arts berkdb bidi bitmap-fonts blender-game bluetooth bzip2 cairo cdb cdparanoia cdr cegui cg cli cracklib crypt cups cxx dbus devil divx dri dts dv dvb dvd dvdr dvdread eds emboss enblend encode esd evo examples fam ffmpeg firefox fluxbox fortran freetype gdbm gif gmedia gnome gpm gstreamer gtk hal heora iconv ieee1394 isdnlog ithreads john joystick jpeg kerberos laptop ldap licserver mad midi mikmod mjpeg mmx mozbranding mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg ogre openexr opengl openmp pcre pdf perl png portmon pppd python qt-static qt3support quicktime readline realmedia reflection sdl session shadow sift smp spell spl sqlite ssl svg symlink tcpd tga threads tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis win32codecs winbind wmp x86 xml xorg xulrunner xv xvid xvnc zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS i686-pc-linux-gnu-g++ -pthread -DNDEBUG -O2 -march=prescott -pipe -fomit-frame-pointer -fPIC -DLIB3DS_AVAILABLE -Isupportlib/include -I/usr/include -I/usr/include/python2.5 -c -DLIB3DS_AVAILABLE -Isupportlib/include -I/usr/include -I/usr/include/python2.5 -c wrappers/py_glrenderer.cpp -o build/temp.linux-i686-2.5/wrappers/py_glrenderer.o
i686-pc-linux-gnu-g++ -pthread -DNDEBUG -O2 -march=prescott -pipe -fomit-frame-pointer -fPIC -DLIB3DS_AVAILABLE -Isupportlib/include -I/usr/include -I/usr/include/python2.5 -c -DLIB3DS_AVAILABLE -Isupportlib/include -I/usr/include -I/usr/include/python2.5 -c wrappers/py_massproperties.cpp -o build/temp.linux-i686-2.5/wrappers/py_massproperties.o
i686-pc-linux-gnu-g++ -pthread -DNDEBUG -O2 -march=prescott -pipe -fomit-frame-pointer -fPIC -DLIB3DS_AVAILABLE -Isupportlib/include -I/usr/include -I/usr/include/python2.5 -c -DLIB3DS_AVAILABLE -Isupportlib/include -I/usr/include -I/usr/include/python2.5 -c wrappers/rply/rply/rply.c -o build/temp.linux-i686-2.5/wrappers/rply/rply/rply.o
wrappers/rply/rply/rply.c: In function ‘void ply_property_init(t_ply_property_*)’:
wrappers/rply/rply/rply.c:1019: error: invalid conversion from ‘int’ to ‘e_ply_type’
wrappers/rply/rply/rply.c:1020: error: invalid conversion from ‘int’ to ‘e_ply_type’
wrappers/rply/rply/rply.c:1021: error: invalid conversion from ‘int’ to ‘e_ply_type’
wrappers/rply/rply/rply.c: In function ‘int ply_read_header_format(t_ply_*)’:
wrappers/rply/rply/rply.c:1079: error: invalid conversion from ‘int’ to ‘e_ply_storage_mode’
wrappers/rply/rply/rply.c: In function ‘int ply_read_header_property(t_ply_*)’:
wrappers/rply/rply/rply.c:1119: error: invalid conversion from ‘int’ to ‘e_ply_type’
wrappers/rply/rply/rply.c:1124: error: invalid conversion from ‘int’ to ‘e_ply_type’
wrappers/rply/rply/rply.c:1127: error: invalid conversion from ‘int’ to ‘e_ply_type’
wrappers/rply/rply/rply.c: At global scope:
wrappers/rply/rply/rply.c:1416: error: redefinition of ‘t_ply_idriver ply_idriver_ascii’
wrappers/rply/rply/rply.c:177: error: ‘t_ply_idriver ply_idriver_ascii’ previously declared here
wrappers/rply/rply/rply.c:1426: error: redefinition of ‘t_ply_idriver ply_idriver_binary’
wrappers/rply/rply/rply.c:178: error: ‘t_ply_idriver ply_idriver_binary’ previously declared here
wrappers/rply/rply/rply.c:1436: error: redefinition of ‘t_ply_idriver ply_idriver_binary_reverse’
wrappers/rply/rply/rply.c:179: error: ‘t_ply_idriver ply_idriver_binary_reverse’ previously declared here
wrappers/rply/rply/rply.c:1446: error: redefinition of ‘t_ply_odriver ply_odriver_ascii’
wrappers/rply/rply/rply.c:180: error: ‘t_ply_odriver ply_odriver_ascii’ previously declared here
wrappers/rply/rply/rply.c:1456: error: redefinition of ‘t_ply_odriver ply_odriver_binary’
wrappers/rply/rply/rply.c:181: error: ‘t_ply_odriver ply_odriver_binary’ previously declared here
wrappers/rply/rply/rply.c:1466: error: redefinition of ‘t_ply_odriver ply_odriver_binary_reverse’
wrappers/rply/rply/rply.c:182: error: ‘t_ply_odriver ply_odriver_binary_reverse’ previously declared here
error: command 'i686-pc-linux-gnu-g++' failed with exit status 1
*
* ERROR: dev-python/cgkit-2.0.0_alpha8 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2669: Called distutils_src_compile
* environment, line 788: Called die
* The specific snippet of code:
* ${python} setup.py build "$@" || die "compilation failed"
* The die message:
* compilation failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/cgkit-2.0.0_alpha8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/cgkit-2.0.0_alpha8/temp/environment'.
*
* Messages for package dev-python/cgkit-2.0.0_alpha8:
*
* ERROR: dev-python/cgkit-2.0.0_alpha8 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2669: Called distutils_src_compile
* environment, line 788: Called die
* The specific snippet of code:
* ${python} setup.py build "$@" || die "compilation failed"
* The die message:
* compilation failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/cgkit-2.0.0_alpha8/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/cgkit-2.0.0_alpha8/temp/environment'.
*
you can work around this by the following env update export CPP=/usr/bin/gcc export CXX=/usr/bin/gcc export CC=/usr/bin/gcc Then it will compile as expected That workaround works! Worked for me too, but I had to clear them: export CPP= export CXX= export CC= in order to carry on and build k3d Can you reproduce this bug with dev-python/cgkit-2.0.0_alpha9? |