all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#43448: FreeCAD fails to compile
@ 2020-09-16 11:58 Malte Frank Gerdes
  2020-10-05 17:22 ` zimoun
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Malte Frank Gerdes @ 2020-09-16 11:58 UTC (permalink / raw)
  To: 43448

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

Hi,

it seems that FreeCAD fails to compile because it can't find the mpi
library even though it's in the inputs. Same is true for
python-pyside-2, python-pyside-2-tools and python-shiboken-2.

--8<---------------cut here---------------start------------->8---
====================
shiboken2 not found.
====================

==================
PySide2 not found.
==================

=======================
PySide2Tools not found.
=======================
--8<---------------cut here---------------end--------------->8---

MPI just generates a warning

--8<---------------cut here---------------start------------->8---
-- Checking for one of the modules 'ompi-cxx'
CMake Warning at CMakeLists.txt:745 (message):
  mpi.h was not found.  Check for error above.
--8<---------------cut here---------------end--------------->8---

but the build fails with no direct error message (i didn't find one),
and tried to link against mpi (that's why i'm guessing it has something
to do with it).

Full build log is attached.


[-- Attachment #2: hxq9kbjxdzn4h47dx1d2cj5plm0cxc-freecad-0.18.4.drv.bz2 --]
[-- Type: application/octet-stream, Size: 62580 bytes --]

[-- Attachment #3: Type: text/plain, Size: 7 bytes --]


Malte

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#43448: FreeCAD fails to compile
  2020-09-16 11:58 bug#43448: FreeCAD fails to compile Malte Frank Gerdes
@ 2020-10-05 17:22 ` zimoun
  2020-10-20 17:09 ` Malte Frank Gerdes
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: zimoun @ 2020-10-05 17:22 UTC (permalink / raw)
  To: Malte Frank Gerdes; +Cc: 43448

Dear,

On Wed, 16 Sep 2020 at 13:58, Malte Frank Gerdes <malte.f.gerdes@gmail.com> wrote:

> it seems that FreeCAD fails to compile because it can't find the mpi
> library even though it's in the inputs. Same is true for
> python-pyside-2, python-pyside-2-tools and python-shiboken-2.

[...]

> MPI just generates a warning
>
> -- Checking for one of the modules 'ompi-cxx'
> CMake Warning at CMakeLists.txt:745 (message):
>   mpi.h was not found.  Check for error above.
>
> but the build fails with no direct error message (i didn't find one),
> and tried to link against mpi (that's why i'm guessing it has something
> to do with it).

Thank you for your feedback and pointing this out.

From the Guix Data Service [1], something wrong is happening to
FreeCAD.  The last substituable FreeCAD v1.8.0 is given by the commit
9bc516bada71e1437d73971584bff5e72e053dbe:

   guix time-machine –commit=9bc516bada71e1437d73971584bff5e72e053dbe \
        -- weather freecad

All the best,
simon

[1] <https://data.guix.gnu.org/repository/1/branch/master/package/freecad/output-history>




^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#43448: FreeCAD fails to compile
  2020-09-16 11:58 bug#43448: FreeCAD fails to compile Malte Frank Gerdes
  2020-10-05 17:22 ` zimoun
@ 2020-10-20 17:09 ` Malte Frank Gerdes
  2020-10-20 17:17   ` zimoun
  2020-10-20 20:31 ` Malte Frank Gerdes
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 12+ messages in thread
From: Malte Frank Gerdes @ 2020-10-20 17:09 UTC (permalink / raw)
  To: 43448

zimoun <zimon.toutoune@gmail.com> writes:

> Dear,
>
> On Wed, 16 Sep 2020 at 13:58, Malte Frank Gerdes <malte.f.gerdes@gmail.com> wrote:
>
>> it seems that FreeCAD fails to compile because it can't find the mpi
>> library even though it's in the inputs. Same is true for
>> python-pyside-2, python-pyside-2-tools and python-shiboken-2.
>
> [...]
>
>> MPI just generates a warning
>>
>> -- Checking for one of the modules 'ompi-cxx'
>> CMake Warning at CMakeLists.txt:745 (message):
>>   mpi.h was not found.  Check for error above.
>>
>> but the build fails with no direct error message (i didn't find one),
>> and tried to link against mpi (that's why i'm guessing it has something
>> to do with it).
>
> Thank you for your feedback and pointing this out.
>
>>From the Guix Data Service [1], something wrong is happening to
> FreeCAD.  The last substituable FreeCAD v1.8.0 is given by the commit
> 9bc516bada71e1437d73971584bff5e72e053dbe:
>
>    guix time-machine –commit=9bc516bada71e1437d73971584bff5e72e053dbe \
>         -- weather freecad
>
> All the best,
> simon
>
> [1] <https://data.guix.gnu.org/repository/1/branch/master/package/freecad/output-history>

Many apologies, i completely missed your answer! :/

The same thing got reported as #44098, is it possible to merge those
issues?

I'm currently looking into the freecad source to find out what's
happening.


Malte




^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#43448: FreeCAD fails to compile
  2020-10-20 17:09 ` Malte Frank Gerdes
