Package Details: torzu-git r27206.eaa9c9e3a-1

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: username227
Last Packager: username227
Votes: 11
Popularity: 2.31
First Submitted: 2024-06-02 14:39 (UTC)
Last Updated: 2025-03-17 00:33 (UTC)

Required by (0)

Sources (27)

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.

Latest Comments

« First ‹ Previous 1 2 3

archChiBii commented on 2024-10-06 01:20 (UTC)

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

lumenor2 commented on 2024-08-04 18:56 (UTC)

Could be you need to use the mold linker by installing it.

username227 commented on 2024-07-28 21:06 (UTC)

@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.

lumenor2 commented on 2024-07-22 00:21 (UTC)

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).

username227 commented on 2024-07-12 18:18 (UTC)

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.

acmiudhg commented on 2024-07-12 18:09 (UTC)

I'm getting the following error:

ninja: Entering directory `build'
[5/115] Linking CXX executable bin/yuzu-room
FAILED: bin/yuzu-room 
: && /usr/bin/g++-13 -march=x86-64-v2 -O3 -DNDEBUG -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto    -fuse-ld=lld src/dedicated_room/CMakeFiles/yuzu-room.dir/yuzu_room.cpp.o -o bin/yuzu-room  src/common/libcommon.a  src/network/libnetwork.a  src/web_service/libweb_service.a  externals/mbedtls/library/libmbedtls.a  externals/mbedtls/library/libmbedcrypto.a  -lrt  src/network/libnetwork.a  src/web_service/libweb_service.a  /usr/lib/libenet.so  src/common/libcommon.a  /usr/lib/libdl.a  /usr/lib/libboost_context.so.1.83.0  /usr/lib/libfmt.so.10.2.0  externals/libstb.a  /usr/lib/liblz4.so.1.9.4  /usr/lib/libzstd.so.1.5.6  externals/libdemangle.a  /usr/lib/libbrotlicommon.so  /usr/lib/libbrotlienc.so  /usr/lib/libbrotlidec.so  /usr/lib/libz.so  /usr/lib/libssl.so  /usr/lib/libcrypto.so  externals/mbedtls/library/libmbedx509.a  externals/mbedtls/library/libmbedcrypto.a && :
ld.lld: error: undefined symbol: mbedtls_base64_decode
>>> referenced by yuzu_room.cpp
>>>               src/dedicated_room/CMakeFiles/yuzu-room.dir/yuzu_room.cpp.o:(main)
>>> referenced by yuzu_room.cpp
>>>               src/dedicated_room/CMakeFiles/yuzu-room.dir/yuzu_room.cpp.o:(main)
>>> referenced by yuzu_room.cpp
>>>               src/dedicated_room/CMakeFiles/yuzu-room.dir/yuzu_room.cpp.o:(main)

ld.lld: error: undefined symbol: mbedtls_base64_encode
>>> referenced by yuzu_room.cpp
>>>               src/dedicated_room/CMakeFiles/yuzu-room.dir/yuzu_room.cpp.o:(main)

Building with paru's chroot did work though.

username227 commented on 2024-06-03 02:08 (UTC) (edited on 2024-06-03 02:09 (UTC) by username227)

NOTE: I published this package after testing it in a clean chroot successfully. When I attempted to install it using paru, yay, and pamac, it gave me an error related to SPIRV-Tools not finding SPIRV-Headers. I don't know what is causing this error.

If you come across this error, then you need to build the package in a clean chroot like this:

paru -S torzu-git --chroot

If anybody knows what is causing this and can assist with a fix, please reach out to me. Thanks.