Summary: | games-simulation/lincity-ng-2.9_beta fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2020-08-28 05:40:10 UTC
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(-) |