Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191678 - dev-python/pyid3lib-0.5.1 build error
Summary: dev-python/pyid3lib-0.5.1 build error
Status: RESOLVED DUPLICATE of bug 188067
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-08 11:35 UTC by Farid
Modified: 2007-09-08 11:43 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 Farid 2007-09-08 11:35:37 UTC
emerging dev-python/pyid3lib-0.5.1 on my system fails for some reason.

# /usr/sbin/python-updater
 * Starting Python Updater from 2.4 to 2.5 :
 * Searching for packages with files in /usr/lib/python2.4 /usr/lib32/python2.4 /usr/lib64/python2.4 ..
 * Adding to list: =dev-python/pyid3lib-0.5.1
 * Adding to list: =dev-python/pyid3lib-0.5.1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-python/pyid3lib-0.5.1  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-python/pyid3lib-0.5.1 to /
 * pyid3lib-0.5.1.tar.bz2 RMD160 ;-) ...                                                                          [ ok ]
 * pyid3lib-0.5.1.tar.bz2 SHA1 ;-) ...                                                                            [ ok ]
 * pyid3lib-0.5.1.tar.bz2 SHA256 ;-) ...                                                                          [ ok ]
 * pyid3lib-0.5.1.tar.bz2 size ;-) ...                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                              [ ok ]
 * checking auxfile checksums ;-) ...                                                                             [ ok ]
 * checking miscfile checksums ;-) ...                                                                            [ ok ]
 * checking pyid3lib-0.5.1.tar.bz2 ;-) ...                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking pyid3lib-0.5.1.tar.bz2 to /var/tmp/portage/dev-python/pyid3lib-0.5.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/pyid3lib-0.5.1/work/pyid3lib-0.5.1 ...
running build
running build_ext
building 'pyid3lib' extension
creating build
creating build/temp.linux-x86_64-2.5
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -march=k8 -O2 -pipe -fno-ident -msse3 -msse2 -msse -mmmx -m3dnow -fPIC -I/usr/include/python2.5 -c pyid3lib.cc -o build/temp.linux-x86_64-2.5/pyid3lib.o
pyid3lib.cc:86: warning: ‘intargfunc’ is deprecated (declared at /usr/include/python2.5/object.h:133)
pyid3lib.cc:87: warning: ‘intintargfunc’ is deprecated (declared at /usr/include/python2.5/object.h:134)
pyid3lib.cc:93: error: invalid conversion from ‘int (*)(PyObject*)’ to ‘Py_ssize_t (*)(PyObject*)’
pyid3lib.cc:93: error: invalid conversion from ‘PyObject* (*)(PyObject*, int)’ to ‘PyObject* (*)(PyObject*, Py_ssize_t)’
pyid3lib.cc:93: error: invalid conversion from ‘PyObject* (*)(PyObject*, int, int)’ to ‘PyObject* (*)(PyObject*, Py_ssize_t, Py_ssize_t)’
pyid3lib.cc:93: error: invalid conversion from ‘int (*)(PyObject*, int, PyObject*)’ to ‘int (*)(PyObject*, Py_ssize_t, PyObject*)’
pyid3lib.cc:93: error: invalid conversion from ‘int (*)(PyObject*, int, int, PyObject*)’ to ‘int (*)(PyObject*, Py_ssize_t, Py_ssize_t, PyObject*)’
pyid3lib.cc: In function ‘ID3_Frame* frame_from_dict(ID3_FrameID, PyObject*)’:
pyid3lib.cc:880: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for argument ‘3’ to ‘int PyString_AsStringAndSize(PyObject*, char**, Py_ssize_t*)’
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/pyid3lib-0.5.1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1328:   Called distutils_src_compile
  distutils.eclass, line 48:   Called die

!!! 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/pyid3lib-0.5.1/temp/build.log'.



Reproducible: Always

Steps to Reproduce:
1.emerge --oneshot dev-python/pyid3lib
2.
3.

Actual Results:  
!!! compilation failed


# emerge info
*** Deprecated use of action 'info', use '--info' instead
Portage 2.1.2.12 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r6 x86_64 AMD Sempron(tm) Processor 2800+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 08 Sep 2007 08:50:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
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.18
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=k8 -O2 -pipe -fno-ident -msse3 -msse2 -msse -mmmx -m3dnow"
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/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fno-ident -msse3 -msse2 -msse -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="C"
LINGUAS="en en_GB sv"
MAKEOPTS="-j2"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acpi alsa amd64 apm audiofile bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt dbus directfb divx dlloader dri dvd dvdr dvdread eds emboss enblend encode evo fam fbcon ffmpeg firefox fontconfig fortran ftp gif glib glitz gmedia gpm gstreamer gtk gtk2 hal hddtemp iconv icq imagemagick imlib isdnlog java joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kqemu libcaca lirc lm_sensors logrotate mad mbrola menubar midi mikmod mmx mmxext mozbranding mozilla mp3 mpeg msn mudflap ncurses neXt nls nptl nptlonly nsplugin ntfs nvidia offensive ogg openal opengl openmp osc pam panel-plugin pcre pdf pdflib perl pertty pic png pppd python qt qt3 qt3support qt4 quicktime rar readline realmedia reflection reiserfs samba scanner sdl session slang spell spl sse sse2 sse3 ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vi vim vorbis wma wmf wmp x264 xine xml xorg xv xvid zip zlib" ALSA_CARDS="emu10k1 usb-audio bt87x" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB sv" LIRC_DEVICES="alsa_usb" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-08 11:43:23 UTC

*** This bug has been marked as a duplicate of bug 188067 ***