ref_gl/alienarena-r_iqm.o: In function `IQM_DrawFrame': r_iqm.c:(.text+0x65c1): undefined reference to `IQM_DrawVBO' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:1680: alienarena] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-fps/alienarena-20130827/work/alienarena-7.66/source' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_libressl_20180309-191749 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.7.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv games-fps/alienarena [ebuild N ] games-fps/alienarena-20130827 USE="dga vidmode zlib -dedicated" !!! The following installed packages are masked: - x11-base/xorg-server-1.19.99.901-r1::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Sebastian Pipping <sping@gentoo.org> (11 Mar 2018) # Breaks XFCE, 1.19.6 was fine (in that regard). Bug #650228 For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
Created attachment 523580 [details] emerge-info.txt
Created attachment 523582 [details] emerge-history.txt
Created attachment 523584 [details] environment
Created attachment 523586 [details] etc.portage.tbz2
Created attachment 523588 [details] games-fps:alienarena-20130827:20180312-090551.log
Created attachment 523590 [details] logs.tbz2
Created attachment 523592 [details] temp.tbz2
I managed to fix this by adding the Debian patch for GCC 7. For some reason GCC 7 isn't finding the symbol unless it's exported. The patch simply removes an “inline” keyword from line 1263 of r_iqm.c If you'd like, I could share the overlay I used to apply the patch, but that might be more trouble than a maintainer just adding that one-liner.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1f2b8d00cdd00ccc4740e2ab19777265078819 commit 4a1f2b8d00cdd00ccc4740e2ab19777265078819 Author: Alexey Sokolov <sokolov@google.com> AuthorDate: 2020-11-15 20:02:44 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-11-15 20:02:44 +0000 games-fps/alienarena: fix version to be 7.66 Fix build: * on prefix * without native-symlinks * with gcc 10 Closes: https://bugs.gentoo.org/650294 Closes: https://bugs.gentoo.org/707814 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: David Seifert <soap@gentoo.org> games-fps/alienarena/alienarena-7.66.ebuild | 71 ++++++++++++++++++++++ .../files/alienarena-7.66-C99-inline.patch | 25 ++++++++ .../alienarena/files/alienarena-7.66-ar.patch | 13 ++++ .../alienarena/files/alienarena-7.66-format.patch | 11 ++++ 4 files changed, 120 insertions(+)