From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 05 10:18:14 2020 Received: (at 43448) by debbugs.gnu.org; 5 Dec 2020 15:18:14 +0000 Received: from localhost ([127.0.0.1]:48014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klZK9-0002GI-TY for submit@debbugs.gnu.org; Sat, 05 Dec 2020 10:18:14 -0500 Received: from mail2.protonmail.ch ([185.70.40.22]:12190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klZK7-0002G5-PQ for 43448@debbugs.gnu.org; Sat, 05 Dec 2020 10:18:12 -0500 Date: Sat, 05 Dec 2020 15:17:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1607181485; bh=/5HMQa8QQCFLL0lPWeB1VZ5RLN5Mm//WGjNJ3VQ/eOk=; h=Date:To:From:Reply-To:Subject:From; b=BBjzpd1lFJuRcVZU/FUL4V5gh344+Dw2bQCTYhtdIy2OVpzVMnCev3Ic2Z7F+nTD6 UNXeOlgNshB2XgKbGFMjOFmAqVbhIDcfRrh13yRhJwvrwtDZ8ns+6IARsxh69fFC2t gkfWbyNllWeh4unuiR0IW9tAGy5hKMOG8arbtxxO1Vxw0Iss60ncbguRD/RX+y69V2 9vgN5C+SbUlO0KOOm5dL00QHBz8ziq7Acu77q+BqKd0tegdc1huec3sLT0VH7zyaBn /Ykc+7KoXfKxQfB/gRax7POD7eGMz0pQYWy0NjF5eDkWo5blVGALPvc89HwzqUZ5gY YwWjlsdc1WrAg== To: "43448@debbugs.gnu.org" <43448@debbugs.gnu.org>, "guix-devel\\@gnu.org" From: Ekaitz Zarraga Subject: FreeCAD fails to compile Message-ID: <-Z7XtdEFK1-dHQ5xeOILlRXOhvoHu85Ef9UnPqs8bQPbLkWKCnFTVdCCqy1LkiLKO93X_UrCq7utFYZLBq1LUEP7s3dCV6zJL6rRYOp4sGM=@elenq.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43448 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, I solved most of the compilation issue with freecad. Now my package version compiles but install phase fails with this error: ``` = = CMake Error at src/3rdParty/salom= esmesh/cmake_install.cmake:41 (if): = = if given arguments: = = = = = "EXISTS" "/tmp/guix-build-freecad-mine-0.18.5.drv-0/buil= d/" "/gnu/store/injf0n8qja607qswa5cyxz1dpzqia21p-freecad-mine-0.18.5/lib\"/= libSMDS.so\"" "AND" "NOT" "IS_SYMLINK" "/tmp/guix-build-freecad-mine-0.18.5= .drv-0/build/" "/gnu/store/injf0n8qja607qswa5cyxz1dpzqia21p-freecad-mine-0.= 18.5/lib\"/libSMDS.so\"" = = = Unknown ar= guments specified = = Call Stack (most recent call first): = = src= /3rdParty/cmake_install.cmake:42 (include) = = src/cmake_install.cmake:43 (include) = = = cmake_install.cmake:46 (include) ``` Did anyone see something like this before? Right now I have no idea how to tackle this but I'll keep researching. If anyone wants to be able to reach this point, the only changes I applied = to the project are configure-flags suggested in this bug report with some e= xtra more because the header files were not found in subdirectories. These = are the configure flags I added (mostly copied from Nix package[^nix]): ``` (list "-DBUILD_QT5=3DON" (string-append "-DCMAKE_INSTALL_LIBDIR=3D\"" (assoc-ref %outputs "= out") "/lib\"") (string-append "-DPYSIDE2UICBINARY=3D" (assoc-ref %build-inputs "python-pyside-2-tools") "/bin/uic") (string-append "-DPYSIDE2RCCBINARY=3D" (assoc-ref %build-inputs "python-pyside-2-tools") "/bin/rcc") "-DPYSIDE_LIBRARY=3DPySide2::pyside2" (string-append "-DPYSIDE_INCLUDE_DIR=3D" (assoc-ref %build-inputs "python-pyside-2") "/inclu= de;" (assoc-ref %build-inputs "python-pyside-2") "/inclu= de/PySide2;" (assoc-ref %build-inputs "python-pyside-2") "/inclu= de/PySide2/QtCore;" (assoc-ref %build-inputs "python-pyside-2") "/inclu= de/PySide2/QtWidgets;" (assoc-ref %build-inputs "python-pyside-2") "/inclu= de/PySide2/QtGui;") "-DSHIBOKEN_LIBRARY=3DShiboken2::libshiboken" (string-append "-DSHIBOKEN_INCLUDE_DIR=3D" (assoc-ref %build-inputs "python-shiboken-2") "/include/shiboken2")) ``` I hope we can have something working soon! Cheers, Ekaitz [^nix]: https://github.com/NixOS/nixpkgs/blob/7caa81d8a23f0278e868adf9054ec= 5409cd81f93/pkgs/applications/graphics/freecad/default.nix