Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2015 15:56:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 198660] lang/python27: sem_wait: Invalid argument on recent HEAD
Message-ID:  <bug-198660-21822-3ejVi6vRpt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198660-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198660-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
cipher_nl@hotmail.com has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to python@FreeBSD.=
org:
Bug 198660: lang/python27: sem_wait: Invalid argument on recent HEAD
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198660



--- Description ---
Possibly due to Clang 3.6 import, Python seems to have some issues when
compiling ports on a recent HEAD (r280133).

lang/python27 itself compiles fine, but various ports that require it fail
with:

py27-cairo when compiling Gnome and others

--
=3D=3D=3D>  Configuring for py27-cairo-1.10.0_2
=3D=3D=3D>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/py-cairo/work/py2cairo-1.10.0/configure
=3D=3D=3D>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/py-cairo/work/py2cairo-1.10.0/aclocal.m4
Setting top to				 :
/usr/ports/graphics/py-cairo/work/py2cairo-1.10.0=20
Setting out to				 :
/usr/ports/graphics/py-cairo/work/py2cairo-1.10.0/build_directory=20
Checking for 'gcc' (c compiler) 	 : ok=20
Checking for program python		 : /usr/local/bin/python2.7=20
Checking for python version		 : (2, 7, 9, 'final', 0)=20
Checking for library python2.7		 : sem_wait: Invalid argument
sem_wait: Invalid argument
sem_wait: Invalid argument
*** Signal 11
--

or devel/jsoncpp when compiling Chromium:

--
=3D=3D=3D>  Building for jsoncpp-0.6.0.r2
scons: Reading SConscript files ...
Using platform 'linux-gcc-FreeBSD'
LD_LIBRARY_PATH =3D :libs/linux-gcc-FreeBSD
Building using PLATFORM =3D linux-gcc-FreeBSD

scons: warning: The build_dir keyword has been deprecated; use the variant_=
dir
keyword instead.
File "/usr/ports/devel/jsoncpp/work/jsoncpp-src-0.6.0-rc2/SConstruct", line
207, in buildProjectInDirectory

scons: warning: The build_dir keyword has been deprecated; use the variant_=
dir
keyword instead.
File "/usr/ports/devel/jsoncpp/work/jsoncpp-src-0.6.0-rc2/SConstruct", line
207, in buildProjectInDirectory

scons: warning: The build_dir keyword has been deprecated; use the variant_=
dir
keyword instead.
File "/usr/ports/devel/jsoncpp/work/jsoncpp-src-0.6.0-rc2/SConstruct", line
207, in buildProjectInDirectory
scons: done reading SConscript files.
sem_wait: Invalid argument
sem_wait: Invalid argument
sem_wait: Invalid argument
sem_wait: Invalid argument
scons: Building targets ...
sem_wait: Invalid argument
Fatal Python error: ceval: orphan tstate
sem_wait: Invalid argument
sem_wait: Invalid argument
Abort trap
=3D=3D=3D> Compilation failed unexpectedly.
--

or www/firefox:

--
updating cache ./config.cache
creating ./config.status
sem_wait: Invalid argument
sem_wait: Invalid argument
sem_wait: Invalid argument
sem_wait: Invalid argument
Traceback (most recent call last):
  File "/usr/ports/www/firefox/work/mozilla-release/build/subconfigure.py",
line 422, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/ports/www/firefox/work/mozilla-release/build/subconfigure.py",
line 406, in main
    return subconfigure(args)
  File "/usr/ports/www/firefox/work/mozilla-release/build/subconfigure.py",
line 393, in subconfigure
    pool.imap_unordered(run, subconfigures):
  File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 652, in next
sem_wait: Invalid argument
sem_wait: Invalid argument
Fatal Python error: PyEval_AcquireThread: non-NULL old thread state
Abort trap
--

There are other errors that pop up on various ports, but these seem to be
related to Python and yield a specific 'sem_wait' message prior to failure.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198660-21822-3ejVi6vRpt>