Package Details: rpcs3-git 0.0.33.r16916.53c84577c0-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: 78
Popularity: 0.49
First Submitted: 2014-08-14 11:04 (UTC)
Last Updated: 2024-09-08 18:27 (UTC)

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 35 Next › Last »

loathingkernel commented on 2021-09-25 12:50 (UTC) (edited on 2021-09-25 12:50 (UTC) by loathingkernel)

Why is this PKGBUILD cloning ffmpeg, zlib, curl and libpng when in cmake the following

        -DUSE_SYSTEM_FFMPEG=ON \
        -DUSE_SYSTEM_LIBPNG=ON \
        -DUSE_SYSTEM_ZLIB=ON \
        -DUSE_SYSTEM_CURL=ON

are specified?

Neko-san commented on 2021-08-01 17:52 (UTC) (edited on 2021-08-03 17:38 (UTC) by Neko-san)

I tried to compile RPCS3 with Clang by editing the build section of the PKGBUILD like so:

build() {
    cmake -S "$pkgname" -B build \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_SKIP_RPATH=ON \
        -DCMAKE_CXX_COMPILER=clang++ \
        -DCMAKE_C_COMPILER=clang \
        -DUSE_NATIVE_INSTRUCTIONS=ON \
        -DUSE_SYSTEM_FFMPEG=ON \
        -DUSE_SYSTEM_LIBPNG=ON \
        -DUSE_SYSTEM_ZLIB=ON \
        -DUSE_SYSTEM_CURL=ON
    sed -i 's/-O2/-O3/g' "$srcdir/build/CMakeCache.txt"
    sed -i 's/-O1/-O3/g' "$srcdir/build/CMakeCache.txt"
    sed -i 's/-march=x86-64/-march=native/g' "$srcdir/build/CMakeCache.txt"
    CXXFLAGS+=" -minline-all-stringops -flto=16 -stdlib=libc++"
    cmake --build build -j 16
}

But doing so ended up with an error at the very end of compilation:

