← Back to team overview

kicad-developers team mailing list archive

Broken Linux build

 

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


Follow ups