Package Details: rpcs3-git 0.0.37.r17986.68d2573344-1

Git Clone URL: https://aur.archlinux.org/rpcs3-git.git (read-only, click to copy)
Package Base: rpcs3-git
Description: A Sony PlayStation 3 emulator
Upstream URL: https://github.com/RPCS3/rpcs3
Licenses: GPL-2.0-only
Conflicts: rpcs3
Provides: rpcs3
Submitter: alucryd
Maintainer: hcorion
Last Packager: hcorion
Votes: 88
Popularity: 1.31
First Submitted: 2014-08-14 11:04 (UTC)
Last Updated: 2025-05-31 21:40 (UTC)

Latest Comments

1 2 3 4 5 6 .. 38 Next › Last »

Engdyn commented on 2025-10-21 13:11 (UTC)

My upstream PR got merged a few minutes ago. Building works now again without needing patches

agapito commented on 2025-10-16 08:24 (UTC)

It compiles fine here after applying this patch: https://github.com/RPCS3/rpcs3/commit/8636a5c80c3966b13c8a05e27051855400a33ebb.patch

It also compiles with llvm 21 from testing and you can use ffmpeg system libraries: -DUSE_SYSTEM_FFMPEG=ON \

jorgicio commented on 2025-10-11 22:27 (UTC) (edited on 2025-10-11 22:29 (UTC) by jorgicio)

I found this issue in Github (https://github.com/rpcs3/rpcs3/issues/17570), so I created a patch to fix this issue when building with Qt 6.10.

diff --color -Naur rpcs3/3rdparty/qt6.cmake rpcs3b/3rdparty/qt6.cmake
--- rpcs3/3rdparty/qt6.cmake    2025-10-11 19:10:12.690342483 -0300
+++ rpcs3b/3rdparty/qt6.cmake   2025-10-11 19:12:49.731064692 -0300
@@ -2,16 +2,16 @@

 set(QT_MIN_VER 6.7.0)

-find_package(Qt6 ${QT_MIN_VER} CONFIG COMPONENTS Widgets Concurrent Multimedia MultimediaWidgets Svg SvgWidgets)
+find_package(Qt6 ${QT_MIN_VER} CONFIG COMPONENTS Widgets Concurrent Multimedia MultimediaWidgets Svg SvgWidgets GuiPrivate)
 if(WIN32)
-   target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets)
+   target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets Qt6::GuiPrivate)
 else()
    find_package(Qt6 ${QT_MIN_VER} COMPONENTS DBus Gui)
if(Qt6DBus_FOUND)
-       target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::DBus Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets)
+       target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::DBus Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets Qt6::GuiPrivate)
        target_compile_definitions(3rdparty_qt6 INTERFACE -DHAVE_QTDBUS)
    else()
-       target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets)
+       target_link_libraries(3rdparty_qt6 INTERFACE Qt6::Widgets Qt6::Concurrent Qt6::Multimedia Qt6::MultimediaWidgets Qt6::Svg Qt6::SvgWidgets Qt6::GuiPrivate)
    endif()
    target_include_directories(3rdparty_qt6 INTERFACE ${Qt6Gui_PRIVATE_INCLUDE_DIRS})
endif()

