From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: Qt-5 in core-updates Date: Mon, 25 Jan 2016 09:57:13 +0800 Message-ID: <87twm2ctfq.fsf@member.fsf.org> References: <20160124191925.GA4264@debian> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNWPS-0003ah-GF for guix-devel@gnu.org; Sun, 24 Jan 2016 20:57:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNWPP-0000p8-A3 for guix-devel@gnu.org; Sun, 24 Jan 2016 20:57:38 -0500 Received: from smtp19.openmailbox.org ([62.4.1.53]:48562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNWPP-0000p2-3u for guix-devel@gnu.org; Sun, 24 Jan 2016 20:57:35 -0500 In-Reply-To: <20160124191925.GA4264@debian> (Andreas Enge's message of "Sun, 24 Jan 2016 20:19:25 +0100") 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: Andreas Enge Cc: guix-devel@gnu.org 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/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: 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. - 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.