Package Details: citra-git r9079.5a7d80172-1

Git Clone URL: https://aur.archlinux.org/citra-git.git (read-only, click to copy)
Package Base: citra-git
Description: An experimental open-source Nintendo 3DS emulator/debugger
Upstream URL: https://github.com/citra-emu/citra/
Licenses: GPL2
Submitter: ceri
Maintainer: timschumi
Last Packager: timschumi
Votes: 69
Popularity: 1.32
First Submitted: 2014-05-01 08:32 (UTC)
Last Updated: 2021-11-04 21:13 (UTC)

Latest Comments

mochaa commented on 2022-04-02 13:58 (UTC)

Fix fetching source when insteadOf is set to ssh in gitconfig

diff --git a/PKGBUILD b/PKGBUILD
index 5d78069..568f576 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ license=('GPL2')
 depends=('ffmpeg')
 makedepends=('git' 'cmake' 'sdl2' 'qt5-base' 'shared-mime-info' 'desktop-file-utils' 'qt5-multimedia')
 source=("$_pkgbase::git+https://github.com/citra-emu/citra"
-        "boost::git+https://github.com/citra-emu/ext-boost/"
+        "boost::git+https://github.com/citra-emu/ext-boost"
         "catch::git+https://github.com/catchorg/Catch2"
         "cpp-jwt::git+https://github.com/arun11299/cpp-jwt"
         "cubeb::git+https://github.com/mozilla/cubeb"

ImperatorStorm commented on 2021-11-04 07:01 (UTC)

Patch to comply with https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules

diff --git a/PKGBUILD b/PKGBUILD
index 76fb6a3..fe765fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,60 @@
 # Maintainer: Tim Schumacher <timschumi@gmx.de>
 # Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
 # Contributor: ceri
-
+# Contributor: Imperator Storm <30777770+ImperatorStorm@users.noreply.github.com>
 _pkgbase='citra'
 pkgbase="$_pkgbase-git"
 pkgname=("$_pkgbase-git" "$_pkgbase-qt-git")
-pkgver=r9037.c40871f12
-pkgrel=1
+pkgver=r9079.5a7d80172
+pkgrel=2
 pkgdesc="An experimental open-source Nintendo 3DS emulator/debugger"
 arch=('i686' 'x86_64')
 url="https://github.com/citra-emu/citra/"
 license=('GPL2')
 depends=('ffmpeg')
 makedepends=('git' 'cmake' 'sdl2' 'qt5-base' 'shared-mime-info' 'desktop-file-utils' 'qt5-multimedia')
-source=("$_pkgbase::git+https://github.com/citra-emu/citra")
-md5sums=('SKIP')
+source=("$_pkgbase::git+https://github.com/citra-emu/citra"
+        "boost::git+https://github.com/citra-emu/ext-boost/"
+        "catch::git+https://github.com/catchorg/Catch2"
+        "cpp-jwt::git+https://github.com/arun11299/cpp-jwt"
+        "cubeb::git+https://github.com/mozilla/cubeb"
+        "discord-rpc::git+https://github.com/discord/discord-rpc"
+        "dynarmic::git+https://github.com/citra-emu/dynarmic"
+        "enet::git+https://github.com/lsalzman/enet"
+        "fmt::git+https://github.com/fmtlib/fmt"
+        "libressl::git+https://github.com/citra-emu/ext-libressl-portable"
+        "nihistro::git+https://github.com/neobrain/nihstro"
+        "soundtouch::git+https://github.com/citra-emu/ext-soundtouch"
+        "teakra::git+https://github.com/wwylele/teakra"
+        "xbyak::git+https://github.com/herumi/xbyak"
+        "zstd::git+https://github.com/facebook/zstd"
+        "inih::git+https://github.com/benhoyt/inih"
+        "libusb::git+https://github.com/libusb/libusb"
+        "cryptopp::git+https://github.com/weidai11/cryptopp"
+        "lodepng::git+https://github.com/lvandeve/lodepng"
+        "sanitizers-cmake::git+https://github.com/arsenm/sanitizers-cmake"
+        "googletest::git+https://github.com/google/googletest")
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP')

 # Clang generates weird object files when LTO is enabled, breaking static libraries (.a).
 # Force-disable LTO if we are using clang.
@@ -29,10 +69,22 @@ pkgver() {

 prepare() {
    cd "$srcdir/$_pkgbase"
-   mkdir -p build
-
+   if [[ -d build ]]; then
+      rm -rf build
+    fi
+    mkdir build
    git submodule init
-   git submodule update --init --recursive
+   for external in boost catch cpp-jwt cubeb discord-rpc dynarmic enet fmt libressl nihistro soundtouch teakra xbyak zstd inih libusb cryptopp lodepng
+   do
+   git config submodule.$external.url "$srcdir/$external"
+   done
+   git submodule update
+   # agh, submodule has submodules
+    cd externals/cubeb
+    git submodule init
+    git config submodule.cmake/sanitizers-cmake.url "$srcdir/sanitizers-cmake"
+    git config submodule.googletest.url "$srcdir/googletest"
+    git submodule update
 }

 build() {

timschumi commented on 2021-08-13 09:48 (UTC)

This patch fixes clang builds and builds for those who have lto enabled in their makepkg.conf. The clang fix consists of increasing the bracket-depth in the CXXFLAGS, whilst the lto fix consists of just disabling lto.

I kind of marked the E-Mail notification as read and forgot about it five minutes later. Sorry for that.

I'll look into it and apply the patch if necessary.

Does !lto or lto in makepkg.conf mean it's enabled (doesn't say in the wiki), MUST it be included in the PKGBUILD when used

"lto" means that LTO is enabled, and "!lto" ("not lto") means that it's disabled.

Neko-san commented on 2021-08-13 08:22 (UTC) (edited on 2021-08-13 08:31 (UTC) by Neko-san)

@mikoxyz I've been trying to figure out how to compile this with Clang for a while Lol

Does !lto or lto in makepkg.conf mean it's enabled (doesn't say in the wiki), MUST it be included in the PKGBUILD when used, and would you happen to know why -stdlib=libc++ -lstdc++ don't work as flags?

I can't seem to get this to compile with Clang no matter what I do when I try to do this :/

#!/hint/bash
#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
          'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget
# /usr/bin/axel

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'fossil::fossil'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
export CC=clang
export CXX=clang++

#CPPFLAGS=""
CFLAGS="-march=native -mtune=native -O3 -pipe -fno-plt -minline-all-stringops -stdlib=libc++ -lstdc++ -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
        -fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now"
RUSTFLAGS="-C opt-level=3 -C target-cpu=native"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j$(nproc) -e"
#-- Debugging flags
## The "-fvar-tracking-assignments" flag is for GCC
#DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CLAGS="-g"
#DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g"
#DEBUG_RUSTFLAGS="-C debuginfo=2"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Makepkg defaults: BUILDENV=(!distcc !color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Makepkg defaults: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug !lto)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#-- lto:        Add compile flags for building with link time optimization
#
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)

