Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922149 - games-emulation/pcsx2-1.6.0 fails to compile (GCC 13 error: ‘runtime_error’ is not a member of ‘std’)
Summary: games-emulation/pcsx2-1.6.0 fails to compile (GCC 13 error: ‘runtime_error’ i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: nE0sIghT
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-15 04:00 UTC by Fortich
Modified: 2024-01-15 07:29 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fortich 2024-01-15 04:00:33 UTC
Issue: games-emulation/pcsx2-1.7.3602 fails to compile.
Discovered on: amd64
Errors:
var/tmp/portage/games-emulation/pcsx2-1.6.0-r3/work/pcsx2-1.6.0/plugins/cdvdGigaherz/src/Unix/LinuxIOCtlSrc.cpp: In constructor ‘IOCtlSrc::IOCtlSrc(std::string)’:
/var/tmp/portage/games-emulation/pcsx2-1.6.0-r3/work/pcsx2-1.6.0/plugins/cdvdGigaherz/src/Unix/LinuxIOCtlSrc.cpp:31:20: error: ‘runtime_error’ is not a member of ‘std’
   31 |         throw std::runtime_error(" * CDVD: Error opening source.\n");
      |                    ^~~~~~~~~~~~~
/var/tmp/portage/games-emulation/pcsx2-1.6.0-r3/work/pcsx2-1.6.0/plugins/cdvdGigaherz/src/Unix/LinuxIOCtlSrc.cpp:26:1: note: ‘std::runtime_error’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
   25 | #include <cstring>
  +++ |+#include <stdexcept>
   26 |
Comment 1 Ionen Wolkens gentoo-dev 2024-01-15 04:21:41 UTC
1.7.3602 been gone from the tree since 2022, looking at your error that's pcsx2-1.6.0.

On that note, I'd recommend to use the ~testing version (current 1.7.5312).

Wonder if I should just go ahead and stable it then drop 1.6.0. It's nightly releases so they felt "not right" to replace the upstream stable 1.6.0 but, if 1.6.0 is starting to fall apart with no new releases in sight, I'm not sure I want to bother fixing it.
Comment 2 Ionen Wolkens gentoo-dev 2024-01-15 04:34:26 UTC
I'll try a 1.6.0 build to see if it fails for me too, a missing include wouldn't be  a big problem but still may opt to kill it regardless.

On a side-note, please include full build.log and emerge --info when reporting bugs -- albeit don't think I'll really need it here.
Comment 3 Larry the Git Cow gentoo-dev 2024-01-15 07:29:58 UTC
The bug has been closed via the following commit(s):

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

commit c75f09735b89ba465ad543ec885718a77566643a
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-01-15 04:58:25 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-01-15 07:26:53 +0000

    games-emulation/pcsx2: drop 1.6.0-r3
    
    See bug #922149 for what motivated dropping it even though
    it's the upstream stable release.
    
    Note that this drops the x86 keyword, upstream does not
    support that anymore (only amd64+sse4.1 is supported).
    
    wrt bug #884825, there is no pcsx2 version left using system
    soundtouch.
    
    Closes: https://bugs.gentoo.org/884825
    Closes: https://bugs.gentoo.org/922149
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/pcsx2/Manifest                     |   1 -
 .../pcsx2/files/pcsx2-1.6.0-disable-setcap.patch   |  49 ----------
 .../pcsx2/files/pcsx2-1.6.0-wx-config.patch        |  20 ----
 games-emulation/pcsx2/pcsx2-1.6.0-r3.ebuild        | 105 ---------------------
 profiles/arch/amd64/no-multilib/package.mask       |   1 -
 5 files changed, 176 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 1e34079bf42aa85ad741402a6e4bbf5aca644440
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-01-15 04:56:22 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-01-15 07:26:53 +0000

    games-emulation/pcsx2: stabilize 1.7.5312 for amd64
    
    1.6.0 is the current "stable" release upstream, but is:
    * nearly 4 years old (lacks a *lot* of game fixes)
    * 32bit-only (needs multilib on amd64)
    * starting to hit issues like bug #922149 (which took a long
      time to be reported, indicating it likely has rather few users)
    * has some utf8 locale issues last time I tried it
    * ebuild is bit dated and needs update for newer wxgtk
    * not really getting used/tested by its gentoo maintainers
      with no real motivation to fix problems
    
    The 64bit Qt6 1.7.x may still be kind of WIP but has matured a fair
    amount and 1.6.0 does not seem to offer much advantages over it with
    the exception of working on older machines (x86, or anything lacking
    sse4.1).
    
    An upstream "real" release will likely take a long time still, and
    the situation for 1.6.0 just get worse meanwhile.
    
    So, opting to stable 1.7.x even though it's "nightly" arbitrary
    releases and drop 1.6.0 given it's broken in current state.
    
    Bug: https://bugs.gentoo.org/922149
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/pcsx2/pcsx2-1.7.5312.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)