Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650294 - games-fps/alienarena-20130827 : r_iqm.c:(.text+<snip>): undefined reference to IQM_DrawVBO
Summary: games-fps/alienarena-20130827 : r_iqm.c:(.text+<snip>): undefined reference t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-12 16:55 UTC by Toralf Förster
Modified: 2020-11-15 20:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.59 KB, text/plain)
2018-03-12 16:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,133.87 KB, text/plain)
2018-03-12 16:56 UTC, Toralf Förster
Details
environment (environment,105.14 KB, text/plain)
2018-03-12 16:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.60 KB, application/x-bzip)
2018-03-12 16:56 UTC, Toralf Förster
Details
games-fps:alienarena-20130827:20180312-090551.log (games-fps:alienarena-20130827:20180312-090551.log,106.88 KB, text/plain)
2018-03-12 16:56 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.34 KB, application/x-bzip)
2018-03-12 16:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.20 KB, application/x-bzip)
2018-03-12 16:56 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-03-12 16:55:54 UTC
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.
Comment 1 Toralf Förster gentoo-dev 2018-03-12 16:55:57 UTC
Created attachment 523580 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-12 16:56:00 UTC
Created attachment 523582 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-03-12 16:56:03 UTC
Created attachment 523584 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-03-12 16:56:06 UTC
Created attachment 523586 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-03-12 16:56:09 UTC
Created attachment 523588 [details]
games-fps:alienarena-20130827:20180312-090551.log
Comment 6 Toralf Förster gentoo-dev 2018-03-12 16:56:12 UTC
Created attachment 523590 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-03-12 16:56:15 UTC
Created attachment 523592 [details]
temp.tbz2
Comment 8 Adam Wenocur 2019-02-03 21:29:26 UTC
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.
Comment 9 Larry the Git Cow gentoo-dev 2020-11-15 20:03:34 UTC
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(+)