(If I could attach the patch, I'd do it)

rubin55 commented on 2025-10-11 15:27 (UTC)

[ 90%] Building CXX object rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/permissions.cpp.o
/tmp/makepkg.builddir/rpcs3-git/src/rpcs3/rpcs3/rpcs3qt/gs_frame.cpp:42:10: fatal error: 'qpa/qplatformnativeinterface.h' file not found
   42 | #include <qpa/qplatformnativeinterface.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/build.make:663: rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/gs_frame.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:3292: rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

hcorion commented on 2025-05-14 06:42 (UTC)

Good catch, fixed @HurricanePootis

HurricanePootis commented on 2025-05-13 06:11 (UTC)

Please do not override the current $LDFLAGS

diff --git a/PKGBUILD b/PKGBUILD
index 47ad929..7033003 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -123,8 +123,8 @@ build() {
     -DBUILD_LLVM=OFF \
     -DUSE_SYSTEM_WOLFSSL=OFF \
     -DCMAKE_LINKER=lld \
-    -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=lld" \
-    -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld" \
+    -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -fuse-ld=lld" \
+    -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -fuse-ld=lld" \
     -DCMAKE_POLICY_VERSION_MINIMUM=3.5

   cmake --build build

vitaliikuzhdin commented on 2025-05-02 18:29 (UTC)

The build currently fails with the following error:

[ 10%] Building CXX object 3rdparty/glslang/glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvBuilder.cpp.o
In file included from ~/.cache/yay/rpcs3/src/rpcs3-0.0.36/3rdparty/glslang/glslang/SPIRV/SpvBuilder.cpp:48:
~/.cache/yay/rpcs3/src/rpcs3-0.0.36/3rdparty/glslang/glslang/SPIRV/SpvBuilder.h:238:30: error: unknown type name 'uint32_t'
  238 |     Id makeDebugLexicalBlock(uint32_t line);
      |                              ^
~/.cache/yay/rpcs3/src/rpcs3-0.0.36/3rdparty/glslang/glslang/SPIRV/SpvBuilder.h:430:21: error: unknown type name 'uint32_t'
  430 |     void enterScope(uint32_t line);
      |                     ^
~/.cache/yay/rpcs3/src/rpcs3-0.0.36/3rdparty/glslang/glslang/SPIRV/SpvBuilder.cpp:2181:13: error: out-of-line definition of 'makeDebugLexicalBlock' does not match any declaration in 'spv::Builder'
 2181 | Id Builder::makeDebugLexicalBlock(uint32_t line) {
      |             ^~~~~~~~~~~~~~~~~~~~~
~/.cache/yay/rpcs3/src/rpcs3-0.0.36/3rdparty/glslang/glslang/SPIRV/SpvBuilder.cpp:2223:15: error: out-of-line definition of 'enterScope' does not match any declaration in 'spv::Builder'
 2223 | void Builder::enterScope(uint32_t line)
      |               ^~~~~~~~~~
4 errors generated.

This is caused by the recent update of GCC from version 14 to 15. I have just fixed it over at rpcs3 by including a simple patch.

McRex007 commented on 2025-04-27 20:28 (UTC)

/home/mcrex/.cache/yay/rpcs3-git/src/rpcs3/rpcs3/rpcs3qt/gs_frame.cpp:681:10: error: no viable conversion from returned value of type 'pair<typename __decay_and_strip<wl_display *&>::__type, typename __decay_and_strip<wl_surface *&>::__type>' (aka 'pair<wl_display *, wl_surface *>') to function return type 'display_handle_t' (aka 'variant<pair<_XDisplay *, unsigned long>>')
  681 |                 return std::make_pair(wl_dpy, wl_surf);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/variant:1434:7: note: candidate constructor not viable: no known conversion from 'pair<typename __decay_and_strip<wl_display *&>::__type, typename __decay_and_strip<wl_surface *&>::__type>' (aka 'pair<wl_display *, wl_surface *>') to 'const variant<pair<_XDisplay *, unsigned long>> &' for 1st argument
 1434 |       variant(const variant& __rhs) = default;
      |       ^       ~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/variant:1435:7: note: candidate constructor not viable: no known conversion from 'pair<typename __decay_and_strip<wl_display *&>::__type, typename __decay_and_strip<wl_surface *&>::__type>' (aka 'pair<wl_display *, wl_surface *>') to 'variant<pair<_XDisplay *, unsigned long>> &&' for 1st argument
 1435 |       variant(variant&&) = default;
      |       ^       ~~~~~~~~~
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/variant:1447:2: note: candidate template ignored: requirement '18446744073709551615UL < sizeof...(_Types)' was not satisfied [with _Tp = pair<typename __decay_and_strip<wl_display *&>::__type, typename __decay_and_strip<wl_surface *&>::__type>, $1 = enable_if_t<sizeof...(_Types) != 0>, $2 = enable_if_t<__not_in_place_tag<pair<typename __deca>
 1447 |         variant(_Tp&& __t)
      |         ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/variant:1457:2: note: explicit constructor is not a candidate
 1457 |         variant(in_place_type_t<_Tp>, _Args&&... __args)
      |         ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/variant:1477:2: note: explicit constructor is not a candidate
 1477 |         variant(in_place_index_t<_Np>, _Args&&... __args)
      |         ^
1 error generated.
make[2]: *** [rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/build.make:649: rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/gs_frame.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3191: rpcs3/rpcs3qt/CMakeFiles/rpcs3_ui.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Got this at about 88% of the way. Pretty frustrating!

Neros commented on 2025-04-10 13:23 (UTC)

Thanks for the previous fix! But it's broken again...

You should add vulkan-headers as a makedepends, see here: https://github.com/RPCS3/rpcs3/issues/17002

hcorion commented on 2025-03-31 01:21 (UTC)

Woops, forgot to sync up, should be fixed now @Neros