Package Details: yuzu-mainline-git r21377.896616808-1

Git Clone URL: https://aur.archlinux.org/yuzu-mainline-git.git (read-only, click to copy)
Package Base: yuzu-mainline-git
Description: An experimental open-source emulator for the Nintendo Switch (newest features)
Upstream URL: https://github.com/yuzu-emu/yuzu-mainline
Keywords: emulator game qt switch
Licenses: GPL2
Conflicts: yuzu-canary-git, yuzu-git
Provides: yuzu, yuzu-cmd
Submitter: bscubed
Maintainer: bscubed
Last Packager: bscubed
Votes: 20
Popularity: 0.66
First Submitted: 2019-11-24 04:03 (UTC)
Last Updated: 2022-05-03 04:11 (UTC)

Required by (0)

Sources (17)

Pinned Comments

bscubed commented on 2019-11-24 17:42 (UTC)

If you're wondering what happened to yuzu-canary-git, read more here https://yuzu-emu.org/entry/yuzu-migration/ TL;DR: yuzu canary and yuzu nightly are being replaced by a single package, yuzu-mainline. This is the mainline build and contains untested, bleeding-edge features over yuzu stable.

bscubed commented on 2018-11-12 01:49 (UTC) (edited on 2019-11-24 17:45 (UTC) by bscubed)

Some things to note: This is an unofficial package, thus is not officially supported by the Yuzu team. Please don't ask for help on their forums or discord if you run into issues with this build, as it might devote import development resources to a bug that might have to do with running Yuzu on an unofficial platform. If you encounter an issue, feel free to comment on this package and I'll try to point you in the right direction.

Also, this build is in active development. Builds might break every once in a while.

If you're looking for the QT version of this package, it has now been merged in this package. No need for two packages anymore, and no need to compile everything twice.

Thanks for using my package and have a nice day! :)

Latest Comments

HurricanePootis commented on 2022-05-25 02:04 (UTC)

Responding to @laggykiller, I have been having the same issue and I have reported it to upstream. In return, I got/made the following patch which fixes compiling yuzu with clang and GCC

--- a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
+++ b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
@@ -977,7 +977,7 @@ private:
     bool uses_demote_to_helper{};

 // TODO: C++20 Remove this when all compilers support constexpr std::vector
-#if __cpp_lib_constexpr_vector >= 201907
+#if (__cpp_lib_constexpr_vector >= 201907) && !(defined(__clang__)) && !(defined(__GNUC__))
     static constexpr Flow::Block dummy_flow_block;
 #else
     const Flow::Block dummy_flow_block;

Here is a modified form of the PKGBUILD that applies this patch, and a few other changes that I believe will improve building (as mentioned before)

diff --git a/PKGBUILD b/PKGBUILD
index ff0f566..140f2ed 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 _pkgname=yuzu
 pkgname=$_pkgname-mainline-git
-pkgver=r21377.896616808
-pkgver=r21377.896616808
+pkgver=r21402.4d5eaaf3f
 pkgrel=1
 pkgdesc='An experimental open-source emulator for the Nintendo Switch (newest features)'
 arch=('i686' 'x86_64')
@@ -27,7 +27,8 @@ depends=('desktop-file-utils'
          'sdl2'
          'shared-mime-info'
          'zlib'
-         'zstd')
+         'zstd'
+         'libusb')
diff --git a/PKGBUILD b/PKGBUILD
index ff0f566..140f2ed 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 _pkgname=yuzu
 pkgname=$_pkgname-mainline-git
-pkgver=r21377.896616808
+pkgver=r21402.4d5eaaf3f
 pkgrel=1
 pkgdesc='An experimental open-source emulator for the Nintendo Switch (newest features)'
 arch=('i686' 'x86_64')
@@ -27,7 +27,8 @@ depends=('desktop-file-utils'
          'sdl2'
          'shared-mime-info'
          'zlib'
-         'zstd')
+         'zstd'
+         'libusb')
diff --git a/PKGBUILD b/PKGBUILD
index ff0f566..140f2ed 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 _pkgname=yuzu
 pkgname=$_pkgname-mainline-git
-pkgver=r21377.896616808
+pkgver=r21402.4d5eaaf3f
 pkgrel=1
 pkgdesc='An experimental open-source emulator for the Nintendo Switch (newest features)'
 arch=('i686' 'x86_64')
