From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UP0qKFRJj1/dPgAA0tVLHw (envelope-from ) for ; Tue, 20 Oct 2020 20:32:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EP4TJFRJj18nBQAA1q6Kng (envelope-from ) for ; Tue, 20 Oct 2020 20:32:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2BE1D9408DD for ; Tue, 20 Oct 2020 20:32:20 +0000 (UTC) Received: from localhost ([::1]:38392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUyIt-0001Z6-4V for larch@yhetil.org; Tue, 20 Oct 2020 16:32:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUyIc-0001Xa-8J for bug-guix@gnu.org; Tue, 20 Oct 2020 16:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUyIb-0007pX-Tl for bug-guix@gnu.org; Tue, 20 Oct 2020 16:32:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUyIb-0006Dw-Ps for bug-guix@gnu.org; Tue, 20 Oct 2020 16:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43448: FreeCAD fails to compile Resent-From: Malte Frank Gerdes Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 20 Oct 2020 20:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43448 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43448@debbugs.gnu.org Received: via spool by 43448-submit@debbugs.gnu.org id=B43448.160322588723873 (code B ref 43448); Tue, 20 Oct 2020 20:32:01 +0000 Received: (at 43448) by debbugs.gnu.org; 20 Oct 2020 20:31:27 +0000 Received: from localhost ([127.0.0.1]:46948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUyI3-0006Cz-3o for submit@debbugs.gnu.org; Tue, 20 Oct 2020 16:31:27 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:41842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUyI1-0006Cl-KV for 43448@debbugs.gnu.org; Tue, 20 Oct 2020 16:31:26 -0400 Received: by mail-wr1-f49.google.com with SMTP id s9so4102793wro.8 for <43448@debbugs.gnu.org>; Tue, 20 Oct 2020 13:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=mWP/mPB8gDLtOMmfiFbORfbs0RXHZ/RYJT44tOPbwX0=; b=Winm1vF5IR09Ilhc++wC6tJJvlWxbJ1SfjumE7oxQCOy/r5gGQqPp2MMsztMHqtyuU erZ6UUs0oAzSCa4Qpu5gErP73kkZZZy9FWIfxyDjqDF2ep+e9RYXbGl9scWyOUqqR4R+ jZWWVs2Buy/XjHnXb30pgZq1FRfZxVhTzcVF+1gdGVuehE6/mEIJMkS0QxQnVt97r+eK 1JOP6Y9MOcXm4QQGjqM3jcxy7NPGUWdWCsPnPNxoKrxxFkmil+G50KgaxxKTcdgAu6tS yseMPMZFmBV9vC/gr0lQlioQo0HKwI13hP1gDdOxsN/2YQkBO0K/5+Ypc9gXCcIkhb8R 06jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=mWP/mPB8gDLtOMmfiFbORfbs0RXHZ/RYJT44tOPbwX0=; b=Yp9nM4NgoDjP0IR0FQROo4Scb/8uRC6nmX6S4Mc6AQI0o+uWxZOhZY+/m6gPASByM8 t279ZkxRwrvzSZvlTTcyUVtsy0kBAw8+E1en620uUM2Zb5QJVZQ8ZnXF6T3rtxFsrEvC 5tjGkK3CvYvF/a7evcyiiWhJ9qWVoKmfr/EHXo0wvr+MROApkfqtDIA2CPDbLAROgl/e 6fOOEjGNHXzwKEtKENe0M1Jbrs6Jgd042MGAPeKODYaszYUxwVTX2f0b8Lix6PHbcsOD dwwVBfrDcnGFdPONaCDahBNhd4HqQ97DDBvArFHwQu+8MLk16VHvNOy9DmSliHTCWgq+ ks6g== X-Gm-Message-State: AOAM533HAZDg1tRfF1iZjgbHC52swFbXDAE316wRp+w0cP09+zzomFrf knswadZd8H6iM8an35pp9kw+6m5QZyo= X-Google-Smtp-Source: ABdhPJw6hypSSerOpWX8gH0Nyfh2VkBZECOnM6lnG9kdmffoMR7K/SjIEF80HEVTSCMjd6O1FduaLQ== X-Received: by 2002:a1c:7ec7:: with SMTP id z190mr4651819wmc.8.1603225879276; Tue, 20 Oct 2020 13:31:19 -0700 (PDT) Received: from Morphium (ip-84-118-73-55.unity-media.net. [84.118.73.55]) by smtp.gmail.com with ESMTPSA id b25sm4148829wmj.21.2020.10.20.13.31.18 for <43448@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Oct 2020 13:31:18 -0700 (PDT) From: Malte Frank Gerdes References: <87mu1q6ih9.fsf@gmail.com> Date: Tue, 20 Oct 2020 22:31:17 +0200 In-Reply-To: <87mu1q6ih9.fsf@gmail.com> (Malte Frank Gerdes's message of "Wed, 16 Sep 2020 13:58:42 +0200") Message-ID: <86h7qo8wru.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=Winm1vF5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: JqfoklLyEBNF --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable This patch defines the include paths for shiboken2, pyside2 and includes the locations of the pyside2-tools binaries. There's now another error: --8<---------------cut here---------------start------------->8--- [ 69%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/WidgetFactory.= cpp.o cd /tmp/guix-build-freecad-0.18.4.drv-0/build/src/Gui && /gnu/store/rn75fm7= adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_FIL= ESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -D= BOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBUILD_ADDONMGR -DCMAKE_BUIL= D_TYPE=3D\"RelWithDebInfo\" -DFreeCADGui_EXPORTS -DHAVE_CONFIG_H -DHAVE_PYS= IDE2 -DHAVE_SHIBOKEN2 -DHAVE_TBB -DOCC_CONVERT_SIGNALS -DQT_CORE_LIB -DQT_G= UI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB= -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML= _LIB -DSPNAV_FOUND -D_OCC64 -I/tmp/guix-build-freecad-0.18.4.drv-0/build -I= /tmp/guix-build-freecad-0.18.4.drv-0/build/src -I/tmp/guix-build-freecad-0.= 18.4.drv-0/freecad-0.18.4-checkout/src -I/tmp/guix-build-freecad-0.18.4.drv= -0/freecad-0.18.4-checkout/src/Gui -I/tmp/guix-build-freecad-0.18.4.drv-0/f= reecad-0.18.4-checkout/src/Gui/Quarter -I/tmp/guix-build-freecad-0.18.4.drv= -0/build/src/Gui -I/tmp/guix-build-freecad-0.18.4.drv-0/freecad-0.18.4-chec= kout/src/Gui/.. -I/tmp/guix-build-freecad-0.18.4.drv-0/build/src/Gui/.. -I/= tmp/guix-build-freecad-0.18.4.drv-0/build/src/Gui/Language -I/tmp/guix-buil= d-freecad-0.18.4.drv-0/build/src/Gui/propertyeditor -I/tmp/guix-build-freec= ad-0.18.4.drv-0/build/src/Gui/TaskView -I/tmp/guix-build-freecad-0.18.4.drv= -0/build/src/Gui/Quarter -I/tmp/guix-build-freecad-0.18.4.drv-0/build/src/G= ui/DAGView -I/gnu/store/azmwdwavv9r08zvzp200y8c6hkm0dsrr-eigen-3.3.7/includ= e/eigen3 -I/gnu/store/q9rm8h9imazsq2c4qiv2yjpvlvliywqb-python-3.8.2/include= /python3.8 -I/gnu/store/hcpcfn6b25ja5hdlvcw3flnapzhi7k3i-python-pyside-2-5.= 14.2.3/include/QtCore -I/gnu/store/hcpcfn6b25ja5hdlvcw3flnapzhi7k3i-python-= pyside-2-5.14.2.3/include/QtGui -I/gnu/store/hcpcfn6b25ja5hdlvcw3flnapzhi7k= 3i-python-pyside-2-5.14.2.3/include/QtWidgets -isystem /gnu/store/kg1bc1gha= rs6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5 -isystem /gnu/store/kg1bc= 1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5/QtCore -isystem /gnu/= store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/lib/qt5/mkspecs/linux-= g++ -isystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/incl= ude/qt5/QtWidgets -isystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtba= se-5.14.2/include/qt5/QtGui -isystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nq= fbiy7-qtbase-5.14.2/include/qt5/QtOpenGL -isystem /gnu/store/kg1bc1ghars6qn= w6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5/QtPrintSupport -isystem /gnu/s= tore/kvn3ip3aziw15yn2jv6ka7s1x1v2y7p4-qtsvg-5.14.2/include/qt5 -isystem /gn= u/store/kvn3ip3aziw15yn2jv6ka7s1x1v2y7p4-qtsvg-5.14.2/include/qt5/QtSvg -is= ystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5= /QtNetwork -isystem /gnu/store/yqrjvsn778ydl6pc1p463alljhczxw8i-qttools-5.1= 4.2/include/qt5 -isystem /gnu/store/yqrjvsn778ydl6pc1p463alljhczxw8i-qttool= s-5.14.2/include/qt5/QtUiTools -isystem /gnu/store/wajjrym3vyidi21zjcs6r8ad= 9xgxfj3k-qtx11extras-5.14.2/include/qt5 -isystem /gnu/store/wajjrym3vyidi21= zjcs6r8ad9xgxfj3k-qtx11extras-5.14.2/include/qt5/QtX11Extras -isystem /gnu/= store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5/QtXml -Wa= ll -Wextra -Wno-write-strings -std=3Dc++11 -D_OCC64 -O2 -g -DNDEBUG -fPIC = -pthread -fPIC -o CMakeFiles/FreeCADGui.dir/WidgetFactory.cpp.o -c /tmp/g= uix-build-freecad-0.18.4.drv-0/freecad-0.18.4-checkout/src/Gui/WidgetFactor= y.cpp /tmp/guix-build-freecad-0.18.4.drv-0/freecad-0.18.4-checkout/src/Gui/Widget= Factory.cpp:79:11: fatal error: basewrapper.h: No such file or directory # include ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [src/Gui/CMakeFiles/FreeCADGui.dir/build.make:4659: src/Gui/CM= akeFiles/FreeCADGui.dir/WidgetFactory.cpp.o] Error 1 make -f src/Mod/Inspection/App/CMakeFiles/Inspection.dir/build.make src/Mod= /Inspection/App/CMakeFiles/Inspection.dir/depend make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/tmp/guix-build-freecad-0.18.4.drv-0/build' --8<---------------cut here---------------end--------------->8--- This is what needs to be looked into next. Malte --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=freecad-add-include-dirs.patch diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 2a7dfe470f..3c1f6a98f3 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2481,7 +2481,19 @@ full programmatic control over your models.") (list "-DBUILD_QT5=ON" (string-append "-DCMAKE_INSTALL_LIBDIR=" - (assoc-ref %outputs "out") "/lib")) + (assoc-ref %outputs "out") "/lib") + (string-append "-DPYSIDE2UICBINARY=" + (assoc-ref %build-inputs "python-pyside-2-tools") + "/bin/uic") + (string-append "-DPYSIDE2RCCBINARY=" + (assoc-ref %build-inputs "python-pyside-2-tools") + "/bin/rcc") + (string-append "-DPYSIDE_INCLUDE_DIR=" + (assoc-ref %build-inputs "python-pyside-2") + "/include") + (string-append "-DSHIBOKEN_INCLUDE_DIR=" + (assoc-ref %build-inputs "python-shiboken-2") + "/include")) #:phases (modify-phases %standard-phases (add-before 'configure 'restore-pythonpath --=-=-=--