Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291454 - dev-lang/python-2.6.4: test_fcntl_64_bit from test_fcntl.py fails
Summary: dev-lang/python-2.6.4: test_fcntl_64_bit from test_fcntl.py fails
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://bugs.python.org/issue7247
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-01 17:42 UTC by Tony Vroon (RETIRED)
Modified: 2015-02-22 16:44 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,150.11 KB, text/plain)
2009-11-01 17:43 UTC, Tony Vroon (RETIRED)
Details
Build log for 2.7.3-r2 (build.log,767.85 KB, text/plain)
2013-03-09 22:42 UTC, Roman Žilka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Vroon (RETIRED) gentoo-dev 2009-11-01 17:42:52 UTC
From test summary:
test_fcntl
test test_fcntl failed -- Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Lib/test/test_fcntl.py", line 96, in test_fcntl_64_bit
    fcntl.fcntl(fd, cmd, flags)
IOError: [Errno 22] Invalid argument

From detailed summary:
ERROR: test_fcntl_64_bit (test.test_fcntl.TestFcntl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.6.4/work/Python-2.6.4/Lib/test/test_fcntl.py", line 96, in test_fcntl_64_bit
    fcntl.fcntl(fd, cmd, flags)
IOError: [Errno 22] Invalid argument

Build log attached to bug.

System info:
Portage 2.2_rc48 (default/linux/amd64/10.0/developer, gcc-4.4.2, glibc-2.10.1-r0, 2.6.32-rc5-00336-g8d5eb43 x86_64)
=================================================================
System uname: Linux-2.6.32-rc5-00336-g8d5eb43-x86_64-Six-Core_AMD_Opteron-tm-_Processor_2435-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -DFORTIFY_SOURCE=2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -DFORTIFY_SOURCE=2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --complete-graph --keep-going"
FEATURES="assume-digests collision-protect cvs distlocks fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed,--hash-style=gnu"
MAKEOPTS="-j12"
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="/cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="cvs://chainsaw@cvs.gentoo.org:/var/cvsroot"
USE="16bit 3dnow 3dnowext 7zip S3TC X a52 aac aalib ace acpi adns adplug alac allegro alsa amd64 amr amrnb amrwb animgif aotuv applet archive aspell async asyncns audacious audiofile autoipd avahi bash-completion beagle berkdb binary-drivers binfilter bluetooth bonjour bs2b bzip2 cairo calendar canberra caps cardbus cdaudio cdda cddb cdparanoia cdr cdrkit cdrom cegui chardet chipcard chm cleartype cli consolekit cpio cracklib crypt css cups curl dbus devhelp device-mapper devil dhcp dhcpcd dirac disk-partition diskio divx djbfft djvu dmi dns double-precision dri drm dtmf dts dv dvd dvdr dvi ecc elf emboss enca encode epiphany erandom evo exif exiv2 expat extras faac faad fam fat fbcon fbcondecor ffmpeg fftw flac fortran fpx ftp fuse g15 galago gcdmaster gconf gcrypt gd gdbm gdl gdm gedit gif gimp glade glep glib glitz glut gmedia gnome gnome-keyring gnomecd gnutls gpg gphoto2 graphite graphviz gs gsm gstreamer gtk gzip h323 hal hddtemp hfs howl-compat hpn http ical icons iconv icu id3 id3tag idn ieee1394 imagemagick imap imlib inkjar inotify iplayer ipod ipv6 irda jabber java jbig jce john jpeg jpeg2k juju kdrive keyring lame lcms ldap libburn libcaca libffi libgcrypt libnl libnotify libsamplerate libsigsegv libssh2 libwww lilo logrotate lzma lzo mad magic maps md5sum mdnsresponder-compat mikmod mime mjpeg mmap mmx mmxext mng modplug modules moonlight mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz nano-syntax nautilus ncurses nemesi neon network network-cron networkmanager nls nptl nptlonly nsplugin nss nut nuv nvidia ogg openal opencore-amr openexr opengl openssl otr ots pam pango pccts pcmcia pcre pdf perl physfs pic pidgin pipechan png pnm policykit posix ppds pppd pulseaudio python quicktime rar rdesktop readline reflection rle rss rtc scenarios schroedinger screenshot sdl session sftp shorten sid sip smp sms sndfile sound soup sourceview sox speex spell spl sqlite srt sse sse2 ssl ssse3 startup-notification subtitles svg svgz sysfs syslog szip t1lib taglib tagwriting theora thesaurus threads thunar tiff timidity tls tordns totem tracker trayicon truetype tta twolame unicode urandom usb v4l2 valgrind vcd vnc vorbis vorbis-psy vte wav wavpack webkit wifi wma wmf wmp wxwidgets x264 xcb xcomposite xface xinerama xml xmp xorg xpm xsettings xslt xulrunner xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="serdisplib" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2009-11-01 17:43:10 UTC
Created attachment 208969 [details]
build.log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-01 17:54:58 UTC
Attach the output of: python2.6 /usr/lib64/python2.6/test/test_fcntl.py
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2009-11-01 18:29:31 UTC
(In reply to comment #2)
> output of: python2.6 /usr/lib64/python2.6/test/test_fcntl.py

chainsaw@prometheus ~ $ python2.6 /usr/lib64/python2.6/test/test_fcntl.py
struct.pack:  '\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
test_fcntl_64_bit (__main__.TestFcntl) ... ERROR
test_fcntl_file_descriptor (__main__.TestFcntl) ... ok
test_fcntl_fileno (__main__.TestFcntl) ... Status from fcntl with O_NONBLOCK:  0
String from fcntl with F_SETLKW:  '\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
ok

======================================================================
ERROR: test_fcntl_64_bit (__main__.TestFcntl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.6/test/test_fcntl.py", line 96, in test_fcntl_64_bit
    fcntl.fcntl(fd, cmd, flags)
IOError: [Errno 22] Invalid argument

----------------------------------------------------------------------
Ran 3 tests in 0.000s

FAILED (errors=1)
Traceback (most recent call last):
  File "/usr/lib64/python2.6/test/test_fcntl.py", line 105, in <module>
    test_main()
  File "/usr/lib64/python2.6/test/test_fcntl.py", line 102, in test_main
    run_unittest(TestFcntl)
  File "/usr/lib64/python2.6/test/test_support.py", line 724, in run_unittest
    _run_suite(suite)
  File "/usr/lib64/python2.6/test/test_support.py", line 707, in _run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "/usr/lib64/python2.6/test/test_fcntl.py", line 96, in test_fcntl_64_bit
    fcntl.fcntl(fd, cmd, flags)
IOError: [Errno 22] Invalid argument



Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-01 18:34:02 UTC
I can't reproduce this test failure, but could you report it in http://bugs.python.org/ ?
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2009-11-01 19:21:17 UTC
(In reply to comment #4)
> I can't reproduce this test failure, but could you report it in
> http://bugs.python.org/ ?

Done, upstream issue #7247.
Comment 6 Nikoli 2010-08-26 23:54:47 UTC
confirm for 2.6.5-r3:

318 tests OK.
1 test failed:
    test_fcntl
41 tests skipped:
    test_aepack test_al test_applesingle test_bsddb test_bsddb185
    test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk
    test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
    test_dbm test_dl test_gdbm test_gl test_imageop test_imgfile
    test_kqueue test_linuxaudiodev test_macos test_macostools
    test_normalization test_ossaudiodev test_pep277 test_py3kwarn
    test_scriptpackages test_smtpnet test_socketserver test_sqlite
    test_startfile test_sunaudiodev test_timeout test_unicode_file
    test_urllib2net test_urllibnet test_winreg test_winsound
    test_zipfile64
3 skips unexpected on linux2:
    test_bsddb test_dbm test_gdbm
Re-running failed tests in verbose mode
Re-running test 'test_fcntl' in verbose mode
struct.pack:  '\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
test_fcntl_64_bit (test.test_fcntl.TestFcntl) ... ERROR
test_fcntl_file_descriptor (test.test_fcntl.TestFcntl) ... ok
test_fcntl_fileno (test.test_fcntl.TestFcntl) ... Status from fcntl with O_NONBLOCK:  0
String from fcntl with F_SETLKW:  '\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
ok

======================================================================
ERROR: test_fcntl_64_bit (test.test_fcntl.TestFcntl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/mnt/g/portage/dev-lang/python-2.6.5-r3/work/Python-2.6.5/Lib/test/test_fcntl.py", line 96, in test_fcntl_64_bit
    fcntl.fcntl(fd, cmd, flags)
IOError: [Errno 22] Invalid argument

----------------------------------------------------------------------
Ran 3 tests in 0.001s

FAILED (errors=1)
test test_fcntl failed -- Traceback (most recent call last):
  File "/mnt/g/portage/dev-lang/python-2.6.5-r3/work/Python-2.6.5/Lib/test/test_fcntl.py", line 96, in test_fcntl_64_bit
    fcntl.fcntl(fd, cmd, flags)
IOError: [Errno 22] Invalid argument

make: *** [test] Error 1



Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
Timestamp of tree: Thu, 26 Aug 2010 22:45:03 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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="-march=core2 -O2 -pipe"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j3"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/nikoli"
USE="7zip X a52 aac acl acpi akonadi alsa amd64 amr amrnb amrwb ares atm audiofile bash-completion bluetooth bzip2 cairo cdda cddb cdio cdparanoia cdr chroot cli consolekit cracklib crypt css cups cxx dbus divx djvu dri dts dv dvd dvdr dvdread emboss encode exif ffmpeg firefox flac fluidsynth fontconfig fortran gd geoip gif gimp glitz gmp gnutls gphoto2 gpm graphviz gstreamer gtk hal handbook iconv id3tag idn ieee1394 imagemagick imap imlib ipv6 jbig jpeg jpeg2k kde kipi kontact ladspa lame laptop lcms libproxy libsamplerate libwww lm_sensors lzma lzo mad matroska md5sum mikmod mmx mmxext mng modplug modules mp3 mp4 mpeg mtp mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntfs nvidia obex ogg openal opencore-amr openexr opengl openmp pam pango pcre pdf perl pg-intdatetime phonon plasma pm-utils png ppds pppd qt3support qt4 quicktime rar raw readline reflection reiserfs sasl scanner schroedinger semantic-desktop session smp sndfile socks5 speex spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs taglib theora threads thumbnail tiff truetype tta udev unicode upnp usb userlocales v4l v4l2 vaapi vcd vdpau vorbis vpx wavpack webkit wifi wma wmf wps x264 xcb xcomposite xface xml xmp xorg xpm xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" NGINX_MODULES_HTTP="access auth_basic autoindex fastcgi gzip rewrite" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 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, FFLAGS, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-lang/python-2.6.5-r3 was built with the following:
USE="ipv6 (multilib) ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -gdbm -sqlite -tk -wininst" 
CFLAGS="-march=core2 -O2 -pipe -fwrapv"
CXXFLAGS="-march=core2 -O2 -pipe -fwrapv"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -L."
Comment 7 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-10-27 11:37:36 UTC
This works for me with 2.6.5-r3. I'm going to close this as UPSTREAM; anyone who can reproduce, please report there so that it can be fixed in the test.
Comment 8 Nikoli 2010-10-27 18:37:29 UTC
Not fixed, same error. Dirkjan, show your 'emerge --info =dev-lang/python-2.6.5-r3'
Comment 9 Roman Žilka 2013-03-09 22:40:26 UTC
Still present in python-2.7.3-r2:

======================================================================
ERROR: test_fcntl_64_bit (test.test_fcntl.TestFcntl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-lang/python-2.7.3-r2/work/Python-2.7.3/Lib/test/test_fcntl.py", line 95, in test_fcntl_64_bit
    fcntl.fcntl(fd, cmd, flags)
IOError: [Errno 22] Invalid argument

----------------------------------------------------------------------

Portage 2.1.11.52 (default/linux/x86/13.0, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.7.10-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_3.06GHz-with-gentoo-2.1
KiB Mem:     1033484 total,    142956 free
KiB Swap:    4184928 total,   4152108 free
Timestamp of tree: Sat, 09 Mar 2013 01:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
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
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott -mmmx -msse -msse2 -msse3"
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/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott -mmmx -msse -msse2 -msse3"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott -mmmx -msse -msse2 -msse3"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles keepwork merge-sync news nodoc noinfo parallel-fetch parallel-install protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott -mmmx -msse -msse2 -msse3"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ http://gentoo.supp.name/ http://gentoo.wheel.sk/ ftp://tux.rainside.sk/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--sparse --itemize-changes --human-readable --stats --compress --compress-level=9"
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.sk.gentoo.org/gentoo-portage"
USE="acpi apache2 bash-completion berkdb bindist branding bzip2 cdinstall cgi cli cracklib crypt cxx dedicated ftp gd gdbm geoip gif gzip iconv icu idn imagemagick javascript jit jpeg jpeg2k lzma lzo mmap mmx modules mudflap mysql mysqli ncurses nls nocd nptl odbc pam pcre php png readline recode session smp sockets spell sse sse2 sse2_4way sse3 ssl subversion syslog szip threads tiff tokenizer udev unicode usb videos vim-syntax x86 zlib" ABI_X86="32" 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="access_compat alias auth_basic authn_core authn_file authz_core authz_host authz_user cgid deflate dir expires filter include log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb unixd userdir" APACHE2_MPMS="worker" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en cs sk" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-lang/python-2.7.3-r2 was built with the following:
USE="gdbm ncurses readline ssl test threads (wide-unicode) xml -berkdb -build -doc -examples -ipv6 -sqlite -tk -wininst"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott -mmmx -msse -msse2 -msse3 -fwrapv"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=prescott -mmmx -msse -msse2 -msse3 -fwrapv"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -L."
Comment 10 Roman Žilka 2013-03-09 22:42:33 UTC
Created attachment 341482 [details]
Build log for 2.7.3-r2
Comment 11 Roman Žilka 2013-03-09 22:44:30 UTC
By the way, it looks like all the tests are run twice.
Comment 12 Nikoli 2015-02-22 16:44:04 UTC
Now test_fcntl works fine for me too in dev-lang/python-2.7.9-r1

Portage 2.2.14 (python 2.7.9-final-0, hardened/linux/amd64, gcc-4.8.3, glibc-2.19-r1, 3.17.7-hardened-r1 x86_64)
=================================================================
                         System Settings
=================================================================
KiB Mem:    65826040 total,    741668 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 22 Feb 2015 12:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo nikoli
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/bind"
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="-march=corei7-avx -O2 -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/nikoli"
USE="X a52 aac acl acpi aes-ni alsa amd64 amr audiofile avx bash-completion bzip2 cairo caps cdda cddb cdio cdparanoia cdr celt cli consolekit cracklib crypt css cups cxx dbus djvu dri dvd dvdr encode exif fat ffmpeg flac fluidsynth fontconfig fortran gd geoip gif gimp gmp gphoto2 graphviz gsm gstreamer gtk handbook hardened iconv icu id3tag idn imagemagick imap imlib ios ipod ipv6 jbig jpeg jpeg2k justify kde kipi lame laptop lcms libass libav libnotify libproxy libsamplerate lm_sensors lz4 lzma lzo mac mad matroska mikmod mmx mmxext mng modplug modules mp3 mp4 mtp multilib musepack musicbrainz ncurses networkmanager nls nptl ntfs ogg openal openexr opengl openmp opus pam pango pax_kernel pcre pdf phonon plasma pm-utils png policykit postscript qt3support qt4 rar raw readline reiserfs replaygain rtmp sasl scanner semantic-desktop session smp sndfile socks5 speex spell sqlite sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg symlink taglib threads thumbnail tiff truetype udev udisks unicode upnp upower usb v4l v4l2 vcd vdpau vorbis vpx wavpack webkit webp wma x264 xattr xcb xcomposite xface xinerama xml xmp xpm xscreensaver xtpax xv xz zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer" LINGUAS="ru ru_RU en" NGINX_MODULES_HTTP="access auth_basic autoindex fastcgi gzip rewrite" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="radeon r600 modesetting vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-lang/python-2.7.9-r1 was built with the following:
USE="hardened ipv6 ncurses readline sqlite ssl threads (wide-unicode) xml -berkdb -build -doc -examples -gdbm -tk -wininst" ABI_X86="64"
CFLAGS="-march=corei7-avx -O2 -pipe -fwrapv"
CXXFLAGS="-march=corei7-avx -O2 -pipe -fwrapv"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -L."