← Back to team overview

kicad-developers team mailing list archive

Re: Build failure in Fedora Rawhide

 

What does this mean if I want to test this locally?

Should I do the following or are there other options enforced in cmake?
git clone ...kicad...
mkdir build_outside_of_kicad
cd build_outside_of_kicad
cmake ...kicad...


On Mon, 20 Jul 2020 at 23:28, Steven A. Falco <stevenfalco@xxxxxxxxx> wrote:
>
> Fedora recently made a change to their cmake macros, to force packages to build "out of tree".  The developers responsible for this change plan to go through and fix up the thousand or so packages that may break as a result, so they should eventually fix the official downstream KiCAD package.
>
> However, they will not be able to fix up third-party packages, one of which is our nightly builds.
>
> The attached email shows that KiCAD does indeed fail to build for Fedora rawhide now.  The right thing to do is to modify the kicad.spec.template file to accommodate the new cmake macros, but as a temporary workaround, we can add a line to force the old behavior:
>
> %global __cmake_in_source_build 1
>
> I've tried that, and it does let KiCAD build as before.
>
> I don't know exactly how the developers plan to fix up the broken packages, so we can either add the workaround, wait to see what they do, then change the nightlies to match (and remove the workaround), OR we can make our own changes, which may result in the spec files diverging.
>
> If the lead KiCAD devs wish, I can add the workaround - I can do that quickly.  Attempting to sort out a proper fix would naturally take longer.
>
>         Steve
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References