From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: bug#31637: PyQt is broken. Date: Sat, 2 Jun 2018 23:49:21 +0300 Message-ID: <20180602204921.GB5242@macbook41> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="H8ygTp4AXg6deix2" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPDTU-0002mw-67 for bug-guix@gnu.org; Sat, 02 Jun 2018 16:50:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPDTP-0005Ti-7y for bug-guix@gnu.org; Sat, 02 Jun 2018 16:50:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51697) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPDTP-0005TS-16 for bug-guix@gnu.org; Sat, 02 Jun 2018 16:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fPDTO-00053n-MA for bug-guix@gnu.org; Sat, 02 Jun 2018 16:50:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Fis Trivial Cc: 31637@debbugs.gnu.org --H8ygTp4AXg6deix2 Content-Type: multipart/mixed; boundary="Pd0ReVV5GZGQvF3a" Content-Disposition: inline --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 29, 2018 at 09:50:00AM +0000, Fis Trivial wrote: >=20 > $ guix --version >=20 > guix (GNU Guix) 6fe165770539a4551b303dc5cd52db6c51c7604a >=20 > Here is the last part of build log: >=20 > make[1]: Entering directory '/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_= gpl-5.9/QtTest' > g++ -c -pipe -O2 -std=3Dgnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fP= IC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=3Dpublic -DQT_NO_EXCEPTIONS -DQT_N= O_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_COR= E_LIB -DQT_TESTCASE_BUILDDIR=3D'"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt= 5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh= 1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09= jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc= 7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets -isystem /gnu/store/= xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtGui -isystem /= gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtTest= -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include= /qt5/QtCore -I. -isystem /gnu/store/88vpd91676yna0zrix1shvqvvh4nx21a-libdrm= -2.4.91/include/libdrm -I/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase= -5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtTestQSignalSpy.o sipQtTestQSignal= Spy.cpp > g++ -c -pipe -O2 -std=3Dgnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fP= IC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=3Dpublic -DQT_NO_EXCEPTIONS -DQT_N= O_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_COR= E_LIB -DQT_TESTCASE_BUILDDIR=3D'"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt= 5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh= 1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09= jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc= 7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets -isystem /gnu/store/= xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtGui -isystem /= gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtTest= -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include= /qt5/QtCore -I. -isystem /gnu/store/88vpd91676yna0zrix1shvqvvh4nx21a-libdrm= -2.4.91/include/libdrm -I/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase= -5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtTestQTest.o sipQtTestQTest.cpp > g++ -c -pipe -O2 -std=3Dgnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fP= IC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=3Dpublic -DQT_NO_EXCEPTIONS -DQT_N= O_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_COR= E_LIB -DQT_TESTCASE_BUILDDIR=3D'"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt= 5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh= 1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09= jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc= 7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets -isystem /gnu/store/= xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtGui -isystem /= gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtTest= -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include= /qt5/QtCore -I. -isystem /gnu/store/88vpd91676yna0zrix1shvqvvh4nx21a-libdrm= -2.4.91/include/libdrm -I/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase= -5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtTestQTestQTouchEventSequence.o si= pQtTestQTestQTouchEventSequence.cpp > g++ -c -pipe -O2 -std=3Dgnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fP= IC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=3Dpublic -DQT_NO_EXCEPTIONS -DQT_N= O_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_COR= E_LIB -DQT_TESTCASE_BUILDDIR=3D'"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt= 5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh= 1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09= jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc= 7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets -isystem /gnu/store/= xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtGui -isystem /= gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtTest= -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include= /qt5/QtCore -I. -isystem /gnu/store/88vpd91676yna0zrix1shvqvvh4nx21a-libdrm= -2.4.91/include/libdrm -I/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase= -5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtTestcmodule.o sipQtTestcmodule.cpp > /tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest/sipQtTestQTest= =2Ecpp: In function =E2=80=98PyObject* meth_QTest_waitForEvents(PyObject*, = PyObject*)=E2=80=99: > /tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest/sipQtTestQTest= =2Ecpp:278:14: error: =E2=80=98waitForEvents=E2=80=99 is not a member of = =E2=80=98QTest=E2=80=99 > make[1]: *** [Makefile:545: sipQtTestQTest.o] Error 1 > make[1]: *** Waiting for unfinished jobs.... > make[1]: Leaving directory '/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_g= pl-5.9/QtTest' > make: *** [Makefile:596: sub-QtTest-make_first-ordered] Error 2 > phase `build' failed after 234.0 seconds > builder for `/gnu/store/066dx7j5ppr5by97f6kjv17zln22qz90-python-pyqt-5.9.= drv' failed with exit code 1 > cannot build derivation `/gnu/store/b35912gkxppr8xp229qqv6zq3hgm3vgl-ligh= tgbm-2.0.12.drv': 1 dependencies couldn't be built > guix package: error: build failed: build of `/gnu/store/b35912gkxppr8xp22= 9qqv6zq3hgm3vgl-lightgbm-2.0.12.drv' failed Here's what I have so far for fixing it, it does fail later on though --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="pyqt-update.diff" diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index c3d0bff2f..429571fab 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -1509,7 +1509,7 @@ message."))) (define-public python-sip (package (name "python-sip") - (version "4.19.3") + (version "4.19.8") (source (origin (method url-fetch) @@ -1518,7 +1518,7 @@ message."))) "sip-" version "/sip-" version ".tar.gz")) (sha256 (base32 - "0x2bghbprwl3az1ni3p87i0bq8r99694la93kg65vi0cz12gh3bl")))) + "1g4pq9vj753r2s061jc4y9ydzgb48ibhc9bdvmb8mlyllwp7mbvy")))) (build-system gnu-build-system) (native-inputs `(("python" ,python-wrapper))) @@ -1572,7 +1572,8 @@ module provides support functions to the automatically generated code.") (define-public python-pyqt (package (name "python-pyqt") - (version "5.9") + ;(version "5.9") + (version "5.10.1") (source (origin (method url-fetch) @@ -1582,7 +1583,8 @@ module provides support functions to the automatically generated code.") version ".tar.gz")) (sha256 (base32 - "15hh4z5vd45dcswjla58q6rrfr6ic7jfz2n7c8lwfb10rycpj3mb")) + ;"15hh4z5vd45dcswjla58q6rrfr6ic7jfz2n7c8lwfb10rycpj3mb")) + "1vz9c4v0k8azk2b08swwybrshzw32x8djjpq13mf9v15x1qyjclr")) (patches (search-patches "pyqt-configure.patch")))) (build-system gnu-build-system) (native-inputs @@ -1610,6 +1612,12 @@ module provides support functions to the automatically generated code.") ,@%gnu-build-system-modules) #:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-build-with-qt-5.11 + ;; See: https://bugs.gentoo.org/654742 + (lambda _ + (substitute* "sip/QtTest/qtestmouse.sip" + (("void waitForEvents\\(\\) /ReleaseGIL/;") "")) + #t)) (replace 'configure (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) --Pd0ReVV5GZGQvF3a-- --H8ygTp4AXg6deix2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlsTAscACgkQQarn3Mo9 g1HHbxAAua5l/UUFTxHjeZgfgy4T6HUJY30zpSqILrSxZ+0lw812blK4k1oMrs4m TKoWQlb75aeQ6N62qpuPeGPWwbXKqP1+XRW1yzstyub9HYFKaqNlmm+MjERL6QEG gtXFWJDWRO3r1/o1wOeK1pUEDKwLAiiTXPfdbKbCH+JQMcU3ESexxRB7D2XRU0io 1dQwc04m5Q/kJGvV7Q4qbhxJB9yU1kB16Zt3Yt9VgouwdVEFXnN0EI+2Ryfyc1oX 38fx2aQtqVxJURca3wl2cRF6CdgYa6gOqyAH45b+LM/p7CQAGZYL7YmS2C8NqUFh rNPf7I+qIU4RnIM3wXSWY27mNrUgl923wqbgKPkU1g9s/YrumiWtIYJZBjs29BeR A5WDfvCr0uky4VJG0DpweKCv7kpeUvov/3RLATm6vsdFBQV8wHZEAfiAM1gHMS4f 8kqeAEdQRr4CS8vRMA57JMkCrmlI0BiIGj4+vz/V+jNvZMAeJCcZbJ5tWBowfrsR 3xFTLgk5SpCRivuRDpAQWscQzwNHEBJtG791jZjCzCHSS7DQ+wsUArA3cyEw9VDX oZQzR3Zn+mYeluEycn7zhUMpGdgeTRyKC8WpOrxw6BRUPL+tL2NCbKz3deftL42B 9Cwx7WHMJ5XCj7S6FVOUHUZwLtQ4KDb4KUjcMcocYwT3mTF0QGQ= =D1M+ -----END PGP SIGNATURE----- --H8ygTp4AXg6deix2--