Ticket #88 (closed defect: invalid)
Python install scripts seem to fail during cross compile emerge
| Reported by: | Daniel Benoy | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | milestone2 |
| Component: | target | Keywords: | |
| Cc: |
Description
Here's what I'm seeing during emerge (Full log will be attached):
running install
Traceback (most recent call last):
File "setup.py", line 7, in <module>
scripts = ['bugz']
File "/usr/lib64/python2.5/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib64/python2.5/distutils/dist.py", line 974, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.5/distutils/dist.py", line 993, in run_command
cmd_obj.ensure_finalized()
File "/usr/lib64/python2.5/distutils/cmd.py", line 117, in ensure_finalized
self.finalize_options()
File "/usr/lib64/python2.5/distutils/command/install.py", line 261, in finalize_options
self.finalize_unix()
File "/usr/lib64/python2.5/distutils/command/install.py", line 400, in finalize_unix
self.install_libdirname = lib64
NameError: global name 'lib64' is not defined
To reproduce this problem: 1. Follow the instructions on cross-compiling 2. 'emerge-armv4tl-softfloat-linux-gnueabi -k1 pyrex' (or pybugz or some other similarly installed software)
olbetsy portage # emerge-armv4tl-softfloat-linux-gnueabi --info !!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/armv4tl-softfloat-linux-gnueabi/usr/local/portage' Portage 2.1.6.7 (!../usr/portage/profiles/default/linux/arm/2008.0, gcc-4.3.3, glibc-2.7-r2, 2.6.23.16 x86_64) ================================================================= System uname: Linux-2.6.23.16-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-glibc2.2.5 Timestamp of tree: Fri, 13 Mar 2009 20:00:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.7 dev-lang/python: 2.4.4-r6, 2.5.2-r8 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 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.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="arm" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -pipe -march=armv4t -mtune=arm920t -fomit-frame-pointer -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/eina-0/ -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/eina-0/eina/ -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/freetype2 -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/glib-2.0" CHOST="armv4tl-softfloat-linux-gnueabi" 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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -pipe -march=armv4t -mtune=arm920t -fomit-frame-pointer -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/eina-0/ -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/eina-0/eina/ -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/freetype2 -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/glib-2.0" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks fixpackages noinfo parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-L/usr/armv4tl-softfloat-linux-gnueabi/usr/lib -L/usr/armv4tl-softfloat-linux-gnueabi/lib" LINGUAS="en" MAKEOPTS="-j7" PKGDIR="/usr/armv4tl-softfloat-linux-gnueabi/packages/" PORTAGE_CONFIGROOT="/usr/armv4tl-softfloat-linux-gnueabi/" 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="/usr/armv4tl-softfloat-linux-gnueabi/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/openmoko/trunk/openmoko-target" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl arm berkdb bindist bzip2 cli cracklib crypt cups fortran gdbm gpm iconv ipv6 isdnlog make-symlinks midi minimal mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode xorg zlib" 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="evdev keyboard mouse tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glamo dummy" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
