Package Details: duckstation-git 0.1.r8555.gf7d7eec-1

Git Clone URL: https://aur.archlinux.org/duckstation-git.git (read-only, click to copy)
Package Base: duckstation-git
Description: A Sony PlayStation (PSX) emulator, focusing on playability, speed, and long-term maintainability (git version)
Upstream URL: https://github.com/stenzek/duckstation
Keywords: emulator game gaming psone psx
Licenses: cc-by-nc-nd-4.0
Conflicts: duckstation
Provides: duckstation
Submitter: jackdroido
Maintainer: eugene
Last Packager: eugene
Votes: 27
Popularity: 0.71
First Submitted: 2020-04-25 18:24 (UTC)
Last Updated: 2025-01-30 23:54 (UTC)

Required by (0)

Sources (9)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 11 Next › Last »

eugene commented on 2024-08-10 13:11 (UTC)

try it now, @Neros

Neros commented on 2024-08-09 21:49 (UTC) (edited on 2024-08-09 22:21 (UTC) by Neros)

There is still an issue when compiling:

mv: cannot stat '/home/neros/.cache/yay/duckstation-git/pkg/duckstation-git/usr/share/duckstation/resources/thirdparty.html': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: duckstation-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
duckstation-git - exit status 4

EDIT:
Fixed! Thanks!

eugene commented on 2024-08-09 19:38 (UTC)

@Neros as turned out, one of the recent commits (40356fc38) added the check, that made our installation scheme nonviable. So I changed it to keep all files near the binary so app is happy again.

Neros commented on 2024-08-09 13:44 (UTC) (edited on 2024-08-09 13:44 (UTC) by Neros)

Freshly compiled, I can't launch it anymore.

Error:

"Resources are missing, your installation is incomplete"  
"Failed to initialize config"

Could be related to this commit: https://github.com/stenzek/duckstation/commit/81295c8a7d88bb70d782c94361a5a100f446a9df

rubin55 commented on 2024-08-08 08:51 (UTC)

I'm getting this as of today:

CMake Error at CMakeModules/DuckStationDependencies.cmake:19 (find_package):
  By not providing "Findcpuinfo.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "cpuinfo", but
  CMake did not find one.

  Could not find a package configuration file provided by "cpuinfo" with any
  of the following names:

    cpuinfoConfig.cmake
    cpuinfo-config.cmake

  Add the installation prefix of "cpuinfo" to CMAKE_PREFIX_PATH or set
  "cpuinfo_DIR" to a directory containing one of the above files.  If
  "cpuinfo" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:105 (include)

FabioLolix commented on 2024-08-03 22:51 (UTC)

Please rename sources when they are forks like for soundtouch

soundtouch -> duckstation-soundtouch

  -> Updating discord-rpc git repo...
==> ERROR: /mnt/1TBWDBLACK/source/soundtouch is not a clone of https://github.com/stenzek/soundtouch.git
    Aborting...

FabioLolix commented on 2024-08-03 18:42 (UTC)

even with soundtouch installed it fails (it has been deleted from their repo https://github.com/stenzek/duckstation/commit/4eb3b2a9a78666f22dda0c8b70ffc7585749308e)

weird that seems to look for DLL stuff


btw is mandatory to have SDL2 updated to v2.30.6 to build now

otakian commented on 2024-08-03 15:23 (UTC) (edited on 2024-08-03 15:23 (UTC) by otakian)

Getting the same compilation error as Neros

Neros commented on 2024-08-03 12:50 (UTC)

Compilation failed, log:

-- Configuring done (2.9s)
CMake Error at src/util/CMakeLists.txt:76 (target_link_libraries):
  Target "util" links to:

    SoundTouch::SoundTouchDLL

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



-- Generating done (0.1s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

MaximGun commented on 2024-07-14 21:07 (UTC) (edited on 2024-07-14 21:18 (UTC) by MaximGun)

I realize this is a bit of a bespoke request, but on my configuration I get a argument unused during compilation error because I have -fuse-ld=mold in my makepkg.conf. Would you consider adding the -Qunused-arguments lines to the PKGBUILD as below?

--- PKGBUILD.original   2024-07-14 17:17:32.941723155 -0400
+++ PKGBUILD    2024-07-14 17:17:23.995548951 -0400
@@ -110,6 +110,8 @@
         -DCMAKE_BUILD_TYPE=Release \
         -DCMAKE_C_COMPILER=clang \
         -DCMAKE_CXX_COMPILER=clang++ \
+        -DCMAKE_C_FLAGS="$CFLAGS -Qunused-arguments" \
+        -DCMAKE_CXX_FLAGS="$CXXFLAGS -Qunused-arguments" \
         -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \
@@ -125,6 +127,8 @@
         -DCMAKE_BUILD_TYPE=Release \
         -DCMAKE_C_COMPILER=clang \
         -DCMAKE_CXX_COMPILER=clang++ \
+        -DCMAKE_C_FLAGS="$CFLAGS -Qunused-arguments" \
+        -DCMAKE_CXX_FLAGS="$CXXFLAGS -Qunused-arguments" \
         -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \
@@ -157,6 +161,8 @@
         -DCMAKE_BUILD_TYPE=None \
         -DCMAKE_C_COMPILER=clang \
         -DCMAKE_CXX_COMPILER=clang++ \
+        -DCMAKE_C_FLAGS="$CFLAGS -Qunused-arguments" \
+        -DCMAKE_CXX_FLAGS="$CXXFLAGS -Qunused-arguments" \
         -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \
@@ -175,6 +181,8 @@
         -DCMAKE_BUILD_TYPE=None \
         -DCMAKE_C_COMPILER=clang \
         -DCMAKE_CXX_COMPILER=clang++ \
+        -DCMAKE_C_FLAGS="$CFLAGS -Qunused-arguments" \
+        -DCMAKE_CXX_FLAGS="$CXXFLAGS -Qunused-arguments" \
         -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \
@@ -200,8 +208,8 @@
         -DCMAKE_BUILD_TYPE=None \
         -DCMAKE_C_COMPILER=clang \
         -DCMAKE_CXX_COMPILER=clang++ \
-        -DCMAKE_C_FLAGS="$CFLAGS -Wno-error=format-security" \
-        -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=format-security" \
+        -DCMAKE_C_FLAGS="$CFLAGS -Wno-error=format-security -Qunused-arguments" \
+        -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=format-security -Qunused-arguments" \
         -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \
         -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \