https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-emulation/pcsx2-1.7.3602 fails to compile (CLANG-STRICTER-SYSTEM). Discovered on: amd64 (internal ref: clang-stricter_tinderbox) NOTE: (CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types See also: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 https://wiki.gentoo.org/wiki/Modern_C_porting
Created attachment 840969 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: -- Could NOT find Vtune (missing: VTUNE_LIBRARIES VTUNE_INCLUDE_DIRS) /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_critical' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_end_critical' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_for_static_fini' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_for_static_init_4' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_for_static_init_4u' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/libSoundTouch.so: undefined reference to `__kmpc_fork_call' FAILED: pcsx2/pcsx2 clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
The linker references to /usr/lib64/libSoundTouch.so which is in another package. It looks like pcsx2 missing openpm library while linking with libSoundTouch. It can be pkgconf problem (if it is used) or cmake one as I understand.
(In reply to nE0sIghT from comment #3) > The linker references to /usr/lib64/libSoundTouch.so which is in another > package. > It looks like pcsx2 missing openpm library while linking with libSoundTouch. > It can be pkgconf problem (if it is used) or cmake one as I understand. Given happened with another package, I suspect the issue is with SoundTouch rather than pcsx2 when using clang16/strict (not that I looked into this).
On a side-note, pcsx2 no longer depends libsoundtouch outside of old stable 1.6.0.
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(-)