Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307293 - dev-lang/python-2.6.4-r1 test 'test_largefile' fails
Summary: dev-lang/python-2.6.4-r1 test 'test_largefile' fails
Status: RESOLVED DUPLICATE of bug 268051
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-01 09:46 UTC by Myckel Habets (work)
Modified: 2010-03-01 17:56 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 Myckel Habets (work) 2010-03-01 09:46:07 UTC
Test 'test_largefile' of python-2.6.4-r1 fails.

Reproducible: Always

Steps to Reproduce:
1. emerge python with test FEATURE.

Actual Results:  
Python not installed/updated due to failed test.

Expected Results:  
Python installed/updated with no failed tests.

Output from test suite:

Re-running test 'test_largefile' in verbose mode
test_seek (test.test_largefile.TestCase) ... create large file via seek (may be sparse file) ...
check file size with os.fstat
ok
test_osstat (test.test_largefile.TestCase) ... check file size with os.stat
ok
test_seek_read (test.test_largefile.TestCase) ... play around with seek() and read() with the built largefile
ERROR
test_lseek (test.test_largefile.TestCase) ... play around with os.lseek() with the built largefile
ERROR
test_truncate (test.test_largefile.TestCase) ... try truncate
ERROR

======================================================================
ERROR: test_seek_read (test.test_largefile.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.6.4-r1/work/Python-2.6.4/Lib/test/test_largefile.py", line 55, in test_seek_read
    with open(TESTFN, 'rb') as f:
IOError: [Errno 75] Value too large for defined data type: '@test'

======================================================================
ERROR: test_lseek (test.test_largefile.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.6.4-r1/work/Python-2.6.4/Lib/test/test_largefile.py", line 88, in test_lseek
    with open(TESTFN, 'rb') as f:
IOError: [Errno 75] Value too large for defined data type: '@test'

======================================================================
ERROR: test_truncate (test.test_largefile.TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.6.4-r1/work/Python-2.6.4/Lib/test/test_largefile.py", line 103, in test_truncate
    with open(TESTFN, 'r+b') as f:
IOError: [Errno 75] Value too large for defined data type: '@test'

----------------------------------------------------------------------
Ran 5 tests in 0.000s


And emerge --info:

Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.33-rc8-co-0.8.0 i686)
=================================================================
System uname: Linux-2.6.33-rc8-co-0.8.0-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 01 Mar 2010 07:45:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4, 3.1.1-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X berkdb bzip2 cgi cleartype cli cracklib crypt cxx dbus dri fastcgi fortran gdbm gpm hal iconv ipv6 jpeg libnotify logrotate mmx modules mudflap mysql ncurses nptl nptlonly openmp pam pcre pdf perl php pic png posix pppd python readline reflection session spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode x86 xcb xcomposite xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Myckel Habets (work) 2010-03-01 11:01:58 UTC
I did the following:

FEATURES="-sandbox" emerge python

Now python installed without the problem. Seems the bug is in sandbox.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-01 17:56:27 UTC

*** This bug has been marked as a duplicate of bug 268051 ***