From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kDv5K8O31l7oMAAA0tVLHw (envelope-from ) for ; Tue, 02 Jun 2020 20:34:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UGbbJ8O31l7zewAAB5/wlQ (envelope-from ) for ; Tue, 02 Jun 2020 20:34:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 074F79402D6 for ; Tue, 2 Jun 2020 20:34:10 +0000 (UTC) Received: from localhost ([::1]:48578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgDbs-00025j-Hm for larch@yhetil.org; Tue, 02 Jun 2020 16:34:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgDbm-00025c-MU for bug-guix@gnu.org; Tue, 02 Jun 2020 16:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgDbm-0001Gu-DU for bug-guix@gnu.org; Tue, 02 Jun 2020 16:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jgDbm-0003LN-9w for bug-guix@gnu.org; Tue, 02 Jun 2020 16:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41598: [staging] calibre build failure Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 02 Jun 2020 20:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41598 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41598@debbugs.gnu.org Received: via spool by 41598-submit@debbugs.gnu.org id=B41598.159112998812789 (code B ref 41598); Tue, 02 Jun 2020 20:34:02 +0000 Received: (at 41598) by debbugs.gnu.org; 2 Jun 2020 20:33:08 +0000 Received: from localhost ([127.0.0.1]:41057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgDat-0003KC-K6 for submit@debbugs.gnu.org; Tue, 02 Jun 2020 16:33:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgDar-0003Ji-Nc for 41598@debbugs.gnu.org; Tue, 02 Jun 2020 16:33:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52937) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgDam-0001Am-F0 for 41598@debbugs.gnu.org; Tue, 02 Jun 2020 16:33:00 -0400 Received: from ti0006q161-2604.bb.online.no ([84.202.68.75]:57316 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jgDal-0003HP-Tm for 41598@debbugs.gnu.org; Tue, 02 Jun 2020 16:33:00 -0400 From: Marius Bakke In-Reply-To: <87imge4ysy.fsf@gnu.org> References: <87imge4ysy.fsf@gnu.org> Date: Tue, 02 Jun 2020 22:32:57 +0200 Message-ID: <87r1uxus1y.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: cbqXl51NGQei --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > On the 'staging' branch (commit > 8a7a5dc7805f4628e60f90af6b2416f951d0c034), "calibre" fails to build: > > g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUG= IN -DQT_THEME_SUPPORT_LIB -DQT_FONTDATABASE_SUPPORT_LIB -DQT_SERVICE_SUPPOR= T_LIB -DQT_EVENTDISPATCHER_SUPPORT_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE= _LIB -I. -isystem /gnu/store/3x2kak8abb6z2klch72kfff2qxzv00pj-libpng-1.6.37= /include/libpng16 -isystem /gnu/store/haaam6v8l4s75mj9xmpb9gc78xk001y9-free= type-2.10.1/include/freetype2 -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2z= d82as7q-qtbase-5.14.2/include/qt5 -isystem /gnu/store/59dq1n4wj3maa3kcar6hs= pj2zd82as7q-qtbase-5.14.2/include/qt5/QtThemeSupport -isystem /gnu/store/59= dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtThemeSupport/5.1= 4.2 -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/incl= ude/qt5/QtThemeSupport/5.14.2/QtThemeSupport -isystem /gnu/store/59dq1n4wj3= maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtFontDatabaseSupport -isy= stem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/= QtFontDatabaseSupport/5.14.2 -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd= 82as7q-qtbase-5.14.2/include/qt5/QtFontDatabaseSupport/5.14.2/QtFontDatabas= eSupport -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2= /include/qt5/QtServiceSupport -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2z= d82as7q-qtbase-5.14.2/include/qt5/QtServiceSupport/5.14.2 -isystem /gnu/sto= re/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtServiceSupp= ort/5.14.2/QtServiceSupport -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd8= 2as7q-qtbase-5.14.2/include/qt5/QtEventDispatcherSupport -isystem /gnu/stor= e/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtEventDispatc= herSupport/5.14.2 -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtba= se-5.14.2/include/qt5/QtEventDispatcherSupport/5.14.2/QtEventDispatcherSupp= ort -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/incl= ude/qt5/QtGui/5.14.2 -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-q= tbase-5.14.2/include/qt5/QtGui/5.14.2/QtGui -isystem /gnu/store/59dq1n4wj3m= aa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtGui -isystem /gnu/store/5= 9dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtCore/5.14.2 -is= ystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5= /QtCore/5.14.2/QtCore -isystem /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-= qtbase-5.14.2/include/qt5/QtDBus -isystem /gnu/store/59dq1n4wj3maa3kcar6hsp= j2zd82as7q-qtbase-5.14.2/include/qt5/QtCore -I. -isystem /gnu/store/ka6amik= 38awpprjmbj01pnl9zsxgjjgz-libdrm-2.4.101/include/libdrm -I/gnu/store/59dq1n= 4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/qt5/mkspecs/linux-g++ -o main.= o /tmp/guix-build-calibre-3.42.0.drv-0/calibre-3.42.0/src/calibre/headless/= main.cpp > /tmp/guix-build-calibre-3.42.0.drv-0/calibre-3.42.0/src/calibre/headless/= headless_integration.cpp: In constructor =E2=80=98HeadlessIntegration::Head= lessIntegration(const QStringList&)=E2=80=99: > /tmp/guix-build-calibre-3.42.0.drv-0/calibre-3.42.0/src/calibre/headless/= headless_integration.cpp:61:5: error: =E2=80=98screenAdded=E2=80=99 was not= declared in this scope > screenAdded(mPrimaryScreen); > ^~~~~~~~~~~ > make: *** [Makefile:336: headless_integration.o] Error 1 > > Presumably this can be fixed by updating to the latest version of > Calibre (4.17.0!). Any takers? :-) I started working on this. It now needs 'python2-pyqtwebengine', but has some trouble because PyQt apparently really wants all the components (sip, pyqt, pyqtwebengine) to live in the same directory, and does not respect the standard search paths. The Calibre build script works if I run it in a 'guix environment -C', because that would set up a single union profile with all the packages. I tried this hack as a workaround, but now it hits a SIGTRAP somewhere: =2D-8<---------------cut here---------------start------------->8--- (define (make-pyqt+pyqtwebengine-union pyqt pyqtwebengine) (package (name (string-append (package-name pyqt) "+pyqtwebengine")) (version (package-version pyqt)) (source #f) (inputs `(("pyqt" ,pyqt) ("pyqtwebengine" ,pyqtwebengine))) (build-system trivial-build-system) (arguments '(#:modules ((guix build union)) #:builder (begin (use-modules (ice-9 match) (guix build union)) (let ((out (assoc-ref %outputs "out"))) (match %build-inputs (((names . directories) ...) (union-build out directories))) #t)))) (home-page (package-home-page pyqt)) (license (package-license pyqt)) (synopsis "Union of PyQt and PyQtWebEngine") (description "This package provides PyQt and PyQtWebEngine in the same package."))) (define-public python2-pyqt+pyqtwebengine (make-pyqt+pyqtwebengine-union python2-pyqt python2-pyqtwebengine)) =2D-8<---------------cut here---------------end--------------->8--- Also, the new Calibre has experimental Python 3 support, but I'm keeping Python 2 for now to have less "moving parts". To be continued... --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl7Wt3kACgkQoqBt8qM6 VPo4MwgAv7ruUrBx3J0cbyTbiXrnJ1NsMELeKr+gm3BL6fmZUfOS1B1oKXlUCaBE 8dlhAG48queL8VX+5AUDPmpd41ITjNDo+cDwTc58dSkLYF6sfdCQ4OSRIWnGxhA3 ar+DgAs541CpTdZ9IwE/EkMgGB0yi9f2UzeVU7YD0eLZcnXLs3KKoPn07ld550Vr oLfABadEBCA2O3J2Sl6qKqzYXjrbd+BypT1SWxHaCUFmJHvWwL5m6ZWPALI4YoQy B7H8Od3ryAmvUDUT/S2jw7WadhldhB4S/vK3Q041pgOpbqz3zbySVzzndxImGEcs Gn+ICXS+SPMWHpc4HIrMe/enTEgZew== =BZpJ -----END PGP SIGNATURE----- --=-=-=--