Package Details: shadps4 0.8.0-1

Git Clone URL: https://aur.archlinux.org/shadps4.git (read-only, click to copy)
Package Base: shadps4
Description: Sony PlayStation 4 emulator
Upstream URL: https://shadps4.net/
Licenses: GPL-2.0-or-later
Conflicts: shadps4-git
Submitter: username227
Maintainer: username227
Last Packager: username227
Votes: 0
Popularity: 0.000000
First Submitted: 2024-12-03 16:46 (UTC)
Last Updated: 2025-04-23 11:26 (UTC)

Dependencies (43)

Required by (0)

Sources (35)

Latest Comments

username227 commented on 2025-05-02 18:17 (UTC)

Hi gyscos,

thanks for reporting. I can confirm. This is not a package problem but an upstream problem, I believe.

I admit that I usually switch to the git package after an update to keep track of build failures and fixes, but I unfortunately neglected to do that after the latest build; if I had some idea of which upstream commit fixed the problem I MIGHT be able to figure something out but no guarantees. Of course, once they release next version I will update and problem should be solved. Meanwhile if anyone has an idea how to fix this in the meantime please let me know. thanks.

gyscos commented on 2025-05-02 15:32 (UTC) (edited on 2025-05-02 15:42 (UTC) by gyscos)

Hi, and thanks for maintaining this package!

I'm getting compilation errors recently (on clang 19.1.7-2 / gcc 15.1.1):

FAILED: CMakeFiles/shadps4.dir/src/core/devices/urandom_device.cpp.o
/usr/lib/ccache/bin/clang++ -DBOOST_ASIO_STANDALONE -DENABLE_DISCORD_RPC -DENABLE_QT_GUI -DFMT_SHARED -DGLSLANG_IS_SHARED_LIBRARY=1 -DIMGUI_USER_CONFIG=\"imgui/imgui_config.h\" -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DTRACY_NO_CALLSTACK -DTRACY_NO_CODE_TRANSFER -DTRACY_NO_CONTEXT_SWITCH -DTRACY_NO_CRASH_HANDLER -DTRACY_NO_FRAME_IMAGE -DTRACY_NO_SAMPLING -DTRACY_NO_SYSTEM_TRACING -DTRACY_ONLY_LOCALHOST -DTRACY_ON_DEMAND -DZYDIS_STATIC_BUILD -I/run/user/60039/paru/clone/shadps4/src/build/shadps4_autogen/include -I/run/user/60039/paru/clone/shadps4/src/shadPS4/src -I/run/user/60039/paru/clone/shadps4/src/shadPS4/Resources -I/run/user/60039/paru/clone/shadps4/src/shadPS4 -I/run/user/60039/paru/clone/shadps4/src/build/src/video_core/host_shaders/include -I/run/user/60039/paru/clone/shadps4/src/build/src/imgui/renderer/generated_fonts -I/run/user/60039/paru/clone/shadps4/src/build/_cmrc/include -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib/qt6/mkspecs/linux-g++ -isystem /usr/include/xbyak -isystem /run/user/60039/paru/clone/shadps4/src/shadPS4/externals/tracy/public -isystem /run/user/60039/paru/clone/shadps4/src/shadPS4/externals/dear_imgui -isystem/run/user/60039/paru/clone/shadps4/src/shadPS4/externals/gcn/include -isystem /usr/include/half -isystem /run/user/60039/paru/clone/shadps4/src/shadPS4/externals/LibAtrac9/C/src -isystem /run/user/60039/paru/clone/shadps4/src/shadPS4/externals/sirit/src/../include -isystem /run/user/60039/paru/clone/shadps4/src/shadPS4/externals/sirit/externals/SPIRV-Headers/include -isystem /run/user/60039/paru/clone/shadps4/src/shadPS4/externals/zydis/include -isystem /run/user/60039/paru/clone/shadps4/src/build/externals/zydis -isystem /run/user/60039/paru/clone/shadps4/src/shadPS4/externals/stb -isystem /usr/include/libusb-1.0 -isystem /usr/include/qt6/QtWidgets -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtConcurrent -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtMultimedia -isystem /run/user/60039/paru/clone/shadps4/src/shadPS4/externals/discord-rpc/include -march=x86-64 -mtune=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -DNDEBUG -std=gnu++23 -fPIE -march=btver2 -mtune=generic -mno-sse4a -DHAVE_PTHREAD_MUTEX_TIMEDLOCK -fno-direct-access-external-data -MD -MT CMakeFiles/shadps4.dir/src/core/devices/urandom_device.cpp.o -MF CMakeFiles/shadps4.dir/src/core/devices/urandom_device.cpp.o.d -o CMakeFiles/shadps4.dir/src/core/devices/urandom_device.cpp.o -c /run/user/60039/paru/clone/shadps4/src/shadPS4/src/core/devices/urandom_device.cpp
/run/user/60039/paru/clone/shadps4/src/shadPS4/src/core/devices/urandom_device.cpp:11:16: error: no member named 'time' in namespace 'std'; did you mean simply 'time'?
   11 |     std::srand(std::time(nullptr));
      |                ^~~~~~~~~
      |                time
/usr/include/time.h:76:15: note: 'time' declared here
   76 | extern time_t time (time_t *__timer) __THROW;
      |               ^
1 error generated.