Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737688 - games-arcade/rockdodger-0.6.0a-r1 : main.c:(.text+<snip>): undefined reference to SDL_NumJoysticks
Summary: games-arcade/rockdodger-0.6.0a-r1 : main.c:(.text+<snip>): undefined referenc...
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: 2020-08-17 17:11 UTC by Toralf Förster
Modified: 2021-06-01 23:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.34 KB, text/plain)
2020-08-17 17:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,119.38 KB, text/plain)
2020-08-17 17:11 UTC, Toralf Förster
Details
environment (environment,101.08 KB, text/plain)
2020-08-17 17:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,28.88 KB, application/x-bzip)
2020-08-17 17:11 UTC, Toralf Förster
Details
games-arcade:rockdodger-0.6.0a-r1:20200817-055521.log (games-arcade:rockdodger-0.6.0a-r1:20200817-055521.log,4.98 KB, text/plain)
2020-08-17 17:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.65 KB, application/x-bzip)
2020-08-17 17:11 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 2020-08-17 17:11:42 UTC
x86_64-pc-linux-gnu-gcc -o rockdodger -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 SFont.o sound.o main.o `sdl-config --libs` -lSDL_image -lSDL_mixer -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o: in function `init':
main.c:(.text+0x2002): undefined reference to `SDL_NumJoysticks'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.c:(.text+0x2be3): undefined reference to `SDL_JoystickOpen'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o: in function `gameloop':
main.c:(.text+0x4e7a): undefined reference to `SDL_JoystickGetAxis'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20200814-212555

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.45.2 *
The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Aug 17 05:05:45 AM UTC 2020
/var/db/repos/libressl	Mon Aug 10 09:13:35 AM UTC 2020

emerge -qpvO games-arcade/rockdodger
[ebuild  N    ] games-arcade/rockdodger-0.6.0a-r1
Comment 1 Toralf Förster gentoo-dev 2020-08-17 17:11:44 UTC
Created attachment 655136 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-17 17:11:46 UTC
Created attachment 655138 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-08-17 17:11:48 UTC
Created attachment 655140 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-08-17 17:11:49 UTC
Created attachment 655142 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-08-17 17:11:50 UTC
Created attachment 655144 [details]
games-arcade:rockdodger-0.6.0a-r1:20200817-055521.log
Comment 6 Toralf Förster gentoo-dev 2020-08-17 17:11:52 UTC
Created attachment 655146 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-06-01 23:44:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482c2764535184fffb3750c35c1f56b984d0d9f1

commit 482c2764535184fffb3750c35c1f56b984d0d9f1
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-06-01 12:01:26 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-06-01 23:19:15 +0000

    games-arcade/rockdodger: add 1.1.4
    
    - make game usable (broken since games.eclass--, wrong assets path)
    - make executable setgid gamestat (...was setgid root)
    - removed patches, obsolete/upstreamed
    - prefix support
    - install package's .desktop, bigger icon, and man page
    - added missing [joystick] (bug #737688), and others to handle assets
    - seds removed (bug #711110), includes audio sed given can't
      reproduce and upstream still left it at 512 in 2020
    
    Closes: https://bugs.gentoo.org/680584
    Closes: https://bugs.gentoo.org/711110
    Closes: https://bugs.gentoo.org/737688
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-arcade/rockdodger/Manifest                |  1 +
 games-arcade/rockdodger/rockdodger-1.1.4.ebuild | 50 +++++++++++++++++++++++++
 2 files changed, 51 insertions(+)