unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24404: "calibre" package fails to build.
       [not found] ` <20180721173203.GA10747@jurong>
@ 2018-07-21 18:13   ` Andreas Enge
       [not found]   ` <20180721181358.GA892@jurong>
  2019-02-19 22:25   ` bug#32238: Close Andreas Enge
  2 siblings, 0 replies; 20+ messages in thread
From: Andreas Enge @ 2018-07-21 18:13 UTC (permalink / raw)
  To: Matthew Brooks; +Cc: 24404, 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 <efraim@flashner.co.il>
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=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -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. -isystem /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/python3.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/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isystem /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-qtbase-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4mfg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtWebKitWidgetsQGraphicsWebView.o sipQtWebKitWidgetsQGraphicsWebView.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_WEBKITWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -isystem /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/python3.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/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isystem /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-qtbase-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4mfg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtWebKitWidgetsQList0101QWebFrame.o sipQtWebKitWidgetsQList0101QWebFrame.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_WEBKITWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -isystem /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/python3.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/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isystem /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-qtbase-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4mfg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtWebKitWidgetsQMultiMap0100QString0100QString.o sipQtWebKitWidgetsQMultiMap0100QString0100QString.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_WEBKITWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -isystem /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/python3.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/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isystem /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-qtbase-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4mfg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtWebKitWidgetsQWebFrame.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/QtWebKitWidgets/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/QtWebKitWidgets/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: sipQtWebKitWidgetsQMultiMap0100QString0100QString.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/QtWebKitWidgets/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/68bbec179abc980ebcb3f13854d2e4fd46f4897c

So the Calibre author apparently has managed to put it all together.

Efraim, have you got any idea?

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
       [not found]   ` <20180721181358.GA892@jurong>
@ 2018-07-21 18:19     ` Andreas Enge
  2018-07-21 18:38     ` Efraim Flashner
       [not found]     ` <20180721183830.GP4585@macbook41>
  2 siblings, 0 replies; 20+ messages in thread
From: Andreas Enge @ 2018-07-21 18:19 UTC (permalink / raw)
  To: Matthew Brooks; +Cc: 24404, help-guix@gnu.org

On Sat, Jul 21, 2018 at 08:13:58PM +0200, Andreas Enge wrote:
> Interestingly enough, there is a commit in Calibre which claims to work
> on Qt 5.11 compatibility:
>    https://github.com/kovidgoyal/calibre/commit/68bbec179abc980ebcb3f13854d2e4fd46f4897c
> So the Calibre author apparently has managed to put it all together.

Well, he is simply using pyqt-5.8:
   https://github.com/kovidgoyal/build-calibre/blob/master/scripts/sources.json
(grep for "pyqt").

So what can we do? Add the previous version of pyqt with qtwebkit back?

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
       [not found]   ` <20180721181358.GA892@jurong>
  2018-07-21 18:19     ` Andreas Enge
@ 2018-07-21 18:38     ` Efraim Flashner
       [not found]     ` <20180721183830.GP4585@macbook41>
  2 siblings, 0 replies; 20+ messages in thread
From: Efraim Flashner @ 2018-07-21 18:38 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 24404, help-guix@gnu.org, Matthew Brooks

