Package Details: rpcs3-git 0.0.31.r16375.90b6912daa-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: 72
Popularity: 1.54
First Submitted: 2014-08-14 11:04 (UTC)
Last Updated: 2024-04-24 06:18 (UTC)

Dependencies (31)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 32 Next › Last »

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.