https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-simulation/lincity-ng-2.9_beta fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 657240 [details] build.log build log and emerge --info
What's happening here is that ftjam thinks it needs to rebuild internal static libraries during src_install and then uses AR without the previously passed -sAR="ar ru" option. ftjam seem to have issues reading archives from llvm-ar, or ar+llvm-ranlib Using `jam -d3 -n install` (for some debug output): ar/ranlib: >bind -- liblincity_gui.a(Style.o): ./build/x86_64-pc-linux-gnu/optimize/src/gui/liblincity_gui.a(Style.o) >time -- liblincity_gui.a(Style.o): Tue Aug 3 20:42:19 2021 llvm-ar/llvm-ranlib: >bind -- liblincity_gui.a(Style.o): ./build/x86_64-pc-linux-gnu/optimize/src/gui/liblincity_gui.a(Style.o) >time -- liblincity_gui.a(Style.o): missing Looking at the archive, Style.o is there in both cases. I don't expect this to be fixed in ftjam (and it's scarcely used), so will apply a subpar workaround by exporting AR.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ccf326f3ecdad47e8d3f5ac73e555a8fe5e97a6 commit 7ccf326f3ecdad47e8d3f5ac73e555a8fe5e97a6 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2021-08-03 22:14:37 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2021-08-04 02:11:13 +0000 games-simulation/lincity-ng: EAPI 7->8, various fixes * Migrate to eautoreconf, autogen.sh jam stuff can be reduced only to a autoconf --trace call allowing eautoreconf to do its thing * Remove autotools_run_tool for InternalEclassUsage * Generate the previously skipped CREDITS file * Simplify install, PACKAGE_VERSION handles docdir (fine on prefix) * Add libxslt/gettext bdeps * Strip -O3 * tc-export CC, some calls disregard configure's carried value * export AR rather than use -sAR to handle bug #739376 Closes: https://bugs.gentoo.org/739376 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../files/lincity-ng-2.9_beta-flags.patch | 10 ++++ .../lincity-ng/lincity-ng-2.9_beta.ebuild | 54 ++++++++++++---------- 2 files changed, 39 insertions(+), 25 deletions(-)