Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410433 - dev-lang/python-3.2.2-r1: subprocess.py:1103: RuntimeWarning: pipe2 set errno ENOSYS warning
Summary: dev-lang/python-3.2.2-r1: subprocess.py:1103: RuntimeWarning: pipe2 set errno...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL: ftp://ftp.ntua.gr/pub/linux/gentoo/re...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-01 12:58 UTC by Panagiotis Christopoulos (RETIRED)
Modified: 2012-05-26 20:55 UTC (History)
1 user (show)

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 Panagiotis Christopoulos (RETIRED) gentoo-dev 2012-04-01 12:58:58 UTC
I did a bare gentoo installation, using stage3-i686-20120327.tar.bz2 (autobuild), which had only python-3.2 in it. From the beginning (chroot to stage3 and emerge --version) I get this message:

<snip>

(chroot) Euterpe ~ # emerge --version
/usr/lib/python3.2/subprocess.py:1103: RuntimeWarning: pipe2 set errno ENOSYS; falling back to non-atomic pipe+fcntl.
  c2pread, c2pwrite = _create_pipe()
/usr/lib/python3.2/subprocess.py:1162: RuntimeWarning: pipe2 set errno ENOSYS; falling back to non-atomic pipe+fcntl.
  errpipe_read, errpipe_write = _create_pipe()
Portage 2.1.10.53 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.14.1-r2, 2.6.23-gentoo-r5 i686)
(chroot) Euterpe ~ #

</snip>

However I was able to "emerge -e system" but the default python interpreter is still :

(chroot) Euterpe ~ # eselect python list
Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *
(chroot) Euterpe ~ #

and I still get the RuntimeWarning above. 

Even if this is harmless, I think it should be fixed cause if it is reproducable, it may cause vagueness to new users etc. I'm CCing also releng.
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2012-04-01 13:00:00 UTC
(chroot) Euterpe ~ # emerge --info
/usr/lib/python3.2/subprocess.py:1103: RuntimeWarning: pipe2 set errno ENOSYS; falling back to non-atomic pipe+fcntl.
  c2pread, c2pwrite = _create_pipe()
/usr/lib/python3.2/subprocess.py:1162: RuntimeWarning: pipe2 set errno ENOSYS; falling back to non-atomic pipe+fcntl.
  errpipe_read, errpipe_write = _create_pipe()
Portage 2.1.10.53 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.14.1-r2, 2.6.23-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.23-gentoo-r5-i686-Intel-R-_Xeon-TM-_CPU_3.00GHz-with-gentoo-2.1
Timestamp of tree: Sun, 01 Apr 2012 06:45:01 +0000
app-shells/bash:          4.2_p24
dev-lang/python:          2.7.2-r3, 3.2.2-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.ntua.gr/pub/linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en el"
MAKEOPTS="-j5"
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.gr.gentoo.org/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb bitmap-fonts bzip2 cairo cli cracklib crypt cscope ctype cups cxx dri encode fortran gdbm gif iconv ipv6 jpeg latex libg++ mad midi mikmod mmx modules mp3 mpeg mudflap ncurses netboot nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plotutils png posix pppd python readline sdl seamonkey session sockets spell sse sse2 ssl svg sysfs tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vim-sytax vorbis x86 xml xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="*" 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 synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en el" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

(chroot) Euterpe ~ #
Comment 2 Arfrever Frehtes Taifersar Arahesis 2012-04-01 16:04:05 UTC
Does this problem occur outside of chroot?
Does this problem occur with a newer kernel?
Does this problem occur with a newer version of Python 3.2?
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2012-05-06 23:16:48 UTC
Panagiotis,

are you still hitting this issue?
Comment 4 Panagiotis Christopoulos (RETIRED) gentoo-dev 2012-05-26 20:26:30 UTC
Can't test right now. Close it as needinfo if you want, but certainly, happened to me that time.
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2012-05-26 20:55:28 UTC
OK. Let us know if you hit it again.