Package Details: rpcs3-git 0.0.23.13925.73ed657e0-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: GPL2
Conflicts: rpcs3
Provides: rpcs3
Submitter: alucryd
Maintainer: hcorion
Last Packager: hcorion
Votes: 64
Popularity: 1.03
First Submitted: 2014-08-14 11:04 (UTC)
Last Updated: 2022-07-16 16:41 (UTC)

Dependencies (30)

Required by (0)

Sources (3)

Latest Comments

AtticFinder65536 commented on 2022-06-11 16:00 (UTC)

I needed to explicitly add -DUSE_SYSTEM_WOLFSSL=OFF in the cmake arguments to allow cmake to find the package:

-- Checking for module 'wolfssl>=4.7.0'
--   Package 'wolfssl', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:605 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:827 (_pkg_check_modules_internal)
  3rdparty/wolfssl/CMakeLists.txt:3 (pkg_check_modules)

Please consider adding it

Neko-san commented on 2022-05-23 17:36 (UTC)

@patlefort RPCS3 hasn't had building issues for LTO in a while, I'm actually somewhat the cause of this new cmake error

I had reported some bugs that involved LTO but ultimately were "solved" by just enforcing the lack of LTO in the build system. The original issue I had reported was a floating point error but I don't think it was actually fixed because the initial response was a commit PR to prevent LTO instead. This was partially due to the fact that Qt doesn't always like LTO (can cause launch crashes), but now you at least have the full picture as to why no time was really spent on it instead.

patlefort commented on 2022-05-23 06:47 (UTC)

Rpcs3 now error out when LTO is enabled:

CMake Error at CMakeLists.txt:137 (message):
  Rpcs3 doesn't support building with LTO, use -DDISABLE_LTO=TRUE to
  force-disable it

I think options=(!lto) should be used.

fabian-ang commented on 2022-05-15 10:17 (UTC)

Apparently rpcs3 updated their codebase to be compatible with recent flatbuffers versions, thus we can revert the usage of the bundled flatbuffers lib

AtticFinder65536 commented on 2022-04-30 09:44 (UTC)

No need to use bundled ffmpeg or to link against ffmpeg4.4 libraries anymore, https://github.com/RPCS3/rpcs3/commit/fb27ed4deb5a94964d59978de7770b4dcde49d1e fixes it :D

I don't get that error anymore on my system

Ember2528 commented on 2022-04-16 13:41 (UTC)

Alternatively with Arch providing an ffmpeg 4.4 package for now it may be a good idea to link against that

fabian-ang commented on 2022-04-05 15:46 (UTC) (edited on 2022-04-05 15:47 (UTC) by fabian-ang)

As it's said in this issue rpcs3 is incompatible with recent ffmpeg versions. Thus i'd suggest also using the bundled ffmpeg version, as many games don't work with the up to date system ffmpeg package

ferrvittorio commented on 2022-04-01 14:47 (UTC)

Hi,I am getting an error while building The log file is very large, I cannot post it here because it would be really confusing.

error: invalid conversion from ‘const AVCodec’ to ‘AVCodec’ [-fpermissive] 266 | av.codec = avcodec_find_decoder(stream->codecpar->codec_id);

media_utils.cpp:328:39: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]

