Bug 196875 - www/chromium - 39.0.2171.99 build failure on FreeBSD 8-STABLE
Summary: www/chromium - 39.0.2171.99 build failure on FreeBSD 8-STABLE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-chromium (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-19 10:41 UTC by freebsd
Modified: 2015-01-20 08:55 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (chromium)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2015-01-19 10:41:53 UTC
Environment:

  FreeBSD 8-STABLE r276995
  ports r377391
  www/chromium 39.0.2171.99; config ...

    # make showconfig
    ===> The following configuration options are available for chromium-39.0.2171.99:
       CODECS=on: Compile and enable patented codecs like H.264
       DEBUG=off: Build with debugging support
       GCONF=on: GConf configuration backend support
       KERBEROS=off: Kerberos support
       PULSEAUDIO=on: PulseAudio sound server support
       TEST=off: Build and/or run tests


www/chromium build fails thus ...

...
Updating projects from gyp files...
Traceback (most recent call last):
  File "./build/gyp_chromium", line 312, in <module>
    gyp_rc = gyp.main(args)
  File "/misc/work/ports/misc/ports/www/chromium/work/chromium-39.0.2171.99/tools/gyp/pylib/gyp/__init__.py", line 537, in main
    return gyp_main(args)
  File "/misc/work/ports/misc/ports/www/chromium/work/chromium-39.0.2171.99/tools/gyp/pylib/gyp/__init__.py", line 513, in gyp_main
    options.duplicate_basename_check)
  File "/misc/work/ports/misc/ports/www/chromium/work/chromium-39.0.2171.99/tools/gyp/pylib/gyp/__init__.py", line 130, in Load
    params['parallel'], params['root_targets'])
  File "/misc/work/ports/misc/ports/www/chromium/work/chromium-39.0.2171.99/tools/gyp/pylib/gyp/input.py", line 2744, in Load
    generator_input_info)
  File "/misc/work/ports/misc/ports/www/chromium/work/chromium-39.0.2171.99/tools/gyp/pylib/gyp/input.py", line 606, in LoadTargetBuildFilesParallel
    parallel_state.pool = multiprocessing.Pool(multiprocessing.cpu_count())
  File "/misc/local/lib/python2.7/multiprocessing/__init__.py", line 232, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild)
  File "/misc/local/lib/python2.7/multiprocessing/pool.py", line 138, in __init__
    self._setup_queues()
  File "/misc/local/lib/python2.7/multiprocessing/pool.py", line 233, in _setup_queues
    from .queues import SimpleQueue
  File "/misc/local/lib/python2.7/multiprocessing/queues.py", line 48, in <module>
    from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition
  File "/misc/local/lib/python2.7/multiprocessing/synchronize.py", line 59, in <module>
    " function, see issue 3770.")
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
*** Error code 1

Stop in /misc/ports/www/chromium.
*** Error code 1
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-19 10:41:53 UTC
Auto-assigned to maintainer chromium@FreeBSD.org
Comment 2 Rene Ladan freebsd_committer freebsd_triage 2015-01-19 17:42:59 UTC
The error message suggests that you somehow switch off the SEM (semaphores) option in your Python, can you check?
Comment 3 freebsd 2015-01-20 08:26:55 UTC
Thanks Rene.

Yes, I can confirm that Python 2.7 was build sans SEM(aphore) option (possibly because build failed due to SEM option at the time). After successfully rebuilding Python 2.7 with SEM option, the www/chromimum build moves further along (to stop at due to some some C++ function(s) being ambiguous).

Feel free to close this PR. (Am I also able to close this PR? Should I?)


 - parv
Comment 4 Rene Ladan freebsd_committer freebsd_triage 2015-01-20 08:55:37 UTC
OK, I closed the PR. I think you have to be able to log in to change the status, otherwise you can only comment (but I'd have to test that to be sure).