<div dir="ltr">The new version of python also affects building qt5.<div><br></div><div><div>Updating projects from gyp files...</div><div>Traceback (most recent call last):</div><div>  File "/tmp/SBo/qt-everywhere-opensource-src-5.6.1/qtwebengine/tools/buildscripts/gyp_qtwebengine", line 178, in <module></div><div>    sys.exit(gyp.main(args))</div><div>  File "/tmp/SBo/qt-everywhere-opensource-src-5.6.1/qtwebengine/src/3rdparty/chromium/tools/gyp/pylib/gyp/__init__.py", line 538, in main</div><div>    return gyp_main(args)</div><div>  File "/tmp/SBo/qt-everywhere-opensource-src-5.6.1/qtwebengine/src/3rdparty/chromium/tools/gyp/pylib/gyp/__init__.py", line 514, in gyp_main</div><div>    options.duplicate_basename_check)</div><div>  File "/tmp/SBo/qt-everywhere-opensource-src-5.6.1/qtwebengine/src/3rdparty/chromium/tools/gyp/pylib/gyp/__init__.py", line 130, in Load</div><div>    params['parallel'], params['root_targets'])</div><div>  File "/tmp/SBo/qt-everywhere-opensource-src-5.6.1/qtwebengine/src/3rdparty/chromium/tools/gyp/pylib/gyp/input.py", line 2759, in Load</div><div>    check, generator_input_info)</div><div>  File "/tmp/SBo/qt-everywhere-opensource-src-5.6.1/qtwebengine/src/3rdparty/chromium/tools/gyp/pylib/gyp/input.py", line 596, in LoadTargetBuildFilesParallel</div><div>    parallel_state.pool = multiprocessing.Pool(multiprocessing.cpu_count())</div><div>  File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 232, in Pool</div><div>    return Pool(processes, initializer, initargs, maxtasksperchild)</div><div>  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 138, in __init__</div><div>    self._setup_queues()</div><div>  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 233, in _setup_queues</div><div>    from .queues import SimpleQueue</div><div>  File "/usr/lib64/python2.7/multiprocessing/queues.py", line 48, in <module></div><div>    from .synchronize import Lock, BoundedSemaphore, Semaphore, Condition</div><div>  File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 59, in <module></div><div>    " function, see issue 3770.")</div><div>ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.</div></div><div><br></div><div>--Larry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 6, 2017 at 9:28 AM, Brenton Earl <span dir="ltr"><<a href="mailto:brent@exitstatusone.com" target="_blank">brent@exitstatusone.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Jan 06, 2017 at 04:34:41PM +0700, Willy Sudiarto Raharjo wrote:<br>
> > Zim wiki seems to crash with the recent update to python 2.7.13.  There<br>
> > is a work around to launch Zim:<br>
> ><br>
> >> zim --standalone<br>
> ><br>
> > A bug report has been filed upstream here:<br>
> ><br>
> > <a href="https://bugs.launchpad.net/zim/+bug/1618410" rel="noreferrer" target="_blank">https://bugs.launchpad.net/<wbr>zim/+bug/1618410</a><br>
> ><br>
> > I attached the error message to this email.  Reproduced in a fresh<br>
> > virtual machine of Slackware x86 and x86_64 14.2.  Can anyone else<br>
> > reproduce this?  Any suggestions are welcome.<br>
><br>
> Works on current machine with same Python 2.7.13<br>
> probably a bug caused by the way Python was compiled? (UCS-2 vs UCS-4)<br>
><br>
<br>
</span>In short, rebuild python 2.7.13 and this problem will be fixed.  Remove<br>
your $HOME/.config/zim and $HOME/.cache/zim.  Start zim as normal.<br>
<br>
The issue lies in the python multiprocessing module.  Zim is unable to<br>
start up because it cannot import the required module.<br>
<br>
The following will return the import error:<br>
<br>
> python -c "from _multiprocessing import SemLock"<br>
<br>
This problem can be seen if you run zim in debug mode during the first<br>
launch of the application.  See attached log.<br>
<br>
Thanks,<br>
Brenton Earl<br>
<br>______________________________<wbr>_________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.<wbr>org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">http://lists.slackbuilds.org/<wbr>mailman/listinfo/slackbuilds-<wbr>users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/<wbr>pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
<br></blockquote></div><br></div>