[ 76%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/__/util/yaml.cpp.o

make[2]: *** [rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/build.make:286: rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/__/util/media_utils.cpp.o] Errore 1

I tried to summarize but I dont know if I was effective at it

agapito commented on 2022-03-22 11:12 (UTC)

-DCMAKE_CXX_FLAGS='-fpermissive'\

Nocifer commented on 2022-03-18 11:02 (UTC)

Just add it to CMake's options in build(), like so:

build() {
  cmake -S rpcs3 -B build \
    -DCMAKE_BUILD_TYPE=Release \
     (...)
    -DUSE_SYSTEM_FLATBUFFERS=OFF \
    -DUSE_SYSTEM_PUGIXML=ON \
    -DCMAKE_CXX_FLAGS='-fpermissive'

  make -C build
}

DocMAX commented on 2022-03-18 10:44 (UTC)

Where do i put "-fpermissive" excactly?

Nocifer commented on 2022-03-08 13:11 (UTC) (edited on 2022-03-08 13:11 (UTC) by Nocifer)

I got the following error when trying to build the latest master, which required using the -fpermissive flag to make it go away:

/tmp/makepkg/rpcs3-git/src/rpcs3/rpcs3/util/media_utils.cpp: In lambda function:
/tmp/makepkg/rpcs3-git/src/rpcs3/rpcs3/util/media_utils.cpp:266:56: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  266 |                         av.codec = avcodec_find_decoder(stream->codecpar->codec_id);
      |                                    ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                        |
      |                                                        const AVCodec*

The issue likely occurs because of changes introduced in commit aafd74f9eab4e96c68f2a740350d3b196f85e8ef.

katt commented on 2022-02-26 21:56 (UTC)

@applebloom Sure, not that it's anything advanced :p

diff --git a/PKGBUILD b/PKGBUILD
index 855f25c..f90de6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,6 @@ depends=(
   zlib
   curl
   wolfssl
-  flatbuffers
   pugixml
 )
 makedepends=(
@@ -75,7 +74,7 @@ prepare() {
   git config submodule.llvm.url ../rpcs3-llvm

   SUBMODULES=($(git config --file .gitmodules --get-regexp path | \
-    awk '!/ffmpeg/ && !/libpng/ && !/zlib/ && !/curl/ && !/llvm/ && !/glslang/ && !/wolfssl/ && !/pugixml/ && !/flatbuffers/'))
+    awk '!/ffmpeg/ && !/libpng/ && !/zlib/ && !/curl/ && !/llvm/ && !/glslang/ && !/wolfssl/ && !/pugixml/'))

   # We need to convert from a relative folder path to a https://github.com path
   for ((i=0;i<${#SUBMODULES[@]};i+=2))
@@ -107,7 +106,6 @@ build() {
     -DUSE_SYSTEM_ZLIB=ON \
     -DUSE_SYSTEM_CURL=ON \
     -DUSE_SYSTEM_WOLFSSL=ON \
-    -DUSE_SYSTEM_FLATBUFFERS=ON \
     -DUSE_SYSTEM_PUGIXML=ON

   make -C build

applebloom commented on 2022-02-26 19:32 (UTC)

@katt Can you post a diff with your PKGBUILD change?

katt commented on 2022-02-26 11:07 (UTC) (edited on 2022-02-26 11:08 (UTC) by katt)

@kzd It's the other way around, the submodule in RPCS3's repo is 5 months old, while the latest release of flatbuffers (which is what is in arch's repo) was released 11 days ago. In other words the version in arch's repos is too new.

For the time being I changed the PKGBUILD (my local copy, that is) to use the submodule so I can actually build it.

kzd commented on 2022-02-23 05:56 (UTC)

It looks like this build is currently failing due to an update required in flatbuffers that is not quite yet in the system library (-DUSE_SYSTEM_FLATBUFFERS=ON). Sadly the flatbuffers-git package is also not building, yet the repo itself builds just fine.

Psithurisma commented on 2022-02-14 00:08 (UTC)

@hcorion, Ok, after deleting the AUR repository and cloning it again, running makepkg builds with no errors.

hcorion commented on 2022-02-13 19:39 (UTC)

It's building fine for me @Psithurisma, that log tells me nothing. Please upload the full output log to a pastebin-like service.

Psithurisma commented on 2022-02-13 15:45 (UTC) (edited on 2022-02-13 15:48 (UTC) by Psithurisma)

Errors when compliling

[ 98%] Built target rpcs3_autogen
make[2]: Entering directory '/home/name/Build/rpcs3-git/src/build'
Consolidate compiler generated dependencies of target rpcs3
make[2]: Leaving directory '/home/name/Build/rpcs3-git/src/build'
make[2]: Entering directory '/home/name/Build/rpcs3-git/src/build'
make[2]: *** No rule to make target '/usr/lib/librt.so', needed by 'bin/rpcs3'.  Stop.
make[2]: Leaving directory '/home/name/Build/rpcs3-git/src/build'
make[1]: *** [CMakeFiles/Makefile2:22926: rpcs3/CMakeFiles/rpcs3.dir/all] Error 2
make[1]: Leaving directory '/home/name/Build/rpcs3-git/src/build'
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/home/name/Build/rpcs3-git/src/build'
==> ERROR: A failure occurred in build().
    Aborting...

Neko-san commented on 2022-01-29 01:06 (UTC)

Lmfao

kode54 commented on 2022-01-28 23:02 (UTC)

I am requesting this package be deleted, and never uploaded again. Upstream has stated that "There is no such thing as stable RPCS3."

kode54 commented on 2022-01-28 22:55 (UTC)

It looks like upstream broke their own damn releases by force committing the last release's own matching commit right out of the repository. Only rpcs3-git will build right now. Thanks, guys!

kode54 commented on 2022-01-28 22:54 (UTC)

I am on coding break until the 7th of February. A welcome co-maintainer is welcome to be added to this project to fix it in the mean time.

CyberConan commented on 2022-01-28 18:13 (UTC)

Hi! This package fails now when fetching submodule '3rdparty/asmjit/asmjit'. Regards!

katt commented on 2021-10-30 10:38 (UTC)

qt5-svg is required since https://github.com/RPCS3/rpcs3/commit/7f4b6b1ae7e74fd57391732c84a1cb4036e4790c:

CMake Warning at 3rdparty/qt5.cmake:5 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt5/Qt5Config.cmake

  but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt5 component "Svg" config file at
  "/usr/lib64/cmake/Qt5Svg/Qt5SvgConfig.cmake"

katt commented on 2021-10-24 10:38 (UTC) (edited on 2021-10-24 12:16 (UTC) by katt)

Needs qt5-multimedia:

-- Could NOT find Qt5Multimedia (missing: Qt5Multimedia_DIR)
-- Could NOT find Qt5MultimediaWidgets (missing: Qt5MultimediaWidgets_DIR)
CMake Warning at 3rdparty/qt5.cmake:5 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt5/Qt5Config.cmake

  but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt5 component "Multimedia" config file at
  "/usr/lib64/cmake/Qt5Multimedia/Qt5MultimediaConfig.cmake"

  Failed to find Qt5 component "MultimediaWidgets" config file at
  "/usr/lib64/cmake/Qt5MultimediaWidgets/Qt5MultimediaWidgetsConfig.cmake"



Call Stack (most recent call first):
  rpcs3/CMakeLists.txt:44 (include)


-- RPCS3_GIT_VERSION: 12943-e51656e0
-- RPCS3_GIT_BRANCH: master
-- RPCS3_GIT_FULL_BRANCH: local_build
-- Configuring done
CMake Error at rpcs3/CMakeLists.txt:80 (add_executable):
  Target "rpcs3" links to target "Qt5::Multimedia" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at rpcs3/CMakeLists.txt:80 (add_executable):
  Target "rpcs3" links to target "Qt5::MultimediaWidgets" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at rpcs3/rpcs3qt/CMakeLists.txt:103 (add_library):
  Target "rpcs3_ui" links to target "Qt5::Multimedia" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at rpcs3/rpcs3qt/CMakeLists.txt:103 (add_library):
  Target "rpcs3_ui" links to target "Qt5::MultimediaWidgets" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Once I added it as a dependency it built fine.

rodrigo21 commented on 2021-10-19 22:42 (UTC)

It's working now. Thanks!

hcorion commented on 2021-10-19 20:13 (UTC)

@rodrigo @gioan777 @wantija please update your wolfssl package and retest, I just updated it to 4.8.1-2 and enabled write duplication

wantija commented on 2021-10-19 19:42 (UTC)

3rd for the wolfssl error, clean chroot didn't fix it either

gioan777 commented on 2021-10-19 15:51 (UTC) (edited on 2021-10-19 15:52 (UTC) by gioan777)

I'm also getting the "undefined reference to `wolfSSL_write_dup'" linking error. Installing in a new installation (with VM) or installing with wolfssl-git didn't help at all.

rodrigo21 commented on 2021-10-14 05:25 (UTC) (edited on 2021-10-14 05:43 (UTC) by rodrigo21)

I'm getting a error during linking:

[100%] Linking CXX executable ../bin/rpcs3
/usr/bin/ld: Emu/librpcs3_emu.a(rpcn_client.cpp.o): in function `rpcn::rpcn_client::connect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
rpcn_client.cpp:(.text+0x3566): undefined reference to `wolfSSL_write_dup'
collect2: error: ld returned 1 exit status
make[2]: *** [rpcs3/CMakeFiles/rpcs3.dir/build.make:467: bin/rpcs3] Error 1

The wolfssl submodule was update 2 days ago.

loathingkernel commented on 2021-09-26 07:39 (UTC)

@kode54 you can specify what submodules to ignore by explicitly specifying the relevant submodule paths to include by adding them after git submodule init and git submodule update, for example

    git submodule init llvm 3rdparty/{asmjit/asmjit,hidapi/hidapi}
    git submodule update llvm 3rdparty/{asmjit/asmjit,hidapi/hidapi}

That being said, since it seems that rpcs3 is geared towards being built with specific versions into a single binary, building it with the included libraries might be beneficial for compatibility. In that effect, to rebuild the ffmpeg binaries, upstream provides a script in their repo so it can be rebuilt before rpcs3 like so

    pushd rpcs3/3rdparty/ffmpeg/
    ./linux_x86-64.sh
    popd
    cmake -S rpcs3 -B build -G Ninja \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_SKIP_RPATH=ON \
        -DUSE_NATIVE_INSTRUCTIONS=ON

It also makes more sense for lto (if that is supported by upstream) to have it that way.

Edit: Sorry for the spam, deleted the previous comment by mistake.

kode54 commented on 2021-09-26 02:42 (UTC)

Do you know of a way to instruct Git to ignore those submodules instead of automatically fetching them on every build?

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

ronoverdrive commented on 2021-05-30 11:51 (UTC)

error: pathspec 'Vulkan/glslang' did not match any file(s) known to git

currently completely broken.

katt commented on 2021-05-19 22:59 (UTC)

The bug was fixed in qt5-base 5.15.2+kde+r193 and rpcs3 now builds with GCC 11 again

hcorion commented on 2021-05-18 21:43 (UTC) (edited on 2021-05-18 21:43 (UTC) by hcorion)

@katt Yeah it's super annoying, looks like there's already an Arch bug created for it: https://bugs.archlinux.org/index.php?do=details&task_id=70934

would appreciate folks voting for it.

I'll change to using gcc10 in the meantime

katt commented on 2021-05-18 21:21 (UTC)

As I wrote on the non-git AUR page, GCC 11 is now in core and the situation is.. problematic. It's a Qt bug but the fix is only available for paying customers or for Qt6, which RPCS3 is not ported to. The solution I've pushed for the non-git package is to use gcc10, since clang 12 isn't in the repos.

katt commented on 2021-05-18 15:46 (UTC) (edited on 2021-05-18 17:16 (UTC) by katt)

Well, GCC 11 has now landed in core and the issue is still here. Sadly this appears to be a bug in Qt, fixed in Qt 5.15 which is behind a paywall.

https://github.com/RPCS3/rpcs3/issues/10291#issuecomment-842808588

Basically before RPCS3 moves to Qt6, this will be broken unless built with either gcc10 or clang.

Better yet, RPCS3 0.0.16 requires clang 12, which is not in the repos yet, and my computer runs out of memory while trying to compile llvm-git.

hcorion commented on 2021-02-06 00:50 (UTC)

@Gonzo2028 looks like you've hit a compiler bug, or perhaps you have a hardware issue going on.

I just did a fresh compile with the latest gcc and it worked fine.

Gonzo2028 commented on 2021-02-04 08:03 (UTC) (edited on 2021-02-04 08:04 (UTC) by Gonzo2028)

I will try later and report back. Ty.

kode54 commented on 2021-02-03 04:00 (UTC)

@Gonzo2028 Could you please make a minor change to the PKGBUILD and see if it successfully builds for you? It's a single <1MB dependency that you should probably have installed already, but if not, it shouldn't make it hard to build this.

It should have the wayland package added to the makedepends array. Yes, it imports the Wayland headers, but only uses them at compile time. Otherwise, it's querying for a VK_KHR_wayland_surface attribute from Vulkan at runtime, and interfacing with that if detected. I need to know if this change fixes building it for you, and whether this also breaks it running on any non-Wayland session, or without the Wayland package installed, since you appear to be missing it.

kode54 commented on 2021-02-03 01:46 (UTC)

Sorry, just being a butt. I can look at it later, but I'll have to determine whether it's worth adding any extra dependencies to the makedepends to build in Wayland support, or if it should just be disabled altogether.

katt commented on 2021-02-02 23:20 (UTC)

Did you try with the cmake option?

Gonzo2028 commented on 2021-02-02 23:16 (UTC)

it might be gcc11. i am building aur packages every day, rarely they do not work. of course it will be fixed - one day.

kode54 commented on 2021-02-02 23:03 (UTC)

Nobody is "fixing" it. Have a nice day.

Gonzo2028 commented on 2021-02-02 22:04 (UTC)

that did not help. i do not like setting up a clean chroot, way to much work for just a package. Every other package from the aur build for me. I ll stay with the -bin package until someone fixes this ;). Thank you anyway.

katt commented on 2021-02-02 20:49 (UTC) (edited on 2021-02-02 20:56 (UTC) by katt)

@Gonzo2028 Could this be related to https://github.com/RPCS3/rpcs3/pull/8609?

Try adding -DCMAKE_DISABLE_FIND_PACKAGE_Wayland=TRUE to cmake and see if that fixes it. Else try building in a clean chroot (which works here)

Gonzo2028 commented on 2021-02-02 17:52 (UTC)

does not build for me....

[ 84%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/Cell/lv2/sys_storage.cpp.o [ 84%] Building CXX object rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/Cell/lv2/sys_time.cpp.o Im Durchlauf RTL: expand /tmp/makepkg/rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/PPUInterpreter.cpp: In statischer Elementfunktion »static bool ppu_interpreter::VUPKHSB(ppu_thread&, ppu_opcode_t)«: /tmp/makepkg/rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/PPUInterpreter.cpp:2915:1: interner Compiler-Fehler: Speicherzugriffsfehler 2915 | } | ^ 0x1765ad8 internal_error(char const, ...) ???:0 Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein; inclusive vorverarbeitetem Quellcode, wenn es dienlich ist. Please include the complete backtrace with any bug report. Weitere Hinweise finden Sie unter »https://bugs.archlinux.org/«. make[2]: [rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/build.make:836: rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/Cell/PPUInterpreter.cpp.o] Fehler 1 make[2]: Es wird auf noch nicht beendete Prozesse gewartet.... make[2]: Verzeichnis „/tmp/makepkg/rpcs3-git/src/build“ wird verlassen make[1]: [CMakeFiles/Makefile2:12651: rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/all] Fehler 2 make[1]: Verzeichnis „/tmp/makepkg/rpcs3-git/src/build“ wird verlassen make: * [Makefile:171: all] Fehler 2 make: Verzeichnis „/tmp/makepkg/rpcs3-git/src/build“ wird verlassen ==> FEHLER: Ein Fehler geschah in build(). Breche ab... :: Unable to build rpcs3-git - makepkg exited with code: 4

Gonzo2028 commented on 2021-02-02 17:44 (UTC)

does not build for me.

[ 18%] Linking CXX static library libSPIRV-Tools-opt.a [ 18%] Built target SPIRV-Tools-opt make: *** [Makefile:171: all] Fehler 2 ==> FEHLER: Ein Fehler geschah in build(). Breche ab... :: Unable to build rpcs3 - makepkg exited with code: 4

eschwartz commented on 2021-01-06 01:58 (UTC)

Yeah, I don't know what to say here. This person showed up, adopted a bunch of packages, and mutilated them by breaking the rules of how PKGBUILDs work. The commit should be reverted; quite frankly, I'd force push the old version as this is straight-up not allowed. It's not even a PKGBUILD at this point.

katt commented on 2021-01-05 21:54 (UTC)

What on earth happened here? You.. turned the non-git package into a git package and.. moved the building out of build() and got rid of packaging altogether? Amazing.

Please revert all this damage you've done and simply just add the patch. I disowned this since I don't have the energy for it, but I didn't expect to this violent murder right after.

SmashedSqwurl commented on 2021-01-05 18:58 (UTC)

The compilation failure was fixed in https://github.com/RPCS3/rpcs3/issues/9539

The git SHA for the fix is 187216096d464ff8755f7885c3c109710d549895

deemon commented on 2021-01-04 05:53 (UTC)

Doesn't install anymore :(

MegaDeKay commented on 2020-12-19 22:08 (UTC)

@wantija @gusix

Problem with build on tensorflow has been identified here https://github.com/RPCS3/rpcs3/issues/9347

Should be able to make this change to get this working until the next update of this package, in which this change has been merged. https://github.com/RPCS3/llvm-mirror/pull/5/commits/f3f8df4b5a0087b9d86d318afb7492d75c66f55d

wantija commented on 2020-11-30 06:38 (UTC)

Also having the same problem as gusix, can't even build rpcs3 from the Github instructions either.

gusix commented on 2020-11-28 11:04 (UTC) (edited on 2020-11-28 11:06 (UTC) by gusix)

Building fails for me, it doesnt seem to find tensorflow when building llvm :

/yay/rpcs3-git/src/rpcs3/llvm/lib/Analysis/TFUtils.cpp:20:10: fatal error: tensorflow/c/c_api.h: No such file or directory 20 | #include "tensorflow/c/c_api.h"

I have been getting this for quite a while now, I thought the error would go away at some point but.. multithreaded shader comp :D

katt commented on 2020-11-02 20:35 (UTC) (edited on 2020-11-02 20:48 (UTC) by katt)

~~Please add -DUSE_SYSTEM_WOLFSSL=ON and depend on wolfssl.~~

Nevermind USE_SYSTEM_WOLFSSL is broken af.

JohnHolmesII commented on 2020-08-28 07:13 (UTC)

@hcorion When GalCiv merged the rpcn PR, wolfssl became mandatory, and a cleanbuild of this fails since it is not pulled in. Just need to clone it too.

MegaDeKay commented on 2020-07-20 02:38 (UTC)

Thanks @hcorion for getting back to me so quickly. I rm -rf'ed the whole directory and did a clean compile successfully. Works great now. And in trying it out I learned that this build fixes missing textures in Bioshock! Appreciate the tip, and keep the updates to this package coming :-)

hcorion commented on 2020-07-19 18:54 (UTC)

Seems to be some strange compiler bug @MegaDeKay . doing a clean build should fix the issue. I can't reproduce it.

MegaDeKay commented on 2020-07-19 15:40 (UTC)

Build is currently failing as described here:

https://github.com/RPCS3/rpcs3/issues/8236#issuecomment-642993798

JohnHolmesII commented on 2020-06-23 01:43 (UTC)

No, there is not, and there won't be for some time. There are non-upstreamable changes on the LLVM fork.

rtentser commented on 2020-06-02 10:21 (UTC)

Is there any way to use system's llvm instead of rpcs3-llvm? It'll make building much faster.

Cervox commented on 2020-05-18 18:28 (UTC)

This is fixed now, the vulkan headers issue.

Cervox commented on 2020-05-11 01:46 (UTC)

It is currently known that the latest vulkan-headers package from arch, 1.2.140, causes critical compiler errors with RPCS3. Until they are fixed, you can do this workaround.

Install this package with sudo pacman -U https://archive.org/download/archlinux_pkg_vulkan-headers/vulkan-headers-1%3A1.2.139-1-any.pkg.tar.zst

Then go to your pacman.conf and put vulkan-headers under IgnorePkg so it does not update to the latest version.

Sanpi commented on 2020-04-08 16:32 (UTC)

@KozRoss tell me if installing the qt5-declarative package fix the problem. I’ll add its to dependencies.

katt commented on 2020-04-07 17:20 (UTC)

Looks like you messed up updating the .SRCINFO, it doesn't reflect what the pkgver actually ends up as. Made me worried when I saw the update :p

KozRoss commented on 2020-04-04 02:02 (UTC)

This failed to build for me today, due to the following:

-- Could NOT find Qt5Qml (missing: Qt5Qml_DIR) CMake Warning at 3rdparty/qt5.cmake:3 (find_package): Found package configuration file:

/usr/lib64/cmake/Qt5/Qt5Config.cmake

but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT FOUND. Reason given by package:

Failed to find Qt5 component "Qml" config file at "/usr/lib64/cmake/Qt5Qml/Qt5QmlConfig.cmake"

Call Stack (most recent call first): rpcs3/CMakeLists.txt:40 (include)

-- CXX target rpcs3_emu cotired without unity build excluding ../../Utilities/JIT.cpp, Cell/PPUTranslator.cpp. -- RPCS3_GIT_VERSION: unknown -- RPCS3_GIT_BRANCH: unknown -- CXX target rpcs3 cotired without unity build. -- Configuring done CMake Error at rpcs3/CMakeLists.txt:74 (add_executable): Target "rpcs3" links to target "Qt5::Qml" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

CMake Error at rpcs3/CMakeLists.txt:74 (add_executable): Target "rpcs3" links to target "Qt5::Qml" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

CMake Error at rpcs3/rpcs3qt/CMakeLists.txt:73 (add_library): Target "rpcs3_ui" links to target "Qt5::Qml" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?

-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.

hcorion commented on 2020-03-29 16:52 (UTC)

Hmm, interesting. I saw the citra package move to just initing the submodules, so I thought it was what everyone was doing now.

I think what I'll do is setup the heavy dependencies like asmjit, llvm and glslang to do the old way, and just do a shallow clone for the rest, so that I don't need to update the PKGBUILD every time a dependency changes/gets added.

katt commented on 2020-03-29 16:03 (UTC)

Oh, is that why updating is insanely slow now, yeah please do something about that :D

alucryd commented on 2020-03-29 14:54 (UTC)

@hcorion FYI the way you changed submodules is really not recommended. Having them in sources saves a lot of bandwidth as they don't have to be fully redownloaded everytime you makepkg -c :/

hcorion commented on 2020-03-29 02:21 (UTC) (edited on 2020-03-29 02:21 (UTC) by hcorion)

> I'll push to [community] if/when there's a stable release someday. Cheers.

Awesome @alycrud! Yeah, not sure how long it's gonna take for us to get stable ^^' but that would be awesome when we get to that stage!

hcorion commented on 2020-03-28 20:43 (UTC)

Hey @katt yeah I'll push a fix in an hour or so.

katt commented on 2020-03-28 20:36 (UTC)

@hcorion If you decide to maintain this can you revert the pkgver now that the crazy release has been deleted? I was gonna quickly adopt the package, fix it and re-orphan but I figured that might be considered dirty :P

alucryd commented on 2020-03-28 13:19 (UTC)

@hcorion That would be grand, thanks! I'll disown so you can adopt. Having upstream take care of this will certainly be more efficient. I'll push to [community] if/when there's a stable release someday. Cheers.

hcorion commented on 2020-03-27 21:22 (UTC)

Sorry @alucryd the crazy git tags was a bug that happened when we refactored our Windows CI. If you want some help I don't mind being a co-maintainer/maintainer.

alucryd commented on 2020-03-27 19:31 (UTC)

Between the hundred and then some submodules, because why do it the unix way when you can do it the windows way, and now the completely insane git tags, I really regret ever starting packaging this thing :/

katt commented on 2020-03-27 18:55 (UTC) (edited on 2020-03-27 18:57 (UTC) by katt)

Seems version went completely bonkers with the latest release:

==> Starting pkgver()...
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: build.r70d6a128942569b533b18eb7c678f6f0e80eff83-2.d6258fce5

Sanpi commented on 2020-03-25 17:57 (UTC)

@Anaeijon done!

Anaeijon commented on 2020-03-25 16:52 (UTC)

@Sanpi I had to install vulkan-devel to compile this. Maybe spirv-tools and vulkan-headers would have been sufficient (according to your comment), but I installed the whole group.

Could you please add spirv-tools and vulkan-headers to makedepends for convenience? Is there a reason not to have them in makedepends?

alucryd commented on 2020-03-18 09:26 (UTC)

Added another repo for cereal, upstream forked it, made rpcs3 not compatible with regular cereal, but still checks for it at configure time.

Please make sure you don't have cereal installed when attempting to build this package.

corax2.05 commented on 2020-03-16 11:24 (UTC)

@katt many thanks, now it builds.

toki1990 commented on 2020-03-15 22:37 (UTC)

Error Report:

make[2]: [rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/build.make:92: rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/System.cpp.o] Error 1 make[2]: Bitmemiş işler için bekliyor.... make[2]: Leaving directory '/home/user/.cache/yay/rpcs3-git/src/build' make[1]: [CMakeFiles/Makefile2:10164: rpcs3/Emu/CMakeFiles/rpcs3_emu.dir/all] Error 2 make[1]: Leaving directory '/home/user/.cache/yay/rpcs3-git/src/build' make: [Makefile:152: all] Error 2 make: Leaving directory '/home/user/.cache/yay/rpcs3-git/src/build' ==> HATA: build() içinde bir hata oluştu. Çıkılıyor... Error making: rpcs3-git

katt commented on 2020-03-14 11:43 (UTC)

@corax2.05 Remove your llvm-mirror folder, they changed the upstream mirror and the error is indeed correct. It will be re-downloaded from the new location.

corax2.05 commented on 2020-03-08 11:02 (UTC)

cannot build

==> FEHLER: /home/user/.cache/pacaur/rpcs3-git/rpcs3-llvm ist kein Klon von https://github.com/RPCS3/llvm-mirror.git Breche ab... :: failed to verify integrity or prepare rpcs3-git package :: failed to verify integrity or prepare rpcs3-git package Press any key to continue...

alucryd commented on 2020-03-04 13:39 (UTC)

Fixed, thanks. Took the opportunity to refresh the dependency list.

modnoob commented on 2020-03-03 18:50 (UTC)

The build fails with: Submodule path 'asmjit': checked out 'fc251c914e77cd079e58982cdab00a47539d7fc5' error: Server does not allow request for unadvertised object 0c0b09edb75fcca1cb3c909b58db2caaf95dd631 Fetched in submodule path 'llvm', but it did not contain 0c0b09edb75fcca1cb3c909b58db2caaf95dd631. Direct fetching of that commit failed. ==> ERROR: A failure occurred in prepare(). Aborting... Error making: rpcs3-git

maybe the buildfile needa to be updated

alucryd commented on 2020-02-17 07:02 (UTC)

Not sure what you're talking about, all submodules are accounted for and the package builds just fine.

inochi commented on 2020-02-17 04:15 (UTC)

I think submodule.url config should update. rpcs3 no longer used it.
On my computer, git config -l show

submodule.3rdparty/FAudio.active=true
submodule.3rdparty/FAudio.url=xxxx
submodule.3rdparty/hidapi.active=true
submodule.3rdparty/hidapi.url=xxxx
submodule.3rdparty/libusb.active=true
submodule.3rdparty/libusb.url=xxxx
submodule.3rdparty/pugixml.active=true
submodule.3rdparty/pugixml.url=xxxx
submodule.3rdparty/span.active=true
submodule.3rdparty/span.url=xxxx
submodule.3rdparty/xxHash.active=true
submodule.3rdparty/xxHash.url=xxxx
submodule.3rdparty/yaml-cpp.active=true
submodule.3rdparty/yaml-cpp.url=xxxx
submodule.Vulkan/glslang.active=true
submodule.Vulkan/glslang.url=xxxx
submodule.asmjit.active=true
submodule.asmjit.url=xxxx
submodule.llvm.active=true
submodule.llvm.url=xxxx

it's not match the urls in the PKGBUILD

urbenlegend commented on 2020-01-29 01:47 (UTC)

faudio should also be listed as a dependency, otherwise RPCS3 will fail to start.

Sanpi commented on 2020-01-10 09:14 (UTC)

@Feresey I have received this message:

==> Validazione di source file con sha256sums...
    v0.0.8.tar.gz ... Verificato
    FAudio.tar.gz ... Verificato
    cereal.tar.gz ... NON RIUSCITO
    ffmpeg.tar.gz ... Verificato
    hidapi.tar.gz ... Verificato
    libpng.tar.gz ... Verificato
    libusb.tar.gz ... Verificato
    pugixml.tar.gz ... Verificato
    span.tar.gz ... Verificato
    xxhash.tar.gz ... NON RIUSCITO
    yaml-cpp.tar.gz ... Verificato
    zlib.tar.gz ... NON RIUSCITO
    glslang.tar.gz ... NON RIUSCITO
    asmjit.tar.gz ... Verificato
    llvm.tar.gz ... NON RIUSCITO
    git-version.h ... Verificato
==> ERRORE: Uno o più file non hanno superato il controllo di
validità!

It’s probably when I build the package in the same directory than the old version. It’s could be a good idea to add a version to the packages names.

Feresey commented on 2020-01-09 20:58 (UTC)

why "out of date"? It compiles perfectly.

alucryd commented on 2019-10-25 17:30 (UTC)

Sure thing, just pushed an update.

tannisroot commented on 2019-10-25 02:16 (UTC)

Can you add Faudio as a submodule please? Otherwise build fails.

Germanicus commented on 2019-10-05 18:14 (UTC)

Today's build (v0.0.7-8829 Alpha [2019-10-05]) fixed vulkan not showing up as a renderer option for me. The appimage can be downloaded directly from their website until this package is brought back up to date.

Sanpi commented on 2019-09-20 09:24 (UTC)

@maxbla I have only spirv-tools and vulkan-headers packages installed from vulkan-devel.

maxbla commented on 2019-09-19 09:46 (UTC)

@fazo96 using vulkan, I couldn't boot any game. Installing vulkan-devel, then recompiling (makepkg -fsi) allowed me to use vulkan. I'm not sure which packages in vulkan-devel are actually necessary, but I hope this helps someone out!

fazo96 commented on 2019-09-09 20:39 (UTC)

@Sanpi unfortunately I still don't have it... I am not sure what the cause is. I play games through Vulkan regularly, mostly using Steam's Proton. For some reason RPCS3 is not detecting it. The OpenGL renderer in RPCS3 works fine

Sanpi commented on 2019-09-04 09:31 (UTC)

@fazo96 I have the Vulkan option, is it a missing package?

fazo96 commented on 2019-09-04 09:04 (UTC)

I don't have the Vulkan renderer options in the settings. However if I use the AppImage distributed by the RPCS3 website the option shows up. I have a desktop PC with an NVIDIA GPU with proprietary drivers that I use, along with the integrated intel GPU (unused).

alucryd commented on 2019-09-03 17:28 (UTC)

Thanks, tried their suggestion, it does work, but if your CPU does not support SSE4.1 you won't be able to use rpcs3. Arguably anything that doesn't support SSE4.1 will most likely be too old to run rpcs3 anyway, but let's see where this goes.

commented on 2019-09-03 13:37 (UTC)

reported https://github.com/RPCS3/rpcs3/issues/6479

alucryd commented on 2019-08-26 17:10 (UTC)

Started happening about 2 weeks ago, one of these changes should be the culprit: https://buildbot.alucryd.xyz/#/builders/72/builds/159

If anyone has time to open an issue upstream, please do.

commented on 2019-08-23 21:35 (UTC)

Hi there,

Compile failing at 81% since 0.0.6-8465 rpcs3 build

can someone give it look ?

ortango commented on 2019-03-20 17:25 (UTC)

pkgbuild needs to deal with the libusb submodule as of this commit:

https://github.com/RPCS3/rpcs3/commit/f2aaad11bb26dbd87050b3891efa3f8c40543877

i'll flag package out-of-date in a few days if no one notices.

chinz commented on 2019-01-24 14:25 (UTC)

Just to stop anyone from tearing there hair out like i have for the past day. if your running kde there is currently a bug that will cause seemingly all games to crash shortly after launch. add "KDE_DEBUG=1" as an environment variable and games should load.

Sanpi commented on 2018-12-24 10:29 (UTC)

@sehraf fixed, thank you.

sehraf commented on 2018-12-23 00:07 (UTC)

getting this error:

patch: **** Can't open patch file /tmp/makepkg/rpcs3/src/../rpcs3.patch : No such file or directory

Sanpi commented on 2018-11-09 22:19 (UTC)

@moll patch added, thank you!

moll commented on 2018-10-30 16:20 (UTC)

I got it to compile with the following changes:

+++ a/rpcs3-0.0.5/rpcs3/rpcs3qt/settings_dialog.cpp 2018-02-24 15:06:08.000000000 +0000
--- b/rpcs3-0.0.5/rpcs3/rpcs3qt/settings_dialog.cpp 2018-10-30 16:13:26.590864589 +0000
@@ -12,7 +12,6 @@
 #include <QApplication>
 #include <QDesktopWidget>
 #include <QTimer>
+#include <QButtonGroup>

 #include "settings_dialog.h"
+++ a/rpcs3-0.0.5/rpcs3/Emu/Cell/Modules/cellAdec.cpp   2018-02-24 15:06:08.000000000 +0000
--- b/rpcs3-0.0.5/rpcs3/Emu/Cell/Modules/cellAdec.cpp   2018-10-30 16:09:33.213314225 +0000
@@ -229,8 +229,8 @@

                        if (size)
                        {
-                           data = (u8*)av_calloc(1, size + FF_INPUT_BUFFER_PADDING_SIZE);
-                           this->size = size + FF_INPUT_BUFFER_PADDING_SIZE;
+                           data = (u8*)av_calloc(1, size + AV_INPUT_BUFFER_PADDING_SIZE);
+                           this->size = size + AV_INPUT_BUFFER_PADDING_SIZE;
                        }
                        else
                        {

Apply that to the src directory and then makepkg --noextract.

EnSER commented on 2018-10-03 10:04 (UTC)

I'm also getting a compiler error at "FF_INPUT_BUFFER_PADDING_SIZE". Any chance that this gets fixed?

alucryd commented on 2018-09-16 16:49 (UTC)

Well that's not nearly enough to help you since you cut the relevant part. The AUR is not a pastebin anyway, please use external services to paste your logs. BTW it builds fine in a clean chroot so the issue is most likely on your end.

mem.moraes commented on 2018-09-16 13:48 (UTC)

Hi, I'm getting this error:

make[2]: [rpcs3/CMakeFiles/rpcs3.dir/build.make:1051: rpcs3/CMakeFiles/rpcs3.dir/Emu/Cell/Modules/cellAdec.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:189: rpcs3/CMakeFiles/rpcs3.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build rpcs3.

alucryd commented on 2018-09-01 07:47 (UTC)

Indeed, that submodule was removed a few days ago, thanks for the heads up.

commented on 2018-08-31 18:46 (UTC)

Hi,

Stripped 3rdParty Optional lines from PKGBUILD and successfully compiled.

alucryd commented on 2018-08-29 16:28 (UTC)

It's been doing that for a few commits now, looks like an upstream issue. Haven't had time to report it upstream though.

commented on 2018-08-29 08:55 (UTC)

Hi there,

Compile hangs at %96

/rpcs3-git/src/rpcs3/rpcs3/Emu/RSX/VK/VKHelpers.h: In member function ‘vk::swapchain_base* vk::context::createSwapChain(display_handle_t, vk::physical_device&)’: /rpcs3-git/src/rpcs3/rpcs3/Emu/RSX/VK/VKHelpers.h:2170:18: error: ‘using display_handle_t = class std::variant<std::pair<_XDisplay*, long unsigned int>, std::pair<wl_display*, wl_surface*> >’ {aka ‘class std::variant<std::pair<_XDisplay*, long unsigned int>, std::pair<wl_display*, wl_surface*> >’} has no member named ‘match’ window_handle.match( ^~~~~ make[2]: [rpcs3/CMakeFiles/rpcs3.dir/build.make:4005: rpcs3/CMakeFiles/rpcs3.dir/rpcs3qt/emu_settings.cpp.o] Error 1 make[2]: [rpcs3/CMakeFiles/rpcs3.dir/build.make:3865: rpcs3/CMakeFiles/rpcs3.dir/rpcs3_app.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:1436: rpcs3/CMakeFiles/rpcs3.dir/all] Error 2 make: [Makefile:152: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build rpcs3-git package(s)

hak8or commented on 2018-07-30 01:33 (UTC)

I am also confirming the compilation bug still exists, and it seems to be the same one:

/home/hak8or/.cache/yay/rpcs3/src/rpcs3-0.0.5/rpcs3/Emu/Cell/Modules/cellAdec.cpp: In constructor ‘AudioDecoder::cpu_task()::AVPacketHolder::AVPacketHolder(u32)’:
/home/hak8or/.cache/yay/rpcs3/src/rpcs3-0.0.5/rpcs3/Emu/Cell/Modules/cellAdec.cpp:232:40: error: ‘FF_INPUT_BUFFER_PADDING_SIZE’ was not declared in this scope
        data = (u8*)av_calloc(1, size + FF_INPUT_BUFFER_PADDING_SIZE);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/hak8or/.cache/yay/rpcs3/src/rpcs3-0.0.5/rpcs3/Emu/Cell/Modules/cellAdec.cpp:232:40: note: suggested alternative: ‘AV_INPUT_BUFFER_PADDING_SIZE’
        data = (u8*)av_calloc(1, size + FF_INPUT_BUFFER_PADDING_SIZE);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        AV_INPUT_BUFFER_PADDING_SIZE

alucryd commented on 2018-06-18 18:43 (UTC)

The PKGBUILD was already fixed 3 days ago...

Fincer commented on 2018-06-18 17:19 (UTC)

@alucryd Yeah, I got that.

I did a personal fix (i.e. "works for me") for the issue Star-X described. Patched PKGBUILD here: https://pastebin.com/raw/TWqcznGL

Feel free to use until the "official" PKGBUILD is properly updated.

Someone might find this related commit interesting: https://github.com/RPCS3/rpcs3/pull/4720/commits/01e3ca5db7dc23037c99f4769bf038bc1398fa07

alucryd commented on 2018-06-13 20:59 (UTC)

Thx for the heads up, I'll have a look at it tomorrow, maybe I can use the system one, we have yaml-cpp in our repos already.

Star-X commented on 2018-06-13 19:41 (UTC) (edited on 2018-06-13 19:42 (UTC) by Star-X)

Won't compile again. The error that triggers it seems to be this one:

-- CXX target rpcs3 cotired without unity build excluding /tmp/pamac-build-starx555/rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/PPUTranslator.cpp, /tmp/pamac-build-starx555/rpcs3-git/src/rpcs3/rpcs3/../Utilities/JIT.cpp. Target uses automatic CMake Qt processing.
CMake Error at CMakeLists.txt:61 (add_subdirectory):
  The source directory

/tmp/pamac-build-starx555/rpcs3-git/src/rpcs3/3rdparty/yaml-cpp

  does not contain a CMakeLists.txt file.

alucryd commented on 2018-06-10 08:51 (UTC)

And that is precisely why it is in makedepends...

Fincer commented on 2018-06-09 20:42 (UTC)

This package fails to compile without makedependency 'cereal', available on AUR.

alucryd commented on 2018-06-04 21:17 (UTC)

@Enverex: BTW, their LLVM makes absolutely no difference here...

alucryd commented on 2018-06-04 17:57 (UTC)

@Enverex: Thanks, looks like they finally fixed llvm. I updated the package to use that one instead now.

Enverex commented on 2018-06-01 21:48 (UTC) (edited on 2018-06-04 16:05 (UTC) by Enverex)

@alucryd It is LLVM: I built it by commenting those two lines back in (and adding llvm to the other git init lines which it's currently missing from, init and update). Basically performance without it is really, really bad to the point where it's unusable.

It installed without conflicting with my existing LLVM install as well (the final pkg.tar.gz doesn't show any LLVM libs at all so I guess that was sorted).

EDIT: I'll upload a package named rpcs3-ex-git (using RPCS3 custom LLVM) shortly so you can compile that and test as a point of comparison.

elmx commented on 2018-06-01 21:43 (UTC) (edited on 2018-06-01 21:46 (UTC) by elmx)

Before, I try your solution "You can easily test this theory by uncommenting the 2 commented lines in the PKGBUILD and adding another SKIP in the sums array". I gave second try to install rpcs3-git. Guess what! it worked. But these updates has been done today ; I don't know these new updates helped or not. Thanks anyway,

[2018-06-01 21:55] [ALPM] upgraded run-parts (4.8.4-1 -> 4.8.6-1) [2018-06-01 21:55] [ALPM] upgraded pacman (5.1.0-1 -> 5.1.0-2) [2018-06-01 21:55] [ALPM] upgraded linux-headers (4.16.12-1 -> 4.16.13-1) [2018-06-01 21:55] [ALPM] upgraded linux (4.16.12-1 -> 4.16.13-1) [2018-06-01 21:55] [ALPM] upgraded lib32-p11-kit (0.23.10-1 -> 0.23.11-1) [2018-06-01 21:55] [ALPM] upgraded p11-kit (0.23.10-1 -> 0.23.12-1) [2018-06-01 21:55] [ALPM] upgraded jfsutils (1.1.15-4 -> 1.1.15-5) [2018-06-01 21:55] [ALPM] upgraded b43-fwcutter (019-1 -> 019-2) [2018-06-01 21:55] [ALPM] upgraded acpi_call-dkms (1.1.0-132 -> 1.1.0-133) [2018-06-01 21:55] [ALPM] upgraded dkms (2.5-1 -> 2.5-3)

alucryd commented on 2018-06-01 21:00 (UTC)

@Enverex: might be related to not using their "optimized" llvm. However I'm not using theirs until they stop installing it on the system making tons of conflicts with the system one.

You can easily test this theory by uncommenting the 2 commented lines in the PKGBUILD and adding another 'SKIP' in the sums array.

elmx commented on 2018-06-01 20:40 (UTC) (edited on 2018-06-01 20:40 (UTC) by elmx)

KDE plasma 5.12.5 version has progressed wayland but I can't use rpcs3 AppImage on wayland it gives " This application failed to start because it could not find or load the Qt platform plugin "wayland" in ""." error so I had to install rpcs3-git than installation cannot be completed because of "cereal". I cant compile "Cereal" to install rpcs3-git. By the way I even cant install on xorg it gives same compile error.

Enverex commented on 2018-06-01 20:26 (UTC) (edited on 2018-06-01 21:46 (UTC) by Enverex)

Oddly enough, building this results in a much, MUCH worse performing RPCS3 than using the AppImage available on their website. Is the build missing something important somewhere?

EDIT: It's LLVM. You need to modify the PKGBUILD to use RPCS3's own LLVM (which is currently commented out) otherwise performance is awful.

elmx commented on 2018-05-31 16:02 (UTC)

I still have "Cereal" build error!

make[2]: [unittests/CMakeFiles/test_memory.dir/build.make:63: unittests/CMakeFiles/test_memory.dir/memory.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:1619: unittests/CMakeFiles/test_memory.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

alucryd commented on 2018-05-23 21:28 (UTC)

@fs0ciety There was a missing makedep, your last error should be fixed now.

fs0ciety commented on 2018-05-23 10:49 (UTC)

Thanks alucryd,

Since your PKGBUILD updated it got furthur. All I am using is pacaur. I do get this now while building.

/home/fs0ciety/.cache/pacaur/rpcs3-git/src/rpcs3/rpcs3/Emu/RSX/VK/VulkanAPI.h:11:10: fatal error: vulkan/vk_sdk_platform.h: No such file or directory

alucryd commented on 2018-05-22 20:48 (UTC)

@hcorion: Thx for the heads up, updated.

@Star-X: You might want to read previous posts before posting duplicates.

@fs0ciety: That's impossible, you're probably doing it wrong.

laegnur commented on 2018-05-22 07:38 (UTC) (edited on 2018-05-22 07:40 (UTC) by laegnur)

If I try to install this AUR I get a compilation error.

/tmp/yaourt-tmp-laegnur/aur-rpcs3/src/rpcs3-0.0.5/rpcs3/Emu/Cell/Modules/cellAdec.cpp: In constructor ‘AudioDecoder::cpu_task()::AVPacketHolder::AVPacketHolder(u32)’: /tmp/yaourt-tmp-laegnur/aur-rpcs3/src/rpcs3-0.0.5/rpcs3/Emu/Cell/Modules/cellAdec.cpp:232:40: error: ‘FF_INPUT_BUFFER_PADDING_SIZE’ was not declared in this scope data = (u8*)av_calloc(1, size + FF_INPUT_BUFFER_PADDING_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/yaourt-tmp-laegnur/aur-rpcs3/src/rpcs3-0.0.5/rpcs3/Emu/Cell/Modules/cellAdec.cpp:232:40: note: suggested alternative: ‘AV_INPUT_BUFFER_PADDING_SIZE’ data = (u8*)av_calloc(1, size + FF_INPUT_BUFFER_PADDING_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ AV_INPUT_BUFFER_PADDING_SIZE

If I compiled it following the instructions on the official GIT page, it works.

Star-X commented on 2018-05-22 00:51 (UTC)

/tmp/pamac-build-starx555/rpcs3-git/src/rpcs3 /tmp/pamac-build-starx555/rpcs3-git/src error: pathspec 'Vulkan/Vulkan-LoaderAndValidationLayers' did not match any file(s) known to git.

Halp.

fs0ciety commented on 2018-05-21 03:57 (UTC)

Tried compiling today and got the following error.

PKGBUILD: line 73: cd: build: No such file or directory

hcorion commented on 2018-05-21 03:20 (UTC)

I know you're just having a ball updating this package, but the Vulkan/Vulkan-LoaderAndValidationLayers submodule was removed, and now uses system vulkan packages.

Zeioth commented on 2018-05-21 01:26 (UTC) (edited on 2018-05-21 01:26 (UTC) by Zeioth)

Fail to build at 9%:

[ 9%] Linking CXX executable ../../../bin/llvm-tblgen /usr/bin/ld: cannot find -lyaml-cpp

collect2: error: ld returned 1

make[2]: *** [llvm_build/utils/TableGen/CMakeFiles/llvm-tblgen.dir/build.make:162: bin/llvm-tblgen] Error 1

make[1]: *** [CMakeFiles/Makefile2:1031: llvm_build/utils/TableGen/CMakeFiles/llvm-tblgen.dir/all] Error 2

make: *** [Makefile:152: all] Error 2

alucryd commented on 2018-05-17 18:24 (UTC)

They changed the llvm detection again, now they're looking for a llvmlibs directory instead of looking for version 999.666 xD Anyway, fixed.

Star-X commented on 2018-05-17 17:28 (UTC) (edited on 2018-05-17 17:30 (UTC) by Star-X)

Won't compile any more, the error I get which I think is the culprit in Pamac is:

CMake Error at rpcs3/CMakeLists.txt:208 (add_subdirectory): The source directory

/tmp/pamac-build-starx555/rpcs3-git/src/rpcs3/llvm

does not contain a CMakeLists.txt file.

I could post the full log, but this is the only one that actually is an error. Below is the final output that signifies it can't build:

-- Configuring incomplete, errors occurred! See also "/tmp/pamac-build-starx555/rpcs3-git/src/build/CMakeFiles/CMakeOutput.log". See also "/tmp/pamac-build-starx555/rpcs3-git/src/build/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in build(). Aborting...

Any chance someone could fix this?

Kierek commented on 2018-05-17 16:38 (UTC)

And another problem

Linking C executable cmTC_bee14 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bee14.dir/link.txt --verbose=1 /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -rdynamic CMakeFiles/cmTC_bee14.dir/CheckFunctionExists.c.o -o cmTC_bee14 -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[1]: [CMakeFiles/cmTC_bee14.dir/build.make:87: cmTC_bee14] Błąd 1 make[1]: Opuszczenie katalogu '/tmp/yay/rpcs3-git/src/build/CMakeFiles/CMakeTmp' make: [Makefile:126: cmTC_bee14/fast] Błąd 2

alucryd commented on 2018-05-13 17:17 (UTC)

Sigh, and the new dep is installed on the system again, conflicting with xxhash if you have it installed already... Had to make an ugly hack.

alucryd commented on 2018-05-13 16:58 (UTC)

It's no wonder, considering upstream just introduced a new dependency.

Kierek commented on 2018-05-13 15:05 (UTC)

Newest version still doesn't compile:

-- CXX target rpcs3 cotired excluding /tmp/yay/rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/PPUTranslator.cpp, /tmp/yay/rpcs3-git/src/rpcs3/rpcs3/../Utilities/JIT.cpp. CMake Error at CMakeLists.txt:47 (add_subdirectory): add_subdirectory given source "3rdparty/xxHash/cmake_unofficial" which is not an existing directory.

-- Configuring incomplete, errors occurred! See also "/tmp/yay/rpcs3-git/src/build/CMakeFiles/CMakeOutput.log". See also "/tmp/yay/rpcs3-git/src/build/CMakeFiles/CMakeError.log".

alucryd commented on 2018-05-12 23:25 (UTC)

@hcorion, @fs0ciety: my bad, forgot to add llvm back to depends after discovering that the modified one wouldn't cut it.

fs0ciety commented on 2018-05-12 20:35 (UTC) (edited on 2018-05-12 20:36 (UTC) by fs0ciety)

I still get this and can't compile it.

CMake Error at rpcs3/CMakeLists.txt:199 (add_subdirectory): The source directory

/home/fs0ciety/.cache/pacaur/rpcs3-git/src/rpcs3/llvm

does not contain a CMakeLists.txt file.

-- Could NOT find LLVM (missing: LLVM_DIR) CMake Warning at rpcs3/CMakeLists.txt:205 (message): Couldn't build LLVM from the submodule. You might need to run git submodule update --init

hcorion commented on 2018-05-12 17:00 (UTC)

hm, and if I update ffmpeg, and try to build rpcs3-git, it still doesn't work.

hcorion commented on 2018-05-12 16:18 (UTC) (edited on 2018-05-12 16:18 (UTC) by hcorion)

Great, thanks! However, now I've got this weird issue while I'm updating to ffmpeg 4.0. It says:

:: rpcs3-git: installing ffmpeg (1:4.0-1) breaks dependency 'libavcodec.so=57-64'

the build with RPCS3 and ffmpeg has already been fixed (https://github.com/RPCS3/rpcs3/pull/4471), so I'm assuming it's something on your side?

alucryd commented on 2018-05-12 12:08 (UTC)

Updated, but using our system llvm. I'm not using the modified one while rpcs3 insists on installing it, conflicting with the system one.

hcorion commented on 2018-05-10 03:43 (UTC)

Hey, this will now no longer build due to RPCS3 being on llvm 6.0. We also have a seperate fork of LLVM: https://github.com/RPCS3/llvm (release_60 branch), which includes some performance optimizations.

Sanpi commented on 2018-05-08 07:27 (UTC)

@VerruckteFuchs I don’t understand how it’s possible, but I fixed the problem. Thank you.

VerruckteFuchs commented on 2018-05-07 21:36 (UTC) (edited on 2018-05-07 21:46 (UTC) by VerruckteFuchs)

At lines 104-106 I'm getting errors with the PKGBUILD:

rm: cannot remove '/var/cache/pacman/custom/rpcs3/pkg/rpcs3/usr/bin/llvm-tblgen': No such file or directory

rm: cannot remove '/var/cache/pacman/custom/rpcs3/pkg/rpcs3/usr/include': No such file or directory

rm: cannot remove '/var/cache/pacman/custom/rpcs3/pkg/rpcs3/usr/lib': No such file or directory

I can have the PKGBUILD go a line further as I comment out each line, but each rm seems to fail. My aur package directory is /var/cache/pacman/custom, FYI.

Edit: Commenting out lines 102-107 allow the PKGBUILD to be run with no errors. The directories the PKGBUILD is trying to rm at those lines may be somewhere else or non-existent at rm time for whatever reason.

Sanpi commented on 2018-05-06 16:13 (UTC)

@RLLBcheese I removed LLVM files from package, thank you.

RLLBcheese commented on 2018-04-26 19:36 (UTC)

Conflicts with LLVM.

AlexanderR commented on 2018-04-22 17:17 (UTC)

This package needs dependency on qt5-declarative (Qt5::Qml)

Sanpi commented on 2018-04-19 08:28 (UTC)

@jclc If I recall well, this was a namcap warning.

jclc commented on 2018-04-18 16:33 (UTC)

Why does this package have ncurses5-compat-libs as a dependency while rpcs3-git doesn't?

Notex commented on 2018-04-13 00:45 (UTC)

@Anty0 I don't see any harm doing that. Just weird since none of my games load at all, just a black screen. I tried one of the pre-compiled builds off their website which is an older build and that seemed to work fine.

Anty0 commented on 2018-04-12 15:01 (UTC)

@Notex I will probably report this issue on RPCS3 repo next week (this week I have lot of work to do for school). Do you think it's good idea?

Notex commented on 2018-04-12 14:33 (UTC)

@Anty0 Ah okay. Thanks for the confirmation. Glad to know it's not just me having issues at the moment.

Anty0 commented on 2018-04-10 15:13 (UTC)

@Notex I'm having trouble running games using OpenGl (black screen, only some wired colored flashes when game starts, sound and controller works) and because my graphics card doesn't have finished support for vulkan (Intel HD Graphics, Intel Broadwell Mobile), even vulkan is not working properly (just throws fatal error on most games and some homebrews). So yeah I'm unable to run any game on RPCS3 nowdays...

Notex commented on 2018-04-09 05:34 (UTC)

Anyone else having trouble running games with this after recently upgrading this package?

Anty0 commented on 2018-03-15 19:23 (UTC) (edited on 2018-03-15 19:25 (UTC) by Anty0)

Missing dependency: qt5-3d

Probably runtime dependency, but breaks also build.

Without this installed build crashes with this message:

...

Target "rpcs3" links to target "Qt5::Qml" but the target was not found.

...

salviati commented on 2018-03-13 01:07 (UTC)

Conflicts with llvm

Sanpi commented on 2018-03-07 12:38 (UTC)

@VerruckteFuchs fixed, thank you.

VerruckteFuchs commented on 2018-03-05 23:10 (UTC)

On line 64 there is 'ln --symbolic --force ../../Vulkan-LoaderAndValidationLayers-85926a33d427ee62f395a50886db980127063c72 Vulkan/Vulkan-LoaderAndValidationLayers'. There has been a directory name change so that dir no longer exists, which results in the PKGBUILD failing at that line. Changing line 64 to 'ln --symbolic --force ../../Vulkan-LoaderAndValidationLayers-28d93dfc0f24d65237fd773d74a284bf6e399222 Vulkan/Vulkan-LoaderAndValidationLayers' allows the package to be installed properly.

Sanpi commented on 2018-01-30 09:19 (UTC)

@Anaeijon fixed, thank you.

Anaeijon commented on 2018-01-29 22:10 (UTC) (edited on 2018-01-29 22:28 (UTC) by Anaeijon)

I needed to change line 87 of PKGBUILD from

cp ../../../git-version.h ../rpcs3/

to

cp ../../git-version.h ../rpcs3/

Sanpi commented on 2018-01-14 18:14 (UTC)

@adomas Fixed, thank you.

adomas commented on 2018-01-14 17:48 (UTC)

Build fails if package "boost" is not installed. Maybe it should be listed as dependency?

alucryd commented on 2017-12-27 14:10 (UTC)

This error doesn't happen during the rpcs3-git build. Please report to the correct package.

DocMAX commented on 2017-12-25 20:12 (UTC)

Getting error!

[100%] Running the Clang regression tests lit.py: /home/docmax/.cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/lit.cfg:200: note: using clang: '/home/docmax/.cache/pacaur/llvm40/src/llvm-4.0.1.src/build/./bin/clang' FAIL: Clang :: Modules/prune.m (5000 of 10368) **** TEST 'Clang :: Modules/prune.m' FAILED ** Script: -- rm -rf /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp /home/docmax/.cache/pacaur/llvm40/src/llvm-4.0.1.src/build/./bin/clang -cc1 -internal-isystem /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/bin/../lib/clang/4.0.1/include -nostdsysteminc -DIMPORT_DEPENDS_ON_MODULE -fmodules-ignore-macro=DIMPORT_DEPENDS_ON_MODULE -fmodules -fimplicit-module-maps -F /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/Modules/Inputs -fmodules-cache-path=/mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/Modules/prune.m -verify /home/docmax/.cache/pacaur/llvm40/src/llvm-4.0.1.src/build/./bin/clang -cc1 -internal-isystem /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/bin/../lib/clang/4.0.1/include -nostdsysteminc -DIMPORT_DEPENDS_ON_MODULE -fmodules-ignore-macro=DIMPORT_DEPENDS_ON_MODULE -fmodules -fimplicit-module-maps -F /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/Modules/Inputs -fmodules-cache-path=/mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/Modules/prune.m -verify ls /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep modules.timestamp ls -R /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep ^Module.pcm ls -R /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep DependsOnModule.pcm touch -m -a -t 201101010000 /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp/modules.timestamp /home/docmax/.cache/pacaur/llvm40/src/llvm-4.0.1.src/build/./bin/clang -cc1 -internal-isystem /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/bin/../lib/clang/4.0.1/include -nostdsysteminc -fmodules -fimplicit-module-maps -F /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/Modules/Inputs -fmodules-cache-path=/mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp -fmodules -fmodules-prune-interval=172800 -fmodules-prune-after=345600 /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/Modules/prune.m -verify ls /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep modules.timestamp ls -R /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep ^Module.pcm ls -R /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep DependsOnModule.pcm find /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp -name DependsOnModule.pcm | sed -e 's/\/\//g' | xargs touch -a -t 201101010000 /home/docmax/.cache/pacaur/llvm40/src/llvm-4.0.1.src/build/./bin/clang -cc1 -internal-isystem /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/bin/../lib/clang/4.0.1/include -nostdsysteminc -fmodules -fimplicit-module-maps -F /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/Modules/Inputs -fmodules-cache-path=/mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp -fmodules -fmodules-prune-interval=172800 -fmodules-prune-after=345600 /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/Modules/prune.m -verify ls /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep modules.timestamp ls -R /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep ^Module.pcm ls -R /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep DependsOnModule.pcm touch -m -a -t 201101010000 /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp/modules.timestamp find /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp -name DependsOnModule.pcm | sed -e 's/\/\//g' | xargs touch -a -t 201101010000 /home/docmax/.cache/pacaur/llvm40/src/llvm-4.0.1.src/build/./bin/clang -cc1 -internal-isystem /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/bin/../lib/clang/4.0.1/include -nostdsysteminc -fmodules -fimplicit-module-maps -F /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/Modules/Inputs -fmodules-cache-path=/mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp -fmodules -fmodules-prune-interval=172800 -fmodules-prune-after=345600 /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/tools/clang/test/Modules/prune.m -verify ls /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep modules.timestamp ls -R /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | grep ^Module.pcm ls -R /mnt/htpc/data-ssd/cache/pacaur/llvm40/src/llvm-4.0.1.src/build/tools/clang/test/Modules/Output/prune.m.tmp | /home/docmax/.cache/pacaur/llvm40/src/llvm-4.0.1.src/build/./bin/not grep DependsOnModule.pcm -- Exit Code: 1

Sanpi commented on 2017-12-08 09:35 (UTC)

@harpin fixed, thank you.

hugoarpin commented on 2017-12-07 20:10 (UTC) (edited on 2017-12-07 20:17 (UTC) by hugoarpin)

llvm.tar.gz is failing sha256sum validation on my machine. Should be 16dc99ccbe614bba047f35f4338a23fc0f9e071d4fcca65dc4fd211ecf2a7254 I think.

Behem0th commented on 2017-11-19 19:30 (UTC)

https://github.com/RPCS3/rpcs3/commit/0870862898f01f3bbb506c4a49165c0e7477e912 pugixml now external

alucryd commented on 2017-10-29 18:23 (UTC)

Thx for the heads up, added llvm back.

FabioLolix commented on 2017-10-29 17:08 (UTC)

@Alucryd llvm40 already exist in AUR

alucryd commented on 2017-10-29 13:30 (UTC)

Package updated. Not checking out the llvm subfolder, it installs the whole llvm on the system and conflicts with the llvm package. If someone creates an llvm40 package, I'll be happy to use it.

hcorion commented on 2017-10-25 18:40 (UTC)

Hey @alucryd This package needs some updating. Some submodules have been removed, others have been updated/moved. I would also appreciate you checking out the llvm submodule, so that we can have RPCS3 with LLVM. I would appreciate you adding myself as a co-maintainer.

Behem0th commented on 2017-10-11 15:03 (UTC)

/var/Build/rpcs3-git/src/rpcs3 /var/Build/rpcs3-git/src error: pathspec 'rsx-debugger' did not match any file(s) known to git. https://github.com/RPCS3/rpcs3/commit/9bcc298b184b5d02045bfe09f4e196bbc3e76f6b

vosester commented on 2017-10-09 17:25 (UTC)

My solution was to downgrade and hold the llvm/libs/clang back to 4.0, as for now it's not a hard dependency of any package, not elegant but works.

Sanpi commented on 2017-09-28 08:08 (UTC)

@punkrockguy318 updated, thank you.

prg commented on 2017-09-27 19:49 (UTC)

Vulkan-LoaderAndValidationLayers.tar.gz failing md5 validation

hcorion commented on 2017-09-17 05:10 (UTC)

This will no longer build with LLVM, an important feature of RPCS3, because of Arch Linux's upgrade to llvm 5. RPCS3 has a PR for LLVM 5 support but it breaks a bunch of games (including Persona 5). Options for this package: 1. Create an AUR package for llvm 4 and require that. 2. Build using the LLVM submodule. 3. Don't do anything, rpcs3 users on arch will have to do without llvm for now. 4. Use the unstable LLVM 5 PR and add it as patch. (ranked from IMO best to worst)

Sanpi commented on 2017-08-19 16:08 (UTC)

@hcorion ok, now the package use the source archives.

hcorion commented on 2017-08-18 18:56 (UTC)

Okay, but this package still doesn't build from source. You can basically copy-paste alucryd's rpcs3-git package (even better, add him as a co-maintainer). All you'd need to change would be git+https://github.com/RPCS3/rpcs3.git in sources to https://github.com/RPCS3/rpcs3/archive/v0.0.3.tar.gz and add a sha256/sha512sum for it.

Sanpi commented on 2017-08-17 07:51 (UTC)

@hcorion done, thank you. https://aur.archlinux.org/packages/rpcs3-bin/

hcorion commented on 2017-08-16 22:43 (UTC)

This package name should be changed to rpcs3-bin, because it uses the binary, another package should be created called rpcs3 that builds it from the source.

hcorion commented on 2017-07-25 19:18 (UTC)

@alucryd llvm-libs are now only a build-dep and aren't needed at runtime.

hcorion commented on 2017-07-16 17:09 (UTC)

@alucryd The no-pie flags have been upstreamed via https://github.com/RPCS3/rpcs3/commit/6597eb27c74469ef67ef03b041178f1f4358f6f4

alucryd commented on 2017-07-15 18:13 (UTC)

Added -no-pie to the linker flags, -nopie seems to be for very old GCC (4.x).

tempomolto commented on 2017-07-15 08:24 (UTC)

The pb is discussed here: https://github.com/RPCS3/rpcs3/issues/2516#issuecomment-315405512 With latest clang and my script, I have to do this to be able to launch a game: " This is because Arch now enables PIE and SSP by default, you can fix this by changing line 104 in rpcs3/CmakeLists.txt from set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -image-base=0x10000") to set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -image-base=0x10000 -nopie") " This works fine

C0rn3j commented on 2017-07-14 07:03 (UTC)

RPCS3 v0.0.2-5456-25fcde950 Alpha F LDR: St11range_error thrown: Narrow error (0x55fcdadf4b00) S LDR: Boot Game: boot done. Can't launch any game either. Though when trying to launch when compiling from their git repo directly, I get a similar error. RPCS3 v0.0.2-5456-25fcde95 Alpha F LDR: St11range_error thrown: Narrow error (0x562e50829940) S LDR: Boot from gamelist per Boot: done

tempomolto commented on 2017-07-11 07:02 (UTC)

on latest package, I can't launch any game by double clicking (or menu boot) RPCS3 v0.0.2-5408-2e47c4236 Alpha F LDR: St11range_error thrown: Narrow error (0x55c58b7fa430) S LDR: Boot from gamelist per doubleclick: done If I compile with this, I can launch the games. It used to work correctly. #!/bin/bash rm -rf rpcs3 git clone https://github.com/RPCS3/rpcs3.git cd rpcs3/ #test with clang export CC=/usr/bin/clang export CXX=/usr/bin/clang++ git submodule update --init cmake CMakeLists.txt && make GitVersion && make

hcorion commented on 2017-06-23 02:37 (UTC)

@alucryd it was fixed in a recent PR, it now works fine for me. Some weird bug with how GitVersion wasn't required. No idea why it wouldn't trigger though.

alucryd commented on 2017-06-22 17:35 (UTC)

Again, I can't reproduce either locally or in a clean chroot. AUR helpers shouldn't matter because ultimately they should be calling makepkg, but even if they do, they're unsupported anyway. Did you try building with makepkg or devtools ? BTW, I've got nightly builds over here: https://pkgbuild.com/~alucryd/

logos commented on 2017-06-21 09:00 (UTC)

With "make GitVersion && make" instead of make I stopped having "fatal error: git-version.h" and I was able to compile it.

hcorion commented on 2017-06-15 06:42 (UTC) (edited on 2017-06-15 06:43 (UTC) by hcorion)

@alucryd I'm having the same problem as logos and behem0th had, it might have something do to do with AUR helpers? Anyway, try running make GitVersion && make instead of just make. Also, could build a debug build, with gdb bt and file a bug report about the core dump on GitHub?

Behem0th commented on 2017-06-12 19:11 (UTC)

During build c++ compiler eat 16Gb ram + 4gb swap. But after build rpsc3 start normal. I did not update my system for a while, and in system i have Qt 5.8.

alucryd commented on 2017-06-12 18:10 (UTC)

Looks like rsx_program_decompiler is no longer needed. It should build now, but I get a core dump when I try to launch rpcs3.

logos commented on 2017-06-11 10:25 (UTC) (edited on 2017-06-11 20:31 (UTC) by logos)

I am having the same error as Behem0th

Behem0th commented on 2017-06-08 16:51 (UTC) (edited on 2017-06-08 16:57 (UTC) by Behem0th)

Hello. i have this error ==> Starting prepare()... /var/Build/rpcs3-git/src/rsx_program_decompiler /var/Build/rpcs3-git/src Submodule 'common' (https://github.com/RPCS3/common) registered for path 'common' Cloning into '/var/Build/rpcs3-git/src/rsx_program_decompiler/common'... done. Submodule path 'common': checked out '2a5a06098b88cf01aa39f95a2f1839ad75ea92c8' /var/Build/rpcs3-git/src /var/Build/rpcs3-git/src/rpcs3 /var/Build/rpcs3-git/src error: pathspec 'rsx_program_decompiler' did not match any file(s) known to git. ==> ERROR: A failure occurred in prepare(). Aborting... I dont know, is this relevant? https://github.com/RPCS3/rpcs3/commit/444c64ae757889b558d2364a699e465b25955adf

klore commented on 2017-06-08 13:34 (UTC)

hello, got this compilation error compilation terminated. make[2]: *** [rpcs3/CMakeFiles/rpcs3.dir/build.make:7527: rpcs3/CMakeFiles/rpcs3.dir/rpcs3_version.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:147: rpcs3/CMakeFiles/rpcs3.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :((

tempomolto commented on 2017-06-06 09:51 (UTC) (edited on 2017-06-06 09:51 (UTC) by tempomolto)

I have the same error as logos about a missing git-version.h I tried to compile with clang instead, but no luck. If I do this (following their readme): git clone https://github.com/RPCS3/rpcs3.git cd rpcs3/ #test with clang export CC=/usr/bin/clang export CXX=/usr/bin/clang++ git submodule update --init cmake CMakeLists.txt && make GitVersion && make then it works, and I can launch on a r9 fury with: MESA_GLSL_VERSION_OVERRIDE=450 MESA_GL_VERSION_OVERRIDE=4.5 ./rpcs3/bin/rpcs3

logos commented on 2017-06-05 20:43 (UTC) (edited on 2017-06-05 21:13 (UTC) by logos)

Maybe is related with this https://github.com/RPCS3/rpcs3/issues/1802

alucryd commented on 2017-06-05 18:50 (UTC)

I can't reproduce here, neither locally nor in a clean chroot. Maybe try reaching upstream about it. Also, when you post some output you're supposed to use an english locale.

logos commented on 2017-06-05 06:26 (UTC) (edited on 2017-06-05 06:40 (UTC) by logos)

I get this error compiling: error fatal: git-version.h: No existe el fichero o el directorio #include "git-version.h" ^~~~~~~~~~~~~~~ compilación terminada. make[2]: *** [rpcs3/CMakeFiles/rpcs3.dir/build.make:7527: rpcs3/CMakeFiles/rpcs3.dir/rpcs3_version.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:147: rpcs3/CMakeFiles/rpcs3.dir/all] Error 2 make: *** [Makefile:130: all] Error 2

alucryd commented on 2017-06-04 19:48 (UTC)

Updated, thx for the heads up :)

Behem0th commented on 2017-06-04 19:09 (UTC)

RPCS3 now support Qt https://github.com/RPCS3/rpcs3/commit/6cfb184b1ec798eb209272a404040e7a582516a7

CyberConan commented on 2017-05-25 18:52 (UTC)

Hi! I don't know why but I had this error: /tmp/rpcs3/rpcs3/rpcs3_version.cpp:3:25: fatal error: git-version.h: No such file or directory I needed include make GitVersion before make. https://github.com/RPCS3/rpcs3/issues/2229

hcorion commented on 2017-05-22 18:03 (UTC)

@alucryd RPCS3 now has a make install step, which installs the desktop icons, .desktop and executable.

hcorion commented on 2017-05-12 04:27 (UTC)

Great, thanks! RPCS3 works fine for me on Intel i7 4770 and GTX 1070, no st11range error. It really is a strange error, because some people get it and some don't, some people even have the same hardware but one gets the st11range and the other doesn't.

alucryd commented on 2017-05-11 22:05 (UTC)

Yeah well, first /opt is hardly "root", and second it had been reported that rpcs3 needed read and write access to the directory that harbored it. Can't really make /usr/bin world writeable. Now sure, there was a typo in the shell, but it hardly mattered since rpcs3 hasn't worked for as long as I can remember because of the st11range error, whether it's built with GCC or LLVM. Anyway, I don't see any access to /opt/rpcs3 anymore, everything is neat and tidy in ~/.config/rpcs3 so rpcs3 is back in /usr/bin. All that remains is for the st11range error to be fixed.

hcorion commented on 2017-05-11 18:27 (UTC)

@logos Yes, this is because @alucryd screwed it up. See my post below. Hopefully @alucryd will add me as a co-maintainer.

logos commented on 2017-05-10 15:29 (UTC)

Since the last update rpcs3 doesn't run anymore

hcorion commented on 2017-05-08 23:45 (UTC) (edited on 2017-05-09 01:08 (UTC) by hcorion)

Why the new rpcs3.sh? Why would you be cd-ing to the /opt directory? Just copy the binary into the bin folder like it was previously. I don't want my root directory spammed with unnecessary folders. EDIT: I just realized other AUR packages install to /opt/, but it doesn't make sense for rpcs3, it should be just install to /usr/bin Also, it plain just doesn't work, the exec rpcs3 doesn't work, because the rpcs3 binary is in /opt/rpcs3, not in the path. @alucryd Would you be interested in accepting myself as a co-maintainer? I'm sometimes pretty up-to-date with RPCS3 developments.

C0rn3j commented on 2017-05-08 22:13 (UTC)

> also what's the deal with all that stuff in /usr/local/lib64/ ? Thanks! Idiotic symlink to workaround a problem I had with custom WINE prefix. Removed it and now it builds.

alucryd commented on 2017-05-08 18:51 (UTC)

You obviously have some llvm still installed, also what's the deal with all that stuff in /usr/local/lib64/ ?

C0rn3j commented on 2017-05-08 18:46 (UTC)

Uninstalled llvm, tried again but it failed. https://paste.c0rn3j.com/?f0c09bfc36317b55#9n/mMz0TPYGZW087npqVsTeZyuexW6tyNBQZkJGzDoA=

alucryd commented on 2017-05-08 18:31 (UTC)

Uninstall llvm or build in a clean chroot.

C0rn3j commented on 2017-05-08 13:19 (UTC)

Won't build https://paste.c0rn3j.com/?38f1dc870ce3d01f#oebO09WbtttrLFI3VHQjzGXjg/sUurYv6z5JXgquLsE=

alucryd commented on 2017-05-08 12:26 (UTC)

You're supposed to use an external pastebin service for that. Just updated the PKGBUILD, also you can find nightly builds one of my unofficial repos: https://pkgbuild.com/~alucryd/.

deathrashergr commented on 2017-05-06 21:17 (UTC)

I am not sure about the rules of the AUR and posting code on comments but for anyone in a hurry (like myself) I managed to build the rpcs3-git package successfully by adding the hidapi dependency to the PKGBUILD. The new PKGBUILD contents: # Maintainer: Maxime Gauduin <alucryd@archlinux.org> pkgname=rpcs3-git pkgver=0.0.2.r194.b9ebf595e pkgrel=1 pkgdesc='A Sony PlayStation 3 emulator' arch=('x86_64') url='https://github.com/RPCS3/rpcs3' license=('GPL2') depends=('gcc-libs' 'glew' 'glibc' 'glu' 'libgl' 'libpng' 'libx11' 'openal' 'wxgtk' 'yaml-cpp' 'zlib' 'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libncursesw.so' 'libswscale.so' 'libswresample.so') makedepends=('boost' 'cereal' 'cmake' 'git' 'llvm') provides=('rpcs3') conflicts=('rpcs3') source=('git+https://github.com/RPCS3/rpcs3.git' 'git+https://github.com/RPCS3/common.git' 'git+https://github.com/RPCS3/pugixml.git#commit=f205aaf' 'git+https://github.com/RPCS3/rsx-debugger.git#commit=3b11b96' 'git+https://github.com/RPCS3/rsx_program_decompiler.git#commit=de3b205' 'git+https://github.com/kobalicek/asmjit.git#commit=b0dad1a' 'git+https://github.com/Microsoft/GSL.git#commit=fc5fce4' 'git+https://github.com/KhronosGroup/glslang.git#commit=2921e0c' 'git+https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers.git#commit=64d375f' 'git+https://github.com/signal11/hidapi.git') sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP') pkgver() { cd rpcs3 echo "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')" } prepare() { cd rsx_program_decompiler git submodule init common git config submodule.common.url ../common git submodule update common cd ../rpcs3 git submodule init 3rdparty/{GSL,pugixml,hidapi} asmjit rsx{-debugger,_program_decompiler} Vulkan/{glslang,Vulkan-LoaderAndValidationLayers} git config submodule.asmjit.url ../asmjit git config submodule.GSL.url ../GSL git config submodule.pugixml.url ../pugixml git config submodule.rsx-debugger.url ../rsx-debugger git config submodule.rsx_program_decompiler.url ../rsx_program_decompiler git config submodule.glslang.url ../glslang git config submodule.Vulkan-LoaderAndValidationLayers ../Vulkan-LoaderAndValidationLayers git config submodule.hidapi ../hidapi git submodule update 3rdparty/{GSL,pugixml,hidapi} asmjit rsx_program_decompiler Vulkan/{glslang,Vulkan-LoaderAndValidationLayers} if [[ -d build ]]; then rm -rf build fi mkdir build } build() { cd rpcs3/build cmake .. \ -DCMAKE_BUILD_TYPE='Release' \ -DCMAKE_INSTALL_PREFIX='/usr' \ -DCMAKE_EXE_LINKER_FLAGS='-ldl -lyaml-cpp' \ -DCMAKE_SKIP_RPATH='ON' \ -DUSE_SYSTEM_FFMPEG='ON' \ -DUSE_SYSTEM_LIBPNG='ON' make } package() { cd rpcs3/build install -dm 755 "${pkgdir}"/usr/bin install -m 755 bin/rpcs3 "${pkgdir}"/usr/bin/ } # vim: ts=2 sw=2 et:

hcorion commented on 2017-05-04 21:21 (UTC) (edited on 2017-05-04 21:21 (UTC) by hcorion)

This needs an update, RPCS3 now has a submodule in 3rdparty/hidapi, see bug here: https://github.com/RPCS3/rpcs3/issues/2751

MrTimscampi commented on 2017-04-30 15:08 (UTC)

@atamax: It's a known bug upstream. The LLVM currently works only on the NVidia proprietary driver.

atamax commented on 2017-04-25 14:17 (UTC) (edited on 2017-04-25 14:51 (UTC) by atamax)

After compiling rev 5152 on a new clean arch install i get this while trying to run a game: : CommandLine Error: Option 'help-list' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options Edit: Runs fine with Null video renderer but when I try to use opengl with or without "MESA_GL_VERSION_OVERRIDE=4.5" i get the above error. I am using radeonsi.

tempomolto commented on 2017-04-21 15:12 (UTC)

With radeonsi, as of rev 5150, it's necessary to launch with MESA_GL_VERSION_OVERRIDE=4.5 rpcs3

hcorion commented on 2017-04-03 18:43 (UTC)

@alycryd Nevermind, issue was fixed, and now builds and runs properly with system ffmpeg as well.

hcorion commented on 2017-04-01 19:07 (UTC)

@alucryd The PKGBUILD needs changing. A recent commit makes it no longer run. It no longer builds with the system's ffmpeg, it needs the custom ffmpeg. You can see the bug report here: https://github.com/RPCS3/rpcs3/issues/2616 So you need to add the custom FFMPEG as a source and remove the -DUSE_SYSTEM_FFMPEG='ON' cmake flag.

hcorion commented on 2017-03-31 20:51 (UTC) (edited on 2017-03-31 20:51 (UTC) by hcorion)

@mac1202 Vulkan is not yet enabled on Linux, OpenGL is more stable anyways. You can track this issue for Vulkan support on Linux: https://github.com/RPCS3/rpcs3/issues/2255

mac1202 commented on 2017-03-23 16:35 (UTC)

Did someone successfully build this with vulkan renderer. I can build dolphin or retroarch with vulkan support but with rpcs3 I only got opengl renderer.

alucryd commented on 2017-03-22 21:54 (UTC)

The pkgver is automatically bumped upon building, there's no need to bump it here.

C0rn3j commented on 2017-03-12 04:26 (UTC)

RPCS3 went from pre-alpha to alpha, even though this package seems to build correctly, would it be possible to up the version that shows during install? it is currently on 0.0.2

GhettoGirl35 commented on 2017-03-05 18:00 (UTC)

RPCS3 doesn't follow or have a typical *nix software structure. Putting the binary into /usr/bin is wrong, because RPCS3 reads /proc/self/exe to receive its path in the filesystem and uses that to locate its assets and other data. A directory like /opt/rpcs3 would be more fitting for this kind of software. At the current state of the filesystem design of the emulator I highly recommend to stay away from /usr. Maybe this will change in the future. But not now.

Epsilon commented on 2017-01-29 18:34 (UTC)

Current upstream is https://github.com/RPCS3/rpcs3 The one in the pkgbuild is over 7 months old source.

logos commented on 2017-01-28 11:32 (UTC)

If someone has the same problem, is related to this bug: https://github.com/RPCS3/rpcs3/issues/2132

logos commented on 2017-01-14 22:39 (UTC)

Where can I find this folders of RPCS3 in the system: \dev_flash\sys\external \dev_hdd0\game

Enverex commented on 2016-12-02 16:02 (UTC)

Behem0th: This isn't a support forum for the program, only for issues relating to the PKGBUILD specifically.

Behem0th commented on 2016-10-30 06:43 (UTC)

I have this issue when install game E LDR: PKG: Could not create the installation directory /usr/bin/dev_hdd0/game/NPEA00271 I try create dev_hdd0 folder and chmod 777, try ln -s ~/ps3 /usr/bin/dev_hdd0 but still get this error. How can a change hdd0 emullation directory?

ProfessorKaos64 commented on 2016-10-05 17:03 (UTC)

Has anyone been able to build this with clang?

Enverex commented on 2016-09-21 15:40 (UTC)

You -have- to use GCC 6.2+ for it to build correctly. Don't expect it to work with GCC 6.1. Also, it won't work correctly when installed to /bin or /usr/bin because the program's a bit silly right now and tries to write to (exedir)/(stuff) which obviously won't work if it's installed to one of the system bin folders due to permissions. Using /opt instead for now is probably a good idea.

Sanpi commented on 2016-08-10 10:28 (UTC) (edited on 2016-08-10 10:28 (UTC) by Sanpi)

@tesfabpel I have an error with your PKGBUILD: [100%] Linking CXX executable ../bin/rpcs3 /usr/bin/ld: CMakeFiles/rpcs3.dir/__/Utilities/dynamic_library.cpp.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /usr/lib/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [rpcs3/CMakeFiles/rpcs3.dir/build.make:9812: bin/rpcs3] Error 1 make[1]: *** [CMakeFiles/Makefile2:245: rpcs3/CMakeFiles/rpcs3.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

tesfabpel commented on 2016-08-07 12:18 (UTC) (edited on 2016-08-07 12:19 (UTC) by tesfabpel)

I've edited the PKGBUILD and now it compiles (but sadly, it doesn't link: it says that it could not find something related to YAML) Anyway here's my PKGBUILD: https://gist.github.com/tesfabpel/3030acc8faa54aacefe986adb4e6a7ec PS: BTW, isn't it better to let git handle the submodules itself instead of letting makepkg do it (by using `git submodule update --recursive`)?

tesfabpel commented on 2016-08-03 13:00 (UTC)

It fails to compile with this error: In file included from /tmp/yaourt-tmp-tesfabpel/aur-rpcs3-git/src/rpcs3/rpcs3/Emu/RSX/RSXThread.h:12:0, from /tmp/yaourt-tmp-tesfabpel/aur-rpcs3-git/src/rpcs3/rpcs3/Emu/RSX/GSRender.h:3, from /tmp/yaourt-tmp-tesfabpel/aur-rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/Modules/cellGcmSys.cpp:8: /tmp/yaourt-tmp-tesfabpel/aur-rpcs3-git/src/rpcs3/rpcs3/Emu/RSX/rsx_methods.h:12:34: fatal error: cereal/types/array.hpp: File or directory does not exist. #include <cereal/types/array.hpp>

alucryd commented on 2016-07-04 19:37 (UTC)

Finally I can drop the obnoxious patching, thx. Building still fails though because of that GCC bug, guess we'll have to wait.

GhettoGirl35 commented on 2016-07-01 15:16 (UTC)

The 'rpcs3-system-libs.patch' is no longer necessary, please remove. There are now 2 build options in the CMakeLists (-DUSE_SYSTEM_LIBPNG=ON -DUSE_SYSTEM_FFMPEG=ON) for this.

Enverex commented on 2016-07-01 10:09 (UTC)

It doesn't currently compile due to - https://github.com/RPCS3/rpcs3/issues/1691 Which is apparently due to a GCC regression.

Enverex commented on 2016-06-27 11:18 (UTC)

To add on to this, I managed to fix the setup stage, but it fails roughly half-way through compilation with... [ 45%] Building CXX object rpcs3/CMakeFiles/rpcs3.dir/Emu/Cell/SPUDisAsm.cpp.o In file included from src/rpcs3/rpcs3/Emu/Cell/SPUDisAsm.h:4:0, from src/rpcs3/rpcs3/Emu/Cell/SPUASMJITRecompiler.cpp:5: src/rpcs3/rpcs3/Emu/Cell/SPUOpcodes.h: In constructor ‘spu_decoder<D, T>::spu_decoder() [with D = spu_recompiler; T = void (spu_recompiler::*)(spu_opcode_t)]’: src/rpcs3/rpcs3/Emu/Cell/SPUOpcodes.h:261:3: internal compiler error: in add_expr, at tree.c:7870 So I'm not sure it's in a working state right now anyway.

Enverex commented on 2016-06-27 10:53 (UTC)

This was flagged broken nearly 3 months ago. Is it abandoned?

gee commented on 2016-06-21 20:46 (UTC)

Yup you have to keep updating these, they break so easily. Even more with the changes of target commit for the auxiliary branches.

commented on 2016-06-19 16:09 (UTC)

Build fails with ==> Starting prepare()... error: pathspec 'GSL' did not match any file(s) known to git. EDIT: gee's build from pastebin didn't work for me either

gee commented on 2016-04-16 23:24 (UTC) (edited on 2016-04-16 23:43 (UTC) by gee)

In case it helps anyone, current pkgbuild: http://pastebin.com/a8nXPtbv (debug version) http://pastebin.com/xjk8wr0K (release version) and current patch: http://pastebin.com/yC5uYfQc I almost need to update one of them daily lately...

gee commented on 2016-03-18 08:30 (UTC)

I had to change a bit the PKGBUILD to get it to build: http://pastebin.com/PK5BYpAk (the patch line is not the best, I tried to fix the patch itself, but I didn't make it quickly and didn't feel like spending time on this for it to change again next week... the skip line in the array is because of my changed patch, I didn't feel like changing the array after every modification).

alucryd commented on 2016-01-30 10:20 (UTC)

Updated, it now builds, but I get an access violation trying to launch it.

Claudiop commented on 2015-12-16 23:58 (UTC) (edited on 2015-12-17 00:00 (UTC) by Claudiop)

Yeah, the same happened. The CMakeLists has changed (several times actually) since this was last updated so the patch doesn't work anymore. Tried to fix it but then it failed building because there were troubles with asmjit being out of scope. When you have some time, please update the files. The library paths are fixed already in the git version, so I don't know what changed that broke this other than that :/ Edit: Forgot to ask why are you using that repo. This is the official one and is way ahead: https://github.com/RPCS3/rpcs3

Behem0th commented on 2015-11-23 15:10 (UTC)

==> Starting prepare()... patching file CMakeLists.txt patching file rpcs3/CMakeLists.txt Hunk #1 FAILED at 101. Hunk #2 FAILED at 127. Hunk #3 succeeded at 160 with fuzz 2 (offset 9 lines). Hunk #4 succeeded at 176 with fuzz 1 (offset 13 lines). 2 out of 4 hunks FAILED -- saving rejects to file rpcs3/CMakeLists.txt.rej ==> ERROR: A failure occurred in prepare(). Aborting...

alucryd commented on 2015-10-01 07:55 (UTC)

Uninstall llvm35 or llvm if you have them installed.

javsalgar commented on 2015-10-01 07:47 (UTC)

I got this error when compiling In file included from /tmp/yaourt-tmp-javsalgar/aur-rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/PPUThread.cpp:11:0: /tmp/yaourt-tmp-javsalgar/aur-rpcs3-git/src/rpcs3/rpcs3/Emu/Cell/PPULLVMRecompiler.h:21:30: fatal error: llvm/PassManager.h: No such file or directory #include "llvm/PassManager.h"

alucryd commented on 2015-09-26 10:55 (UTC)

Thx for the heads up, patch fixed.

Gooberpatrol66 commented on 2015-09-25 16:09 (UTC)

==> Starting prepare()... patching file CMakeLists.txt Hunk #1 FAILED at 11. 1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej patching file rpcs3/CMakeLists.txt Hunk #1 succeeded at 101 with fuzz 2 (offset 12 lines). Hunk #2 FAILED at 129. 1 out of 2 hunks FAILED -- saving rejects to file rpcs3/CMakeLists.txt.rej ==> ERROR: A failure occurred in prepare(). Aborting... ==> ERROR: Makepkg was unable to build rpcs3-git.

alucryd commented on 2015-06-26 15:06 (UTC)

Thx and apologies for the delay :) I had been working on using system libs, but was holding off because rpcs3 won't link against libasmjit.so. Falling back to providing the static lib in asmjit-git for now.

fenuks commented on 2015-06-26 10:50 (UTC)

I've updated PKGBUILD (http://pastebin.com/9QYfvr5r). Major change was switch from llvm to llvm35 (see https://github.com/RPCS3/rpcs3/issues/1070 for more details) along with few improvements.

nagar commented on 2015-06-01 15:31 (UTC)

Doesn't work for me, 5 times fail :( -- Configuring incomplete, errors occurred! See also "/tmp/yaourt-tmp-nagar/aur-rpcs3-git/src/rpcs3/build/CMakeFiles/CMakeOutput.log". ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build rpcs3-git. ==> Restart building rpcs3-git ? [y/N] ==> ---------------------------------- ==>

commented on 2014-09-06 08:13 (UTC)

Yes, it working. Thank you.

krack commented on 2014-08-21 08:10 (UTC)

any one try this? does it work?