Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350035 - dev-lang/python-2.7.1-r1 fails test.test_float.HexFloatTestCase.test_from_hex() on ARM
Summary: dev-lang/python-2.7.1-r1 fails test.test_float.HexFloatTestCase.test_from_hex...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-29 12:10 UTC by Dustin Polke
Modified: 2011-06-27 08:35 UTC (History)
0 users

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


Attachments
build.log (build.log,156.87 KB, text/plain)
2010-12-29 12:12 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2010-12-29 12:10:51 UTC
FAIL: test_from_hex (test.test_float.HexFloatTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.6.6-r1/work/Python-2.6.6/Lib/test/test_float.py", line 665, in test_from_hex
    self.identical(fromHex('0x0.ffffffffffffd6p-1022'), MIN-3*TINY)
  File "/var/tmp/portage/dev-lang/python-2.6.6-r1/work/Python-2.6.6/Lib/test/test_float.py", line 375, in identical
    self.fail('%r not identical to %r' % (x, y))
AssertionError: 2.2250738585071999e-308 not identical to 2.2250738585071984e-308

Reproducible: Always




Portage 2.1.9.25 (default/linux/arm/10.0/server, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 armv5tel)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r12-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-2.0.1
Timestamp of tree: Wed, 29 Dec 2010 07:15:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-Os -march=armv5te -pipe -fomit-frame-pointer -ggdb"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=armv5te -pipe -fomit-frame-pointer -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --buildpkg"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/     ftp://gentoo.tiscali.nl/pub/mirror/gentoo/     ftp://mirror.cambrium.nl/pub/os/linux/gentoo/     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo     ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/var/lib/portage/binpkg"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500"
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/sping /var/lib/layman/alon-barlev /var/lib/layman/DuPol"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl admin arm bash-completion bzip2 cgi cli coverpage cracklib crypt cups cxx dovecot-sasl fastbuild fastcgi fortran gd git gpm iconv iproute2 javascript jpeg kerberos keyscrub logrotate loop-aes mime modules mudflap nls nptl nptlonly openmp pam pcre php png posix pppd readline sasl session ssl sysfs syslog tcpd threads tiff tordns truetype unicode userlocales xml xorg zlib" ALSA_CARDS="dummy" 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="auth_basic auth_core authn_file authz_core authz_host authz_user dav dir log_config mime unixd" 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="void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS
Comment 1 Dustin Polke 2010-12-29 12:12:33 UTC
Created attachment 258336 [details]
build.log
Comment 2 Dustin Polke 2011-04-13 09:15:49 UTC
This is still present in 2.7.1-r1:

======================================================================
FAIL: test_from_hex (test.test_float.HexFloatTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.7.1-r1/work/Python-2.7.1/Lib/test/test_float.py", line 1205, in test_from_hex
    self.identical(fromHex('0x0.ffffffffffffd6p-1022'), MIN-3*TINY)
  File "/var/tmp/portage/dev-lang/python-2.7.1-r1/work/Python-2.7.1/Lib/test/test_float.py", line 915, in identical
    self.fail('%r not identical to %r' % (x, y))
AssertionError: 2.2250738585072e-308 not identical to 2.2250738585071984e-308

----------------------------------------------------------------------
Ran 36 tests in 4.781s

FAILED (failures=1)
test test_float failed -- Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.7.1-r1/work/Python-2.7.1/Lib/test/test_float.py", line 1205, in test_from_hex
    self.identical(fromHex('0x0.ffffffffffffd6p-1022'), MIN-3*TINY)
  File "/var/tmp/portage/dev-lang/python-2.7.1-r1/work/Python-2.7.1/Lib/test/test_float.py", line 915, in identical
    self.fail('%r not identical to %r' % (x, y))
AssertionError: 2.2250738585072e-308 not identical to 2.2250738585071984e-308

make: *** [test] Error 1
emake failed
 * The following tests have been skipped:
 * test_distutils.py
 * test_gdb.py
 * test_minidom.py
 * test_pyexpat.py
 * test_sax.py
 * If you would like to run them, you may:
 * cd '/usr/lib/python2.7/test'
 * and run the tests separately.
 * ERROR: dev-lang/python-2.7.1-r1 failed (test phase):
 *   emake test failed
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-13 14:10:46 UTC
After ensuring that this problem occurs in the newest snapshot of Python 2.7 or 3.3 from python overlay, please report this problem to upstream.
http://bugs.python.org/
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-06-27 08:35:26 UTC
Since there's no further information, resolve as upstream.