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:   [Bug 198660] lang/python27: sem_wait: Invalid argument on recent HEAD
Message-ID:  <bug-198660-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198660

            Bug ID: 198660
           Summary: lang/python27: sem_wait: Invalid argument on recent
                    HEAD
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: cipher_nl@hotmail.com
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org

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

--
===>  Configuring for py27-cairo-1.10.0_2
===>   FreeBSD 10 autotools fix applied to
/usr/ports/graphics/py-cairo/work/py2cairo-1.10.0/configure
===>   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 
Setting out to                           :
/usr/ports/graphics/py-cairo/work/py2cairo-1.10.0/build_directory 
Checking for 'gcc' (c compiler)          : ok 
Checking for program python              : /usr/local/bin/python2.7 
Checking for python version              : (2, 7, 9, 'final', 0) 
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:

--
===>  Building for jsoncpp-0.6.0.r2
scons: Reading SConscript files ...
Using platform 'linux-gcc-FreeBSD'
LD_LIBRARY_PATH = :libs/linux-gcc-FreeBSD
Building using PLATFORM = 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
===> 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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