Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166211 - ebuild fails for app-text/iso-codes-0.58
Summary: ebuild fails for app-text/iso-codes-0.58
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-10 15:39 UTC by Darryl Wagoner
Modified: 2007-02-11 18:28 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 Darryl Wagoner 2007-02-10 15:39:48 UTC
During update ebuild fails.  Looks like it might be a python error.

Reproducible: Always

Steps to Reproduce:
1.  emerge --update world
2.
3.

Actual Results:  
/usr/bin/msgfmt --verbose --check zu.po -o zu.mo
61 translated messages, 131 fuzzy translations, 218 untranslated messages.
./iso3166tab.py iso_3166.xml > iso_3166.tab.new
Traceback (most recent call last):
  File "./iso3166tab.py", line 11, in ?
    import sys, os, getopt, urllib2
  File "/usr/lib/python2.4/urllib2.py", line 93, in ?
    import httplib
  File "/usr/lib/python2.4/httplib.py", line 70, in ?
    import mimetools
  File "/usr/lib/python2.4/mimetools.py", line 6, in ?
    import tempfile
  File "/usr/lib/python2.4/tempfile.py", line 33, in ?
    from random import Random as _Random
  File "/usr/lib/python2.4/random.py", line 44, in ?
    from math import log as _log, exp as _exp, pi as _pi, e as _e
ImportError: /usr/lib/python2.4/lib-dynload/math.so: undefined symbol: PyFPE_jbu
f
make[2]: *** [iso_3166.tab] Error 1
make[2]: Leaving directory `/var/tmp/portage/iso-codes-0.58/work/iso-codes-0.58/
iso_3166'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/iso-codes-0.58/work/iso-codes-0.58/
iso_3166'
make: *** [install-recursive] Error 1

!!! ERROR: app-text/iso-codes-0.58 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  iso-codes-0.58.ebuild, line 36:   Called die

!!! Installation failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
Comment 1 ebfe 2007-02-10 15:58:34 UTC
please try recompiling python with tk useflag to enable tkinter and report back if this does the trick (it should)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-10 17:43:04 UTC
emerge --info, please. Also python config.log would help probably.
Comment 3 Darryl Wagoner 2007-02-11 01:34:31 UTC
Tried changing the USE to include tk.  I found some old tk and tcl files which I delete.  I don't know how to force a recompile of python.

I couldn't find a python config.log

thanks
-darryl

~: -> emerge --info          
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-3.3.6, glibc-2.5-r0, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 10 Feb 2007 13:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /var/bind /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-pipe -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm arts avi berkdb bitmap-fonts bonobo cdr cli cracklib crypt cscope cups dlloader dri dvd eds elibc_glibc emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ libwww mad midi mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcl tcpd tk truetype truetype-fonts type1-fonts udev userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 ebfe 2007-02-11 10:50:25 UTC
add tk to your USE variable in /etc/make.conf or add "dev-lang/python tk" to /etc/portage/package.use

then do "emerge --oneshot dev-lang/python"

then try to emerge iso-codes
Comment 5 Darryl Wagoner 2007-02-11 14:10:23 UTC
Still no joy.  Where does PyFPE_jbu get define.  I can see that  /usr/lib/python2.4/lib-dynload/math.so is being rebuilt.  I don't understand why it isn't finding the symbol.

thanks
Comment 6 ebfe 2007-02-11 16:55:33 UTC
works for me, even without +tk in python.

Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r6 x86_64 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System release 1.12.8
Timestamp of tree: Sun, 11 Feb 2007 16:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer"
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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j4 --quiet"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="X a52 aac acpi alsa amd64 apache2 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt dbus dlloader dri dvd dvdr dvdread eds emboss encode fam ffmpeg firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv isdnlog java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spl ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode vorbis x264 xml xorg xv xvid xvmc 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 7 Darryl Wagoner 2007-02-11 17:45:34 UTC
This is not good news.  My system is cripped because of this problem.  Maybe others.  

This seems to be a Python problem now.  math.so is has a undefine to a setjump struct.  I really don't want to start from scratch and rebuild this system.

Anything else I can do?  

thanks
Comment 8 Marien Zwart (RETIRED) gentoo-dev 2007-02-11 18:10:43 UTC
PyFPE_jbu does not exist. PyFPE_jbuf does, should be defined inside python depending on a configure check. Please provide the config.log for python as Jakub asked (the most convenient way to do this is probably to emerge --oneshot python, wait for configure to finish, ctrl+z to pause emerge, find /var/tmp/portage -name config.log to find config.log and copy it out, then "fg" to resume the emerge).

Also please check if you're actually running the python you think you are running ("which python" will tell). I've seen very odd things happen when a non-gentoo python in /usr/local or a place like that interacted with the portage-installed one.
Comment 9 Darryl Wagoner 2007-02-11 18:28:53 UTC
Bingo!  I had a old copy of python.  Sorry for the trouble and thanks very much for the help.