Summary: | games-emulation/pcsx2-1.7.5835 SPU2/defs.h:101:17: error: unknown type name 'FILE' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Duchesne <aether> |
Component: | Current packages | Assignee: | nE0sIghT <ykonotopov> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aether, games, ionen, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
games-emulation_pcsx2-1.7.5835 build log (gcc12 / musl)
pcsx2-1.7.5835-musl-header.patch |
Description
David Duchesne
2024-07-02 14:36:02 UTC
Created attachment 896803 [details]
games-emulation_pcsx2-1.7.5835 build log (gcc12 / musl)
While the previous reported bug (error: unknown type name 'cpu_set_t') : https://bugs.gentoo.org/935298 was fixed, a new bug appeared. Created attachment 896806 [details, diff]
pcsx2-1.7.5835-musl-header.patch
Built fine for me, albeit it was ~testing llvm-musl (libcxx) and with clang18. So maybe it fails with one of clang17, libstdc++, or with hardened somehow while combined with musl.
No time to test right now but if I take a guess I think the attached patch would work. Would be helpful if you could try it so I won't have to setup an environment to reproduce later.
(In reply to Ionen Wolkens from comment #3) > Created attachment 896806 [details, diff] [details, diff] > pcsx2-1.7.5835-musl-header.patch > > Built fine for me, albeit it was ~testing llvm-musl (libcxx) and with > clang18. So maybe it fails with one of clang17, libstdc++, or with hardened > somehow while combined with musl. > > No time to test right now but if I take a guess I think the attached patch > would work. Would be helpful if you could try it so I won't have to setup an > environment to reproduce later. oops, I pasted the wrong log (1.7.5913) instead of stable (1.7.5835); anyway both were failing with: error: unknown type name 'FILE' I applied your patch on 1.7.5835 & 1.7.5913, now it builds fine, problem solved! Thanks Ionen! (In reply to David Duchesne from comment #4) > I applied your patch on 1.7.5835 & 1.7.5913, now it builds fine, problem > solved! Thanks, guess I'll just go ahead and add it to the ebuilds then. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a977584dd98fc70320153189c12fdeb8e33ed432 commit a977584dd98fc70320153189c12fdeb8e33ed432 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-07-02 15:52:24 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-07-02 15:52:30 +0000 games-emulation/pcsx2: further fix build with musl Due to a missing header, likely only fails with some specific combination of clang+libstdc+musl or so. Closes: https://bugs.gentoo.org/935352 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> games-emulation/pcsx2/files/pcsx2-1.7.5835-musl-header.patch | 9 +++++++++ games-emulation/pcsx2/pcsx2-1.7.5835.ebuild | 1 + games-emulation/pcsx2/pcsx2-1.7.5913.ebuild | 1 + games-emulation/pcsx2/pcsx2-9999.ebuild | 1 + 4 files changed, 12 insertions(+) |