Summary: | emulators/libretro-bsnes: Fails to build with GCC 13: error: 'runtime_error' is not a member of 'std' | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Lorenzo Salvadore <salvadore> | ||||
Component: | Individual Port(s) | Assignee: | Lorenzo Salvadore <salvadore> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | beyert | ||||
Priority: | --- | Flags: | beyert:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 273397 | ||||||
Attachments: |
|
Description
Lorenzo Salvadore
2023-09-10 07:27:20 UTC
Thanks for the report, I will get some poudriere builds going, or also see if updating to a newer version addresses GCC 13 support. AFAIK, this emulator didn't consistently build on LLVM/Clang over the course of the past couple years, but I'll try their recommendations on porting to GCC 13 to see if that fixes the build. More logs: https://pkg-status.freebsd.org/package22/data/132amd64-default-foo/2023-11-10_07h48m13s/logs/errors/libretro-bsnes-20211218_1.log https://pkg-status.freebsd.org/package23/data/132i386-default-foo/2023-11-10_07h46m19s/logs/errors/libretro-bsnes-20211218_1.log A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=597ca5a01e3893880470afdd10a9cc4a0cdaa93a commit 597ca5a01e3893880470afdd10a9cc4a0cdaa93a Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2023-11-18 12:02:56 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2023-12-06 15:01:49 +0000 emulators/higan: Update to v110 Moreover, - Switch to USE_GITHUB, since the sources are now available only there. - Replace WWW with the GitHub repository link, since the site in WWW does not exist anymore. - Change default sound option from OSS to OPENAL: OSS does not work. - Do not require GCC anymore. PR: 273678 Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) emulators/higan/Makefile | 40 ++++++++++------------ emulators/higan/distinfo | 6 ++-- .../higan/files/patch-higan_GNUmakefile (gone) | 10 ------ .../patch-higan_target-tomoko_GNUmakefile (gone) | 15 -------- ...get-tomoko_presentation_presentation.cpp (gone) | 11 ------ ...h-higan_target-tomoko_program_medium.cpp (gone) | 11 ------ .../patch-higan_target-tomoko_tomoko.cpp (gone) | 23 ------------- .../patch-higan_target-tomoko_tomoko.hpp (gone) | 8 ----- ...n_target-tomoko_tools_cheat-database.cpp (gone) | 11 ------ .../higan/files/patch-icarus_core_core.cpp (gone) | 35 ------------------- .../higan/files/patch-icarus_icarus.cpp (gone) | 23 ------------- emulators/higan/pkg-plist | 35 ++++++++++--------- 12 files changed, 41 insertions(+), 187 deletions(-) (In reply to commit-hook from comment #3) I mistyped the PR number and this commit has little to do with this PR. Sorry. Created attachment 246927 [details]
0001-emulators-libretro-bsnes-Update-to-v115.a.20231101.patch
Comment on attachment 246927 [details]
0001-emulators-libretro-bsnes-Update-to-v115.a.20231101.patch
This patch fixes the issue and even removes the dependency on GCC.
Timothy: Do you approve as maintainer?
(In reply to Lorenzo Salvadore from comment #6) Yes, I strongly approve of such a patch, I'm sorry I didn't do the upgrade sooner, as I suspected that I could get rid of the GCC dependency with it, but thank you for the patch and I approve. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=da0deb2481b0bd75e4fce25be43f8f2fa6064b20 commit da0deb2481b0bd75e4fce25be43f8f2fa6064b20 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2023-12-09 12:06:43 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2023-12-10 10:57:09 +0000 emulators/emulationstation: Update to v2.11.2 Changes: https://github.com/RetroPie/EmulationStation/compare/v2.9.4...v2.11.2 PR: 273678 Approved by: Timothy Beyer <beyert@cs.ucr.edu> (maintainer) emulators/emulationstation/Makefile | 3 +-- emulators/emulationstation/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) Committed, thanks Timothy. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6cc273791f4566897fc6716c5dad17eee63aacff commit 6cc273791f4566897fc6716c5dad17eee63aacff Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2023-12-10 11:17:29 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2023-12-10 11:20:49 +0000 emulators/emulationstation: Revert last commit This reverts commit da0deb2481b0bd75e4fce25be43f8f2fa6064b20. I messed up with two different commits. This was not the commit approved by Timothy and needs more testing. PR: 273678 emulators/emulationstation/Makefile | 3 ++- emulators/emulationstation/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e09a7da253df4de0fad5d5547f37a00b5b5679f4 commit e09a7da253df4de0fad5d5547f37a00b5b5679f4 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2023-12-06 15:45:15 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2023-12-10 11:21:09 +0000 emulators/libretro-bsnes: Update to v115.a.20231101 Also remove dependency on GCC ports: this makes it easier to update GCC_DEFAULT. Moreover, the port now builds with lang/gcc13. Set PORTEPOCH to use a version scheme more consistent with https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-master_sites-github PR: 273678 Approved by: Timothy Beyer <beyert@cs.ucr.edu> emulators/libretro-bsnes/Makefile | 12 ++++++------ emulators/libretro-bsnes/distinfo | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f60288f8df26391a6d107ddbc11b6590dfa0ee00 commit f60288f8df26391a6d107ddbc11b6590dfa0ee00 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2023-12-14 21:28:25 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2023-12-14 21:34:44 +0000 emulators/libretro-bsnes: Remove dependency on GCC This time for real: the precedent commit on this port introduced USE_GCC=13 by mistake. PR: 273678 Reported by: gerald emulators/libretro-bsnes/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |