Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328633 - dev-lang/python-3.1.2-r4 configure: configure:11922: error: cannot run test program while cross compiling
Summary: dev-lang/python-3.1.2-r4 configure: configure:11922: error: cannot run test p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 17:46 UTC by NickNill
Modified: 2013-03-19 05:20 UTC (History)
2 users (show)

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


Attachments
config.log (config.log,444.13 KB, text/plain)
2010-07-16 17:48 UTC, NickNill
Details
files/python-3.1.3-BJA-cross.diff (python-3.1.3-BJA-cross.diff,931 bytes, patch)
2011-10-02 20:54 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description NickNill 2010-07-16 17:46:14 UTC
I try to install python-2*, but it depends eselect-python, and python 3. When i configure python3 i see an error

Reproducible: Always

Steps to Reproduce:
1. crossdev arm-softfloat-linux-gnu
2. arm-softfloat-linux-gnu-emerge python




Portage 2.1.8.3 (!/var/lib/layman/openmoko/openmoko-target/profiles/openmoko/, gcc-4.4.4, unavailable, 2.6.34-ARCH i686)
=================================================================
System uname: Linux-2.6.34-ARCH-i686-Intel-R-_Celeron-R-_D_CPU_3.06GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 14 Jul 2010 16:30:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.4-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mcpu=xscale -mtune=iwmmxt -pipe"
CHOST="arm-iwmmxt-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -mcpu=xscale -mtune=iwmmxt -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS=""
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/usr/arm-iwmmxt-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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/openmoko /var/lib/layman/openmoko/openmoko-target"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arm cracklib iconv midi minimal multicall ncurses nls pam readline sqlite ssl unicode 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" ELIBC="uclibc" INPUT_DEVICES="tslib evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="glamo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 NickNill 2010-07-16 17:48:07 UTC
Created attachment 239081 [details]
config.log
Comment 2 Bertrand Jacquin 2011-10-02 20:54:05 UTC
Created attachment 288607 [details, diff]
files/python-3.1.3-BJA-cross.diff

This fix the bug, but this is already fixed upstream
Comment 3 SpanKY gentoo-dev 2013-03-19 05:20:28 UTC
should be fixed in python 2.7, 3.2, and 3.3 now