[-- Attachment #1: Type: text/plain, Size: 8381 bytes --]

On Sat, Jul 21, 2018 at 08:13:58PM +0200, Andreas Enge wrote:
> 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 <efraim@flashner.co.il>
> 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=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -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. -isystem /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/python3.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/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isystem /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-qtbase-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4mfg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtWebKitWidgetsQGraphicsWebView.o sipQtWebKitWidgetsQGraphicsWebView.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_WEBKITWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -isystem /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/python3.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/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isystem /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-qtbase-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4mfg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtWebKitWidgetsQList0101QWebFrame.o sipQtWebKitWidgetsQList0101QWebFrame.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_WEBKITWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -isystem /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/python3.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/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isystem /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-qtbase-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4mfg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtWebKitWidgetsQMultiMap0100QString0100QString.o sipQtWebKitWidgetsQMultiMap0100QString0100QString.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_WEBKITWIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -isystem /gnu/store/gx7gjwr05gzbh7f2kwbwhbxrh27hvgk8-python-3.6.5/include/python3.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/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtPrintSupport -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtWidgets -isystem /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-qtbase-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -I. -isystem /gnu/store/n97v4mfg9dmi4ki5ijnqyvlkhd8a44zp-libdrm-2.4.92/include/libdrm -I/gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -o sipQtWebKitWidgetsQWebFrame.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/QtWebKitWidgets/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/QtWebKitWidgets/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: sipQtWebKitWidgetsQMultiMap0100QString0100QString.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/QtWebKitWidgets/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/68bbec179abc980ebcb3f13854d2e4fd46f4897c
> 
> So the Calibre author apparently has managed to put it all together.
> 
> Efraim, have you got any idea?
> 
> Andreas
> 

I see a new version of Calibre was just pushed to master, does that
build as expected?

-- 
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
       [not found]     ` <20180721183830.GP4585@macbook41>
@ 2018-07-21 18:48       ` Andreas Enge
       [not found]       ` <20180721184822.GA12005@jurong>
  1 sibling, 0 replies; 20+ messages in thread
From: Andreas Enge @ 2018-07-21 18:48 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404, help-guix@gnu.org, Matthew Brooks

On Sat, Jul 21, 2018 at 09:38:30PM +0300, Efraim Flashner wrote:
> I see a new version of Calibre was just pushed to master, does that
> build as expected?

Yes and no; it builds, but then using it fails with
...
  File "/gnu/store/brj5xv8zqa1w7byz8b1fz0fd1hmy3kd4-calibre-3.28.0/lib/calibre/calibre/gui2/comments_editor.py", line 17, in <module>
    from PyQt5.QtWebKitWidgets import QWebView, QWebPage
ImportError: No module named QtWebKitWidgets

Gentoo moved to a new snapshot of qtwebkit:
   https://forums.gentoo.org/viewtopic-p-8226560.html?sid=cdd617a96f698cdc99a6156a22a4a54f
They claim this solved their problems.

The current git server of qtwebkit is here:
   https://code.qt.io/cgit/qt/qtwebkit.git

I am downloading version 5.212.0-alpha2 from here:
   https://github.com/annulen/webkit/releases
and will give it a try.

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
       [not found]       ` <20180721184822.GA12005@jurong>
@ 2018-07-21 18:52         ` Efraim Flashner
       [not found]         ` <20180721185225.GQ4585@macbook41>
  1 sibling, 0 replies; 20+ messages in thread
From: Efraim Flashner @ 2018-07-21 18:52 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 24404, help-guix@gnu.org, Matthew Brooks

[-- Attachment #1: Type: text/plain, Size: 1304 bytes --]

On Sat, Jul 21, 2018 at 08:48:22PM +0200, Andreas Enge wrote:
> On Sat, Jul 21, 2018 at 09:38:30PM +0300, Efraim Flashner wrote:
> > I see a new version of Calibre was just pushed to master, does that
> > build as expected?
> 
> Yes and no; it builds, but then using it fails with
> ...
>   File "/gnu/store/brj5xv8zqa1w7byz8b1fz0fd1hmy3kd4-calibre-3.28.0/lib/calibre/calibre/gui2/comments_editor.py", line 17, in <module>
>     from PyQt5.QtWebKitWidgets import QWebView, QWebPage
> ImportError: No module named QtWebKitWidgets
> 
> Gentoo moved to a new snapshot of qtwebkit:
>    https://forums.gentoo.org/viewtopic-p-8226560.html?sid=cdd617a96f698cdc99a6156a22a4a54f
> They claim this solved their problems.
> 
> The current git server of qtwebkit is here:
>    https://code.qt.io/cgit/qt/qtwebkit.git
> 
> I am downloading version 5.212.0-alpha2 from here:
>    https://github.com/annulen/webkit/releases
> and will give it a try.
> 
> Andreas
> 

I see, debian moved to the same source. I am worried though that that
repo hasn't seen any action in 6 months.

-- 
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
       [not found]         ` <20180721185225.GQ4585@macbook41>
@ 2018-07-21 20:34           ` Andreas Enge
       [not found]           ` <20180721203448.GA6314@jurong>
  1 sibling, 0 replies; 20+ messages in thread
From: Andreas Enge @ 2018-07-21 20:34 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404, help-guix@gnu.org, Matthew Brooks

On Sat, Jul 21, 2018 at 09:52:25PM +0300, Efraim Flashner wrote:
> I see, debian moved to the same source. I am worried though that that
> repo hasn't seen any action in 6 months.

And it does not compile at all with our current recipe:
The custom phases 'fix-qmlwebkit-plugins-rpath and 'patch-installpaths
manipulate files that do not exist anymore. I removed them.

Then it complains about missing cmake. I moved to cmake-build-system,
which results in a warning:
starting phase `configure'
Info: creating stash file /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/.qmake.stash
phase `configure' succeeded after 0.1 seconds
## WARNING: phase `configure' returned `0'.  Return values other than #t
## are deprecated.  Please migrate this package so that its phase
## procedures report errors by raising an exception, and otherwise
## always return #t.
starting phase `patch-generated-file-shebangs'

and then fails with a complaint about missing stuff.
I added qtlocation, qtsensors and qtwebchannel to the inputs.
Then it complains about glib, which I added.
Then it complains about gst-plugins-base, which I also added.
Then it starts building.

A good hour later, it fails with the following error message:

[ 94%] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/UIProcess/gstreamer/WebPageProxyGStreamer.cpp.o
cd /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/Source/WebKit2 && /gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin/g++  -DBUILDING_QT__=1 -DBUILDING_WEBKIT -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebKit2 -DENABLE_DATABASE_PROCESS=1 -DENABLE_PLUGIN_PROCESS=1 -DHAVE_CONFIG_H=1 -DQT_ASCII_CAST_WARNINGS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DYNAMIC_CAST -DQT_NO_EXCEPTIONS -DQT_POSITIONING_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_SENSORS_LIB -DQT_USE_QSTRINGBUILDER -DQT_WEBCHANNEL_LIB -DSTATICALLY_LINKED_WITH_JavaScriptCore -DSTATICALLY_LINKED_WITH_WTF -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/Source/WebKit2 -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2 -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/Source/WebKit2/WebKit2_autogen/include -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/llint -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/DatabaseProcess -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/DatabaseProcess/IndexedDB -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/NetworkProcess -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/NetworkProcess/CustomProtocols -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/NetworkProcess/Downloads -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/NetworkProcess/FileAPI -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/NetworkProcess/cache -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Platform -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Platform/IPC -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/PluginProcess -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/API -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/API/c -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/Authentication -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/CoreIPCSupport -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/Databases -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/Databases/IndexedDB -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/FileAPI -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/Plugins -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/Plugins/Netscape -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/Plugins/Netscape/x11 -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/WebsiteData -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/API -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/API/C -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/API/cpp -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/Authentication -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/Databases -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/Downloads -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/InspectorServer -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/Launcher -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/Network -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/Network/CustomProtocols -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/Notifications -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/Plugins -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/Storage -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/UserContent -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/WebsiteData -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/ApplicationCache -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Battery -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Cookies -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Databases -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Databases/IndexedDB -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/FileAPI -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/FullScreen -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Geolocation -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/IconDatabase -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/InjectedBundle -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/InjectedBundle/API -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/InjectedBundle/API/c -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/InjectedBundle/DOM -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Launching -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/MediaCache -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/MediaStream -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Network -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Notifications -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/OriginData -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Plugins -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Plugins/Netscape -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/ResourceCache -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Storage -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/UserContent -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/WebCoreSupport -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/WebPage -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/battery -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/indexeddb -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/indexeddb/client -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/indexeddb/server -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/indexeddb/shared -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/mediastream -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/networkinfo -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/notifications -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/streams -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/vibration -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/Modules/webdatabase -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/accessibility -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/bindings/js -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/bindings -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/bridge -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/bridge/jsc -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/contentextensions -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/css -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/dom -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/dom/default -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/editing -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/fileapi -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/history -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/html -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/html/shadow -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/html/track -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/inspector -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/loader -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/loader/archive -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/loader/icon -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/loader/cache -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/page -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/page/animation -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/page/csp -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/page/scrolling -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/animation -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/audio -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics/filters -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics/harfbuzz -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics/harfbuzz/ng -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics/surfaces -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics/texmap -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics/transforms -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/mediastream -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/network -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/spi/cf -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/sql -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/text -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/plugins -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/rendering -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/rendering/line -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/rendering/shapes -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/rendering/style -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/storage -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/style -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/svg -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/svg/graphics -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/svg/properties -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/ForwardingHeaders -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/API -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/assembler -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/bytecode -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/bytecompiler -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/collector/handles -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/dfg -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/disassembler -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/heap -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/interpreter -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/jit -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/parser -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/profiler -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/JavaScriptCore/runtime -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WTF -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/DerivedSources -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/DerivedSources/JavaScriptCore -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/DerivedSources/WebCore -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/DerivedSources/WebKit2 -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/DerivedSources/WebKit2/include -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/WebKitLibraries -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/ThirdParty/ANGLE -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/ThirdParty/ANGLE/include/KHR -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/DerivedSources/ForwardingHeaders -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/DerivedSources/ForwardingHeaders/QtWebKit -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics/opentype -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/network/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit/qt/Api -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit/qt/Plugins -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/NetworkProcess/CustomProtocols/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/NetworkProcess/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/CoordinatedGraphics -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/Plugins/unix -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/Shared/unix -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/API/C/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/API/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/API/cpp/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/CoordinatedGraphics -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/InspectorServer/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/gstreamer -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Plugins/Netscape/unix -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/Plugins/Netscape/x11 -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/WebCoreSupport/qt -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics -I/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/WebProcess/qt -isystem /gnu/store/x9lfcagl47zbb6krfpmwm31m70s9pk00-glib-2.56.0/include/glib-2.0 -isystem /gnu/store/x9lfcagl47zbb6krfpmwm31m70s9pk00-glib-2.56.0/lib/glib-2.0/include -isystem /gnu/store/6cklwzrqdhff1ps3ahk55nm48pfy16iq-gstreamer-1.14.1/include/gstreamer-1.0 -isystem /gnu/store/3gyym0c7lk0b8cpcaz3h4jbq803rzpbj-qtdeclarative-5.11.0/include/qt5 -isystem /gnu/store/3gyym0c7lk0b8cpcaz3h4jbq803rzpbj-qtdeclarative-5.11.0/include/qt5/QtQuick -isystem /gnu/store/3gyym0c7lk0b8cpcaz3h4jbq803rzpbj-qtdeclarative-5.11.0/include/qt5/QtQml -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/lib/qt5/mkspecs/linux-g++ -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtGui -isystem /gnu/store/3gyym0c7lk0b8cpcaz3h4jbq803rzpbj-qtdeclarative-5.11.0/include/qt5/QtQuick/5.11.0 -isystem /gnu/store/3gyym0c7lk0b8cpcaz3h4jbq803rzpbj-qtdeclarative-5.11.0/include/qt5/QtQuick/5.11.0/QtQuick -isystem /gnu/store/3gyym0c7lk0b8cpcaz3h4jbq803rzpbj-qtdeclarative-5.11.0/include/qt5/QtQml/5.11.0 -isystem /gnu/store/3gyym0c7lk0b8cpcaz3h4jbq803rzpbj-qtdeclarative-5.11.0/include/qt5/QtQml/5.11.0/QtQml -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtNetwork/5.11.0 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtNetwork/5.11.0/QtNetwork -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore/5.11.0 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtCore/5.11.0/QtCore -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtGui/5.11.0 -isystem /gnu/store/4jpvg4rqfjpyj5rjpm6aid35145yfpzg-qtbase-5.11.0/include/qt5/QtGui/5.11.0/QtGui -isystem /gnu/store/9vpjk125pbw3jdjnk4ixvkymx6jsinhp-qtsensors-5.11.0/include/qt5 -isystem /gnu/store/9vpjk125pbw3jdjnk4ixvkymx6jsinhp-qtsensors-5.11.0/include/qt5/QtSensors -isystem /gnu/store/hagh38g85gxkp52wn19hyl4zir82qmf1-qtlocation-5.11.0/include/qt5 -isystem /gnu/store/hagh38g85gxkp52wn19hyl4zir82qmf1-qtlocation-5.11.0/include/qt5/QtPositioning -isystem /gnu/store/whliwsddbx63680q77h64x423405gi2v-qtwebchannel-5.11.0/include/qt5 -isystem /gnu/store/whliwsddbx63680q77h64x423405gi2v-qtwebchannel-5.11.0/include/qt5/QtWebChannel  -fvisibility=hidden -fvisibility-inlines-hidden  -fno-exceptions -fno-strict-aliasing -fno-rtti -std=c++11 -Wno-expansion-to-defined -O3 -DNDEBUG -ffunction-sections -fdata-sections   -Wall -Wextra -Wcast-align -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wundef -Wwrite-strings -fPIC  -Wno-unused-parameter -fPIC -std=gnu++11 -o CMakeFiles/WebKit2.dir/UIProcess/gstreamer/WebPageProxyGStreamer.cpp.o -c /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/gstreamer/WebPageProxyGStreamer.cpp
In file included from /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/DerivedSources/ForwardingHeaders/WebCore/GUniquePtrGStreamer.h:1:0,
                 from /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/gstreamer/InstallMissingMediaPluginsPermissionRequest.h:30,
                 from /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/gstreamer/InstallMissingMediaPluginsPermissionRequest.cpp:27:
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics/gstreamer/GUniquePtrGStreamer.h:25:41: fatal error: gst/pbutils/install-plugins.h: No such file or directory
compilation terminated.
make[4]: *** [Source/WebKit2/CMakeFiles/WebKit2.dir/build.make:6952: Source/WebKit2/CMakeFiles/WebKit2.dir/UIProcess/gstreamer/InstallMissingMediaPluginsPermissionRequest.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release/DerivedSources/ForwardingHeaders/WebCore/GUniquePtrGStreamer.h:1:0,
                 from /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/gstreamer/InstallMissingMediaPluginsPermissionRequest.h:30,
                 from /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebKit2/UIProcess/gstreamer/WebPageProxyGStreamer.cpp:30:
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Source/WebCore/platform/graphics/gstreamer/GUniquePtrGStreamer.h:25:41: fatal error: gst/pbutils/install-plugins.h: No such file or directory
compilation terminated.
make[4]: *** [Source/WebKit2/CMakeFiles/WebKit2.dir/build.make:6965: Source/WebKit2/CMakeFiles/WebKit2.dir/UIProcess/gstreamer/WebPageProxyGStreamer.cpp.o] Error 1
make[4]: Leaving directory '/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release'
make[3]: *** [CMakeFiles/Makefile2:2433: Source/WebKit2/CMakeFiles/WebKit2.dir/all] Error 2
make[3]: Leaving directory '/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release'
make[2]: *** [Makefile:163: all] Error 2
make[2]: Leaving directory '/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/release'
make[1]: *** [Makefile.run_cmake:319: first] Error 2
make[1]: Leaving directory '/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/qtwebkit-5.212.0-alpha2/Tools/qmake/projects'
make: *** [Makefile:133: sub-Tools-qmake-projects-run_cmake-pro-make_first-ordered] Error 2
Backtrace:
           4 (primitive-load "/gnu/store/n4bxq1jsisqmk716x8613j8xi1i?")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure 983e20 at /gnu/store/qzsljkcllc0?> ?)
In /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
In /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "4") exit-status: 2 term-signal: #f stop-signal: #f] 870f80>)'.
builder for `/gnu/store/xxvzbyvjs55ap4ia71d6acz6gq80ij89-qtwebkit-5.212.0-alpha2.drv' failed with exit code 1
@ build-failed /gnu/store/xxvzbyvjs55ap4ia71d6acz6gq80ij89-qtwebkit-5.212.0-alpha2.drv - 1 builder for `/gnu/store/xxvzbyvjs55ap4ia71d6acz6gq80ij89-qtwebkit-5.212.0-alpha2.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/xxvzbyvjs55ap4ia71d6acz6gq80ij89-qtwebkit-5.212.0-alpha2.drv' failed

The missing file install-plugins.h sits in
   /gnu/store/g3iwkhs7sjrhsaqq3bwmj81mxsa5c3d1-gst-plugins-base-1.14.1/include/gstreamer-1.0/gst/pbutils
My impression is that it is searched for in
   /gnu/store/6cklwzrqdhff1ps3ahk55nm48pfy16iq-gstreamer-1.14.1/include/gstreamer-1.0
instead (this follows an "-isystem" option in the command line), where it
does not exist.

Does this ring a bell?

Should we pursue this direction, or should we simply add the previous version
of pyqt again, only for calibre? Since qtwebkit is deprecated inside Qt, I
wonder how much energy we should put into this.

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
       [not found]           ` <20180721203448.GA6314@jurong>
@ 2018-07-21 20:42             ` Andreas Enge
  2018-07-22  9:49               ` Andreas Enge
       [not found]               ` <20180722094914.GA31191@jurong>
  0 siblings, 2 replies; 20+ messages in thread
From: Andreas Enge @ 2018-07-21 20:42 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404, help-guix@gnu.org, Matthew Brooks

On Sat, Jul 21, 2018 at 10:34:48PM +0200, Andreas Enge wrote:
> Does this ring a bell?

Nix has a patch:
   https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/5.11/qtwebkit.patch

diff --git a/Source/WebKit2/PlatformQt.cmake b/Source/WebKit2/PlatformQt.cmake
--- a/Source/WebKit2/PlatformQt.cmake
+++ b/Source/WebKit2/PlatformQt.cmake
@@ -261,6 +261,7 @@
 list(APPEND WebKit2_SYSTEM_INCLUDE_DIRECTORIES
     ${GLIB_INCLUDE_DIRS}
     ${GSTREAMER_INCLUDE_DIRS}
+    ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
     ${Qt5Quick_INCLUDE_DIRS}
     ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
     ${SQLITE_INCLUDE_DIR}

This looks like something we could need! I will give it a try.

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
  2018-07-21 20:42             ` Andreas Enge
@ 2018-07-22  9:49               ` Andreas Enge
       [not found]               ` <20180722094914.GA31191@jurong>
  1 sibling, 0 replies; 20+ messages in thread
From: Andreas Enge @ 2018-07-22  9:49 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404, help-guix@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]

Hello,

I ended up disabling tests (see comments in the patch).
Now the package builds, but tries to install into the Qt directory; at the
end of the cmake phase, it prints:
  -- Installing in the same prefix as Qt, adopting their path scheme.
The previous version of the package contains a phase to adapt this,
but the .pri files to be modified do not exist any more.

I also tried to inherit from qtsvg like other qt* packages; but the
gnu-build-system does not work any more for qtwebkit, the build finishes
in a few seconds creating only the documentation and not compiling the code...

At this point, I am giving up; it would be nice if someone else could take
a look, I am attaching the current patch.

If there is no progress during the next few days, I would suggest to re-add
pyqt@5.9 for calibre. What do you think?

Andreas

PS: There is a thread from 2016 in which the Calibre author states that he
    will stick with qtwebkit and in the worst case take over the maintenance
    of a fork:
       https://www.mobileread.com/forums/showthread.php?t=270258


[-- Attachment #2: 0001-gnu-qtwebkit-Update-to-5.212.0-alpha2.patch --]
[-- Type: text/plain, Size: 8879 bytes --]

From 3fe25c8153e28823411d045251e7458c82e62421 Mon Sep 17 00:00:00 2001
From: Andreas Enge <andreas@enge.fr>
Date: Sun, 22 Jul 2018 11:38:58 +0200
Subject: [PATCH] gnu: qtwebkit: Update to 5.212.0-alpha2.

* gnu/packages/qt.scm (qtwebkit): Update to 5.212.0-alpha2.
* gnu/packages/patches/qtwebkit-pbutils-include.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register the patch.
---
 gnu/local.mk                                  |  1 +
 .../patches/qtwebkit-pbutils-include.patch    | 15 ++++
 gnu/packages/qt.scm                           | 87 +++----------------
 3 files changed, 30 insertions(+), 73 deletions(-)
 create mode 100644 gnu/packages/patches/qtwebkit-pbutils-include.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index e55c2bf3b..066b9fb42 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1092,6 +1092,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/qtbase-use-TZDIR.patch			\
   %D%/packages/patches/qtoctave-qt-5.11-fix.patch		\
   %D%/packages/patches/qtscript-disable-tests.patch		\
+  %D%/packages/patches/qtwebkit-pbutils-include.patch           \
   %D%/packages/patches/quagga-reproducible-build.patch          \
   %D%/packages/patches/quassel-qt-5.11.patch			\
   %D%/packages/patches/quickswitch-fix-dmenu-check.patch	\
diff --git a/gnu/packages/patches/qtwebkit-pbutils-include.patch b/gnu/packages/patches/qtwebkit-pbutils-include.patch
new file mode 100644
index 000000000..57961e7a5
--- /dev/null
+++ b/gnu/packages/patches/qtwebkit-pbutils-include.patch
@@ -0,0 +1,15 @@
+Patch taken from Nix:
+   https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/5.11/qtwebkit.patch
+
+diff --git a/Source/WebKit2/PlatformQt.cmake b/Source/WebKit2/PlatformQt.cmake
+--- a/Source/WebKit2/PlatformQt.cmake
++++ b/Source/WebKit2/PlatformQt.cmake
+@@ -261,6 +261,7 @@
+ list(APPEND WebKit2_SYSTEM_INCLUDE_DIRECTORIES
+     ${GLIB_INCLUDE_DIRS}
+     ${GSTREAMER_INCLUDE_DIRS}
++    ${GSTREAMER_PBUTILS_INCLUDE_DIRS}
+     ${Qt5Quick_INCLUDE_DIRS}
+     ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
+     ${SQLITE_INCLUDE_DIR}
+
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index a15d6453c..5386fc6d0 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1991,18 +1991,16 @@ different kinds of sliders, and much more.")
 (define-public qtwebkit
   (package
     (name "qtwebkit")
-    (version "5.9.1")
+    (version "5.212.0-alpha2")
     (source
       (origin
         (method url-fetch)
-        (uri (string-append "https://download.qt.io/official_releases/qt/"
-                            (version-major+minor version) "/" version
-                            "/submodules/" name "-opensource-src-"
-                            version ".tar.xz"))
+        (uri "https://github.com/annulen/webkit/releases/download/qtwebkit-5.212.0-alpha2/qtwebkit-5.212.0-alpha2.tar.xz")
         (sha256
          (base32
-          "1ksjn1vjbfhdm4y4rg08ag4krk87ahp7qcdcpwll42l0rnz61998"))))
-    (build-system gnu-build-system)
+          "12lg7w00d8wsj672s1y5z5gm0xdcgs16nas0b5bgq4byavg03ygq"))
+        (patches (search-patches "qtwebkit-pbutils-include.patch"))))
+    (build-system cmake-build-system)
     (native-inputs
      `(("perl" ,perl)
        ("python" ,python-2.7)
@@ -2013,6 +2011,8 @@ different kinds of sliders, and much more.")
        ("pkg-config" ,pkg-config)))
     (inputs
      `(("icu" ,icu4c)
+       ("glib" ,glib)
+       ("gst-plugins-base" ,gst-plugins-base)
        ("libjpeg" ,libjpeg)
        ("libpng" ,libpng)
        ("libwebp" ,libwebp)
@@ -2021,85 +2021,26 @@ different kinds of sliders, and much more.")
        ("libxrender" ,libxrender)
        ("qtbase" ,qtbase)
        ("qtdeclarative" ,qtdeclarative)
+       ("qtlocation" ,qtlocation)
        ("qtmultimedia" ,qtmultimedia)
+       ("qtsensors" ,qtsensors)
+       ("qtwebchannel" ,qtwebchannel)
        ("libxml2" ,libxml2)
        ("libxslt" ,libxslt)
        ("libx11" ,libx11)
        ("libxcomposite" ,libxcomposite)))
     (arguments
-     `(#:phases
+     `(#:tests? #f ; no apparent tests; it might be necessary to set
+                   ; ENABLE_API_TESTS, see CMakeLists.txt
+       #:phases
        (modify-phases %standard-phases
-         (add-before 'configure 'fix-qmlwebkit-plugins-rpath
-           (lambda _
-             (substitute* "Source/WebKit/qt/declarative/experimental/experimental.pri"
-               (("RPATHDIR_RELATIVE_TO_DESTDIR = \\.\\./\\.\\./lib")
-                "RPATHDIR_RELATIVE_TO_DESTDIR = ../../../../../lib"))
-             (substitute* "Source/WebKit/qt/declarative/public.pri"
-               (("RPATHDIR_RELATIVE_TO_DESTDIR = \\.\\./\\.\\./lib")
-                "RPATHDIR_RELATIVE_TO_DESTDIR = ../../../../lib"))
-             #t))
          (replace 'configure
                   (lambda* (#:key outputs #:allow-other-keys)
                     (let ((out (assoc-ref outputs "out")))
                       (setenv "QMAKEPATH"
                               (string-append (getcwd) "/Tools/qmake:"
                                              (getenv "QMAKEPATH")))
-                      (system* "qmake"))))
-         ;; prevent webkit from trying to install into the qtbase store directory,
-         ;; and replace references to the build directory in linker options:
-         (add-before 'build 'patch-installpaths
-                     (lambda* (#:key outputs inputs #:allow-other-keys)
-                       (let* ((out (assoc-ref outputs "out"))
-                              (qtbase (assoc-ref inputs "qtbase"))
-                              (builddir (getcwd))
-                              (linkbuild (string-append "-L" builddir))
-                              (linkout (string-append "-L" out))
-                              (makefiles
-                               (map-in-order
-                                (lambda (i)
-                                  (let* ((in (car i))
-                                         (mf (string-append (dirname in) "/"
-                                                            (cdr i))))
-                                    ;; by default, these Makefiles are
-                                    ;; generated during install, but we need
-                                    ;; to generate them now
-                                    (system* "qmake" in "-o" mf)
-                                    mf))
-                                '(("Source/api.pri" . "Makefile.api")
-                                  ("Source/widgetsapi.pri"
-                                   . "Makefile.widgetsapi")
-                                  ("Source/WebKit2/WebProcess.pro"
-                                   . "Makefile.WebProcess")
-                                  ("Source/WebKit2/PluginProcess.pro"
-                                   . "Makefile.PluginProcess")
-                                  ("Source/WebKit/qt/declarative/public.pri"
-                                   . "Makefile.declarative.public")
-                                  ("Source/WebKit/qt/declarative/experimental/experimental.pri"
-                                   . "Makefile.declarative.experimental")
-                                  ("Source/WebKit/qt/examples/platformplugin/platformplugin.pro"
-                                   . "Makefile")))))
-                         ;; Order of qmake calls and substitutions matters here.
-                         (system* "qmake" "-prl" "Source/widgetsapi.pri"
-                                  "-o" "Source/Makefile")
-                         (substitute* (find-files "lib" "libQt5.*\\.prl")
-                           ((linkbuild) linkout))
-                         (substitute* (find-files "lib"
-                                                  "libQt5WebKit.*\\.la")
-                           (("libdir='.*'")
-                            (string-append "libdir='" out "/lib'"))
-                           ((linkbuild) linkout))
-                         (substitute* (find-files "lib/pkgconfig"
-                                                  "Qt5WebKit.*\\.pc")
-                           (((string-append "prefix=" qtbase))
-                            (string-append "prefix=" out))
-                           ((linkbuild) linkout))
-                         ;; Makefiles must be modified after .prl/.la/.pc
-                         ;; files, lest they get rebuilt:
-                         (substitute* makefiles
-                           (((string-append "\\$\\(INSTALL_ROOT\\)" qtbase))
-                            out )
-                           (((string-append "-Wl,-rpath," builddir))
-                            (string-append "-Wl,-rpath," out)))))))))
+                      (system* "qmake")))))))
     (home-page "https://www.webkit.org")
     (synopsis "Web browser engine and classes to render and interact with web
 content")
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
       [not found]               ` <20180722094914.GA31191@jurong>
@ 2018-08-01 10:17                 ` Efraim Flashner
       [not found]                 ` <20180801101739.GB31156@macbook41>
  1 sibling, 0 replies; 20+ messages in thread
From: Efraim Flashner @ 2018-08-01 10:17 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 24404, help-guix@gnu.org

On Sun, Jul 22, 2018 at 11:49:14AM +0200, Andreas Enge wrote:
> Hello,
> 
> I ended up disabling tests (see comments in the patch).
> Now the package builds, but tries to install into the Qt directory; at the
> end of the cmake phase, it prints:
>   -- Installing in the same prefix as Qt, adopting their path scheme.
> The previous version of the package contains a phase to adapt this,
> but the .pri files to be modified do not exist any more.
> 
> I also tried to inherit from qtsvg like other qt* packages; but the
> gnu-build-system does not work any more for qtwebkit, the build finishes
> in a few seconds creating only the documentation and not compiling the code...
> 
> At this point, I am giving up; it would be nice if someone else could take
> a look, I am attaching the current patch.

Thanks for getting the patch this far! I switched the 'configure phase
from (invoke qmake) to fully cmake with some necessary configure-flags.
It seemed easier than trying to convince qmake to install to the correct
location.

I also left the tests disabled, 7+ hours compiling on my fast aarch64
board was quite long enough. I'm not opposed to re-enabling them but I
don't want to debug failures.

> 
> If there is no progress during the next few days, I would suggest to re-add
> pyqt@5.9 for calibre. What do you think?

After fixing a bug in optipng (bundling outdated copies of libraries is
definately a bug) I was able to compile calibre on aarch64. I run it
headless, so I wasn't able to test it but hopefully it's back to
working.

> Andreas
> 
> PS: There is a thread from 2016 in which the Calibre author states that he
>     will stick with qtwebkit and in the worst case take over the maintenance
>     of a fork:
>        https://www.mobileread.com/forums/showthread.php?t=270258

If he's planning on going the same route as gnucash I assume its only a
matter of time until he realizes distros will drop calibre rather than
carry along his beloved cruft.


-- 
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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
       [not found]                 ` <20180801101739.GB31156@macbook41>
@ 2018-08-01 12:46                   ` Brendan Tildesley
  2018-08-01 16:41                     ` Efraim Flashner
  0 siblings, 1 reply; 20+ messages in thread
From: Brendan Tildesley @ 2018-08-01 12:46 UTC (permalink / raw)
  To: 24404

On 08/01/18 20:17, Efraim Flashner wrote:
> On Sun, Jul 22, 2018 at 11:49:14AM +0200, Andreas Enge wrote:
>> Hello,
>>
>> I ended up disabling tests (see comments in the patch).
>> Now the package builds, but tries to install into the Qt directory; at the
>> end of the cmake phase, it prints:
>>   -- Installing in the same prefix as Qt, adopting their path scheme.
>> The previous version of the package contains a phase to adapt this,
>> but the .pri files to be modified do not exist any more.
>>
>> I also tried to inherit from qtsvg like other qt* packages; but the
>> gnu-build-system does not work any more for qtwebkit, the build finishes
>> in a few seconds creating only the documentation and not compiling the code...
>>
>> At this point, I am giving up; it would be nice if someone else could take
>> a look, I am attaching the current patch.
> Thanks for getting the patch this far! I switched the 'configure phase
> from (invoke qmake) to fully cmake with some necessary configure-flags.
> It seemed easier than trying to convince qmake to install to the correct
> location.
>
> I also left the tests disabled, 7+ hours compiling on my fast aarch64
> board was quite long enough. I'm not opposed to re-enabling them but I
> don't want to debug failures.
>
>> If there is no progress during the next few days, I would suggest to re-add
>> pyqt@5.9 for calibre. What do you think?
> After fixing a bug in optipng (bundling outdated copies of libraries is
> definately a bug) I was able to compile calibre on aarch64. I run it
> headless, so I wasn't able to test it but hopefully it's back to
> working.
>
>> Andreas
>>
>> PS: There is a thread from 2016 in which the Calibre author states that he
>>     will stick with qtwebkit and in the worst case take over the maintenance
>>     of a fork:
>>        https://www.mobileread.com/forums/showthread.php?t=270258
> If he's planning on going the same route as gnucash I assume its only a
> matter of time until he realizes distros will drop calibre rather than
> carry along his beloved cruft.
>
He doesn't care much about that because he believes people should use
the binary version of calibre that he distributes. He maintains python 2
for Windows and also intends to continue maintaining Python2 for
GNU/Linux himself. Calibre also uses some python2 dependencies that
haven't been ported to python3 at all. It would take a significant
amount of work to port it, although I feel like Calibre is the result of
years of poor programming practices. One should maintain that their
large program works with a simple gnu-build-system at all times.

-----------------------------------------------------------

The new qtwebkit fails to build for me. This is the tail of the output:



/__/DerivedSources/WebCore/InternalSettingsGenerated.cpp.o -c
/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/DerivedSources/WebCore/InternalSettingsGenerated.cpp
[ 82%] Linking CXX static library ../../lib/libWebCoreTestSupport.a
cd /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebCore &&
/gnu/store/g85ikfjxs2d7aydvg5w06jn2h9xrjmpc-cmake-3.11.0/bin/cmake -P
CMakeFiles/WebCoreTestSupport.dir/cmake_clean_target.cmake
cd /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebCore &&
/gnu/store/g85ikfjxs2d7aydvg5w06jn2h9xrjmpc-cmake-3.11.0/bin/cmake -E
cmake_link_script CMakeFiles/WebCoreTestSupport.dir/link.txt --verbose=1
/gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/bin/ar crT
../../lib/libWebCoreTestSupport.a 
CMakeFiles/WebCoreTestSupport.dir/platform/mock/PlatformSpeechSynthesizerMock.cpp.o
CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockBox.cpp.o
CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockMediaPlayerMediaSource.cpp.o
CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockMediaSourcePrivate.cpp.o
CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockSourceBufferPrivate.cpp.o
CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockTracks.cpp.o
CMakeFiles/WebCoreTestSupport.dir/testing/InternalSettings.cpp.o
CMakeFiles/WebCoreTestSupport.dir/testing/Internals.cpp.o
CMakeFiles/WebCoreTestSupport.dir/testing/MockPageOverlay.cpp.o
CMakeFiles/WebCoreTestSupport.dir/testing/MockPageOverlayClient.cpp.o
CMakeFiles/WebCoreTestSupport.dir/testing/js/WebCoreTestSupport.cpp.o
CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSInternalSettings.cpp.o
CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSInternals.cpp.o
CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMallocStatistics.cpp.o
CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMemoryInfo.cpp.o
CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMockContentFilterSettings.cpp.o
CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMockPageOverlay.cpp.o
CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSTypeConversions.cpp.o
CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSInternalSettingsGenerated.cpp.o
CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/InternalSettingsGenerated.cpp.o
/gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/bin/ranlib
../../lib/libWebCoreTestSupport.a
make[2]: Leaving directory
'/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build'
[ 82%] Built target WebCoreTestSupport
make[1]: Leaving directory
'/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build'
make: *** [Makefile:166: all] Error 2
Backtrace:
           4 (primitive-load "/gnu/store/kfiy9kfa3gpgm6i4f2x142xz2qp…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure 973d40 at /gnu/store/qzsljkcllc0…> …)
In
/gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
In
/gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/utils.scm:616:6:
In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
"make" arguments: ("-j" "16") exit-status: 2 term-signal: #f
stop-signal: #f] 98bfc0>)'.
builder for
`/gnu/store/6xpbgvsravd365mb5nlxbcdns9n41spj-qtwebkit-5.212.0-alpha2.drv'
failed with exit code 1
@ build-failed
/gnu/store/6xpbgvsravd365mb5nlxbcdns9n41spj-qtwebkit-5.212.0-alpha2.drv
- 1 builder for
`/gnu/store/6xpbgvsravd365mb5nlxbcdns9n41spj-qtwebkit-5.212.0-alpha2.drv'
failed with exit code 1
cannot build derivation
`/gnu/store/06blrp079yfq07xs8nbsfgam1h1gfkj6-python2-pyqt-5.11.2.drv': 1
dependencies couldn't be built
cannot build derivation
`/gnu/store/snn0rr40iljv635ddjw726jdnys38bz0-calibre-3.28.0.drv': 1
dependencies couldn't be built
guix build: error: build failed: build of
`/gnu/store/snn0rr40iljv635ddjw726jdnys38bz0-calibre-3.28.0.drv' failed
b@jiu ~/guix$

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
  2018-08-01 12:46                   ` Brendan Tildesley
@ 2018-08-01 16:41                     ` Efraim Flashner
  2018-08-02 12:30                       ` Andreas Enge
  0 siblings, 1 reply; 20+ messages in thread
From: Efraim Flashner @ 2018-08-01 16:41 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: 24404

[-- Attachment #1: Type: text/plain, Size: 4902 bytes --]

On Wed, Aug 01, 2018 at 10:46:56PM +1000, Brendan Tildesley wrote:
> 
> The new qtwebkit fails to build for me. This is the tail of the output:
> 
> 
> 
> /__/DerivedSources/WebCore/InternalSettingsGenerated.cpp.o -c
> /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/DerivedSources/WebCore/InternalSettingsGenerated.cpp
> [ 82%] Linking CXX static library ../../lib/libWebCoreTestSupport.a
> cd /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebCore &&
> /gnu/store/g85ikfjxs2d7aydvg5w06jn2h9xrjmpc-cmake-3.11.0/bin/cmake -P
> CMakeFiles/WebCoreTestSupport.dir/cmake_clean_target.cmake
> cd /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebCore &&
> /gnu/store/g85ikfjxs2d7aydvg5w06jn2h9xrjmpc-cmake-3.11.0/bin/cmake -E
> cmake_link_script CMakeFiles/WebCoreTestSupport.dir/link.txt --verbose=1
> /gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/bin/ar crT
> ../../lib/libWebCoreTestSupport.a 
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/PlatformSpeechSynthesizerMock.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockBox.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockMediaPlayerMediaSource.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockMediaSourcePrivate.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockSourceBufferPrivate.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockTracks.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/testing/InternalSettings.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/testing/Internals.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/testing/MockPageOverlay.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/testing/MockPageOverlayClient.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/testing/js/WebCoreTestSupport.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSInternalSettings.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSInternals.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMallocStatistics.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMemoryInfo.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMockContentFilterSettings.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMockPageOverlay.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSTypeConversions.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSInternalSettingsGenerated.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/InternalSettingsGenerated.cpp.o
> /gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/bin/ranlib
> ../../lib/libWebCoreTestSupport.a
> make[2]: Leaving directory
> '/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build'
> [ 82%] Built target WebCoreTestSupport
> make[1]: Leaving directory
> '/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build'
> make: *** [Makefile:166: all] Error 2
> Backtrace:
>            4 (primitive-load "/gnu/store/kfiy9kfa3gpgm6i4f2x142xz2qp…")
> In ice-9/eval.scm:
>    191:35  3 (_ _)
> In srfi/srfi-1.scm:
>     640:9  2 (for-each #<procedure 973d40 at /gnu/store/qzsljkcllc0…> …)
> In
> /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/gnu-build-system.scm:
>    799:31  1 (_ _)
> In
> /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/utils.scm:
>     616:6  0 (invoke _ . _)
> 
> /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/utils.scm:616:6:
> In procedure invoke:
> Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
> "make" arguments: ("-j" "16") exit-status: 2 term-signal: #f
> stop-signal: #f] 98bfc0>)'.
> builder for
> `/gnu/store/6xpbgvsravd365mb5nlxbcdns9n41spj-qtwebkit-5.212.0-alpha2.drv'
> failed with exit code 1
> @ build-failed
> /gnu/store/6xpbgvsravd365mb5nlxbcdns9n41spj-qtwebkit-5.212.0-alpha2.drv
> - 1 builder for
> `/gnu/store/6xpbgvsravd365mb5nlxbcdns9n41spj-qtwebkit-5.212.0-alpha2.drv'
> failed with exit code 1
> cannot build derivation
> `/gnu/store/06blrp079yfq07xs8nbsfgam1h1gfkj6-python2-pyqt-5.11.2.drv': 1
> dependencies couldn't be built
> cannot build derivation
> `/gnu/store/snn0rr40iljv635ddjw726jdnys38bz0-calibre-3.28.0.drv': 1
> dependencies couldn't be built
> guix build: error: build failed: build of
> `/gnu/store/snn0rr40iljv635ddjw726jdnys38bz0-calibre-3.28.0.drv' failed
> b@jiu ~/guix$
> 

Unfortunately it looks like the interesting bit got cut off, the first
error is an 'Error 2', typically 'Error 1' is what actually fails.

-- 
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
  2018-08-01 16:41                     ` Efraim Flashner
@ 2018-08-02 12:30                       ` Andreas Enge
  2018-08-02 15:00                         ` Efraim Flashner
  0 siblings, 1 reply; 20+ messages in thread
From: Andreas Enge @ 2018-08-02 12:30 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404

Hello Efraim,

thanks for all your work on the patch - you should have added a
"Co-authored-by" line!

On Wed, Aug 01, 2018 at 07:41:31PM +0300, Efraim Flashner wrote:
> > The new qtwebkit fails to build for me. This is the tail of the output:

For me it also fails on x86_64, but due to a lack of disk space. The build
directory fills 12 GB!!!

$ du -h /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/lib/libQt5WebKit.so.5.212.0
2,6G	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/lib/libQt5WebKit.so.5.212.0

So apparently the resulting library has more then 2 GB?!

$ du -smc /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/*
1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/CMakeFiles
1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/CTestTestfile.cmake
2034	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/JavaScriptCore
1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/Makefile
1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/Qt5WebKitConfig.cmake
1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/Qt5WebKitConfigVersion.cmake
1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/Qt5WebKitWidgetsConfig.cmake
1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/Qt5WebKitWidgetsConfigVersion.cmake
5	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/ThirdParty
16	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WTF
3130	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebCore
140	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebKit
700	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebKit2
1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/cmake_install.cmake
1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/cmake_uninstall.cmake
6022	total

This is also suspicious. Where are these 6 GB of "Source" coming from?
The source of the package itself has only 13 MB.

All this time and space just to be able to read and convert a few ebooks!

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
  2018-08-02 12:30                       ` Andreas Enge
@ 2018-08-02 15:00                         ` Efraim Flashner
  2018-08-02 15:07                           ` Andreas Enge
  0 siblings, 1 reply; 20+ messages in thread
From: Efraim Flashner @ 2018-08-02 15:00 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 24404

[-- Attachment #1: Type: text/plain, Size: 3732 bytes --]

On Thu, Aug 02, 2018 at 02:30:20PM +0200, Andreas Enge wrote:
> Hello Efraim,
> 
> thanks for all your work on the patch - you should have added a
> "Co-authored-by" line!
> 
> On Wed, Aug 01, 2018 at 07:41:31PM +0300, Efraim Flashner wrote:
> > > The new qtwebkit fails to build for me. This is the tail of the output:
> 
> For me it also fails on x86_64, but due to a lack of disk space. The build
> directory fills 12 GB!!!
> 

How many cores do you have? My 6 core aarch64 board has 4GB of ram and
8GB of swap, and regularly used 4GB of the swap during building. Do you
have any swap?

> $ du -h /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/lib/libQt5WebKit.so.5.212.0
> 2,6G	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/lib/libQt5WebKit.so.5.212.0
> 
> So apparently the resulting library has more then 2 GB?!
> 

$ du -h /gnu/store/n8ml4vp099ffc48i8vv1zjhzn34zfcvb-qtwebkit-5.212.0-alpha2/lib/libQt5WebKit.so.5.212.0
48M     /gnu/store/n8ml4vp099ffc48i8vv1zjhzn34zfcvb-qtwebkit-5.212.0-alpha2/lib/libQt5WebKit.so.5.212.0

It'll probably go down if/when it finishes linking

> $ du -smc /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/*
> 1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/CMakeFiles
> 1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/CTestTestfile.cmake
> 2034	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/JavaScriptCore
> 1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/Makefile
> 1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/Qt5WebKitConfig.cmake
> 1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/Qt5WebKitConfigVersion.cmake
> 1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/Qt5WebKitWidgetsConfig.cmake
> 1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/Qt5WebKitWidgetsConfigVersion.cmake
> 5	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/ThirdParty
> 16	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WTF
> 3130	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebCore
> 140	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebKit
> 700	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebKit2
> 1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/cmake_install.cmake
> 1	/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/cmake_uninstall.cmake
> 6022	total
> 
> This is also suspicious. Where are these 6 GB of "Source" coming from?
> The source of the package itself has only 13 MB.
> 
> All this time and space just to be able to read and convert a few ebooks!
> 
> Andreas
> 

I've been looking a bit into low resource machines and I've come across
these two posts from the binutils bug tracker:

link fewer items at a time:
https://sourceware.org/bugzilla/show_bug.cgi?id=12682#c2

drop things from memory after linking them:
https://sourceware.org/bugzilla/show_bug.cgi?id=22831#c14

my favorite quote from one of the threads (referring to webkit):
some of debian's smaller build systems now spend SEVERAL DAYS performing the
linker phase for these insanely-large binaries.

I can't think of a package right now that I can test these out on and
watch, with a fast build time and excessively high ram usage, but
qtwebkit seems to be an ok choice actually try it out on. It seems much
much better than turning off parallel building, since I'm pretty sure
there's a high memory to core used ratio for this package.

-- 
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
  2018-08-02 15:00                         ` Efraim Flashner
@ 2018-08-02 15:07                           ` Andreas Enge
  2018-08-02 16:22                             ` Andreas Enge
  2018-08-02 16:31                             ` Andreas Enge
  0 siblings, 2 replies; 20+ messages in thread
From: Andreas Enge @ 2018-08-02 15:07 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404

Hello,

On Thu, Aug 02, 2018 at 06:00:54PM +0300, Efraim Flashner wrote:
> How many cores do you have? My 6 core aarch64 board has 4GB of ram and
> 8GB of swap, and regularly used 4GB of the swap during building. Do you
> have any swap?

I have two (hyperthreaded) cores on my laptop and 16GB of RAM. The problem
was disk space, not RAM. Building actually succeeded, but when installing
the result, the disk was full. I freed a bit of space, we will see whether
the package will succeed now.

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
  2018-08-02 15:07                           ` Andreas Enge
@ 2018-08-02 16:22                             ` Andreas Enge
  2018-08-02 16:49                               ` Andreas Enge
  2018-08-02 16:31                             ` Andreas Enge
  1 sibling, 1 reply; 20+ messages in thread
From: Andreas Enge @ 2018-08-02 16:22 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404

Everything built now, including calibre; but when I try to launch it,
I get the same error message as posted by Leo:
Traceback (most recent call last):
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/bin/.calibre-real", line 20, in <module>
    sys.exit(calibre())
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/lib/calibre/calibre/gui_launch.py", line 74, in calibre
    main(args)
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/lib/calibre/calibre/gui2/main.py", line 567, in main
    gui_debug=gui_debug)
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/lib/calibre/calibre/gui2/main.py", line 396, in run_gui
    from calibre.gui2.ui import Main
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/lib/calibre/calibre/gui2/ui.py", line 43, in <module>
    from calibre.gui2.init import LibraryViewMixin, LayoutMixin
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/lib/calibre/calibre/gui2/init.py", line 19, in <module>
    from calibre.gui2.library.views import BooksView, DeviceBooksView
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/lib/calibre/calibre/gui2/library/views.py", line 19, in <module>
    from calibre.gui2.library.delegates import (RatingDelegate, PubDateDelegate,
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/lib/calibre/calibre/gui2/library/delegates.py", line 24, in <module>
    from calibre.gui2.dialogs.comments_dialog import CommentsDialog, PlainTextDialog
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/lib/calibre/calibre/gui2/dialogs/comments_dialog.py", line 9, in <module>
    from calibre.gui2.dialogs.comments_dialog_ui import Ui_CommentsDialog
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/lib/calibre/calibre/gui2/dialogs/comments_dialog_ui.py", line 40, in <module>
    from calibre.gui2.comments_editor import Editor
  File "/gnu/store/k6kkggp9nwlypdhda78067zqw3jm2z44-calibre-3.28.0/lib/calibre/calibre/gui2/comments_editor.py", line 17, in <module>
    from PyQt5.QtWebKitWidgets import QWebView, QWebPage
ImportError: No module named QtWebKitWidgets

And indeed,
/gnu/store/ga8rw0sharf2j05cr0khxs66x4ajgis1-python2-pyqt-5.11.2/lib/python2.7/site-packages/PyQt5
contains a lot of .so files, but none starting with QtWebkit.

$ guix gc --references /gnu/store/ga8rw0sharf2j05cr0khxs66x4ajgis1-python2-pyqt-5.11.2
shows no reference whatsoever to webkit.

The log file only states that it is grafting... How do I get the log file
for the ungrafted derivation? Anyway, there are only two, so the other one
must be good.

Here we go:
These PyQt5 modules will be built: QtCore, QtGui, QtHelp, QtMultimedia,
QtMultimediaWidgets, QtNetwork, QtOpenGL, QtPrintSupport, QtQml, QtQuick,
QtSql, QtSvg, QtTest, QtWidgets, QtXml, QtXmlPatterns, QtDesigner, QtDBus,
_QOpenGLFunctions_2_0, _QOpenGLFunctions_2_1, _QOpenGLFunctions_4_1_Core,
QtSensors, QtSerialPort, QtX11Extras, QtBluetooth, QtPositioning,
QtQuickWidgets, QtWebSockets, QtWebChannel, QtLocation, QtNfc.

No mention of QtWebkit, and in fact there is no test in the preceding
configure phase.

So it looks as if just adding the input qtwebkit is not enough to
integrate it.

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
  2018-08-02 15:07                           ` Andreas Enge
  2018-08-02 16:22                             ` Andreas Enge
@ 2018-08-02 16:31                             ` Andreas Enge
  1 sibling, 0 replies; 20+ messages in thread
From: Andreas Enge @ 2018-08-02 16:31 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404

Sorry for a wrong information in my previous message. There are indeed
two lines:
Checking to see if the QtWebKit module should be built...
Checking to see if the QtWebKitWidgets module should be built...
printed in the configure phase; but the answer is apparently "no".

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
  2018-08-02 16:22                             ` Andreas Enge
@ 2018-08-02 16:49                               ` Andreas Enge
  2018-08-02 17:04                                 ` Andreas Enge
  0 siblings, 1 reply; 20+ messages in thread
From: Andreas Enge @ 2018-08-02 16:49 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404

Well, I tried the following: Build python-pyqt (instead of the now already
available python2-pyqt), and stop the build after the configure phase.
In the build directory, I have groups of 5 files for modules that are going
to be built:
cfgtest_QtHelp
cfgtest_QtHelp.cpp
cfgtest_QtHelp.mk
cfgtest_QtHelp.o
cfgtest_QtHelp.pro

But only 2 files for modules that are not built:
cfgtest_QtWebKit.cpp
cfgtest_QtWebKit.mk

Does it mean that the file could not be compiled, since some dependency
was not found? Or that we are missing a configure option?

The cfgtest_QtWebKit.cpp file is:
#include<qwebkitglobal.h>

int main(int, char **)
{
    qWebKitVersion();
}

The header file qwebkitglobal.h lives in
/gnu/store/7xfg1s783krjwrp8xmh2nywl7v4x0pq4-qtwebkit-5.212.0-alpha2/include/QtWebKit

To me, it looks as if the #include line is missing a "QtWebKit/".
But the same would be true for QtHelp then.

Maybe we do need to tell pyqt explicitly to compile QtWebKit?

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
  2018-08-02 16:49                               ` Andreas Enge
@ 2018-08-02 17:04                                 ` Andreas Enge
  2018-08-02 17:23                                   ` Andreas Enge
  0 siblings, 1 reply; 20+ messages in thread
From: Andreas Enge @ 2018-08-02 17:04 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404

On Thu, Aug 02, 2018 at 06:49:35PM +0200, Andreas Enge wrote:
> Maybe we do need to tell pyqt explicitly to compile QtWebKit?

I did a
   ./pre-inst-env guix environment python-pyqt
   cd /tmp/guix-build-python-pyqt-5.11.2.drv-0/PyQt5_gpl-5.11.2
   python configure.py --verbose
                       ^---

The result is:
Checking to see if the QtWebKit module should be built...
/gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/bin/qmake -o cfgtest_QtWebKit.mk cfgtest_QtWebKit.pro
Project ERROR: Unknown module(s) in QT: webkit

Checking to see if the QtWebKitWidgets module should be built...
/gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/bin/qmake -o cfgtest_QtWebKitWidgets.mk cfgtest_QtWebKitWidgets.pro
Project ERROR: Unknown module(s) in QT: webkitwidgets

Apparently something needs to be done since our qtwebkit is not in the
qt installation directory. But this was also the case before, and I do
not see how we handled this.

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#24404: "calibre" package fails to build.
  2018-08-02 17:04                                 ` Andreas Enge
@ 2018-08-02 17:23                                   ` Andreas Enge
  0 siblings, 0 replies; 20+ messages in thread
From: Andreas Enge @ 2018-08-02 17:23 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 24404

On Thu, Aug 02, 2018 at 07:04:22PM +0200, Andreas Enge wrote:
> Apparently something needs to be done since our qtwebkit is not in the
> qt installation directory. But this was also the case before, and I do
> not see how we handled this.

I tried the following:
   $ /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/bin/qmake -d -o cfgtest_QtWebKit.mk cfgtest_QtWebKit.pro

The very lengthy output contains something like this:
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:176: calling built-in $$eval(QT.webkit.name)
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:176: MODULE_NAME :=
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:177: calling built-in $$eval(QT.webkit.module)
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:177: MODULE_MODULE :=
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:178: calling built-in $$eval(QT.webkit.includes)
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:178: MODULE_INCLUDES :=
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:179: calling built-in $$eval(QT.webkit.libs)
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:179: MODULE_LIBS :=
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:180: calling built-in $$eval(QT.webkit.frameworks)
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:180: MODULE_FRAMEWORKS :=
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:181: calling built-in $$eval(QT.webkit.uses)
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:181: MODULE_USES :=
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:182: calling built-in $$eval(QT.webkit.module_config)
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:182: MODULE_CONFIG :=
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:184: evaluating test function "isEmpty"
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:184: calling built-in isEmpty(MODULE_NAME)
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:184: test function returned true
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:184: taking 'then' branch
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:184: entering block
DEBUG 1: /gnu/store/p7qc46d0a0kksqlrk9jp9368d85w5980-profile/lib/qt5/mkspecs/features/qt.prf:185: BAD_QT := webkit

When I then look at
/gnu/store/7xfg1s783krjwrp8xmh2nywl7v4x0pq4-qtwebkit-5.212.0-alpha2/mkspecs/modules/qt_lib_webkit.pri
it contains exactly this information:
QT.webkit.VERSION = 5.212.0
QT.webkit.MAJOR_VERSION = 5
QT.webkit.MINOR_VERSION = 212
QT.webkit.PATCH_VERSION = 0
QT.webkit.name = QtWebKit
QT.webkit.module = Qt5WebKit
QT.webkit.DEFINES = QT_WEBKIT_LIB
QT.webkit.includes = "/gnu/store/7xfg1s783krjwrp8xmh2nywl7v4x0pq4-qtwebkit-5.212.0-alpha2/include" "/gnu/store/7xfg1s783krjwrp8xmh2nywl7v4x0pq4-qtwebkit-5.212.0-alpha2/include/QtWebKit"
QT.webkit.private_includes =
QT.webkit.libs = "/gnu/store/7xfg1s783krjwrp8xmh2nywl7v4x0pq4-qtwebkit-5.212.0-alpha2/lib"
QT.webkit.rpath = "/gnu/store/7xfg1s783krjwrp8xmh2nywl7v4x0pq4-qtwebkit-5.212.0-alpha2/lib"
QT.webkit.depends = core gui network
QT.webkit.run_depends = sensors positioning qml quick core_private gui_private
QT.webkit.bins = /gnu/store/7xfg1s783krjwrp8xmh2nywl7v4x0pq4-qtwebkit-5.212.0-alpha2/bin
QT.webkit.libexec =
QT.webkit.plugins =
QT.webkit.imports =
QT.webkit.qml =
QT.webkit.frameworks =
QT.webkit.module_config = v2
QT_MODULES += webkit
QMAKE_LIBS_PRIVATE +=
QMAKE_RPATHDIR += /gnu/store/7xfg1s783krjwrp8xmh2nywl7v4x0pq4-qtwebkit-5.212.0-alpha2/lib

So somehow we need to tell qmake where to search for the .pri files for qtwebkit.

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#32238: Close
       [not found] ` <20180721173203.GA10747@jurong>
  2018-07-21 18:13   ` bug#24404: "calibre" package fails to build Andreas Enge
       [not found]   ` <20180721181358.GA892@jurong>
@ 2019-02-19 22:25   ` Andreas Enge
  2 siblings, 0 replies; 20+ messages in thread
From: Andreas Enge @ 2019-02-19 22:25 UTC (permalink / raw)
  To: 32238-done

The problem was corrected at some point in time without reference
to the bug. The calibre package now builds and works.

Andreas

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2019-02-19 22:26 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180628170155.11a28321@mailbox.org>
     [not found] ` <20180721173203.GA10747@jurong>
2018-07-21 18:13   ` bug#24404: "calibre" package fails to build Andreas Enge
     [not found]   ` <20180721181358.GA892@jurong>
2018-07-21 18:19     ` Andreas Enge
2018-07-21 18:38     ` Efraim Flashner
     [not found]     ` <20180721183830.GP4585@macbook41>
2018-07-21 18:48       ` Andreas Enge
     [not found]       ` <20180721184822.GA12005@jurong>
2018-07-21 18:52         ` Efraim Flashner
     [not found]         ` <20180721185225.GQ4585@macbook41>
2018-07-21 20:34           ` Andreas Enge
     [not found]           ` <20180721203448.GA6314@jurong>
2018-07-21 20:42             ` Andreas Enge
2018-07-22  9:49               ` Andreas Enge
     [not found]               ` <20180722094914.GA31191@jurong>
2018-08-01 10:17                 ` Efraim Flashner
     [not found]                 ` <20180801101739.GB31156@macbook41>
2018-08-01 12:46                   ` Brendan Tildesley
2018-08-01 16:41                     ` Efraim Flashner
2018-08-02 12:30                       ` Andreas Enge
2018-08-02 15:00                         ` Efraim Flashner
2018-08-02 15:07                           ` Andreas Enge
2018-08-02 16:22                             ` Andreas Enge
2018-08-02 16:49                               ` Andreas Enge
2018-08-02 17:04                                 ` Andreas Enge
2018-08-02 17:23                                   ` Andreas Enge
2018-08-02 16:31                             ` Andreas Enge
2019-02-19 22:25   ` bug#32238: Close Andreas Enge

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).