Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791475 - games-emulation/snes9x-1.60 - /.../unix.cpp:764: undefined reference to NetPlay
Summary: games-emulation/snes9x-1.60 - /.../unix.cpp:764: undefined reference to NetPlay
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-05-22 14:07 UTC by Toralf Förster
Modified: 2022-03-05 07:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.47 KB, text/plain)
2021-05-22 14:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,74.33 KB, text/plain)
2021-05-22 14:07 UTC, Toralf Förster
Details
environment (environment,126.92 KB, text/plain)
2021-05-22 14:07 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.61 KB, application/x-bzip)
2021-05-22 14:07 UTC, Toralf Förster
Details
games-emulation:snes9x-1.60:20210522-140321.log (games-emulation:snes9x-1.60:20210522-140321.log,55.65 KB, text/plain)
2021-05-22 14:07 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.35 KB, application/x-bzip)
2021-05-22 14:07 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-05-22 14:07:42 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: unix.o: in function `S9xSyncSpeed()':
/var/tmp/portage/games-emulation/snes9x-1.60/work/snes9x-1.60/unix/unix.cpp:764: undefined reference to `NetPlay'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-emulation/snes9x-1.60/work/snes9x-1.60/unix/unix.cpp:776: undefined reference to `NetPlay'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-emulation/snes9x-1.60/work/snes9x-1.60/unix/unix.cpp:805: undefined reference to `NetPlay'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-emulation/snes9x-1.60/work/snes9x-1.60/unix/unix.cpp:807: undefined reference to `NetPlay'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-emulation/snes9x-1.60/work/snes9x-1.60/unix/unix.cpp:807: undefined reference to `NetPlay'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j2-20210521-105355

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat May 22 13:50:11 UTC 2021

emerge -qpvO games-emulation/snes9x
[ebuild  N    ] games-emulation/snes9x-1.60  USE="alsa gtk libretro multilib netplay opengl png xv -debug -oss -portaudio -pulseaudio -wayland -xinerama"
Comment 1 Toralf Förster gentoo-dev 2021-05-22 14:07:43 UTC
Created attachment 710283 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-22 14:07:45 UTC
Created attachment 710286 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-22 14:07:46 UTC
Created attachment 710289 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-22 14:07:48 UTC
Created attachment 710292 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-22 14:07:49 UTC
Created attachment 710295 [details]
games-emulation:snes9x-1.60:20210522-140321.log
Comment 6 Toralf Förster gentoo-dev 2021-05-22 14:07:50 UTC
Created attachment 710298 [details]
logs.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-03-05 07:00:07 UTC
The bug has been closed via the following commit(s):

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

commit 068201997e59cd47afce4fda21b12cd0841532ed
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-03-05 06:30:23 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-03-05 06:57:07 +0000

    games-emulation/snes9x: add 1.61
    
    Various changes, but for some notable ones:
    - IUSE=gtk->gui, now uses gtkmm
    - RESTRICT=test, has no tests but fails if -gui/-gtk (bug #737044)
    - clean libretro objects to fix USE="netplay libretro" (bug #791475)
    - respect flags for libretro, also don't use CXXFLAGS for CFLAGS
    - install libretro core in libretro/ like libretro-snes9x
    - tentatively remove noexecstack, not seeing QA notices
    - remove html docs, they are not relevant for users
    
    This bundles glslang/spriv-cross but upstream is concerned about API
    and seems likely this will break if unbundled, leaving alone for now.
    
    bug #766782 was caused by CFLAGS = $(CXXFLAGS) without := leading
    to -fno-rtti being used for CC and seemingly being refusedby distcc.
    1.61 corrected this.
    
    Closes: https://bugs.gentoo.org/737044
    Closes: https://bugs.gentoo.org/766782
    Closes: https://bugs.gentoo.org/791475
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/snes9x/Manifest                    |   3 +
 .../snes9x/files/snes9x-1.61-libretro-flags.patch  |  25 ++++
 games-emulation/snes9x/metadata.xml                |   3 +-
 games-emulation/snes9x/snes9x-1.61.ebuild          | 152 +++++++++++++++++++++
 4 files changed, 182 insertions(+), 1 deletion(-)