Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 809020

Summary: games-emulation/gnuboy-1.0.3-r3 - sdl.c:(.text+<snip>): undefined reference to SDL_NumJoysticks
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
games-emulation:gnuboy-1.0.3-r3:20210819-071605.log
logs.tar.bz2
temp.tar.bz2

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(-)