<div dir="ltr">Subject: Re: kicad: ftbfs with GCC-16 — not reproducible with 10.0.4+dfsg-1 on amd64<br><br>Hi,<br><br>I cannot reproduce this against 10.0.4+dfsg-1 on amd64.<br><br>I built the current unstable source in an sbuild schroot with GCC 16 and it<br>completed successfully:<br><br>  Toolchain package versions: binutils_2.47-2 dpkg-dev_1.23.7<br>  g++-16_16.1.0-3 gcc-16_16.1.0-3 libc6-dev_2.42-17<br>  libstdc++-16-dev_16.1.0-3 libstdc++6_16.1.0-3 linux-libc-dev_7.1.7-1<br><br>  Status: successful<br>  Build-Time: 23538<br><br>gcc/g++ resolved to 4:16.1.0-3 from unstable (no experimental pinning<br>needed, as unstable now defaults to GCC 16). Build options were<br>DEB_BUILD_OPTIONS="parallel=1 nocheck" with --no-arch-all, so the test<br>suite and the arch-all doc packages were not built; the arch-any build<br>itself was clean.<br><br>The failure reported against 9.0.8 was a link error in bitmap2component:<br><br>  libcommon.a(eda_base_frame.cpp.o): in function<br>  `KICAD_MANAGER_FRAME::GetCurrentFileName() const':<br>  kicad/kicad_manager_frame.h:86: undefined reference to<br>  `KICAD_MANAGER_FRAME::GetProjectFileName() const'<br><br>In 9.0.8, GetCurrentFileName() was defined inline in<br>kicad/kicad_manager_frame.h, calling GetProjectFileName(), which is only<br>implemented in the kicad/ application target. GCC 16 emitted an<br>out-of-line copy into eda_base_frame.cpp.o in libcommon, so every target<br>linking libcommon without the application objects failed.<br><br>In 10.0.4 that construct is gone. kicad/kicad_manager_frame.h:83 now has<br>only the declaration:<br><br>  wxString GetCurrentFileName() const override;<br><br>with the definition moved to the .cpp, so nothing in libcommon carries the<br>unresolved reference any more.<br><br>On that basis I think this can be closed, or the found version limited to<br>9.0.8 so that 10.0.4 is no longer marked affected and the pending<br>autoremoval from testing is cancelled.<br><br>One thing I have not verified: I only tested amd64. <a href="http://tests.reproducible-builds.org">tests.reproducible-builds.org</a><br>currently shows kicad 10.0.4+dfsg-1 as FTBFS on arm64 in both unstable and<br>forky, but those rebuilds ran with GCC 15, so whatever that is, it looks<br>like a separate issue rather than this one.<br><br>Happy to provide the full build log or re-run with different options if that<br>would help.</div>