[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Qt-5 in core-updates
From: |
宋文武 |
Subject: |
Re: Qt-5 in core-updates |
Date: |
Mon, 25 Jan 2016 09:57:13 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Andreas Enge <address@hidden> writes:
> Hello,
>
> qt-5 fails to build on both x86_64 and armhf in core-updates with the
> following error:
> Traceback (most recent call last):
> File
> "/tmp/nix-build-qt-5.5.1.drv-0/qt-everywhere-opensource-src-5.5.1/qtwebkit/Source/WebKit2/Scripts/generate-messages-header.py",
> line 28, in <module>
> import webkit2.messages
> EOFError: EOF read where object expected
> Makefile.WebKit2.DerivedSources:881: recipe for target
> 'generated/PluginProxyMessages.h' failed
> make[3]: *** [generated/PluginProxyMessages.h] Error 1
>
> Surprisingly, it succeeds on i686 (and its build is disabled on mips).
>
This seems like a parallel build issue after I find that,
Writing a pyc file is not atomic in python:
<https://bugs.python.org/issue13146>
It was fixed in Python 3.3+, but not in Python 2.7.x (the one for
building WebKit).
I think we can try:
- Patch our python-2.7.x like Ubuntu does.
<https://launchpad.net/ubuntu/+archive/primary/+files/python2.7_2.7.10-4ubuntu1.diff.gz>
- Patch the build phases of qt and webkitgtk to pre-generate *.pyc
files before the actually building.
Or disable parallel build completely.
- Restart the builds on hydra, hope it will pass.