I suggest -DENABLE_QT6=ON \ and remove all Qt 5 packages from dependencies.
Also, remove -DCMAKE_CXX_COMPILER=/usr/bin/g++-13 \ and -DCMAKE_C_COMPILER=/usr/bin/gcc-13 \ as Gcc 13 is not needed to build this package.
| Git Clone URL: | https://aur.archlinux.org/torzu-git.git (read-only, click to copy) |
|---|---|
| Package Base: | torzu-git |
| Description: | Torzu is a fork of yuzu, the world's most popular, open-source, Nintendo Switch emulator. It is written in C++ with portability in mind. |
| Upstream URL: | https://notabug.org/litucks/torzu |
| Keywords: | emulator nintendo switch |
| Licenses: | GPL-3.0-or-later |
| Conflicts: | torzu |
| Provides: | torzu |
| Submitter: | username227 |
| Maintainer: | HurricanePootis |
| Last Packager: | username227 |
| Votes: | 9 |
| Popularity: | 0.000094 |
| First Submitted: | 2024-06-02 14:39 (UTC) |
| Last Updated: | 2025-05-25 05:31 (UTC) |
I suggest -DENABLE_QT6=ON \ and remove all Qt 5 packages from dependencies.
Also, remove -DCMAKE_CXX_COMPILER=/usr/bin/g++-13 \ and -DCMAKE_C_COMPILER=/usr/bin/gcc-13 \ as Gcc 13 is not needed to build this package.
I didn't find an option too, probably will require changes on the upstream.
@Glorious7060, there doesn't seem to be any cmake option on the cmakelists to use the system simpleini or not. Do you know what the option would look like in the pkgbuild, or does it need a change upstream?
I have simpleini from the AUR and it didn't allow to build the package.But when I uninstall it it build fine. It would be good to disable the system simpleini from the system on the pkgbuild and use the one provided on the repo, so it would not required be uninstalling simpleini on every update.
fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output ==> ERROR: Failure while downloading opus git repo Aborting... error: failed to download sources for 'torzu-2024.08.10-1': error: packages failed to build: torzu-2024.08.10-1
Could be you need to use the mold linker by installing it.
@lumenor2, I see where you're getting the -DYUZU prefixes. I am testing with a chroot, with the following results:
I can build properly with changing all of these properly. However, when I change the variable -DTORZU_USE_BUNDLED_FFMPEG=ON to -DZYUZU, I am getting some sort of linkage error during the last steps of the build process.
This is different than what I get when I build outside of a chroot, which doesn't even complete the cmake preparation, but that's another story.
It builds fine for me regardless of environment when modfiying the -DTORZU prefixes to -DYUZU (as that is what is actually used in the build process of torzu).
Yes, it's also happening to me. I am using paru as well. It works in chroot and it works on new Manjaro install, so it's something else, not the pkgbuild.
Pinned Comments
username227 commented on 2025-03-17 00:35 (UTC) (edited on 2025-03-17 00:37 (UTC) by username227)
OK I got it! The solution suggested by @00x solved the spirv problem. I figured out my problem with glad by forcing the build to use dynarmic from externals. I also changed to use the system sdl2 instead of the one from externals to solve a third error related to sdl2/pipewire that I received later in the build.
Everything, in theory, should work now. Let me know if you have any issues. thanks.