From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: bug#24404: "calibre" package fails to build. Date: Thu, 2 Aug 2018 19:23:52 +0200 Message-ID: <20180802172352.GA21954@jurong> References: <20180722094914.GA31191@jurong> <20180801101739.GB31156@macbook41> <79c9e1bb-02e7-8a3c-bc1a-3a14036b1d2f@openmailbox.org> <20180801164131.GA13776@macbook41> <20180802123020.GA26124@jurong> <20180802150054.GE13776@macbook41> <20180802150704.GA20925@jurong> <20180802162209.GA18501@jurong> <20180802164935.GA19896@jurong> <20180802170422.GA21440@jurong> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flHKY-0007ub-Ul for bug-guix@gnu.org; Thu, 02 Aug 2018 13:24:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flHKU-0008P2-UG for bug-guix@gnu.org; Thu, 02 Aug 2018 13:24:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1flHKU-0008Ow-Np for bug-guix@gnu.org; Thu, 02 Aug 2018 13:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1flHKU-0001XS-FA for bug-guix@gnu.org; Thu, 02 Aug 2018 13:24:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20180802170422.GA21440@jurong> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Efraim Flashner Cc: 24404@debbugs.gnu.org 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