Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362065 - dev-lang/python-2.7.1-r1 fails test_ctypes (ctypes.test.test_callbacks.Callbacks.test_ulonglong()) on sparc
Summary: dev-lang/python-2.7.1-r1 fails test_ctypes (ctypes.test.test_callbacks.Callba...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: http://bugs.python.org/issue8314
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 13:08 UTC by Dustin Polke
Modified: 2016-10-10 20:08 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 Dustin Polke 2011-04-05 13:08:56 UTC
FAIL: test_ulonglong (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/portage/portage/dev-lang/python-2.7.1-r1/work/Python-2.7.1/Lib/ctypes/test/test_callbacks.py", line 72, in test_ulonglong
    self.check_type(c_ulonglong, 10955412242170339782)
  File "/home/portage/portage/dev-lang/python-2.7.1-r1/work/Python-2.7.1/Lib/ctypes/test/test_callbacks.py", line 31, in check_type
    self.assertEqual(result, arg)
AssertionError: 10955412241121898851L != 10955412242170339782L

----------------------------------------------------------------------
Ran 332 tests in 11.656s

FAILED (failures=1, skipped=1)
test test_ctypes failed -- Traceback (most recent call last):
  File "/home/portage/portage/dev-lang/python-2.7.1-r1/work/Python-2.7.1/Lib/ctypes/test/test_callbacks.py", line 72, in test_ulonglong
    self.check_type(c_ulonglong, 10955412242170339782)
  File "/home/portage/portage/dev-lang/python-2.7.1-r1/work/Python-2.7.1/Lib/ctypes/test/test_callbacks.py", line 31, in check_type
    self.assertEqual(result, arg)
AssertionError: 10955412241121898851L != 10955412242170339782L

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/lib32/python2.7/test'
 * and run the tests separately.
 * ERROR: dev-lang/python-2.7.1-r1 failed (test phase):
 *   emake test failed



Portage 2.1.9.42 (default/linux/sparc/experimental/multilib/server, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r8 sparc64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r8-sparc64-sun4u-with-gentoo-2.0.2
Timestamp of tree: Tue, 05 Apr 2011 07:15:01 +0000
distcc 3.1 sparc-unknown-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
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.2
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe -ggdb"
CHOST="sparc-unknown-linux-gnu"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
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="/usr/portage/packages"
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/DuPol /usr/local/portage/modified"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl admin bash-completion branding bzip2 cli coverpage cracklib crypt cups cxx dbus dri fortran gd git gpm iconv iproute2 javascript jpeg kerberos keyscrub logrotate loop-aes mime modules mudflap multilib nls nptl nptlonly openmp pam pcre png posix pppd readline sasl session sparc ssl sysfs syslog system-sqlite tcpd threads tiff truetype unicode userlocales xml 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="auth_basic auth_core authn_file authz_core authz_host authz_user dav dir log_config mime unixd" 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="evdev" 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="mach64" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS


[ebuild  NS   ] dev-lang/python-2.7.1-r1 [2.6.5-r3] USE="readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -gdbm -ipv6 -ncurses -sqlite -tk -wininst"
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-05 13:47:49 UTC
Does this bug occur with newer versions (libffi-3.0.10_rc8, python-2.7.2_pre20110403 or python-3.3_pre20110403)?
Comment 2 Dustin Polke 2011-04-05 14:26:30 UTC
(In reply to comment #1)
> Does this bug occur with newer versions (libffi-3.0.10_rc8,
This is with libffi-3.0.9. I can test with libffi-3.0.10_rc8.

> python-2.7.2_pre20110403 or python-3.3_pre20110403)?
I don't find those version in the tree. Where do I get them from?
I will test 2.7.2_pre if you point me to the ebuild.

Do you like to know results from only both packages newer or combination as well?
Will take some time to compile and run tests so please let me know if you only need a subset.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-05 14:31:46 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > python-2.7.2_pre20110403 or python-3.3_pre20110403
> I don't find those version in the tree. Where do I get them from?

They are in python overlay.
(3.3 is currently only for experimentation. Don't set it permanently as active version of Python 3.)

> Do you like to know results from only both packages newer or combination as
> well?

Please test only the newest versions.
Comment 4 Dustin Polke 2011-04-06 06:43:53 UTC
(In reply to comment #3)
 
> Please test only the newest versions.
python-2.7.2_pre20110403 with libffi-3.0.10_rc8 fails exactly the same way:

FAIL: test_ulonglong (ctypes.test.test_callbacks.Callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.7.2_pre20110403/work/python-2.7.2_pre20110403/Lib/ctypes/test/test_callbacks.py", line 72, in test_ulonglong
    self.check_type(c_ulonglong, 10955412242170339782)
  File "/var/tmp/portage/dev-lang/python-2.7.2_pre20110403/work/python-2.7.2_pre20110403/Lib/ctypes/test/test_callbacks.py", line 31, in check_type
    self.assertEqual(result, arg)
AssertionError: 10955412241121898851L != 10955412242170339782L

----------------------------------------------------------------------
Ran 337 tests in 11.571s
Comment 5 Patrice Clement gentoo-dev 2016-10-10 20:08:54 UTC
This report is years old. According to the link provided, upstream marked this issue as FIXED. So let's act accordingly. Closing.