Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python-3.2.3-r2 compile on armv7-a stops at test_io
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
pluto7777
n00b
n00b


Joined: 02 Apr 2013
Posts: 1

PostPosted: Tue Apr 02, 2013 1:34 am    Post subject: python-3.2.3-r2 compile on armv7-a stops at test_io Reply with quote

I'm not sure whats going on here. Nothing fails and the machine isn't hung up. It just goes no further than [154/352/1] test_io
I realize compiling on an Arm platform isn't fast but it's been setting there for about a day.
I've tried compiling it with gcc 4.6.3 as well as 4.7.2 and the original cflag defaults which are below.
Code:
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"

Nothing seems to work.. Every time results in the same outcome.
I am somewhat new to gentoo so forgive me if I come off sounding like a rube.
If anyone has any suggestions or can point me in the right direction I would be grateful.

Here is emerge --info
Code:
Portage 2.1.11.55 (default/linux/arm/13.0/armv7a/developer, gcc-4.7.2, glibc-2.15-r3, 3.0.62 armv7l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.0.62-armv7l-ARMv7_Processor_rev_2_-v7l-with-gentoo-2.1
KiB Mem:      834568 total,    352996 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 31 Mar 2013 16:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r3, 3.2.3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa arm berkdb bindist bluetooth bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session snmp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Here is some more info upon sigint
Code:
======================================================================
ERROR: test_byte_compile (distutils.tests.test_install_lib.InstallLibTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/tests/test_install_lib.py", line 46, in test_byte_compile
    cmd.byte_compile([f])
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/command/install_lib.py", line 138, in byte_compile
    verbose=self.verbose, dry_run=self.dry_run)
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/util.py", line 521, in byte_compile
    spawn(cmd, dry_run=dry_run)
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/spawn.py", line 32, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/spawn.py", line 163, in _spawn_posix
    % (cmd[0], exit_status))
distutils.errors.DistutilsExecError: command '/var/tmp/portage/dev-lang/python-3.2.3-r2/work/armv7a-hardfloat-linux-gnueabi/python' failed with exit status 1

======================================================================
ERROR: test_byte_compile_optimized (distutils.tests.test_build_py.BuildPyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/tests/test_build_py.py", line 117, in test_byte_compile_optimized
    cmd.run()
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/command/build_py.py", line 95, in run
    self.byte_compile(self.get_outputs(include_bytecode=0))
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/command/build_py.py", line 391, in byte_compile
    force=self.force, prefix=prefix, dry_run=self.dry_run)
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/util.py", line 521, in byte_compile
    spawn(cmd, dry_run=dry_run)
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/spawn.py", line 32, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/var/tmp/portage/dev-lang/python-3.2.3-r2/work/Python-3.2.3/Lib/distutils/spawn.py", line 163, in _spawn_posix
    % (cmd[0], exit_status))
distutils.errors.DistutilsExecError: command '/var/tmp/portage/dev-lang/python-3.2.3-r2/work/armv7a-hardfloat-linux-gnueabi/python' failed with exit status 1

----------------------------------------------------------------------
Ran 181 tests in 10.907s

FAILED (errors=2, skipped=10)
test test_distutils failed
make: [test] Error 1 (ignored)

/usr/portage/dev-lang/python/python-3.2.3-r2.ebuild: __dyn_test aborted; exiting
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 889

PostPosted: Tue Apr 02, 2013 5:29 pm    Post subject: Reply with quote

You do not come off sounding like a rube.

You might try compiling it outside of portage. That is, copy the dist file to /tmp, unzip, and follow the directions in README or INSTALL.
If that works try emerging it with CFLAGS="" and see what happens. You may have to fiddle with the USE flags as well.
Or you might skip compliing outside of portage and go directly to the CFLAGS="" test.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum