Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733446 - games-emulation/fbzx-3.0.0-r1 : llscreen.cpp:(.text+<snip>): undefined reference to SDL_NumJoysticks
Summary: games-emulation/fbzx-3.0.0-r1 : llscreen.cpp:(.text+<snip>): undefined refere...
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-07-21 17:41 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.61 KB, text/plain)
2020-07-21 17:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,130.85 KB, text/plain)
2020-07-21 17:42 UTC, Toralf Förster
Details
environment (environment,26.07 KB, text/plain)
2020-07-21 17:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.16 KB, application/x-bzip)
2020-07-21 17:42 UTC, Toralf Förster
Details
games-emulation:fbzx-3.0.0-r1:20200721-162523.log (games-emulation:fbzx-3.0.0-r1:20200721-162523.log,13.95 KB, text/plain)
2020-07-21 17:42 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.41 KB, application/x-bzip)
2020-07-21 17:42 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-07-21 17:41:57 UTC
c++ -o fbzx cargador.o cmdline.o computer.o emulator.o keyboard.o llscreen.o llsound.o menus.o microdrive.o osd.o screen.o signals.o spk_ay.o tape.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 `pkg-config --libs sdl libpulse-simple alsa`
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: llscreen.o: in function `LLScreen::LLScreen(short, short, unsigned char, bool, bool, bool)':
llscreen.cpp:(.text+0x224): undefined reference to `SDL_NumJoysticks'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: llscreen.cpp:(.text+0x231): undefined reference to `SDL_NumJoysticks'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: llscreen.cpp:(.text+0x240): undefined reference to `SDL_JoystickOpen'
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-libressl-20200718-131556

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
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-bin-1.45.0
  [2]   rust-1.45.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Jul 21 04:05:30 PM UTC 2020
/var/db/repos/libressl	Thu Jul 16 08:11:39 AM UTC 2020

emerge -qpvO games-emulation/fbzx
[ebuild  N    ] games-emulation/fbzx-3.0.0-r1
Comment 1 Toralf Förster gentoo-dev 2020-07-21 17:42:01 UTC
Created attachment 650114 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-21 17:42:04 UTC
Created attachment 650116 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-07-21 17:42:07 UTC
Created attachment 650118 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-07-21 17:42:10 UTC
Created attachment 650120 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-07-21 17:42:12 UTC
Created attachment 650122 [details]
games-emulation:fbzx-3.0.0-r1:20200721-162523.log
Comment 6 Toralf Förster gentoo-dev 2020-07-21 17:42:15 UTC
Created attachment 650124 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-06-01 23:44:27 UTC
The bug has been closed via the following commit(s):

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

commit b1c9ee73ff01e5be604733e6a49679d3afb1cb1d
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-06-01 12:00:08 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-06-01 23:37:55 +0000

    games-emulation/fbzx: add 4.6.0, EAPI-7
    
    - update homepage/src_uri
    - libsdl -> libsdl2
    - add missing [joystick] (bug #733446)
    - add prefix to runtime datadir
    - use provided .desktop file
    - rebased makefile patch with method to select alsa/pulseaudio
      rather than always require both (sources have defines already)
    
    gcc11 bug #789597 fixed upstream since v4.1.0 ('byte/word' removed)
    
    Closes: https://bugs.gentoo.org/733446
    Closes: https://bugs.gentoo.org/789597
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/fbzx/Manifest                      |  1 +
 games-emulation/fbzx/fbzx-4.6.0.ebuild             | 53 +++++++++++++++++++
 .../fbzx/files/fbzx-4.6.0-joystick-invert.patch    | 32 ++++++++++++
 .../fbzx/files/fbzx-4.6.0-makefile.patch           | 60 ++++++++++++++++++++++
 4 files changed, 146 insertions(+)