Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280488 - dev-python/skype4py-1.0.31.0 fails to build
Summary: dev-python/skype4py-1.0.31.0 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 18:37 UTC by rainer
Modified: 2009-08-20 03:17 UTC (History)
0 users

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


Attachments
ebuild environment file (environment,112.82 KB, text/plain)
2009-08-05 18:39 UTC, rainer
Details
complete build log (dev-python:skype4py-1.0.31.0:20090805-202654.log,8.25 KB, text/plain)
2009-08-05 20:37 UTC, rainer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rainer 2009-08-05 18:37:03 UTC
Emerging skype4py fails.

Reproducible: Always

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

Actual Results:  
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -march=k8 -O2 -pipe -fPIC -I. -I/usr/include/python2.6 -c Skype4Py/client.c -o build/temp.linux-x86_64-2.6/Skype4Py/client.o -O3                              
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -march=k8 -O2 -pipe build/temp.linux-x86_64-2.6/Skype4Py/client.o -L/usr/lib64 -lpython2.6 -o build/lib.linux-x86_64-2.6/Skype4Py/client.so -g         
cythoning Skype4Py/utils.py to Skype4Py/utils.c                                                     

Error converting Pyrex file to C:
------------------------------------------------------------
...
        self._EventHandlerObj = Obj

    @staticmethod
    def __AddEvents_make_event(Event):
        # TODO: rework to make compatible with cython
        return property(lambda self: self._GetDefaultEventHandler(Event),
                       ^
------------------------------------------------------------

/var/tmp/portage/dev-python/skype4py-1.0.31.0/work/Skype4Py-1.0.31.0/Skype4Py/utils.py:462:24: Expected an identifier or literal
building 'Skype4Py.utils' extension
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -march=k8 -O2 -pipe -fPIC -I. -I/usr/include/python2.6 -c Skype4Py/utils.c -o build/temp.linux-x86_64-2.6/Skype4Py/utils.o -O3
Skype4Py/utils.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
 *
 * ERROR: dev-python/skype4py-1.0.31.0 failed.
Comment 1 rainer 2009-08-05 18:39:58 UTC
Created attachment 200279 [details]
ebuild environment file

# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 x86_64)                                                                                               
=================================================================                                   
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-1.12.11.1                                                                                        
Timestamp of tree: Tue, 04 Aug 2009 20:00:01 +0000                                                  
app-shells/bash:     3.2_p39                                                                        
dev-java/java-config: 1.3.7-r1, 2.1.8-r1                                                            
dev-lang/python:     2.5.4-r3, 2.6.2-r1                                                             
dev-python/pycrypto: 2.0.1-r8                                                                       
dev-util/cmake:      2.6.4                                                                          
sys-apps/baselayout: 1.12.11.1                                                                      
sys-apps/sandbox:    1.6-r2                                                                         
sys-devel/autoconf:  2.13, 2.63-r1                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                      
sys-devel/binutils:  2.18-r3                                                                        
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://ftp.cs.pu.edu.tw/Linux/Gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/science /usr/portage/local/layman/ikelos /usr/portage/local/layman/voip /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 apache2 apm arts audiofile bash-completion bcmath berkdb bidi blas bluetooth bzip2 cairo cdparanoia cdr cli consolekit cracklib crypt cups curl curlwrappers cxx dbus dga directfb dri dts dvb dvd dvdr dvdread eds emacs encode esd evo examples exif fam fastcgi fbcon ffmpeg fftw firefox flac fortran ftp gd gdbm ggi gif gimp ginac glut gnome gnutls gphoto2 gpm gstreamer gtk hal htmlhandbook iconv icq idn ieee1394 imagemagick imap ipv6 isdnlog jabber java javascript jikes jpeg jpeg2k kde kdrive lapack lcms ldap leim libedit libnotify libwww lirc lm_sensors mad madwifi matroska mikmod mime mmx mng mnogosearch mono mp3 mpeg mpi msn mudflap mule multilib mysql mysqli nas ncurses nls nptl nptlonly nsplugin nvidia ogg ole openal opengl openmp osc oscar oss pam pcre pdf perl php plotutils png pppd python qt3 qt3support qt4 quicktime radius readline reflection samba scanner seamonkey semantic-desktop server session sockets socks5 spell spl sqlite sse sse2 ssl startup-notification svg symlink sysfs szip tcpd tetex theora threads tidy tiff tokenizer truetype unicode usb v4l v4l2 vcd vhosts vorbis webkit wifi wxwindows xc xcomposite xface xine xml xmlrpc xorg xosd xulrunner xvid yahoo zlib zrtp" 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 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" LIRC_DEVICES="imon" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 rainer 2009-08-05 20:37:29 UTC
Created attachment 200297 [details]
complete build log
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-06 01:18:59 UTC
Works for me. This package and skysentials are in bad shape right now due to python-2.6 though. That maybe it. You did run python-updater after installing new python version, right?
Comment 4 rainer 2009-08-06 06:08:32 UTC
(In reply to comment #3)
> Works for me. This package and skysentials are in bad shape right now due to
> python-2.6 though. That maybe it. You did run python-updater after installing
> new python version, right?
> 
Yes, I did run python-updater, and this is also causing several other problems...
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-20 03:17:50 UTC
(In reply to comment #3)
> Works for me. [...]

Ah, it is an automagic dep on cython. I added a patch that removed the cython logic. There is even a TODO comment in utils.py that says to rewrite for cython..

thanks.