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 4N90Bx24y1/efQAA0tVLHw (envelope-from ) for ; Sat, 05 Dec 2020 16:41:01 +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 yEY+Ax24y19zZgAA1q6Kng (envelope-from ) for ; Sat, 05 Dec 2020 16:41:01 +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 019519402C8 for ; Sat, 5 Dec 2020 16:40:59 +0000 (UTC) Received: from localhost ([::1]:37424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klacD-0001Hz-Q8 for larch@yhetil.org; Sat, 05 Dec 2020 11:40:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klZKw-0006Uf-QI for bug-guix@gnu.org; Sat, 05 Dec 2020 10:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klZKw-0006JT-Gu for bug-guix@gnu.org; Sat, 05 Dec 2020 10:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klZKw-0002HO-CO for bug-guix@gnu.org; Sat, 05 Dec 2020 10:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#43448: FreeCAD fails to compile References: <87mu1q6ih9.fsf@gmail.com> In-Reply-To: <87mu1q6ih9.fsf@gmail.com> Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 15:19:02 +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" <43448@debbugs.gnu.org>, "guix-devel\\@gnu.org" Received: via spool by 43448-submit@debbugs.gnu.org id=B43448.16071814948702 (code B ref 43448); Sat, 05 Dec 2020 15:19:02 +0000 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== From: Ekaitz Zarraga Message-ID: <-Z7XtdEFK1-dHQ5xeOILlRXOhvoHu85Ef9UnPqs8bQPbLkWKCnFTVdCCqy1LkiLKO93X_UrCq7utFYZLBq1LUEP7s3dCV6zJL6rRYOp4sGM=@elenq.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 05 Dec 2020 11:26:37 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.20 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=elenq.tech header.s=protonmail2 header.b=BBjzpd1l; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (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-Migadu-Queue-Id: 019519402C8 X-Spam-Score: -1.20 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: JPTcJ39FqhKG 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