kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43407
Re: Broken Linux build
LIB_ID::Test is hidden behind a DEBUG ifdef check. So, it seems like in
your configuration the CMake change is not setting DEBUG anymore.
Are you able to inspect your CMakeCache.txt to shed some light on this?
On Fri, Feb 7, 2020 at 11:46 AM Wayne Stambaugh <stambaughw@xxxxxxxxx>
wrote:
> I'm running into this build failure on my Debian Bullseye box as of the
> latest commits to the master branch:
>
> /usr/bin/ld:
> ../../pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o: in
> function `_wrap_LIB_ID_Test':
>
> /home/wayne/build/kicad/trunk-debug-gtk3-python/pcbnew/pcbnew_wrap.cxx:53313:
> undefined reference to `LIB_ID::Test()'
> collect2: error: ld returned 1 exit status
> make[2]: ***
> [qa/pcbnew_tools/CMakeFiles/qa_pcbnew_tools.dir/build.make:686:
> qa/pcbnew_tools/qa_pcbnew_tools] Error 1
> make[1]: *** [CMakeFiles/Makefile2:4612:
> qa/pcbnew_tools/CMakeFiles/qa_pcbnew_tools.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> /usr/bin/ld:
> ../../pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/pcbnew_wrap.cxx.o: in
> function `_wrap_LIB_ID_Test':
>
> /home/wayne/build/kicad/trunk-debug-gtk3-python/pcbnew/pcbnew_wrap.cxx:53313:
> undefined reference to `LIB_ID::Test()'
> collect2: error: ld returned 1 exit status
> make[2]: *** [qa/pcbnew/CMakeFiles/qa_pcbnew.dir/build.make:792:
> qa/pcbnew/qa_pcbnew] Error 1
> make[1]: *** [CMakeFiles/Makefile2:4306:
> qa/pcbnew/CMakeFiles/qa_pcbnew.dir/all] Error 2
> make: *** [Makefile:163: all] Error 2
>
> Git bisect blames commit b824051adf246c6d5d30a1a5806dd7a194f23700 as the
> culprit. If someone could fix this, I would appreciate at it. I can
> file an issue on GitLab if its helpful.
>
> Cheers,
>
> Wayne
>
> _______________________________________________
> 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