@ 2020-10-20 17:17   ` zimoun
  2020-10-20 17:30     ` Malte Frank Gerdes
  0 siblings, 1 reply; 12+ messages in thread
From: zimoun @ 2020-10-20 17:17 UTC (permalink / raw)
  To: Malte Frank Gerdes; +Cc: 43448

Dear,

On Tue, 20 Oct 2020 at 19:09, Malte Frank Gerdes
<malte.f.gerdes@gmail.com> wrote:

> Many apologies, i completely missed your answer! :/

Hum? 4 days do seem not missed. :-D


> The same thing got reported as #44098, is it possible to merge those
> issues?

Please give a look at:

    <https://debbugs.gnu.org/server-control.html>

Basically, you need to send to <control@debbugs.gnu.org> the message containing:

merge 43448 44098
thanks

(I never know if the order matters even if the doc says "reflexive,
transitive and symmetric". :-))

All the best,
simon




^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#43448: FreeCAD fails to compile
  2020-10-20 17:17   ` zimoun
@ 2020-10-20 17:30     ` Malte Frank Gerdes
  0 siblings, 0 replies; 12+ messages in thread
From: Malte Frank Gerdes @ 2020-10-20 17:30 UTC (permalink / raw)
  To: 43448

zimoun <zimon.toutoune@gmail.com> writes:

> Dear,
>
> On Tue, 20 Oct 2020 at 19:09, Malte Frank Gerdes
> <malte.f.gerdes@gmail.com> wrote:
>
>> Many apologies, i completely missed your answer! :/
>
> Hum? 4 days do seem not missed. :-D
Ehhm, you're right i haven't noticed the date. It just feels like it was
a long long itme ago :-P


>> The same thing got reported as #44098, is it possible to merge those
>> issues?
>
> Please give a look at:
>
>     <https://debbugs.gnu.org/server-control.html>
>
> Basically, you need to send to <control@debbugs.gnu.org> the message containing:
>
> merge 43448 44098
> thanks
>
> (I never know if the order matters even if the doc says "reflexive,
> transitive and symmetric". :-))
Then let's see if it works :-)


> All the best,
> simon


Malte




^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#43448: FreeCAD fails to compile
  2020-09-16 11:58 bug#43448: FreeCAD fails to compile Malte Frank Gerdes
  2020-10-05 17:22 ` zimoun
  2020-10-20 17:09 ` Malte Frank Gerdes
@ 2020-10-20 20:31 ` Malte Frank Gerdes
  2020-11-13 16:12 ` bug#43448: Closed by 41170 John Soo
  2020-12-05 15:17   ` Ekaitz Zarraga
  4 siblings, 0 replies; 12+ messages in thread
From: Malte Frank Gerdes @ 2020-10-20 20:31 UTC (permalink / raw)
  To: 43448

[-- Attachment #1: Type: text/plain, Size: 4409 bytes --]

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/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++  -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBUILD_ADDONMGR -DCMAKE_BUILD_TYPE=\"RelWithDebInfo\" -DFreeCADGui_EXPORTS -DHAVE_CONFIG_H -DHAVE_PYSIDE2 -DHAVE_SHIBOKEN2 -DHAVE_TBB -DOCC_CONVERT_SIGNALS -DQT_CORE_LIB -DQT_GUI_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/freecad-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-checkout/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-build-freecad-0.18.4.drv-0/build/src/Gui/propertyeditor -I/tmp/guix-build-freecad-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/Gui/DAGView -I/gnu/store/azmwdwavv9r08zvzp200y8c6hkm0dsrr-eigen-3.3.7/include/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/hcpcfn6b25ja5hdlvcw3flnapzhi7k3i-python-pyside-2-5.14.2.3/include/QtWidgets -isystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5 -isystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-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/include/qt5/QtWidgets -isystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5/QtGui -isystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5/QtOpenGL -isystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5/QtPrintSupport -isystem /gnu/store/kvn3ip3aziw15yn2jv6ka7s1x1v2y7p4-qtsvg-5.14.2/include/qt5 -isystem /gnu/store/kvn3ip3aziw15yn2jv6ka7s1x1v2y7p4-qtsvg-5.14.2/include/qt5/QtSvg -isystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5/QtNetwork -isystem /gnu/store/yqrjvsn778ydl6pc1p463alljhczxw8i-qttools-5.14.2/include/qt5 -isystem /gnu/store/yqrjvsn778ydl6pc1p463alljhczxw8i-qttools-5.14.2/include/qt5/QtUiTools -isystem /gnu/store/wajjrym3vyidi21zjcs6r8ad9xgxfj3k-qtx11extras-5.14.2/include/qt5 -isystem /gnu/store/wajjrym3vyidi21zjcs6r8ad9xgxfj3k-qtx11extras-5.14.2/include/qt5/QtX11Extras -isystem /gnu/store/kg1bc1ghars6qnw6zlc4igml2nqfbiy7-qtbase-5.14.2/include/qt5/QtXml  -Wall -Wextra -Wno-write-strings  -std=c++11 -D_OCC64 -O2 -g -DNDEBUG -fPIC   -pthread -fPIC -o CMakeFiles/FreeCADGui.dir/WidgetFactory.cpp.o -c /tmp/guix-build-freecad-0.18.4.drv-0/freecad-0.18.4-checkout/src/Gui/WidgetFactory.cpp
/tmp/guix-build-freecad-0.18.4.drv-0/freecad-0.18.4-checkout/src/Gui/WidgetFactory.cpp:79:11: fatal error: basewrapper.h: No such file or directory
 # include <basewrapper.h>
           ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/Gui/CMakeFiles/FreeCADGui.dir/build.make:4659: src/Gui/CMakeFiles/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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: freecad-add-include-dirs.patch --]
[-- Type: text/x-patch, Size: 1188 bytes --]

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

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#43448: Closed by 41170
  2020-09-16 11:58 bug#43448: FreeCAD fails to compile Malte Frank Gerdes
                   ` (2 preceding siblings ...)
  2020-10-20 20:31 ` Malte Frank Gerdes
@ 2020-11-13 16:12 ` John Soo
  2020-12-05 15:17   ` Ekaitz Zarraga
  4 siblings, 0 replies; 12+ messages in thread
From: John Soo @ 2020-11-13 16:12 UTC (permalink / raw)
  To: 43448-done





^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#43448: FreeCAD fails to compile
@ 2020-12-05 15:17   ` Ekaitz Zarraga
  0 siblings, 0 replies; 12+ messages in thread
From: Ekaitz Zarraga @ 2020-12-05 15:17 UTC (permalink / raw)
  To: 43448@debbugs.gnu.org, guix-devel\@gnu.org

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/salomesmesh/cmake_install.cmake:41 (if):                                                                                                                             if given arguments:                                                                                                                                                                                                                                                                                                                                                                             "EXISTS" "/tmp/guix-build-freecad-mine-0.18.5.drv-0/build/" "/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 arguments 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 extra 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=ON"
         (string-append "-DCMAKE_INSTALL_LIBDIR=\"" (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")

         "-DPYSIDE_LIBRARY=PySide2::pyside2"
         (string-append "-DPYSIDE_INCLUDE_DIR="
                        (assoc-ref %build-inputs "python-pyside-2") "/include;"
                        (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2;"
                        (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2/QtCore;"
                        (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2/QtWidgets;"
                        (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2/QtGui;")

         "-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"
         (string-append "-DSHIBOKEN_INCLUDE_DIR="
                        (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/7caa81d8a23f0278e868adf9054ec5409cd81f93/pkgs/applications/graphics/freecad/default.nix





^ permalink raw reply	[flat|nested] 12+ messages in thread

* FreeCAD fails to compile
@ 2020-12-05 15:17   ` Ekaitz Zarraga
  0 siblings, 0 replies; 12+ messages in thread
From: Ekaitz Zarraga @ 2020-12-05 15:17 UTC (permalink / raw)
  To: 43448@debbugs.gnu.org, guix-devel\@gnu.org

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/salomesmesh/cmake_install.cmake:41 (if):                                                                                                                             if given arguments:                                                                                                                                                                                                                                                                                                                                                                             "EXISTS" "/tmp/guix-build-freecad-mine-0.18.5.drv-0/build/" "/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 arguments 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 extra 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=ON"
         (string-append "-DCMAKE_INSTALL_LIBDIR=\"" (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")

         "-DPYSIDE_LIBRARY=PySide2::pyside2"
         (string-append "-DPYSIDE_INCLUDE_DIR="
                        (assoc-ref %build-inputs "python-pyside-2") "/include;"
                        (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2;"
                        (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2/QtCore;"
                        (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2/QtWidgets;"
                        (assoc-ref %build-inputs "python-pyside-2") "/include/PySide2/QtGui;")

         "-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"
         (string-append "-DSHIBOKEN_INCLUDE_DIR="
                        (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/7caa81d8a23f0278e868adf9054ec5409cd81f93/pkgs/applications/graphics/freecad/default.nix



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: FreeCAD fails to compile
  2020-12-05 15:17   ` Ekaitz Zarraga
  (?)
@ 2020-12-05 16:50   ` Ekaitz Zarraga
  2020-12-05 16:55     ` John Soo
  -1 siblings, 1 reply; 12+ messages in thread
From: Ekaitz Zarraga @ 2020-12-05 16:50 UTC (permalink / raw)
  To: guix-devel\@gnu.org, 43448@debbugs.gnu.org

Looks like this line, inherited from the previous definition, was giving some trouble:

>              (string-append "-DCMAKE_INSTALL_LIBDIR=\\"" (assoc-ref %outputs "out") "/lib\\"")


It was creating wrong variables (and wrong syntax too!):


  if(EXISTS "$ENV{DESTDIR}/tmp/guix-build-freecad-mine-0.18.5.drv-0/build/"/gnu/store/30rcpcdv7h6ak37wf30ijlbf9x2j6jyz-freecad-mine-0.18.5/lib"/libSMDS.so" AND
     NOT IS_SYMLINK "$ENV{DESTDIR}/tmp/guix-build-freecad-mine-0.18.5.drv-0/build/"/gnu/store/30rcpcdv7h6ak37wf30ijlbf9x2j6jyz-freecad-mine-0.18.5/lib"/libSMDS.so")


I think I'll manage to solve this myself.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: FreeCAD fails to compile
  2020-12-05 16:50   ` Ekaitz Zarraga
@ 2020-12-05 16:55     ` John Soo
  2020-12-05 21:39       ` Ekaitz Zarraga
  0 siblings, 1 reply; 12+ messages in thread
From: John Soo @ 2020-12-05 16:55 UTC (permalink / raw)
  To: Ekaitz Zarraga; +Cc: guix-devel\@gnu.org, 43448

[-- Attachment #1: Type: text/plain, Size: 273 bytes --]

     Nice work Ekaitz! 

 
I worked hard on freecad, it is quite a difficult program to package. That was a weird issue that I asked about on the freecad forums. Perhaps it is fixed upstream now, which would be excellent. Thanks for keeping it up to date!
 

 
- John
     

[-- Attachment #2: Type: text/html, Size: 329 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: FreeCAD fails to compile
  2020-12-05 16:55     ` John Soo
@ 2020-12-05 21:39       ` Ekaitz Zarraga
  0 siblings, 0 replies; 12+ messages in thread
From: Ekaitz Zarraga @ 2020-12-05 21:39 UTC (permalink / raw)
  To: John Soo; +Cc: guix-devel\@gnu.org, 43448

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

On Saturday, December 5, 2020 5:55 PM, John Soo <jsoo1@asu.edu> wrote:

> Nice work Ekaitz!
>
> I worked hard on freecad, it is quite a difficult program to package. That was a weird issue that I asked about on the freecad forums. Perhaps it is fixed upstream now, which would be excellent. Thanks for keeping it up to date!
>
> - John

Hey!
I think I found you post.
I'm hitting against the same wall. The funny thing is the thread says [SOLVED].
I have a couple of ideas but this thing is hard to build...

I'll fight with all my soul, and keep you posted.

Thanks for the support,
Ekaitz

[-- Attachment #2: Type: text/html, Size: 890 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-12-05 21:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-16 11:58 bug#43448: FreeCAD fails to compile Malte Frank Gerdes
2020-10-05 17:22 ` zimoun
2020-10-20 17:09 ` Malte Frank Gerdes
2020-10-20 17:17   ` zimoun
2020-10-20 17:30     ` Malte Frank Gerdes
2020-10-20 20:31 ` Malte Frank Gerdes
2020-11-13 16:12 ` bug#43448: Closed by 41170 John Soo
2020-12-05 15:17 ` bug#43448: FreeCAD fails to compile Ekaitz Zarraga
2020-12-05 15:17   ` Ekaitz Zarraga
2020-12-05 16:50   ` Ekaitz Zarraga
2020-12-05 16:55     ` John Soo
2020-12-05 21:39       ` Ekaitz Zarraga

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.