* bug#31637: PyQt is broken.
@ 2018-05-29 9:50 Fis Trivial
2018-06-02 20:49 ` Efraim Flashner
2018-06-15 11:35 ` Ricardo Wurmus
0 siblings, 2 replies; 3+ messages in thread
From: Fis Trivial @ 2018-05-29 9:50 UTC (permalink / raw)
To: 31637
$ guix --version
guix (GNU Guix) 6fe165770539a4551b303dc5cd52db6c51c7604a
Here is the last part of build log:
make[1]: Entering directory '/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest'
g++ -c -pipe -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-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 sipQtTestQSignalSpy.cpp
g++ -c -pipe -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-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=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-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 sipQtTestQTestQTouchEventSequence.cpp
g++ -c -pipe -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-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.cpp: In function ‘PyObject* meth_QTest_waitForEvents(PyObject*, PyObject*)’:
/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest/sipQtTestQTest.cpp:278:14: error: ‘waitForEvents’ is not a member of ‘QTest’
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_gpl-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-lightgbm-2.0.12.drv': 1 dependencies couldn't be built
guix package: error: build failed: build of `/gnu/store/b35912gkxppr8xp229qqv6zq3hgm3vgl-lightgbm-2.0.12.drv' failed
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#31637: PyQt is broken.
2018-05-29 9:50 bug#31637: PyQt is broken Fis Trivial
@ 2018-06-02 20:49 ` Efraim Flashner
2018-06-15 11:35 ` Ricardo Wurmus
1 sibling, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2018-06-02 20:49 UTC (permalink / raw)
To: Fis Trivial; +Cc: 31637
[-- Attachment #1.1: Type: text/plain, Size: 5763 bytes --]
On Tue, May 29, 2018 at 09:50:00AM +0000, Fis Trivial wrote:
>
> $ guix --version
>
> guix (GNU Guix) 6fe165770539a4551b303dc5cd52db6c51c7604a
>
> Here is the last part of build log:
>
> make[1]: Entering directory '/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest'
> g++ -c -pipe -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-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 sipQtTestQSignalSpy.cpp
> g++ -c -pipe -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-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=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-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 sipQtTestQTestQTouchEventSequence.cpp
> g++ -c -pipe -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest"' -I. -I. -isystem /gnu/store/3lkypf5wnsnvkaidhw0pv7k3yjfh1r9g-python-3.6.3/include/python3.6m -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5 -isystem /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-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.cpp: In function ‘PyObject* meth_QTest_waitForEvents(PyObject*, PyObject*)’:
> /tmp/guix-build-python-pyqt-5.9.drv-0/PyQt5_gpl-5.9/QtTest/sipQtTestQTest.cpp:278:14: error: ‘waitForEvents’ is not a member of ‘QTest’
> 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_gpl-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-lightgbm-2.0.12.drv': 1 dependencies couldn't be built
> guix package: error: build failed: build of `/gnu/store/b35912gkxppr8xp229qqv6zq3hgm3vgl-lightgbm-2.0.12.drv' failed
Here's what I have so far for fixing it, it does fail later on though
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #1.2: pyqt-update.diff --]
[-- Type: text/plain, Size: 2111 bytes --]
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"))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#31637: PyQt is broken.
2018-05-29 9:50 bug#31637: PyQt is broken Fis Trivial
2018-06-02 20:49 ` Efraim Flashner
@ 2018-06-15 11:35 ` Ricardo Wurmus
1 sibling, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2018-06-15 11:35 UTC (permalink / raw)
To: 31637-done
PyQt 5.10.1 builds now. Closing.
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-15 11:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-29 9:50 bug#31637: PyQt is broken Fis Trivial
2018-06-02 20:49 ` Efraim Flashner
2018-06-15 11:35 ` Ricardo Wurmus
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).