No, it's something package related. I have tried building three ways. If I follow the instructions upstream, it builds perfectly. I also have my own pkgbuild, and with my pkgbuild it also builds fine, but i'm getting an error on execution which must be package related but haven't figured out what the problem is. And the third way is your pkgbuild which doesn't build at all. Here is add'l info:
In file included from /home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/video_core/amdgpu/liverpool.h:25,
from /home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/video_core/renderer_vulkan/vk_presenter.h:8,
from /home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/imgui/renderer/imgui_core.cpp:17:
/home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/video_core/amdgpu/resource.h: In function ‘AmdGpu::CompMapping AmdGpu::RemapComponents(DataFormat, CompMapping)’:
/home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/video_core/amdgpu/resource.h:88:9: error: could not convert ‘{components.AmdGpu::CompMapping::b, components.AmdGpu::CompMapping::g, components.AmdGpu::CompMapping::r, components.AmdGpu::CompMapping::a}’ from ‘<brace-enclosed initializer list>’ to ‘AmdGpu::CompMapping’
88 | };
| ^
| |
| <brace-enclosed initializer list>
/home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/video_core/amdgpu/resource.h:96:9: error: could not convert ‘{components.AmdGpu::CompMapping::a, components.AmdGpu::CompMapping::b, components.AmdGpu::CompMapping::g, components.AmdGpu::CompMapping::r}’ from ‘<brace-enclosed initializer list>’ to ‘AmdGpu::CompMapping’
96 | };
| ^
| |
| <brace-enclosed initializer list>
/home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/video_core/amdgpu/liverpool.h: At global scope:
/home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/video_core/amdgpu/liverpool.h:892:34: error: declaration of ‘AmdGpu::DataFormat AmdGpu::Liverpool::ColorBuffer::DataFormat() const’ changes meaning of ‘DataFormat’ [-Wchanges-meaning]
892 | [[nodiscard]] DataFormat DataFormat() const {
| ^
~
/home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/video_core/amdgpu/liverpool.h:892:23: note: used here to mean ‘enum class AmdGpu::DataFormat’
892 | [[nodiscard]] DataFormat DataFormat() const {
| ^~
In file included from /home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/video_core/amdgpu/liverpool.h:23:
/home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/video_core/amdgpu/types.h:117:12: note: declared here
117 | enum class DataFormat : u32 {
Search Criteria
Package Details: shadps4-git 0.5.0.r155.g4719d322-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/shadps4-git.git (read-only, click to copy) |
---|---|
Package Base: | shadps4-git |
Description: | Sony PlayStation 4 emulator |
Upstream URL: | https://shadps4.net/ |
Keywords: | console emulation emulator game playstation sony |
Licenses: | GPL-2.0-or-later |
Conflicts: | shadps4 |
Provides: | shadps4 |
Submitter: | abouvier |
Maintainer: | abouvier |
Last Packager: | abouvier |
Votes: | 16 |
Popularity: | 4.66 |
First Submitted: | 2024-06-27 16:10 (UTC) |
Last Updated: | 2025-01-13 00:38 (UTC) |
Dependencies (43)
- crypto++ (crypto++-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR)
- glslang (glslang-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libavcodec.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg, ffmpeg4.4)
- libavformat.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg, ffmpeg4.4)
- libavutil.so (libavutil-52AUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg, ffmpeg4.4)
- libfmt.so (fmt-gitAUR, fmt9AUR, fmt10AUR, fmt)
- libpng16.so (libpng-gitAUR, libpng-apngAUR, lib32-libpng, libpng)
- libswresample.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg, ffmpeg4.4)
- libswscale.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg, ffmpeg4.4)
- libxxhash.so (xxhash)
- libz.so (zlib-gitAUR, lib32-zlib, zlib, zlib-ng-compat)
- pugixml (pugixml-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-multimedia
- sdl3AUR (sdl3-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- Show 23 more dependencies...
Required by (0)
Sources (7)
username227 commented on 2024-12-31 15:20 (UTC)
C0rn3j commented on 2024-12-31 15:15 (UTC)
That's a warning, the build error is above that and should have nothing to do with this package, report it upstream.
username227 commented on 2024-12-31 15:03 (UTC) (edited on 2024-12-31 15:03 (UTC) by username227)
getting build error:
make[2]: *** [CMakeFiles/shadps4.dir/build.make:270: CMakeFiles/shadps4.dir/src/imgui/renderer/imgui_core.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/qt_gui/settings_dialog.cpp: In constructor ‘SettingsDialog::SettingsDialog(std::span<const QString>, std::shared_ptr<CompatibilityInfoClass>, QWidget*)’:
/home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/qt_gui/settings_dialog.cpp:153:62: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
153 | connect(ui->enableCompatibilityCheckBox, &QCheckBox::stateChanged, this, this {
|
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/qt_gui/cheats_patches.h:7,
from /home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/qt_gui/gui_context_menus.h:13,
from /home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/qt_gui/game_list_frame.h:16,
from /home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/qt_gui/elf_viewer.h:9,
from /home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/qt_gui/main_window.h:16,
from /home/jerry/.cache/paru/clone/shadps4-git/src/shadps4/src/qt_gui/settings_dialog.cpp:21:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
|
make[1]: *** [CMakeFiles/Makefile2:350: CMakeFiles/shadps4.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'shadps4-git-0.5.0.r22.g333f35ef2-1':
error: packages failed to build: shadps4-git-0.5.0.r22.g333f35ef2-1
C0rn3j commented on 2024-12-25 17:24 (UTC)
@Dlay the package has sdl3 as a dependency, I suggest giving https://wiki.archlinux.org/title/Arch_User_Repository a read
Dlay commented on 2024-12-25 00:58 (UTC) (edited on 2024-12-25 01:02 (UTC) by Dlay)
Missing dependencies==> -> sdl3>=1:3.1.3
latest garuda linux with all updates
C0rn3j commented on 2024-12-10 21:38 (UTC)
My fix was merged shortly after that upstream, it should build again.
username227 commented on 2024-12-10 19:50 (UTC)
package has not been buiding for me. Looks like it, at a minimum needs the submodule magic_enum added. But it was still getting stuck for me at 78%. I solved by building with Ninja and clang/clang++ instead of the default.
C0rn3j commented on 2024-12-08 20:51 (UTC) (edited on 2024-12-08 20:56 (UTC) by C0rn3j)
Needs the reverse patch here https://github.com/shadps4-emu/shadPS4/issues/1045#issuecomment-2526333749 until https://github.com/shadps4-emu/shadPS4/issues/1704 is resolved
username227 commented on 2024-11-22 14:02 (UTC)
There are a large # of submodule errors. .gitmodules was updated, and the maintainer has to update the package.
Pinned Comments
abouvier commented on 2024-10-10 22:47 (UTC) (edited on 2024-10-13 04:36 (UTC) by abouvier)
Data previously stored in
~/.local/share/shadps4/user
are now searched in~/.local/share/shadPS4