From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: "calibre" package fails to build. Date: Sat, 21 Jul 2018 20:13:58 +0200 Message-ID: <20180721181358.GA892@jurong> References: <20180628170155.11a28321@mailbox.org> <20180721173203.GA10747@jurong> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgwOM-0000wP-Tg for help-guix@gnu.org; Sat, 21 Jul 2018 14:14:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgwOJ-0006Gr-N3 for help-guix@gnu.org; Sat, 21 Jul 2018 14:14:06 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:38024) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fgwOJ-0006GV-Ar for help-guix@gnu.org; Sat, 21 Jul 2018 14:14:03 -0400 Content-Disposition: inline In-Reply-To: <20180721173203.GA10747@jurong> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Matthew Brooks Cc: 24404@debbugs.gnu.org, "help-guix@gnu.org" On Sat, Jul 21, 2018 at 07:32:03PM +0200, Andreas Enge wrote: > So this needs to be corrected with respect to the disappearance of > QtWebKitWidgets from Qt, I will have a look now. This is due to the following commit: commit c0e7a52996edf75a403ef6c454072271fd1c277a Author: Efraim Flashner Date: Mon Jun 4 10:48:55 2018 +0300 gnu: python-pyqt: Update to 5.10.1. * gnu/packages/qt.scm (python-pyqt): Update to 5.10.1. [inputs]: Remove qtwebkit. [arguments]: Add custom phase to fix compilation with Qt 5.11. I tried adding qtwebkit (which is in version 5.9.1) to the python-pyqt inputs again, but then compilation of python-pyqt fails with the following error: make[1]: Entering directory '/tmp/guix-build-python-pyqt-5.10.1.drv-0/PyQt5= _gpl-5.10.1/QtWebKitWidgets' g++ -c -pipe -O2 -std=3Dgnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC= -DSIP_PROTECTED_IS_PUBLIC -Dprotected=3Dpublic -DQT_NO_EXCEPTIONS -DQT_NO_= DEBUG -DQT_PLUGIN -DQT_WEBKITWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS= _LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -i= system /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/pyt= hon3.6m -isystem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-5.9.1= /include/qt5 -isystem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-= 5.9.1/include/qt5/QtWebKitWidgets -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6ai= d35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjp= m6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/stor= e/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isy= stem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-5.9.1/include/qt5= /QtWebKit -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.= 0/include/qt5/QtGui -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qt= base-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6ai= d35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4m= fg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4= rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQt= WebKitWidgetsQGraphicsWebView.o sipQtWebKitWidgetsQGraphicsWebView.cpp g++ -c -pipe -O2 -std=3Dgnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC= -DSIP_PROTECTED_IS_PUBLIC -Dprotected=3Dpublic -DQT_NO_EXCEPTIONS -DQT_NO_= DEBUG -DQT_PLUGIN -DQT_WEBKITWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS= _LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -i= system /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/pyt= hon3.6m -isystem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-5.9.1= /include/qt5 -isystem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-= 5.9.1/include/qt5/QtWebKitWidgets -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6ai= d35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjp= m6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/stor= e/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isy= stem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-5.9.1/include/qt5= /QtWebKit -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.= 0/include/qt5/QtGui -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qt= base-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6ai= d35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4m= fg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4= rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQt= WebKitWidgetsQList0101QWebFrame.o sipQtWebKitWidgetsQList0101QWebFrame.cpp g++ -c -pipe -O2 -std=3Dgnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC= -DSIP_PROTECTED_IS_PUBLIC -Dprotected=3Dpublic -DQT_NO_EXCEPTIONS -DQT_NO_= DEBUG -DQT_PLUGIN -DQT_WEBKITWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS= _LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -i= system /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/pyt= hon3.6m -isystem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-5.9.1= /include/qt5 -isystem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-= 5.9.1/include/qt5/QtWebKitWidgets -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6ai= d35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjp= m6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/stor= e/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isy= stem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-5.9.1/include/qt5= /QtWebKit -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.= 0/include/qt5/QtGui -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qt= base-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6ai= d35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4m= fg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4= rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQt= WebKitWidgetsQMultiMap0100QString0100QString.o sipQtWebKitWidgetsQMultiMap0= 100QString0100QString.cpp g++ -c -pipe -O2 -std=3Dgnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC= -DSIP_PROTECTED_IS_PUBLIC -Dprotected=3Dpublic -DQT_NO_EXCEPTIONS -DQT_NO_= DEBUG -DQT_PLUGIN -DQT_WEBKITWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS= _LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -i= system /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/pyt= hon3.6m -isystem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-5.9.1= /include/qt5 -isystem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-= 5.9.1/include/qt5/QtWebKitWidgets -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6ai= d35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjp= m6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/stor= e/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isy= stem /gnu/store/dmb48z3jd4d2axngkgy7x279sk21js1n-qtwebkit-5.9.1/include/qt5= /QtWebKit -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.= 0/include/qt5/QtGui -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qt= base-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6ai= d35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4m= fg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4= rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQt= WebKitWidgetsQWebFrame.o sipQtWebKitWidgetsQWebFrame.cpp In file included from sipQtWebKitWidgetsQList0101QWebFrame.cpp:24:0: /tmp/guix-build-python-pyqt-5.10.1.drv-0/PyQt5_gpl-5.10.1/sip/QtWebKitWidge= ts/qgraphicswebview.sip:124:28: fatal error: QGraphicsWebView: No such file= or directory compilation terminated. In file included from sipQtWebKitWidgetsQMultiMap0100QString0100QString.cpp= :24:0: /tmp/guix-build-python-pyqt-5.10.1.drv-0/PyQt5_gpl-5.10.1/sip/QtWebKitWidge= ts/qgraphicswebview.sip:124:28: fatal error: QGraphicsWebView: No such file= or directory compilation terminated. make[1]: *** [Makefile:593: sipQtWebKitWidgetsQList0101QWebFrame.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:596: sipQtWebKitWidgetsQMultiMap0100QString0100QStri= ng.o] Error 1 In file included from sipQtWebKitWidgetsQGraphicsWebView.cpp:24:0: /tmp/guix-build-python-pyqt-5.10.1.drv-0/PyQt5_gpl-5.10.1/sip/QtWebKitWidge= ts/qgraphicswebview.sip:124:28: fatal error: QGraphicsWebView: No such file= or directory compilation terminated. make[1]: *** [Makefile:590: sipQtWebKitWidgetsQGraphicsWebView.o] Error 1 Interestingly enough, there is a commit in Calibre which claims to work on Qt 5.11 compatibility: https://github.com/kovidgoyal/calibre/commit/68bbec179abc980ebcb3f13854d= 2e4fd46f4897c So the Calibre author apparently has managed to put it all together. Efraim, have you got any idea? Andreas