Package Details: torzu-git r27184.5de1cb53b-2

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: 7
Popularity: 1.44
First Submitted: 2024-06-02 14:39 (UTC)
Last Updated: 2024-11-17 14:46 (UTC)

Required by (0)

Sources (25)

Pinned Comments

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.

Latest Comments

« First ‹ Previous 1 2

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.