Package Details: chiaki-ng 1.9.6-2

Git Clone URL: https://aur.archlinux.org/chiaki-ng.git (read-only, click to copy)
Package Base: chiaki-ng
Description: Free and Open Source PlayStation Remote Play Client
Upstream URL: https://streetpea.github.io/chiaki-ng/
Licenses: LicenseRef-AGPL-3.0-only-OpenSSL
Conflicts: chiaki
Provides: chiaki
Submitter: WorMzy
Maintainer: WorMzy
Last Packager: WorMzy
Votes: 2
Popularity: 0.034919
First Submitted: 2024-08-01 11:33 (UTC)
Last Updated: 2025-04-09 18:23 (UTC)

Latest Comments

1 2 Next › Last »

WorMzy commented on 2025-04-09 18:19 (UTC)

Hey pickled-dev, thanks for the heads up. You did exactly what I would do, and that last pkgctl build actually completed successfully -- you should have a package you can install with pacman -U after that. I'll update the package shortly with the fixes.

pickled-dev commented on 2025-04-09 17:42 (UTC) (edited on 2025-04-09 17:44 (UTC) by pickled-dev)

I think the most recent update to CMake on 3/29/25 might be causing issues, or maybe this is just me. I used yay -G chiaki-ng then used pkgctl build inside the directory yay created.

-- Checking for one of the modules 'fftw3'
CMake Error at steamdeck_native/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/mpickle-9/build

Looks like they removed 3.5 compatability with the 4.0 release: https://cmake.org/cmake/help/latest/release/4.0.html#id12.

Adding -DCMAKE_POLICY_VERSION_MINIMUM="3.5" to the cmake command in the PKGBUILD gets me past the error, but then I get this:

[ 74%] Building CXX object gui/CMakeFiles/chiaki.dir/chiaki_autogen/mocs_compilation.cpp.o
In file included from /build/chiaki-ng/src/chiaki-ng/build/gui/chiaki_autogen/6YEA5652QU/../../../../gui/include/qmlmainwindow.h:13,
                 from /build/chiaki-ng/src/chiaki-ng/build/gui/chiaki_autogen/6YEA5652QU/../../../../gui/include/qmlbackend.h:5,
                 from /build/chiaki-ng/src/chiaki-ng/build/gui/chiaki_autogen/6YEA5652QU/moc_qmlbackend.cpp:9,
                 from /build/chiaki-ng/src/chiaki-ng/build/gui/chiaki_autogen/mocs_compilation.cpp:7:
/usr/include/libavutil/hwcontext_vulkan.h:25:10: fatal error: vulkan/vulkan.h: No such file or directory
   25 | #include <vulkan/vulkan.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [gui/CMakeFiles/chiaki.dir/build.make:150: gui/CMakeFiles/chiaki.dir/chiaki_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:818: gui/CMakeFiles/chiaki.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

So I added vulkan-headers to the make-depends section in the PKGBUILD.

But then I get this:

Checking chiaki-ng-debug-1.9.6-2-x86_64.pkg.tar.zst
chiaki-ng-debug W: Directory (usr/src/debug/chiaki-ng/chiaki-ng/build/cli) is empty
==> Running checkpkg
error: target not found: chiaki-ng
==> WARNING: Skipped checkpkg due to missing repo packages
==> Generating .SRCINFO...done

Full output of pkgctl build here: https://pastebin.com/Thpf6CJz

Then I couldn't think of what to do so I ended up going with the FlatPak version for the time being. I'm inept when it comes to this kind of stuff, so this is probably simply an issue on my end, but I figured I'd post here just in case.

WorMzy commented on 2025-03-23 11:46 (UTC)

Sorry, programistazacny, I somehow missed your comment (busy week).

Great sleuthing, byzxor. Unfortunately chiaki is already using the latest nanopb code, so this needs to be fixed there.

Please could one of you report the problem to the nanopb upstream, and possibly to the chiaki-ng devs here.

In the meantime, I've written a patch to replace the now removed function with the recommended replacement, and confirmed that chiaki-ng builds and launches with that.

byzxor commented on 2025-03-23 10:14 (UTC)

Looks like that function was removed from protobuf here