#-- File integrity checks to use. Valid: md5, sha1, sha224, sha256, sha384, sha512, b2
INTEGRITY_CHECK=(sha256)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
#PKGDEST=/home/packages
#-- Source cache: specify a fixed directory where source files will be cached
#SRCDEST=/home/sources
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z --threads=0 -)
COMPRESSZST=(zstd -c -z -q --threads=0 -)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)
COMPRESSLZ4=(lz4 -q)
COMPRESSLZ=(lzip -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar.gz'

#########################################################################
# OTHER
#########################################################################
#
#-- Command used to run pacman as root, instead of trying sudo and su
#PACMAN_AUTH=()

mikoxyz commented on 2021-07-29 11:35 (UTC) (edited on 2021-07-29 11:36 (UTC) by mikoxyz)

This patch fixes clang builds and builds for those who have lto enabled in their makepkg.conf. The clang fix consists of increasing the bracket-depth in the CXXFLAGS, whilst the lto fix consists of just disabling lto.

diff --git a/PKGBUILD b/PKGBUILD
index dff4422..b5e8d16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,6 +13,7 @@ url="https://github.com/citra-emu/citra/"
 license=('GPL2')
 depends=('ffmpeg')
 makedepends=('git' 'cmake' 'sdl2' 'qt5-base' 'shared-mime-info' 'desktop-file-utils' 'qt5-multimedia')
+options=('!lto')
 source=("$_pkgbase::git+https://github.com/citra-emu/citra")
 md5sums=('SKIP')

@@ -35,6 +36,11 @@ build() {
        # Fix for an issue some users are facing when compiling with GCC
        CXXFLAGS+=" -DFMT_USE_USER_DEFINED_LITERALS=0"

+       # The build fails with clang if this isn't set
+       if [ $CXX == clang++ ]; then
+               CXXFLAGS+=" -fbracket-depth=649"
+       fi
+
        cmake .. \
          -DCMAKE_INSTALL_PREFIX=/usr \
          -DCMAKE_BUILD_TYPE=Release \

JTF commented on 2020-07-16 17:46 (UTC) (edited on 2020-07-16 22:01 (UTC) by JTF)

I was able to build this a few weeks ago but now I get this error:

==> Entering fakeroot environment...
==> Starting package_citra-git()...
install: cannot stat '/var/tmp/pamac-build-name/citra-git/src/citra/build/bin/citra': No such file or directory
==> ERROR: A failure occurred in package_citra-git().
    Aborting...

EDIT: Building works after the 2020-07-16 20:04 Update. Thanks.

Laserentchen commented on 2020-04-14 17:46 (UTC)

@timschumi

Thanks! Building with yay works again.

Laserentchen commented on 2020-04-13 16:15 (UTC) (edited on 2020-04-13 16:15 (UTC) by Laserentchen)

@timschumi

Thank you for the rapid feedback and the fix!

Is it possible to add qt5-multimedia as a package dependency for citra-qt-git and (again) as make dependency for the base package instead?

timschumi commented on 2020-04-13 12:04 (UTC)

@Laserentchen

Should be fine now. It was only listed as a build-time dependency before.

Laserentchen commented on 2020-04-13 04:55 (UTC)

qt5-multimedia seems to be a dependency for citra-qt:

citra-qt: error while loading shared libraries: libQt5Multimedia.so.5: cannot open shared object file: No such file or directory

cnte commented on 2020-02-26 13:13 (UTC)

@timschumi Oh, thank you! I should've thought of that. Now it's working!

timschumi commented on 2020-02-24 13:44 (UTC)

@cnte No issues here, even on a totally clean environment. However, the error output you posted indicates that a few repositories failed to download/checkout. You might want to try clearing out your src directory.

cnte commented on 2020-02-24 08:13 (UTC)

Build is failing for me with the following error.

==> Starting build()...
-- Target architecture: x86_64
-- Boost 1.66.0 or newer not found, falling back to externals
<FindSDL2.cmake>
</FindSDL2.cmake>
--  Found avcodec: /usr/include /usr/lib/libavcodec.so (version: 58.54.100)
--  Found avdevice: /usr/include /usr/lib/libavdevice.so (version: 58.8.100)
--  Found avfilter: /usr/include /usr/lib/libavfilter.so (version: 7.57.100)
--  Found avformat: /usr/include /usr/lib/libavformat.so (version: 58.29.100)
--  Found avutil: /usr/include /usr/lib/libavutil.so (version: 56.31.100)
--  Found swresample: /usr/include /usr/lib/libswresample.so (version: 3.5.100)
--  Found swscale: /usr/include /usr/lib/libswscale.so (version: 5.5.100)
-- Target architecture: x86_64
-- Version: 6.0.0
-- Build type: Release
-- CXX_STANDARD: 17
-- ZSTD VERSION: 1.4.4
-- CMAKE_INSTALL_PREFIX: /usr
-- CMAKE_INSTALL_LIBDIR: lib
-- ZSTD_LEGACY_SUPPORT not defined!
-- ZSTD_MULTITHREAD_SUPPORT is enabled
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
CMake Error at externals/CMakeLists.txt:88 (add_subdirectory):
  The source directory

    /home/cnte/.cache/aurutils/sync/citra-git/src/citra/externals/libressl

  does not contain a CMakeLists.txt file.


CMake Error at externals/CMakeLists.txt:89 (target_include_directories):
  Cannot specify include directories for target "ssl" which is not built by
  this project.


CMake Error at externals/CMakeLists.txt:90 (target_compile_definitions):
  Cannot specify compile definitions for target "ssl" which is not built by
  this project.


-- Configuring incomplete, errors occurred!

xdavidwu commented on 2020-01-09 00:41 (UTC)

Dependency to ffmpeg missing.

timschumi commented on 2020-01-08 17:03 (UTC) (edited on 2020-01-08 17:18 (UTC) by timschumi)

Huh, I didn't notice that it actually had to be a CMake variable, since its definition is similar to a "normal" compile-time flag. I'll upload a fix in a few minutes.

dnandha commented on 2020-01-08 13:54 (UTC)

@timschumi For some weird reason you added it as a "CXXFLAG" and not as cmake variable like described here: https://github.com/citra-emu/citra/wiki/Building-for-Linux#building-citra-in-release-mode-optimized This change also resolves @rharish's issue, check his comment below

timschumi commented on 2020-01-08 10:44 (UTC)

@dnandha I'm pretty sure that the flag is already set...

dnandha commented on 2020-01-08 06:00 (UTC) (edited on 2020-01-08 06:03 (UTC) by dnandha)

Missing audio (e.g. for Pokemon X/Y) can be fixed by adding an additional compiler flag to PKGBUILD: @@ -40,6 +40,7 @@ build() { cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ + -DENABLE_FFMPEG_AUDIO_DECODER=ON \ -DUSE_SYSTEM_CURL=ON make } Tested, works! Reference: https://github.com/citra-emu/citra/wiki/Building-for-Linux#building-citra-in-release-mode-optimized

rharish commented on 2019-12-20 11:36 (UTC) (edited on 2019-12-20 14:21 (UTC) by rharish)

Citra isn't built with the AAC decoder, which leads to missing audio for Pokemon X/Y, as mentioned here. I've tried to do it myself, but it doesn't work. Could you look into this issue?.

Haystack commented on 2019-08-08 16:54 (UTC) (edited on 2019-08-08 17:57 (UTC) by Haystack)

Build is failing for me (using aurutils)

[  3%] Building CXX object externals/dynarmic/src/CMakeFiles/dynarmic.dir/common/fp/fused.cpp.o
In file included from /build/citra-git/src/citra/externals/dynarmic/src/./common/assert.h:9,
                 from /build/citra-git/src/citra/externals/dynarmic/src/common/fp/fused.cpp:7:
/build/citra-git/src/citra/externals/fmt/include/fmt/format.h:3475:55: error: ISO C++ did not adopt string literal operator templates taking an argument pack of characters [-Wpedantic]
 3475 | FMT_CONSTEXPR internal::udl_formatter<Char, CHARS...> operator""_format() {
      |                                                       ^~~~~~~~
compilation terminated due to -Wfatal-errors.
make[2]: *** [externals/dynarmic/src/CMakeFiles/dynarmic.dir/build.make:102: externals/dynarmic/src/CMakeFiles/dynarmic.dir/common/fp/fused.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:235: externals/dynarmic/src/CMakeFiles/dynarmic.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/aurpkgs/build

EDIT: Adding export CXXFLAGS+=" -DFMT_USE_USER_DEFINED_LITERALS=0" in the build section of the PKGBUILD fixed it. I got this from https://github.com/citra-emu/citra/issues/4766

Mymaud commented on 2018-10-01 19:16 (UTC) (edited on 2018-10-01 19:16 (UTC) by Mymaud)

-DCMAKE_INSTALL_LIBDIR=lib

that work for me, thanks.

PirateJonno commented on 2018-09-29 20:50 (UTC)

Just add -DCMAKE_INSTALL_LIBDIR=lib to prevent pacman from complaining

timschumi commented on 2018-09-29 08:37 (UTC)

The installation issue is fixed, the symlink /usr/lib64 on the filesystem conflicted with the file /usr/lib64/libdiscord-rpc.so that the package tried to install.

Discord integration has to wait for another time.

YamashitaRen commented on 2018-09-28 15:20 (UTC) (edited on 2018-09-28 15:20 (UTC) by YamashitaRen)

Same issue here, using makepkg + pacman -U : erreur : la validation de la transaction a échoué (conflit de fichiers) citra-qt-git : /usr/lib64 est déjà présent dans le système de fichiers (appartenant à filesystem)

gee commented on 2018-09-28 02:51 (UTC)

Discord integration seems to conflict with Dolphin's.

tomKPZ commented on 2018-09-28 02:19 (UTC)

Experiencing the same issue as @gourdcaptain. Using aurman.

timschumi commented on 2018-09-27 22:18 (UTC)

@hcorion Discord integration should now be enabled

@oddworld That issue is fixed now, the build paths have changed

@gourdcaptain I didn't experience such issues. What makepkg command or AUR wrapper did you use to compile the package?

gourdcaptain commented on 2018-09-27 21:41 (UTC)

This is giving me the error: "error: failed to commit transaction (conflicting files) citra-qt-git: /usr/lib64 exists in filesystem (owned by filesystem)" on install attempt.

oddworld commented on 2018-09-27 01:52 (UTC) (edited on 2018-09-27 01:53 (UTC) by oddworld)

I am unable to build. Below is the error:

=> Starting check()...
Running tests...
Test project /tmp/yaourt-tmp-USERNAME/aur-citra-qt-git/src/citra/build
Start 1: tests
1/1 Test #1: tests ............................   Passed    0.27 sec

100% tests passed, 0 tests failed out of 1

Total Test time (real) =   0.27 sec
==> Entering fakeroot environment...
==> Starting package_citra-git()...
install: cannot stat '/tmp/yaourt-tmp-USERNAME/aur-citra-qt-git/src/citra/build/src/citra/citra': No such file or directory
==> ERROR: A failure occurred in package_citra-git().
Aborting...
==> ERROR: Makepkg was unable to build citra-git.
==> Restart building citra-qt-git ? [y/N]
==> -------------------------------------

hcorion commented on 2018-09-09 21:29 (UTC) (edited on 2018-09-09 21:30 (UTC) by hcorion)

Hey, just wondering if we could enable discord rich presence for this package, via -DUSE_DISCORD_PRESENCE=ON ?

timschumi commented on 2018-06-26 19:06 (UTC)

@linkmauve

This package needs at least a build-time dependency on "qt5-multimedia" to provide the Qt5MultimediaConfig.cmake configuration file.

Also, please change the "git submodule update" calls to "git submodule update --init --recursive" as already recommended by others (since the package is not buildable in its current state).

BrainwreckedTech commented on 2018-06-07 12:09 (UTC)

As noted by turtlewit in citra-canary-git:

Had to change "git submodule update" to "git submodule update --init --recursive" in PKGBUILD to fix.

Enverex commented on 2018-06-06 17:31 (UTC)

Looks like a dependency is missing now. Configure fails with:

CMake Error at externals/cubeb/CMakeLists.txt:27 (message): Could not find sanitizers-cmake: run

allencch commented on 2017-12-15 03:22 (UTC)

If using pacaur and cached the build, and see some message like

xxxx/inih is not a clone of https://github.com/benhoyt/inih

then one needs to remove the inih/ folder and re-build it.

linkmauve commented on 2017-12-06 09:57 (UTC)

Fixed.

hcorion commented on 2017-12-05 21:54 (UTC)

This package no longer builds due to https://github.com/citra-emu/citra/pull/3178

You need to change inih repos.

linkmauve commented on 2017-11-02 12:59 (UTC)

-git packages don’t need to be updated on AUR unless there is a build change, `makepkg` will always pull first and build the very latest commit.

NY152 commented on 2017-11-02 12:08 (UTC)

For me it is not a problem of compilation but seniority compared to the official site. _________________________________________________________________________________ Chez moi ce n'est pas un soucis de compilation mais d'ancienneté par rapport au site officiel.

linkmauve commented on 2017-11-01 15:46 (UTC)

Do you have any issue with it? I just built this package and it worked just fine.

NY152 commented on 2017-11-01 15:02 (UTC) (edited on 2017-11-01 15:04 (UTC) by NY152)

This package is no longer maintained? _________________________________ Ce paquet n'est plus maintenu ?

ibrokemypie commented on 2017-08-03 12:05 (UTC)

not building for me... Scanning dependencies of target dynarmic [ 27%] Building CXX object externals/dynarmic/src/CMakeFiles/dynarmic.dir/common/memory_pool.cpp.o [ 27%] Building CXX object externals/dynarmic/src/CMakeFiles/dynarmic.dir/frontend/arm/types.cpp.o [ 27%] Building CXX object externals/dynarmic/src/CMakeFiles/dynarmic.dir/frontend/disassembler/disassembler_arm.cpp.o In file included from /tmp/makepkg/citra-git/src/citra/externals/dynarmic/src/frontend/disassembler/disassembler_arm.cpp:16:0: /tmp/makepkg/citra-git/src/citra/externals/dynarmic/src/./frontend/decoder/arm.h:324:1: error: ‘boost’ does not name a type; did you mean ‘bool’? boost::optional<const ArmMatcher<V>&> DecodeArm(u32 instruction) { ^~~~~ bool compilation terminated due to -Wfatal-errors. make[2]: *** [externals/dynarmic/src/CMakeFiles/dynarmic.dir/build.make:111: externals/dynarmic/src/CMakeFiles/dynarmic.dir/frontend/disassembler/disassembler_arm.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:219: externals/dynarmic/src/CMakeFiles/dynarmic.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build citra-qt-git package(s)

linkmauve commented on 2017-07-16 21:50 (UTC)

I pushed a new PKGBUILD fixing these issues for me, it will be usable once https://github.com/citra-emu/citra/pull/2830 is merged. Thanks for the report!

prg commented on 2017-07-16 18:12 (UTC)

This is currently failing to build for me - I believe a few submodules are not being retrieved (a 'git submodule update --init --recursive' solved the issue for me)

linkmauve commented on 2016-07-30 15:55 (UTC)

Hi wyre, Pokémon doesn’t work yet, try some other game then.

jfernandz commented on 2016-07-25 08:09 (UTC) (edited on 2016-07-25 08:41 (UTC) by jfernandz)

linkmauve, thank you! the issue is getting better, however ... I still having some issues, maybe should I open an issue in Github: http://pastebin.com/dHYA0pq3 PS: I've disabled JIT from settings and setup my region in EUR. And ... Is not there any 3DS alternative emulator without JIT?

linkmauve commented on 2016-07-23 16:17 (UTC) (edited on 2016-07-23 17:54 (UTC) by linkmauve)

Hi wyre, I fixed your issue upstream, see: https://github.com/citra-emu/citra/pull/1973 It should allow Citra to run on your computer, but without the JIT of course (so don’t expect any playable performances).

jfernandz commented on 2016-07-22 17:30 (UTC)

https://en.wikipedia.org/wiki/SSE4 Here it said that sse4a is a partial implementation of sse4.1 but they are not fully compatible :( @linkmauve

jfernandz commented on 2016-07-22 17:24 (UTC) (edited on 2016-07-22 17:26 (UTC) by jfernandz)

http://pastebin.com/fpZhBDiR Maybe you are right, but ... I don't think my cpu be too old ... xD I'm using sse4a according to that.

linkmauve commented on 2016-07-22 17:08 (UTC)

wyre, the only reason I could see would be that your CPU is too old to support SSE4.1 (which our JIT requires), try `grep sse4.1 /proc/cpuinfo` to see if your CPU supports that. Otherwise, please recompile this package in Debug mode and report where the crash happens, with gdb.

jfernandz commented on 2016-07-22 13:35 (UTC)

I'm getting "illegal instruction" when I try to execute citra: https://github.com/citra-emu/citra/issues/1968

Shuliyey commented on 2016-07-16 11:06 (UTC)

@linkmauve seems like a proposed fix is coming in soon, so work around is probably no longer needed :D https://github.com/citra-emu/citra/pull/1936

Shuliyey commented on 2016-07-16 03:53 (UTC)

Holy crap I managed to find a way to install this by editing the pkgbuild file. Here's what did, I posted on github https://github.com/citra-emu/citra/issues/1955#issuecomment-233106336

Shuliyey commented on 2016-07-16 03:12 (UTC)

I get the below error while compiling, seems like there's some steps required to modify the pkgbuild file to enable C++14 feature for cmake ============================================================================= /tmp/yaourt-tmp-zeyuy/aur-citra-qt-git/src/citra/src/citra_qt/configure_audio.cpp: In constructor ‘ConfigureAudio::ConfigureAudio(QWidget*)’: /tmp/yaourt-tmp-zeyuy/aur-citra-qt-git/src/citra/src/citra_qt/configure_audio.cpp:14:12: error: ‘make_unique’ is not a member of ‘std’ ui(std::make_unique<Ui::ConfigureAudio>()) ^~~ /tmp/yaourt-tmp-zeyuy/aur-citra-qt-git/src/citra/src/citra_qt/configure_audio.cpp:14:47: error: expected primary-expression before ‘>’ token ui(std::make_unique<Ui::ConfigureAudio>()) ^ /tmp/yaourt-tmp-zeyuy/aur-citra-qt-git/src/citra/src/citra_qt/configure_audio.cpp:14:49: error: expected primary-expression before ‘)’ token ui(std::make_unique<Ui::ConfigureAudio>()) ^ make[2]: *** [src/citra_qt/CMakeFiles/citra-qt.dir/b =========================================================================== Anyone have any ideas how to do this?

linkmauve commented on 2016-07-12 12:38 (UTC)

It isn’t just you, see this issue: https://github.com/citra-emu/citra/issues/1931 A fix has been proposed, it currently breaks OS X but you can apply it manually until someone gets to fix it: https://github.com/citra-emu/citra/pull/1936

PaiDeDog commented on 2016-07-05 20:58 (UTC)

Is it just me or it isnt compiling?

linkmauve commented on 2016-06-22 01:00 (UTC)

Ketchup901, why would I? On AUR you just have to rebuild a -git PKGBUILD for it to be updated to the latest upstream version.

Ketchup901 commented on 2016-06-21 14:55 (UTC)

Are you gonna update this?

linkmauve commented on 2016-04-26 18:01 (UTC) (edited on 2016-04-26 20:26 (UTC) by linkmauve)

No, this is an upstream issue, I won’t fix it in this package. Edit: fixed in https://github.com/citra-emu/citra/commit/591ffad670d742d85bdf2e975415a7bbdd82a14f

Mario3D13 commented on 2016-04-26 17:33 (UTC)

I can't build this package. This is what comes up: [100%] Linking CXX executable citra-qt /usr/bin/ld: ../common/libcommon.a(microprofile.cpp.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' /usr/lib/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status src/citra_qt/CMakeFiles/citra-qt.dir/build.make:797: recipe for target 'src/citra_qt/citra-qt' failed make[2]: *** [src/citra_qt/citra-qt] Error 1 CMakeFiles/Makefile2:603: recipe for target 'src/citra_qt/CMakeFiles/citra-qt.dir/all' failed make[1]: *** [src/citra_qt/CMakeFiles/citra-qt.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build citra-git. I think a fix is in order!

linkmauve commented on 2016-03-16 00:10 (UTC)

Thanks, this is fixed now, I replaced the glfw dependency with a sdl2 one.

MrTimscampi commented on 2016-03-12 04:27 (UTC)

It seems like it needs sdl2 to compile, now. When compiling, without sdl2, it throws an error about some SDL2 includes not being found and then fails. Installing sdl2 fixes it.

linkmauve commented on 2015-09-13 12:32 (UTC)

Hi Cravix, thanks for the notice, I hadn’t noticed this package had been broken by a change of mine for two months… For the record, here is the PR that made this fail: https://github.com/citra-emu/citra/pull/910 I had this change ready, but eventually forgot to push it. :x Thanks for the updated PKGBUILD, but you were totally missing the depends field, and forcing the user to install both glfw and qt5 while they will use only one of the backends doesn’t seem nice at all, so having a split package is better.

Cravix commented on 2015-09-12 09:12 (UTC)

Running PKGBUILD and pacman tells me these 2 packages both includes /usr/bin/citra, and when I looked into it I found that when running "make install" in package_citra-qt function, both running script (citra and citra-qt) were put into ${pkgdir}/usr/bin, so I think it's not necessary to split this into 2 packages, and it also needs some cleanup in this PKGBUILD, and thus the following PKGBUILD, hope that helps :P http://pastebin.ca/3159427

ceri commented on 2014-11-21 07:50 (UTC)

Hi Damaskino. As I don't really use this any more I don't think I have the time to mantain it and so I'm going to disown it. Feel free to take over managing it.

Damaskino commented on 2014-11-21 07:33 (UTC)

One of my friends is active in the development of citra and he had these further comments and suggestions when I talked to him: - upstream is now https://github.com/citra-emu/citra - Qt5 is recommended instead of Qt4 - this package should install citra glfw alongside citra qt - Building with optimisations also gives a much better experience Best regards!

Damaskino commented on 2014-11-21 07:27 (UTC)

Hi there, I'm getting an error when building is it an issue with the package or am I missing something? ==> Starting build()... -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.14") -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib64/libX11.so -- Found OpenGL: /usr/lib64/libGL.so -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") -- checking for one of the modules 'glfw3' -- Configuring done CMake Error at externals/inih/CMakeLists.txt:11 (add_library): Cannot find source file: inih/ini.c Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx -- Build files have been written to: /tmp/yaourt-tmp-chen/aur-citra-git/src/citra/build ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build citra-git.