Subject: Re: bug#44780: freecad (@0.18.4) fails to build

From: raingloom <[email-masked]>
Date: Sat, 21 Nov 2020 23:11:29 +0100

On Sat, 21 Nov 2020 21:35:49 +0100
raingloom <[email-masked]> wrote:

> On Sat, 21 Nov 2020 18:36:33 +0100
> Fulbert <[email-masked]> wrote:
> 
> > 
> > Hello!
> > 
> > freecad ([email-masked]) fails to build with attached log file.
> > 
> > Thanks and best regards,
> > Fulbert  
> 
> Looks like some dependencies aren't found, even though they are
> included in the input list. Nix seems to explicitly pass them to
> CMake. Missing pkg-config files maybe?

Looks like building it is a whole mess. If you feel inclined, you could
try to adopt the Arch script and/or the NixOS one.
https://github.com/archlinux/svntogit-community/blob/packages/freecad/trunk/PKGBUILD
https://github.com/NixOS/nixpkgs/blob/7caa81d8a23f0278e868adf9054ec5409cd81f93/pkgs/applications/graphics/freecad/default.nix