From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id fp6lCcaky1+lZQAA0tVLHw (envelope-from ) for ; Sat, 05 Dec 2020 15:18:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SGXkBMaky1+PKQAAbx9fmQ (envelope-from ) for ; Sat, 05 Dec 2020 15:18:30 +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 C3C879404FD for ; Sat, 5 Dec 2020 15:18:29 +0000 (UTC) Received: from localhost ([::1]:51154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klZKO-0005m3-NH for larch@yhetil.org; Sat, 05 Dec 2020 10:18:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klZK8-0005kJ-S2 for guix-devel@gnu.org; Sat, 05 Dec 2020 10:18:12 -0500 Received: from mail2.protonmail.ch ([185.70.40.22]:24622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klZK5-0005zS-Oh for guix-devel@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 Received-SPF: pass client-ip=185.70.40.22; envelope-from=ekaitz@elenq.tech; helo=mail2.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=protonmail2 header.b=BBjzpd1l; dmarc=pass (policy=none) header.from=elenq.tech; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: C3C879404FD X-Spam-Score: -3.00 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: z0Dn/05e1mXf 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