From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Qt-5 in core-updates Date: Mon, 25 Jan 2016 10:25:20 +0100 Message-ID: <87fuxmm2nz.fsf@gnu.org> References: <20160124191925.GA4264@debian> <87twm2ctfq.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNdOo-0005vB-BR for guix-devel@gnu.org; Mon, 25 Jan 2016 04:25:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNdOl-0005Mw-4v for guix-devel@gnu.org; Mon, 25 Jan 2016 04:25:26 -0500 In-Reply-To: <87twm2ctfq.fsf@member.fsf.org> (=?utf-8?B?IuWui+aWh+atpiIn?= =?utf-8?B?cw==?= message of "Mon, 25 Jan 2016 09:57:13 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: > Andreas Enge 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 = >> import webkit2.messages >> EOFError: EOF read where object expected >> Makefile.WebKit2.DerivedSources:881: recipe for target 'generated/Plugin= ProxyMessages.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: > > Ouch. > 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. > Best if we can avoid it for now since that would further delay the merge of =E2=80=98core-updates=E2=80=99. > - Patch the build phases of qt and webkitgtk to pre-generate *.pyc > files before the actually building. If that=E2=80=99s simple enough, we could add a phase that run =E2=80=9Cmake whatever-target-it-is=E2=80=9D, indeed. > Or disable parallel build completely. Sounds like the easiest thing to do. Not sure how long it would take to build Qt, though. > - Restart the builds on hydra, hope it will pass. I think we should avoid that. Andreas, are you on it? Ludo=E2=80=99.