programistazacny commented on 2025-03-19 22:18 (UTC)

I have a problem with installing/building:

[  0%] Built target cpp-steam-tools_autogen_timestamp_deps
[  0%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf.c.o
[  1%] Generating takion.pb
[  2%] Generating takion.pb.c, takion.pb.h
[  3%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf_wgen.c.o
[  4%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf_w4.c.o
Traceback (most recent call last):
  File "/var/tmp/pamac-build-jacek/chiaki-ng/src/chiaki-ng/third-party/nanopb/generator/nanopb_generator.py", line 2761, in <module>
    main_cli()
    ~~~~~~~~^^
  File "/var/tmp/pamac-build-jacek/chiaki-ng/src/chiaki-ng/third-party/nanopb/generator/nanopb_generator.py", line 2660, in main_cli
    results = process_file(fdesc.name, fdesc, options, other_files)
  File "/var/tmp/pamac-build-jacek/chiaki-ng/src/chiaki-ng/third-party/nanopb/generator/nanopb_generator.py", line 2598, in process_file
    headerdata = ''.join(f.generate_header(includes, headerbasename, options))
  File "/var/tmp/pamac-build-jacek/chiaki-ng/src/chiaki-ng/third-party/nanopb/generator/nanopb_generator.py", line 2128, in generate_header
    yield msg.fields_declaration(self.dependencies) + '\n'
          ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/pamac-build-jacek/chiaki-ng/src/chiaki-ng/third-party/nanopb/generator/nanopb_generator.py", line 1506, in fields_declaration
    defval = self.default_value(dependencies)
  File "/var/tmp/pamac-build-jacek/chiaki-ng/src/chiaki-ng/third-party/nanopb/generator/nanopb_generator.py", line 1692, in default_value
    msg = reflection.MakeClass(desc)()
          ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'google.protobuf.reflection' has no attribute 'MakeClass'
make[2]: *** [lib/protobuf/CMakeFiles/chiaki-pb.dir/build.make:74: lib/protobuf/takion.pb.c] Error 1
make[1]: *** [CMakeFiles/Makefile2:610: lib/protobuf/CMakeFiles/chiaki-pb.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  5%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf_w8.c.o
[  5%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf_w16.c.o
[  6%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf_w32.c.o
[  7%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf_w64.c.o
[  8%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf_w128.c.o
[  8%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf_rand.c.o
[  9%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf_general.c.o
[ 10%] Building C object third-party/CMakeFiles/gf_complete.dir/gf-complete/src/gf_cpu.c.o
[ 11%] Linking C static library libgf_complete.a
[ 11%] Built target gf_complete
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

WorMzy commented on 2025-02-26 18:36 (UTC)

I recommend building with pkgctl build, but if you want to use makepkg, use makepkg -C to do a clean build rather than adding extra logic to prepare() to achieve the same.

throstur commented on 2025-02-26 15:36 (UTC)

I recommend changing the PKGBUILD for this package, or it may fail when you update. There's a line where it mkdir build without checking if the directory exists, an easy workaround is to replace it with mkdir build || rm -r build && mkdir build (or mkdir -p build if we are sure that old files can be kept around).

tessaracht commented on 2025-02-02 00:03 (UTC)

@wormzy ahh yes you're completely right, unclear build dir from yay was the culprit. thanks for the reminder, gotta clear out those cache dirs more frequently!

WorMzy commented on 2025-02-01 22:33 (UTC)

How are you building the package? Chiaki will build against the current version of miniupnpc installed on your system (or clean chroot). It sounds like your system is up-to-date, but if you use a clean chroot perhaps that is outdated?

If you use an AUR helper then you may need to "force" it to rebuild the package (or increment the pkgrel variable in the PKGBUILD).

tessaracht commented on 2025-02-01 21:04 (UTC)

running into a problem with the current chiaki-ng release. it builds ok, but when I run it I get:

chiaki: error while loading shared libraries: libminiupnpc.so.18: cannot open shared object file: No such file or directory

looking at my system, the version of miniupnpc is 2.3.0-1, and the library version is /usr/lib/libminiupnpc.so.19, so that probably explains it. can we get the build to either build against this version of the lib, or statically build the binary so the version of the lib doesn't matter?