Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 809020 - games-emulation/gnuboy-1.0.3-r3 - sdl.c:(.text+<snip>): undefined reference to SDL_NumJoysticks
Summary: games-emulation/gnuboy-1.0.3-r3 - sdl.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: 2021-08-19 07:17 UTC by Toralf Förster
Modified: 2021-08-19 07:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.45 KB, text/plain)
2021-08-19 07:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,252.40 KB, text/plain)
2021-08-19 07:17 UTC, Toralf Förster
Details
environment (environment,67.64 KB, text/plain)
2021-08-19 07:17 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,33.61 KB, application/x-bzip)
2021-08-19 07:17 UTC, Toralf Förster
Details
games-emulation:gnuboy-1.0.3-r3:20210819-071605.log (games-emulation:gnuboy-1.0.3-r3:20210819-071605.log,28.20 KB, text/plain)
2021-08-19 07:17 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.57 KB, application/x-bzip)
2021-08-19 07:17 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.65 KB, application/x-bzip)
2021-08-19 07:17 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 2021-08-19 07:17:36 UTC
x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wno-implicit -Wno-long-long -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 lcd.o refresh.o lcdc.o palette.o cpu.o mem.o rtc.o hw.o sound.o events.o keytable.o loader.o save.o debug.o emu.o main.o rccmds.o rckeys.o rcvars.o rcfile.o exports.o split.o path.o inflate.o sys/nix/nix.o  sys/sdl/sdl.o sys/sdl/keymap.o -o sdlgnuboy -lSDL -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sys/sdl/sdl.o: in function `vid_init':
sdl.c:(.text+0x235): undefined reference to `SDL_NumJoysticks'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sdl.c:(.text+0x25a): undefined reference to `SDL_JoystickOpen'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sdl.c:(.text+0x269): undefined reference to `SDL_JoystickEventState'
collect2: error: ld returned 1 exit status
make: *** [Makefile:47: sdlgnuboy] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20210817-091447

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit db95d09ae3ea7b2e793eefbc147ac82e4ff74701
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Aug 19 06:07:01 2021 +0000

    2021-08-19 06:06:59 UTC

emerge -qpvO games-emulation/gnuboy
[ebuild  N    ] games-emulation/gnuboy-1.0.3-r3  USE="sdl -X"
Comment 1 Toralf Förster gentoo-dev 2021-08-19 07:17:37 UTC
Created attachment 734128 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-19 07:17:39 UTC
Created attachment 734131 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-19 07:17:40 UTC
Created attachment 734134 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-19 07:17:41 UTC
Created attachment 734137 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-19 07:17:43 UTC
Created attachment 734140 [details]
games-emulation:gnuboy-1.0.3-r3:20210819-071605.log
Comment 6 Toralf Förster gentoo-dev 2021-08-19 07:17:44 UTC
Created attachment 734143 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-19 07:17:45 UTC
Created attachment 734146 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-08-19 07:48:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000a999d456d104ab86080f300ced8ce927db87d

commit 000a999d456d104ab86080f300ced8ce927db87d
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-08-19 07:38:49 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-08-19 07:47:06 +0000

    games-emulation/gnuboy: EAPI 7->8, tidy, actually add [joystick]
    
    Also [sound,video] as it uses both, and libX11
    
    Fixes: 91aff97f2dac6a7897dff1da831d3d9243955307
    Closes: https://bugs.gentoo.org/809020
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 ...uboy-1.0.3-r3.ebuild => gnuboy-1.0.3-r4.ebuild} | 42 +++++++++++-----------
 1 file changed, 20 insertions(+), 22 deletions(-)