[100%] Linking CXX executable ../bin/rpcs3
/usr/bin/ld: ../3rdparty/llvm_build/lib/libLLVMRuntimeDyld.a(RuntimeDyld.cpp.o): undefined reference to symbol '_ZNSt11logic_errorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@@GLIBCXX_3.4.21'
/usr/bin/ld: /usr/lib/libstdc++.so.6: error adding symbols: DSO missing from command line
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [rpcs3/CMakeFiles/rpcs3.dir/build.make:466: bin/rpcs3] Error 1
make[1]: *** [CMakeFiles/Makefile2:11932: rpcs3/CMakeFiles/rpcs3.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'rpcs3-0.0.17-1'

Can someone help me understand how to get past the error?

JohnHolmesII commented on 2021-07-24 18:12 (UTC)

Works fine here, try clearing any cache you may have, the submodules get moved around a bit.

ronoverdrive commented on 2021-07-24 17:13 (UTC)

Failure during prepare().

Fetching submodule llvm fatal: git upload-pack: not our ref 0779919c445146573e7703bef4a94f3d0fd3ca68 fatal: remote error: upload-pack: not our ref 0779919c445146573e7703bef4a94f3d0fd3ca68 From https://github.com/RPCS3/hidapi * branch 4c2750112e89bf579e7752285ad56e69d15549df -> FETCH_HEAD * branch 66eed15b0575acfed12e9a85fb77849d08dae47d -> FETCH_HEAD From https://github.com/asmjit/asmjit * branch 6758955e8c0e7d74fc65c2736a4d007e09f770ca -> FETCH_HEAD Errors during submodule fetch: llvm ==> ERROR: Failure while updating working copy of rpcs3 git repo Aborting...

autumnontape commented on 2021-06-03 19:23 (UTC)

The error is fixed with the updated PKGBUILD. Thanks!

gioan777 commented on 2021-06-02 07:36 (UTC)

Seconded about the prepare() error. Seems this https://github.com/RPCS3/rpcs3/commit/3321ada41e8005fb4d6000ca0d50baaa2ab21855 commit is what causes the error.

autumnontape commented on 2021-06-01 19:21 (UTC)

There's an error in prepare(). This log is from me building in /tmp/rpcs3-git with makepkg -si. It looks like there are too many .. in a path somewhere.

==> Starting prepare()...
Submodule '3rdparty/glslang' (/tmp/KhronosGroup/glslang.git) registered for path '3rdparty/glslang/glslang'
Submodule 'llvm' (/tmp/RPCS3/llvm-mirror.git) registered for path 'llvm'
Submodule '3rdparty/FAudio' (/tmp/FNA-XNA/FAudio.git) registered for path '3rdparty/FAudio'
Submodule '3rdparty/SPIRV-Headers' (/tmp/KhronosGroup/SPIRV-Headers.git) registered for path '3rdparty/SPIRV/SPIRV-Headers'
Submodule '3rdparty/SPIRV-Tools' (/tmp/KhronosGroup/SPIRV-Tools.git) registered for path '3rdparty/SPIRV/SPIRV-Tools'
Submodule 'asmjit' (/tmp/asmjit/asmjit.git) registered for path '3rdparty/asmjit/asmjit'
Submodule '3rdparty/cereal' (/tmp/RPCS3/cereal.git) registered for path '3rdparty/cereal'
Submodule '3rdparty/hidapi' (/tmp/RPCS3/hidapi.git) registered for path '3rdparty/hidapi/hidapi'
Submodule '3rdparty/libusb' (/tmp/libusb/libusb.git) registered for path '3rdparty/libusb/libusb'
Submodule '3rdparty/xxHash' (/tmp/Cyan4973/xxHash.git) registered for path '3rdparty/xxHash'
Submodule '3rdparty/yaml-cpp' (/tmp/RPCS3/yaml-cpp.git) registered for path '3rdparty/yaml-cpp'
fatal: repository '/tmp/FNA-XNA/FAudio.git' does not exist
fatal: clone of '/tmp/FNA-XNA/FAudio.git' into submodule path '/tmp/rpcs3-git/src/rpcs3/3rdparty/FAudio' failed
Failed to clone '3rdparty/FAudio'. Retry scheduled
fatal: repository '/tmp/KhronosGroup/SPIRV-Headers.git' does not exist
fatal: clone of '/tmp/KhronosGroup/SPIRV-Headers.git' into submodule path '/tmp/rpcs3-git/src/rpcs3/3rdparty/SPIRV/SPIRV-Headers' failed
Failed to clone '3rdparty/SPIRV/SPIRV-Headers'. Retry scheduled
fatal: repository '/tmp/KhronosGroup/SPIRV-Tools.git' does not exist
fatal: clone of '/tmp/KhronosGroup/SPIRV-Tools.git' into submodule path '/tmp/rpcs3-git/src/rpcs3/3rdparty/SPIRV/SPIRV-Tools' failed
Failed to clone '3rdparty/SPIRV/SPIRV-Tools'. Retry scheduled
fatal: repository '/tmp/asmjit/asmjit.git' does not exist
fatal: clone of '/tmp/asmjit/asmjit.git' into submodule path '/tmp/rpcs3-git/src/rpcs3/3rdparty/asmjit/asmjit' failed
Failed to clone '3rdparty/asmjit/asmjit'. Retry scheduled
fatal: repository '/tmp/RPCS3/cereal.git' does not exist
fatal: clone of '/tmp/RPCS3/cereal.git' into submodule path '/tmp/rpcs3-git/src/rpcs3/3rdparty/cereal' failed
Failed to clone '3rdparty/cereal'. Retry scheduled
fatal: repository '/tmp/RPCS3/hidapi.git' does not exist
fatal: clone of '/tmp/RPCS3/hidapi.git' into submodule path '/tmp/rpcs3-git/src/rpcs3/3rdparty/hidapi/hidapi' failed
Failed to clone '3rdparty/hidapi/hidapi'. Retry scheduled
fatal: repository '/tmp/libusb/libusb.git' does not exist
fatal: clone of '/tmp/libusb/libusb.git' into submodule path '/tmp/rpcs3-git/src/rpcs3/3rdparty/libusb/libusb' failed
Failed to clone '3rdparty/libusb/libusb'. Retry scheduled
fatal: repository '/tmp/Cyan4973/xxHash.git' does not exist
fatal: clone of '/tmp/Cyan4973/xxHash.git' into submodule path '/tmp/rpcs3-git/src/rpcs3/3rdparty/xxHash' failed
Failed to clone '3rdparty/xxHash'. Retry scheduled
fatal: repository '/tmp/RPCS3/yaml-cpp.git' does not exist
fatal: clone of '/tmp/RPCS3/yaml-cpp.git' into submodule path '/tmp/rpcs3-git/src/rpcs3/3rdparty/yaml-cpp' failed
Failed to clone '3rdparty/yaml-cpp'. Retry scheduled
fatal: repository '/tmp/FNA-XNA/FAudio.git' does not exist
fatal: clone of '/tmp/FNA-XNA/FAudio.git' into submodule path '/tmp/rpcs3-git/src/rpcs3/3rdparty/FAudio' failed
Failed to clone '3rdparty/FAudio' a second time, aborting
==> ERROR: A failure occurred in prepare().
    Aborting...

hcorion commented on 2021-06-01 15:45 (UTC)

@agapito Try again, the Pull Request for that fix just got merged