@@ -27,7 +27,8 @@ depends=('desktop-file-utils'
          'sdl2'
          'shared-mime-info'
          'zlib'
-         'zstd')
+         'zstd'
+         'libusb')
 makedepends=('boost'
              'catch2'
              'cmake'
@@ -53,7 +54,10 @@ source=("$_pkgname::git+https://github.com/yuzu-emu/yuzu-mainline"
         # cubeb dependencies
         'git+https://github.com/arsenm/sanitizers-cmake.git'
         # sirit dependencies
-        'git+https://github.com/KhronosGroup/SPIRV-Headers.git')
+        'git+https://github.com/KhronosGroup/SPIRV-Headers.git'
+        # Patch because GCC 12 and clang 13 broke something, and is awaiting upstream fixing
+        # https://github.com/yuzu-emu/yuzu/issues/8376
+        patch.patch)
 md5sums=('SKIP'
          'SKIP'
          'SKIP'
@@ -70,7 +74,8 @@ md5sums=('SKIP'
          'SKIP'
          'SKIP'
          'SKIP'
-         'SKIP')
+         'SKIP'
+         '170f8084bf50dd397a71a26c68b3c0cc')

 pkgver() {
     cd "$srcdir/$_pkgname"
@@ -101,6 +106,10 @@ prepare() {
         git config submodule.${submodule}.url "$srcdir/${submodule##*/}"
         git submodule update --init
     done
+
+    # Apply's the GCC 12 and clang fix patch
+    cd "$srcdir/$_pkgname/"
+    patch -Np1 < ../patch.patch
 }

 build() {
@@ -117,7 +126,15 @@ build() {
       -DYUZU_USE_EXTERNAL_SDL2=OFF \
       -DUSE_DISCORD_PRESENCE=ON \
       -DENABLE_QT_TRANSLATION=ON \
-      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON
+      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
+      -DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline \
+      -DBUILD_TAG=${pkgver} \
+      -DTITLE_BAR_FORMAT_IDLE="yuzu | ${pkgver} {}" \
+      -DTITLE_BAR_FORMAT_RUNNING="yuzu | ${pkgver} | {}" \
+      -DYUZU_USE_BUNDLED_OPUS=OFF \
+      -DYUZU_USE_BUNDLED_FFMPEG=OFF \
+      -DYUZU_USE_BUNDLED_LIBUSB=OFF \
+      -DYUZU_USE_BUNDLED_QT=OFF
     make
 }

laggykiller commented on 2022-05-22 12:35 (UTC)

Failed to build for a few days

[ 47%] Building CXX object src/shader_recompiler/CMakeFiles/shader_recompiler.dir/frontend/maxwell/control_flow.cpp.o
In file included from /usr/include/string.h:535,
                 from /usr/include/c++/12.1.0/cstring:42,
                 from /usr/include/fmt/core.h:13,
                 from /usr/include/fmt/format.h:48,
                 from /home/mcchau/Downloads/yuzu-mainline-git/src/yuzu/src/shader_recompiler/frontend/maxwell/control_flow.cpp:10:
In function ‘void* memmove(void*, const void*, size_t)’,
    inlined from ‘F boost::container::dtl::memmove(I, I, F) [with I = boost::move_iterator<Shader::Maxwell::Flow::StackEntry*>; F = Shader::Maxwell::Flow::StackEntry*]’ at /usr/include/boost/container/detail/copy_move_algo.hpp:184:19,
    inlined from ‘typename boost::container::dtl::enable_if_memtransfer_copy_constructible<I, F, F>::type boost::container::uninitialized_copy_alloc(Allocator&, I, I, F) [with Allocator = small_vector_allocator<Shader::Maxwell::Flow::StackEntry, new_allocator<void>, void>; I = boost::move_iterator<Shader::Maxwell::Flow::StackEntry*>; F = Shader::Maxwell::Flow::StackEntry*]’ at /usr/include/boost/container/detail/copy_move_algo.hpp:462:23,
    inlined from ‘void boost::container::vector<T, Allocator, Options>::priv_uninitialized_construct_at_end(InpIt, InpIt) [with InpIt = boost::move_iterator<Shader::Maxwell::Flow::StackEntry*>; T = Shader::Maxwell::Flow::StackEntry; A = boost::container::small_vector_allocator<Shader::Maxwell::Flow::StackEntry, boost::container::new_allocator<void>, void>; Options = void]’ at /usr/include/boost/container/vector.hpp:2662:72,
    inlined from ‘void boost::container::vector<T, Allocator, Options>::assign(FwdIt, FwdIt, typename boost::move_detail::disable_if_or<void, boost::move_detail::is_same<typename boost::container::dtl::version<typename boost::container::real_allocator<T, A>::type>::type, boost::move_detail::integral_constant<unsigned int, 0> >, boost::move_detail::is_convertible<InIt, typename boost::container::allocator_traits<typename boost::container::real_allocator<T, A>::type>::size_type>, boost::container::dtl::is_input_iterator<FwdIt> >::type*) [with FwdIt = boost::move_iterator<Shader::Maxwell::Flow::StackEntry*>; T = Shader::Maxwell::Flow::StackEntry; A = boost::container::small_vector_allocator<Shader::Maxwell::Flow::StackEntry, boost::container::new_allocator<void>, void>; Options = void]’ at /usr/include/boost/container/vector.hpp:1322:54,
    inlined from ‘void boost::container::small_vector_base<T, Allocator, Options>::move_construct_impl(base_type&, const allocator_type&) [with T = Shader::Maxwell::Flow::StackEntry; SecondaryAllocator = void; Options = void]’ at /usr/include/boost/container/small_vector.hpp:460:22,
    inlined from ‘void boost::container::small_vector_base<T, Allocator, Options>::move_construct_impl(base_type&, const allocator_type&) [with T = Shader::Maxwell::Flow::StackEntry; SecondaryAllocator = void; Options = void]’ at /usr/include/boost/container/small_vector.hpp:454:9,
    inlined from ‘boost::container::small_vector<T, N, Allocator, Options>::small_vector(boost::container::small_vector<T, N, Allocator, Options>&&) [with T = Shader::Maxwell::Flow::StackEntry; long unsigned int N = 3; Allocator = void; Options = void]’ at /usr/include/boost/container/small_vector.hpp:658:32,
    inlined from ‘Shader::Maxwell::Flow::Stack::Stack(Shader::Maxwell::Flow::Stack&&)’ at /home/mcchau/Downloads/yuzu-mainline-git/src/yuzu/src/./shader_recompiler/frontend/maxwell/control_flow.h:53:7,
    inlined from ‘constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&) [with _U1 = const Shader::Maxwell::Location&; _U2 = Shader::Maxwell::Flow::Stack; _T1 = Shader::Maxwell::Location; _T2 = Shader::Maxwell::Flow::Stack]’ at /usr/include/c++/12.1.0/bits/stl_pair.h:281:35,
    inlined from ‘std::pair<Shader::Maxwell::Location, Shader::Maxwell::Flow::Stack> Shader::Maxwell::Flow::Stack::Pop(Shader::Maxwell::Flow::Token) const’ at /home/mcchau/Downloads/yuzu-mainline-git/src/yuzu/src/shader_recompiler/frontend/maxwell/control_flow.cpp:148:31:
/usr/include/bits/string_fortified.h:36:34: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading between 25 and 9223372036854775800 bytes from a region of size 24 [-Werror=stringop-overread]
   36 |   return __builtin___memmove_chk (__dest, __src, __len,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
   37 |                                   __glibc_objsize0 (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcchau/Downloads/yuzu-mainline-git/src/yuzu/src/shader_recompiler/frontend/maxwell/control_flow.cpp: In member function ‘std::pair<Shader::Maxwell::Location, Shader::Maxwell::Flow::Stack> Shader::Maxwell::Flow::Stack::Pop(Shader::Maxwell::Flow::Token) const’:
/home/mcchau/Downloads/yuzu-mainline-git/src/yuzu/src/shader_recompiler/frontend/maxwell/control_flow.cpp:148:24: note: at offset 24 into source object ‘<anonymous>’ of size 48
  148 |     return {*pc, Remove(token)};
      |                  ~~~~~~^~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/shader_recompiler/CMakeFiles/shader_recompiler.dir/build.make:1098: src/shader_recompiler/CMakeFiles/shader_recompiler.dir/frontend/maxwell/control_flow.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2243: src/shader_recompiler/CMakeFiles/shader_recompiler.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

patlefort commented on 2022-05-04 10:21 (UTC)

It's currently bundling robin-map which conflict with the package of the same name, small fix:

diff --git a/PKGBUILD b/PKGBUILD
index ff0f566..a663535 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,8 @@ makedepends=('boost'
              'ffmpeg'
              'git'
              'ninja'
-             'nlohmann-json')
+             'nlohmann-json'
+             'robin-map')
 source=("$_pkgname::git+https://github.com/yuzu-emu/yuzu-mainline"
         'git+https://github.com/benhoyt/inih.git'
         'git+https://github.com/kinetiknz/cubeb.git'
@@ -117,7 +118,8 @@ build() {
       -DYUZU_USE_EXTERNAL_SDL2=OFF \
       -DUSE_DISCORD_PRESENCE=ON \
       -DENABLE_QT_TRANSLATION=ON \
-      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON
+      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
+      -DDYNARMIC_NO_BUNDLED_ROBIN_MAP=ON
     make
 }

It is also installing some unnecessary stuff in include and lib, such as his mcl library, but even setting MCL_INSTALL to off has no effect.

HurricanePootis commented on 2022-05-03 13:53 (UTC) (edited on 2022-05-03 13:53 (UTC) by HurricanePootis)

Thank you for updating the package to remove soundtouch. However, I believe there are still are a few changes that can be made to make this package better.

Firstly, you should set yuzu to use the system's opus library, which like using system SDL2, avoids unnecessary recompiling times and links it against the system.

Secondly, I have noticed the title bar of the yuzu window doesn't accurately reflect the pkgver(). This is because yuzu puts that information with cmake flags, which we currently don't set.

Here's a link to the imgur to see the difference. Image 1 is the current PKGBUILD, Image 2 has my proposed changes: here

Here are the CMAKE flags I added for two proposals

diff --git a/PKGBUILD b/PKGBUILD    
index ff0f566..55a1d82 100755    
--- a/PKGBUILD    
+++ b/PKGBUILD    
@@ -117,7 +117,12 @@ build() {    
       -DYUZU_USE_EXTERNAL_SDL2=OFF \    
       -DUSE_DISCORD_PRESENCE=ON \    
       -DENABLE_QT_TRANSLATION=ON \    
-      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON    
+      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \    
+      -DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline \    
+      -DBUILD_TAG=${pkgver} \    
+      -DTITLE_BAR_FORMAT_IDLE="yuzu | ${pkgver} {}" \    
+      -DTITLE_BAR_FORMAT_RUNNING="yuzu | ${pkgver} | {}" \    
+      -DYUZU_USE_BUNDLED_OPUS=OFF    
     make    
 }

kzd commented on 2022-04-04 03:50 (UTC)

It looks like soundtouch was removed as a submodule. https://github.com/yuzu-emu/yuzu-mainline/commit/faf6a9876c394664d647355726290014b24efffc

Dropping the lines for the md5 check, src pull for soundtouch, and the entry in the submodule list seems adequate enough.

--- PKGBUILD    2022-04-03 23:42:22.557749745 -0400
+++ PKGBUILD.submodule-changes  2022-04-03 23:41:51.679296320 -0400
@@ -39,7 +39,6 @@
         'git+https://github.com/benhoyt/inih.git'
         'git+https://github.com/kinetiknz/cubeb.git'
         'git+https://github.com/MerryMage/dynarmic.git'
-        'git+https://github.com/citra-emu/ext-soundtouch.git'
         'libressl::git+https://github.com/citra-emu/ext-libressl-portable.git'
         'git+https://github.com/libusb/libusb.git'
         'git+https://github.com/discord/discord-rpc.git'
@@ -71,7 +70,6 @@
          'SKIP'
          'SKIP'
          'SKIP'
-         'SKIP'
          'SKIP')

 pkgver() {
@@ -82,7 +80,7 @@
 prepare() {
     cd "$srcdir/$_pkgname"

-    for submodule in externals/{inih/inih,cubeb,dynarmic,soundtouch,libressl,libusb/libusb,discord-rpc,Vulkan-Headers,sirit,mbedtls,xbyak,opus/opus,ffmpeg,SDL,cpp-httplib}; do
+    for submodule in externals/{inih/inih,cubeb,dynarmic,libressl,libusb/libusb,discord-rpc,Vulkan-Headers,sirit,mbedtls,xbyak,opus/opus,ffmpeg,SDL,cpp-httplib}; do
         git submodule init ${submodule}
         git config submodule.${submodule}.url "$srcdir/${submodule##*/}"
         git submodule update

HurricanePootis commented on 2022-03-22 23:27 (UTC) (edited on 2022-03-28 15:20 (UTC) by HurricanePootis)

Hello, due to a recent package update (probably involving qt5-webengine), yuzu fails to compile on~~ src/yuzu/applet/qt_web_engine.cpp

I have modified the PKGBUILD to fix it. All I did was insert #include <thread> into line 14 of src/yuzu/applet/qt_web_engine.cpp, which fixed the error.

All of have to do is modify the package build to insert the following at the bottom into prepare()

    cd "$srcdir/$_pkgname/src/yuzu/applets"
    sed -i '14i\#include <thread>\' qt_web_browser.cpp

prepare() should look like this as a whole

prepare() {
    cd "$srcdir/$_pkgname"

    for submodule in externals/{inih/inih,cubeb,dynarmic,soundtouch,libressl,libusb/libusb,discord-rpc,Vulkan-Headers,sirit,mbedtls,xbyak,opus/opus,ffmpeg,SDL,cpp-httplib}; do
        git submodule init ${submodule}
        git config submodule.${submodule}.url "$srcdir/${submodule##*/}"
        git submodule update
    done

    cd "$srcdir/$_pkgname"/externals/cubeb

    for submodule in cmake/sanitizers-cmake; do
        git submodule init ${submodule}
        git config submodule.${submodule}.url "$srcdir/${submodule##*/}"
        git submodule update
    done

    cd "$srcdir/$_pkgname"/externals/sirit

    for submodule in externals/SPIRV-Headers; do
        git submodule init ${submodule}
        git config submodule.${submodule}.url "$srcdir/${submodule##*/}"
        git submodule update
    done

    # Fix qt webengine problem
    cd "$srcdir/$_pkgname/src/yuzu/applets"
    sed -i '14i\#include <thread>\' qt_web_browser.cpp
}

EDIT: Looks like this problem was fixed upstream; no more need to patch.

HurricanePootis commented on 2022-03-22 03:47 (UTC) (edited on 2022-03-22 03:48 (UTC) by HurricanePootis)

After going through yuzu's PKGBUILD, I think these build options should be amended to yuzu-mainline-git:

      -DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline \
      -DBUILD_TAG=${pkgver} \
      -DTITLE_BAR_FORMAT_IDLE="yuzu | ${pkgver} {}" \
      -DTITLE_BAR_FORMAT_RUNNING="yuzu | ${pkgver} | {}" \
      -DYUZU_USE_BUNDLED_OPUS=OFF

The build repository should be obvious as to what it is. About the TITLE_BAR and BUILD_TAG stuff, I noticed that currently whenever yuzu-mainline-git is compiled, the title-bar of the window has the wrong build version information; this fixes that issue. Furthermore, OPUS appears to be automatically using the bundled version (you can see that the default cmake options has -DYUZU_USE_BUNDLED_OPUS=ON), and just like SDL2, we should use system libs. I have already tested system opus running breath of the wild and link's awakening, and nothing as changes audio wise.

I have all the changes in a easy patch file that you can apply like my sdl2 patch :]

diff --git a/PKGBUILD b/PKGBUILD
index b6ed097..dfd0989 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 _pkgname=yuzu
 pkgname=$_pkgname-mainline-git
-pkgver=r19936.dd43a7f8c
+pkgver=r21040.eefa21c2f
 pkgrel=1
 pkgdesc='An experimental open-source emulator for the Nintendo Switch (newest features)'
 arch=('i686' 'x86_64')
@@ -119,7 +119,13 @@ build() {
       -DYUZU_USE_EXTERNAL_SDL2=OFF \
       -DUSE_DISCORD_PRESENCE=ON \
       -DENABLE_QT_TRANSLATION=ON \
-      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON
+      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
+      -DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline \
+      -DBUILD_TAG=${pkgver} \
+      -DTITLE_BAR_FORMAT_IDLE="yuzu | ${pkgver} {}" \
+      -DTITLE_BAR_FORMAT_RUNNING="yuzu | ${pkgver} | {}" \
+      -DYUZU_USE_BUNDLED_OPUS=OFF
+
     make
 }

hamelg commented on 2021-12-05 17:58 (UTC) (edited on 2021-12-05 19:05 (UTC) by hamelg)

With yuzu-mainline-bin, my controller is detected as "Microsoft Corp. Xbox360 Controller" and it works fine.

With this pkgbuild, yuzu detects my controller wrongly as "Nintendo Co., Ltd. Pro Controller" and it doesn't work. I see these dmesg errors in loop when yuzu is running.

input: Nintendo Co., Ltd. Pro Controller as /devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-2
usb 1-2.3: SerialNumber: 000000000001
usb 1-2.3: Manufacturer: Nintendo Co., Ltd.
usb 1-2.3: Product: Pro Controller
usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2.3: New USB device found, idVendor=057e, idProduct=2009, bcdDevice= 2.00
usb 1-2.3: new full-speed USB device number 63 using xhci_hcd
usb 1-2.3: USB disconnect, device number 62
hid-generic 0003:057E:2009.00F3: input,hidraw8: USB HID v1.11 Joystick [Nintendo Co., Ltd. Pro Con
input: Nintendo Co., Ltd. Pro Controller as /devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-2
usb 1-2.3: SerialNumber: 000000000001
usb 1-2.3: Manufacturer: Nintendo Co., Ltd.
usb 1-2.3: Product: Pro Controller
usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2.3: New USB device found, idVendor=057e, idProduct=2009, bcdDevice= 2.00
usb 1-2.3: new full-speed USB device number 62 using xhci_hcd
usb 1-2.3: USB disconnect, device number 61
...

and in the yuzu.log :

[  19.138725] Input <Error> input_common/drivers/sdl_driver.cpp:InitJoystick:287: Failed to open joystick 0
[  20.768269] Input <Error> input_common/drivers/sdl_driver.cpp:InitJoystick:287: Failed to open joystick
...

Any ideas ? what is the difference with the upstream prebuild ?

How can I troubleshoot my issue ?

[EDIT]

I solved my issue : https://forum.endeavouros.com/t/sdl2-breakage-changes/10551. The workaround is to define the environment variable SDL_JOYSTICK_HIDAPI=0.

HurricanePootis commented on 2021-10-02 18:14 (UTC) (edited on 2021-10-05 00:46 (UTC) by HurricanePootis)

Could y'all remove libzip from the sources and the git clone into the externals/libzip. It seems like yuzu upstream has removed libzip from the externals folder.

Furthermore, it seems like libzip has been removed as a dependency entirely. To test this, I have force removed libzip from my comptuer with sudo pacman -Rdd libzip and removed libzip has a dependency from the PKGBUILD. Yuzu built and ran with no problem. To further prove my point, I ran ldd on the /usr/bin/ldd, and libzip.so was not listed as a dependency.

==> Starting prepare()...
error: pathspec 'externals/libzip/libzip' did not match any file(s) known to git

Looking further into it, it was removed in this git commit here

I have created a patch file to upgrade the PKGBUILD. Download this patch file, save it as patch.patch into the directory containing the PKGBUILD file, and then do patch -p1 < patch.patch.

diff --git a/.SRCINFO b/.SRCINFO
index 062e70c..fa7c772 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -18,7 +18,6 @@ pkgbase = yuzu-mainline-git
    depends = glslang
    depends = libfdk-aac
    depends = libxkbcommon-x11
-   depends = libzip
    depends = lz4
    depends = mbedtls
    depends = openssl
@@ -47,7 +46,6 @@ pkgbase = yuzu-mainline-git
    source = git+https://github.com/KhronosGroup/Vulkan-Headers.git
    source = git+https://github.com/ReinUsesLisp/sirit
    source = git+https://github.com/yuzu-emu/mbedtls
-   source = git+https://github.com/nih-at/libzip.git
    source = git+https://github.com/herumi/xbyak.git
    source = git+https://github.com/xiph/opus.git
    source = git+https://git.ffmpeg.org/ffmpeg.git
@@ -73,6 +71,5 @@ pkgbase = yuzu-mainline-git
    md5sums = SKIP
    md5sums = SKIP
    md5sums = SKIP
-   md5sums = SKIP

 pkgname = yuzu-mainline-git
diff --git a/PKGBUILD b/PKGBUILD
index 3300122..5566704 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,6 @@ depends=('desktop-file-utils'
          'glslang'
          'libfdk-aac'
          'libxkbcommon-x11'
-         'libzip'
          'lz4'
          'mbedtls'
          'openssl'
@@ -47,7 +46,6 @@ source=("$_pkgname::git+https://github.com/yuzu-emu/yuzu-mainline"
         'git+https://github.com/KhronosGroup/Vulkan-Headers.git'
         'git+https://github.com/ReinUsesLisp/sirit'
         'git+https://github.com/yuzu-emu/mbedtls'
-        'git+https://github.com/nih-at/libzip.git'
         'git+https://github.com/herumi/xbyak.git'
         'git+https://github.com/xiph/opus.git'
         'git+https://git.ffmpeg.org/ffmpeg.git'
@@ -74,7 +72,6 @@ md5sums=('SKIP'
          'SKIP'
          'SKIP'
          'SKIP'
-         'SKIP'
          'SKIP')

 pkgver() {
@@ -85,7 +82,7 @@ pkgver() {
 prepare() {
     cd "$srcdir/$_pkgname"

-    for submodule in externals/{inih/inih,cubeb,dynarmic,soundtouch,libressl,libusb/libusb,discord-rpc,Vulkan-Headers,sirit,mbedtls,libzip/libzip,xbyak,opus/opus,ffmpeg,SDL,cpp-httplib}; do
+    for submodule in externals/{inih/inih,cubeb,dynarmic,soundtouch,libressl,libusb/libusb,discord-rpc,Vulkan-Headers,sirit,mbedtls,xbyak,opus/opus,ffmpeg,SDL,cpp-httplib}; do
         git submodule init ${submodule}
         git config submodule.${submodule}.url "$srcdir/${submodule##*/}"
         git submodule update
@@ -121,7 +118,8 @@ build() {
       -DENABLE_QT_TRANSLATION=ON \
       -DYUZU_USE_QT_WEB_ENGINE=ON \
       -DUSE_DISCORD_PRESENCE=ON \
-      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON
+      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
+      -DYUZU_USE_EXTERNAL_SDL2=OFF
     make
 }

bscubed commented on 2021-09-14 17:01 (UTC)

@HurricanePootis A great suggestion! It should help decrease build times as well. I’ll do some testing and if everything works out I’ll add it to the PKGBUILD in the next update later tonight.

HurricanePootis commented on 2021-09-14 16:27 (UTC)

I am requesting that the cmake config line -DYUZU_USE_EXTERNAL_SDL2=OFF be used.

Whenever I stop emulating my game with F5, yuzu segfaults and crashes. However, whenever I use my system's SDL2, Yuzu is able to stop emulating the game without crashing.

diff --git a/PKGBUILD b/PKGBUILD
index 3300122..e3fa3c8 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -121,7 +121,8 @@ build() {
       -DENABLE_QT_TRANSLATION=ON \
       -DYUZU_USE_QT_WEB_ENGINE=ON \
       -DUSE_DISCORD_PRESENCE=ON \
-      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON
+      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
+      -DYUZU_USE_EXTERNAL_SDL2=OFF
     make
 }

Something to note: if you remove the libSDL git repo from being clone, the yuzu build process will fail even though with the -DYUZU_USE_EXTERNAL_SDL2=OFF` flag set.

PedroHLC commented on 2021-07-14 12:59 (UTC)

@bscubed friendly reminder to add the new submodule, it's been broken for 26 days already...

ArchieMeng commented on 2021-06-24 09:22 (UTC)

The mainline upstream has replaced httplib with cpp-httplib in this commit

It is missing from the current PKGBUILD.

abouvier commented on 2021-04-02 02:28 (UTC)

Each submodule should be added in the source array, as said by Terence last year.

dr460nf1r3 commented on 2021-01-19 08:36 (UTC)

This needs glslang in makedepends, doesnt build in clean chroot otherwise

abouvier commented on 2020-11-01 10:39 (UTC)

ffmpeg is required in makedepends. ffmpeg and fmt are required in optdepends for /usr/bin/yuzu-tester.

ArcaRoader commented on 2020-10-22 17:17 (UTC) (edited on 2020-10-22 17:19 (UTC) by ArcaRoader)

@bscubed I dont know if I'm doing something wrong but this is my output at the end when I try to build from the AUR:

==> Starting check()... Running tests... Test project /var/tmp/pamac-build-myusername/yuzu-mainline-git/src/yuzu/build Start 1: tests 1/1 Test #1: tests ............................Child aborted***Exception: 3.41 sec

To be able to make it work I just commented out check() last time. 0% tests passed, 1 tests failed out of 1

Total Test time (real) = 3.41 sec

The following tests FAILED: 1 - tests (Child aborted) Errors while running CTest make: *** [Makefile:149: test] Error 8 ==> ERROR: A failure occurred in check(). Aborting...

bscubed commented on 2020-10-22 16:50 (UTC)

@ArcaRoader This project has not been abandoned. Since it is a git package, the latest version can always be built and installed by simply running makepkg -si in a directory with the PKGBUILD. That will get the latest sources regardless of what version the PKGBUILD might indicate. I haven't updated the PKGBUILD simply because there's been no need to. It still builds and runs fine (unless there's something I'm unaware of) and I have a script that runs daily to check for build errors and notify me if any occur. I appreciate your concern. Let me know if anything isn't working for you and I'll get it fixed.

ArcaRoader commented on 2020-10-22 15:25 (UTC)

Has this package been abandoned? Is there a way to get a newer version of yuzu?

maxweiss commented on 2020-09-12 18:40 (UTC)

@aaulia I also experienced the exact same thing. Built fine, but failed first test with exactly same output you had.

aaulia commented on 2020-07-28 04:34 (UTC)

I got it to build, but failed on the unit-test. :-?

[100%] Built target yuzu
==> Starting check()...
Running tests...
Test project /home/aaulia/.cache/yay/yuzu-mainline-git/src/yuzu/build
    Start 1: tests
1/1 Test #1: tests ............................Child aborted***Exception:   3.43 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   3.44 sec

The following tests FAILED:
     1 - tests (Child aborted)
Errors while running CTest
make: *** [Makefile:137: test] Error 8
==> ERROR: A failure occurred in check().
    Aborting...
error making: %!s(func() string=0x5576be556bb0)

XRaTiX commented on 2020-07-21 23:51 (UTC)

@nissen22 I was able to install yuzu with the outdated fmt in the repos and installed conan,thanks for the tip!

nissen22 commented on 2020-07-21 06:48 (UTC)

I think this package needs conan as a makedep. The error mentioned by ibrokemypie is fixed by installing conan. https://aur.archlinux.org/packages/conan/

It seems as though conan is only needed because of the outdated fmt in the Arch repos though, will try building without it when fmt is updated.

ibrokemypie commented on 2020-07-17 12:18 (UTC)

Currently does not build, requires fmt >= 7.9 (arch repos only have 6.2.1), and after installing fmt-git it still fails to build after configuring

-- Configuring done
CMake Error in externals/dynarmic/src/CMakeLists.txt:
  Imported target "Boost::boost" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in externals/dynarmic/src/CMakeLists.txt:
  Imported target "Boost::boost" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/common/CMakeLists.txt:
  Imported target "Boost::context" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/common/CMakeLists.txt:
  Imported target "Boost::context" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/core/CMakeLists.txt:
  Imported target "nlohmann_json::nlohmann_json" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/core/CMakeLists.txt:
  Imported target "nlohmann_json::nlohmann_json" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/web_service/CMakeLists.txt:
  Imported target "nlohmann_json::nlohmann_json" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/web_service/CMakeLists.txt:
  Imported target "nlohmann_json::nlohmann_json" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done

bscubed commented on 2020-06-04 00:22 (UTC)

yuzu has been updated to include the necessary dependencies. One of the dependencies needed to run yuzu after it's built is qt5-base 5.15 which was very recently pushed to the arch repositories. If yuzu fails to open after installation with an error saying qt-base 5.15 not found, you need to update your system first. The reason I say this is because qt-base was at version 5.14 when the 5.15 requirement was merged upstream.

Xaap commented on 2020-05-19 14:14 (UTC)

Hello, missing dependencies I had to add to build: 'catch2' 'fmt' 'nlohmann-json'

Terence commented on 2020-02-28 15:30 (UTC)

@bscubed I see, thanks for explaining, as long as you are aware it's usually the user responsibility to do that. Talking about improving user experience, can you give my draft PKGBUILD a try? This will prevent having to reclone each submodule when doing a clean build.

bscubed commented on 2020-02-08 02:15 (UTC)

@Terence Thank you for your suggestion, however, since I am the one who wrote the pkgver() function for my package, I know how it works and there are several key reasons I choose to bump the version anyways. The first is because many users install packages through AUR helpers and rely on these managers to notify them of updates. Bumping the version allows it to show up in the manager they use along with other updates keeping yuzu up to date with minimal user interaction. The second reason is because after I test my packages for errors (which I do at least weekly) the pkgver is updated, so why not update the package anyways? Updates are a sign a maintainer is active, and still cares about the project they committed to. And if I can make updates easier for the users of my package, I will.

Terence commented on 2020-01-30 22:29 (UTC)

@bscubed This is a VCS package which has a pkgver() function so you shouldn't update the PKGBUILD just to bump the version because it's the responsibility of the users to track updates.

Terence commented on 2019-12-31 01:54 (UTC)

Hey I made a draft to include the submodules within makepkg so they do not get downloaded each time src is cleared: (Also please unset the executable bit of the PKGBUILD)

# Maintainer: Brendan Szymanski <bscubed@pm.me>

_pkgname=yuzu
pkgname=$_pkgname-mainline-git
pkgver=r13317.d2e5e38e5
pkgrel=1
pkgdesc="An experimental open-source Nintendo Switch emulator/debugger"
arch=('i686' 'x86_64')
url="https://github.com/yuzu-emu/yuzu-mainline"
license=('GPL2')
provides=('yuzu' 'yuzu-cmd')
conflicts=('yuzu-git' 'yuzu-canary-git')
depends=('shared-mime-info' 'desktop-file-utils' 'sdl2' 'qt5-base' 'qt5-multimedia' 'qt5-tools' 'libxkbcommon-x11' 'libfdk-aac')
makedepends=('git' 'cmake' 'python2')
optdepends=('qt5-wayland: for Wayland support')
source=("$_pkgname::git+git+https://github.com/yuzu-emu/yuzu-mainline"
                "inih::git+https://github.com/svn2github/inih"
                "boost::git+https://github.com/yuzu-emu/ext-boost"
                "catch::git+https://github.com/philsquared/Catch"
                "cubeb::git+https://github.com/kinetiknz/cubeb"
                "dynarmic::git+https://github.com/MerryMage/dynarmic"
                "fmt::git+https://github.com/fmtlib/fmt"
                "lz4::git+https://github.com/lz4/lz4"
                "unicorn::git+https://github.com/yuzu-emu/unicorn"
                "mbedtls::git+https://github.com/DarkLordZach/mbedtls"
                "opus::git+https://github.com/xiph/opus"
                "soundtouch::git+https://github.com/citra-emu/ext-soundtouch"
                "libressl::git+https://github.com/citra-emu/ext-libressl-portable"
                "discord-rpc::git+https://github.com/discordapp/discord-rpc"
                "Vulkan-Headers::git+https://github.com/KhronosGroup/Vulkan-Headers"
                "zstd::git+https://github.com/facebook/zstd"
                "sirit::git+https://github.com/ReinUsesLisp/sirit"
                "libzip::git+https://github.com/nih-at/libzip"
                "zlib::git+https://github.com/madler/zlib"
                )
md5sums=('SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
         'SKIP')

pkgver() {
    cd "$srcdir/$_pkgname"
    echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

prepare() {
    cd "$srcdir/$_pkgname"

    git submodule init
    for mod_url in ${source[@]:2}
    do
        mod_name=${mod_url%%:*}
        git config submodule.$mod_name.url $srcdir/$mod_name
    done

    git submodule update --init --recursive 

}

build() {
    # Trick the compiler into thinking we're building from a continuous
    # integration tool so the build number is correctly shown in the title
    cd "$srcdir/$_pkgname"
    export CI=true
    export TRAVIS=true
    export TRAVIS_REPO_SLUG=yuzu-emu/yuzu-mainline
    export TRAVIS_TAG=$(git describe --tags)

    # Hopefully temporary fix for a compilation error involving fmt
    CXXFLAGS+=" -DFMT_USE_USER_DEFINED_LITERALS=0"

    mkdir -p build && cd build
    cmake .. \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release \
      -DYUZU_USE_BUNDLED_UNICORN=ON \
      -DYUZU_ENABLE_COMPATIBILITY_REPORTING=ON \
      -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
      -DUSE_DISCORD_PRESENCE=ON \
    -DENABLE_VULKAN=ON
    make
}

check() {
    cd "$srcdir/$_pkgname/build"
    make test
}

package() {
    cd "$srcdir/$_pkgname/build"
    make DESTDIR="$pkgdir/" install

    # Temporary fix until yuzu fixes the zlib and libzip patch
    cd "$pkgdir/usr"
    rm -rf include lib lib64 share/man share/pkgconfig
}

gee commented on 2019-11-27 06:46 (UTC)

Actually it did not install because of yuzu-canary-git, so I guess replaces is not enough it needs to conflict with it too.

gee commented on 2019-11-27 05:23 (UTC) (edited on 2019-11-27 05:23 (UTC) by gee)

Sorry for the wrong idea, I indeed had to manually switch packages. :/

bscubed commented on 2019-11-27 05:20 (UTC) (edited on 2019-11-27 05:30 (UTC) by bscubed)

@gee A good idea! Unfortunately, the replaces keyword doesn't work for AUR packages. I think the only solution is to have users manually upgrade. If there's another workaround, I'd be happy to hear it. https://bbs.archlinux.org/viewtopic.php?id=213750

gee commented on 2019-11-25 02:54 (UTC)

I wonder if a provides/replaces in the PKGBUILD would be a good idea, as it is people not following yuzu will just stay on the old package for ever and might be confused why it is not available anymore.

bscubed commented on 2019-11-24 17:42 (UTC)

If you're wondering what happened to yuzu-canary-git, read more here https://yuzu-emu.org/entry/yuzu-migration/ TL;DR: yuzu canary and yuzu nightly are being replaced by a single package, yuzu-mainline. This is the mainline build and contains untested, bleeding-edge features over yuzu stable.

gee commented on 2019-11-24 04:39 (UTC)

That makes sense, thank you for the explanation!

bscubed commented on 2019-11-24 03:16 (UTC)

@gee To be honest, it confuses me as well. From what the yuzu devs told me, yuzu canary and yuzu nightly are being replaced by a single package, yuzu-mainline. I am told that the canary branch is still being updated to provide a fallback while the migration to mainline occurs. That being said, I converted this package to mainline for the time being, but I plan on renaming this package to yuzu-mainline-git in the future.

gee commented on 2019-11-20 03:02 (UTC)

Hello,

I'm utterly confused. Which git is now the correct for the previous canary one? yuzu-canary, used here, is still seeing commits, but so is yuzu-mainline linked on the blog.

CyberConan commented on 2019-11-01 11:18 (UTC)

Hi! Only report than compilation fails if boost package from extra repository is installed.

alex_gk commented on 2019-10-08 16:26 (UTC) (edited on 2019-10-08 16:28 (UTC) by alex_gk)

Please note that the upstream "yuzu-canary" is no more. It was merged together with "yuzu-nightly" to simply: "yuzu", see https://yuzu-emu.org/entry/yuzu-migration/

bscubed commented on 2019-10-05 21:21 (UTC)

@dnmodder As mentioned in the pinned post, be sure to check https://travis-ci.org/yuzu-emu/yuzu-canary/builds to see if the yuzu buildbot is compiling successfully or not. It looks like a commit broke the build around a day ago. Not much to do about it except wait until the yuzu team to iron things out. It should be fixed relatively soon so keep your eyes peeled.

dnmodder commented on 2019-10-05 17:17 (UTC) (edited on 2019-10-05 17:18 (UTC) by dnmodder)

Unable to find executable: example64

it compiles correctly but this does not allow the creation of the package to continue

Devorlon commented on 2019-10-03 22:42 (UTC)

@bscubed brought it on myself. It's fixed now, took about 5 minutes.

bscubed commented on 2019-10-03 21:22 (UTC)

@dnmodder @Enverex Thanks for the heads-up. This happened before, looks like an upstream developer left some build dependencies in the output directory. I re-enabled the patch I had before which should allow it to be installed. @Devorlon I'm sorry to hear that happened because of this package. Hopefully everything's working for you now!

Devorlon commented on 2019-10-03 19:02 (UTC)

@Enverex Ditto, even deleted the files like an idiot, and had to boot into a live image to fix.

dnmodder commented on 2019-10-03 18:19 (UTC)

I have the same problem that @Enverex mentions

Enverex commented on 2019-10-03 12:33 (UTC)

Looks like it's trying to overwrite system files when it installs:

yuzu-canary-git: /usr/include/zconf.h exists in filesystem (owned by zlib)

yuzu-canary-git: /usr/include/zip.h exists in filesystem (owned by libzip)

yuzu-canary-git: /usr/include/zipconf.h exists in filesystem (owned by libzip)

yuzu-canary-git: /usr/include/zlib.h exists in filesystem (owned by zlib)

PedroHLC commented on 2019-09-09 13:55 (UTC)

Note that Python 3 or later is not yet supported

That's sad...

FichteFoll commented on 2019-09-06 01:28 (UTC)

I get a different error when building:

ERROR: Cannot use '/usr/bin/python', Python 2.4 or later is required.
       Note that Python 3 or later is not yet supported.
       Use --python=/path/to/python to specify a supported Python.

make[3]: *** [Makefile:217: qemu/config-host.h-timestamp] Error 1
make[2]: *** [CMakeFiles/unicorn-build.dir/build.make:61: ../externals/unicorn/libunicorn.a] Error 2
make[1]: *** [CMakeFiles/Makefile2:81: CMakeFiles/unicorn-build.dir/all] Error 2

PedroHLC commented on 2019-08-19 09:30 (UTC)

Something changed and it's not building the last 7 days, here is the only error thrown:

AutoUic error
-------------
  "/home/main-builder/pkgwork/src/yuzu-canary/src/yuzu/game_list.h"
The file includes the uic file "ui_settings.h",
but the user interface file "settings.ui"
could not be found in the following locations
  "/home/main-builder/pkgwork/src/yuzu-canary/src/yuzu/settings.ui"

make[2]: *** [src/yuzu/CMakeFiles/yuzu_autogen.dir/build.make:58: src/yuzu/CMakeFiles/yuzu_autogen] Error 1
make[1]: *** [CMakeFiles/Makefile2:2494: src/yuzu/CMakeFiles/yuzu_autogen.dir/all] Error 2

bscubed commented on 2019-06-21 01:58 (UTC)

@CyberConan I was just about to try to figure out the problem myself, thank you for saving me some time. :) The PKGBUILD has been updated and it should compile now. Hopefully this is only a temporary problem from the fmt library.

CyberConan commented on 2019-06-20 18:32 (UTC)

Hi! For fix the fmt compilation crash with GCC 9.1, I added this in PKGBUILD: export CXXFLAGS+=" -DFMT_USE_USER_DEFINED_LITERALS=0"

bscubed commented on 2019-06-15 20:32 (UTC)

@Japorized It appears yuzu pushed an update yesterday that included zlib and libzip as submodule dependencies. Thank you for bringing this to my attention. Normally, they shouldn't be included in the final package, but it appears they are. I don't know if this is a temporary bug or not, but I'll update the package to not include them for now.

Japorized commented on 2019-06-15 18:59 (UTC) (edited on 2019-06-20 19:08 (UTC) by Japorized)

pacman complains that there are conflicting files when I tried to makepkg. Here's the message:

error: failed to commit transaction (conflicting files)

yuzu-canary-git: /usr/include/zconf.h exists in filesystem (owned by zlib)
yuzu-canary-git: /usr/include/zip.h exists in filesystem (owned by libzip)
yuzu-canary-git: /usr/include/zipconf.h exists in filesystem (owned by libzip)
yuzu-canary-git: /usr/include/zlib.h exists in filesystem (owned by zlib)
yuzu-canary-git: /usr/lib/libz.so exists in filesystem (owned by zlib)
yuzu-canary-git: /usr/lib/libz.so.1 exists in filesystem (owned by zlib)
yuzu-canary-git: /usr/lib/libz.so.1.2.11 exists in filesystem (owned by zlib)
yuzu-canary-git: /usr/lib64 exists in filesystem (owned by filesystem)
yuzu-canary-git: /usr/lib64/pkgconfig/libzip.pc exists in filesystem
yuzu-canary-git: /usr/share/man/man3/zlib.3.gz exists in filesystem (owned by zlib)

Is there something I should be looking out for?

bscubed commented on 2018-11-13 18:36 (UTC) (edited on 2018-11-17 05:14 (UTC) by bscubed)

@dd86 That's an issue with the yuzu canary source. A recent commit broke the build, and it's been failing for a couple days now. See here: https://travis-ci.org/yuzu-emu/yuzu-canary/builds Keep your eyes peeled, it should be fixed soon.

Edit: The issue has been fixed and the build should finish now.

bscubed commented on 2018-11-12 01:49 (UTC) (edited on 2019-11-24 17:45 (UTC) by bscubed)

Some things to note: This is an unofficial package, thus is not officially supported by the Yuzu team. Please don't ask for help on their forums or discord if you run into issues with this build, as it might devote import development resources to a bug that might have to do with running Yuzu on an unofficial platform. If you encounter an issue, feel free to comment on this package and I'll try to point you in the right direction.

Also, this build is in active development. Builds might break every once in a while.

If you're looking for the QT version of this package, it has now been merged in this package. No need for two packages anymore, and no need to compile everything twice.

Thanks for using my package and have a nice day! :)