Tatsh / tatsh-overlay

Personal Gentoo Portage overlay.
https://tatsh.github.io/tatsh-overlay/
GNU General Public License v2.0
35 stars 12 forks source link

games-emulation/citra-20230501 does not build #186

Closed bell07 closed 1 year ago

bell07 commented 1 year ago

The new citra ebuild fails to build for me:

 * Package:    games-emulation/citra-20230501:0
 * Repository: tatsh-overlay
 * Maintainer: audvare@gmail.com
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
--2023-05-03 08:25:29--  https://api.citra-emu.org/gamedb/
Resolving api.citra-emu.org... 172.67.165.22, 104.21.11.28
Connecting to api.citra-emu.org|172.67.165.22|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2131779 (2,0M) [application/json]
Saving to: ‘/var/tmp/portage/games-emulation/citra-20230501/temp/compatibility_list.json’

/var/tmp/portage/ga 100%[===================>]   2,03M  7,76MB/s    in 0,3s    

2023-05-03 08:25:32 (7,76 MB/s) - ‘/var/tmp/portage/games-emulation/citra-20230501/temp/compatibility_list.json’ saved [2131779/2131779]

>>> Unpacking source...
>>> Unpacking citra-20230501.tar.gz to /var/tmp/portage/games-emulation/citra-20230501/work
>>> Unpacking citra-lodepng-1896455.tar.gz to /var/tmp/portage/games-emulation/citra-20230501/work
>>> Unpacking citra-dynarmic-c08c5a9.tar.gz to /var/tmp/portage/games-emulation/citra-20230501/work
>>> Unpacking citra-xbyak-a1ac375.tar.gz to /var/tmp/portage/games-emulation/citra-20230501/work
>>> Unpacking citra-soundtouch-dd2252e.tar.gz to /var/tmp/portage/games-emulation/citra-20230501/work
>>> Source unpacked in /var/tmp/portage/games-emulation/citra-20230501/work
>>> Preparing source in /var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4_build"
 * Applying citra-0001-system-libraries.patch ...
 [ ok ]
 * Applying citra-0002-inih-fix.patch ...
 [ ok ]
 * Applying citra-0003-disable-tests.patch ...
 [ ok ]
 * Hardcoded definition(s) removed in externals/dynarmic/CMakeLists.txt:
 *      set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, op
 * Hardcoded definition(s) removed in externals/dynarmic/externals/mcl/CMakeLists.txt:
 *      set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, op
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4_build"
cmake -C /var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=OFF -DDISABLE_SUBMODULE_CHECK=ON -DENABLE_FFMPEG_AUDIO_DECODER=ON -DENABLE_FFMPEG_VIDEO_DUMPER=ON -DENABLE_WEB_SERVICE=no -DUSE_SYSTEM_BOOST=ON -DUSE_SYSTEM_CRYPTOPP=ON -DUSE_SYSTEM_CUBEB=ON -DUSE_SYSTEM_ENET=ON -DUSE_SYSTEM_FMT=ON -DUSE_SYSTEM_INIH=ON -DUSE_SYSTEM_SDL2=ON -DUSE_SYSTEM_TEAKRA=ON -DUSE_SYSTEM_XBYAK=OFF -DUSE_SYSTEM_ZSTD=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4_build/gentoo_toolchain.cmake /var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4
loading initial cache file /var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using Precompiled Headers.
-- Copying pre-commit hook
-- LTO disabled
-- Target architecture: x86_64
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "1.8.1") 
-- Checking for module 'libusb-1.0'
--   Found libusb-1.0, version 1.0.26
-- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib64/libusb-1.0.so
--  Found avcodec: /usr/include /usr/lib64/libavcodec.so (version: 58.134.100)
--  Found avdevice: /usr/include /usr/lib64/libavdevice.so (version: 58.13.100)
--  Found avfilter: /usr/include /usr/lib64/libavfilter.so (version: 7.110.100)
--  Found avformat: /usr/include /usr/lib64/libavformat.so (version: 58.76.100)
--  Found avutil: /usr/include /usr/lib64/libavutil.so (version: 56.70.100)
--  Found swresample: /usr/include /usr/lib64/libswresample.so (version: 3.9.100)
--  Found swscale: /usr/include /usr/lib64/libswscale.so (version: 5.9.100)
-- Found FFmpeg: /usr/include  found components: avcodec avformat avutil swscale swresample 
CMake Warning (dev) at externals/dynarmic/CMakeLists.txt:20 (option):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'DYNARMIC_TESTS'.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Target architecture: x86_64
-- Found Boost: /usr/lib64/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.57")  
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
CMake Error at externals/CMakeLists.txt:239 (add_subdirectory):
  The source directory

    /var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4/externals/openal-soft

  does not contain a CMakeLists.txt file.

-- Found Boost: /usr/lib64/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.70.0") found components: serialization iostreams 
<FindSDL2.cmake>
</FindSDL2.cmake>
-- Found SDL2: /usr/lib64/libSDL2main.a;/usr/lib64/libSDL2.so  
CMake Error at src/common/CMakeLists.txt:154 (target_link_libraries):
  Cannot specify link libraries for target "common" which is not built by
  this project.

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4_build/CMakeFiles/CMakeOutput.log".
 * ERROR: games-emulation/citra-20230501::tatsh-overlay failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2153:  Called cmake_src_configure
 *   environment, line 1059:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=games-emulation/citra-20230501::tatsh-overlay'`,
 * the complete build log and the output of `emerge -pqv '=games-emulation/citra-20230501::tatsh-overlay'`.
 * The complete build log is located at '/var/tmp/portage/games-emulation/citra-20230501/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/citra-20230501/temp/environment'.
 * Working directory: '/var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4_build'
 * S: '/var/tmp/portage/games-emulation/citra-20230501/work/citra-41f13456c0a2b341229e61a31f3bf3144404cfa4'

Tested on Steam Deck:

 # emerge --info citra
Portage 3.0.44 (python 3.11.2-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.36-r7, 6.2.14-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.2.14-gentoo-dist-x86_64-AMD_Custom_APU_0405-with-glibc2.36
KiB Mem:    15161948 total,   9929344 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Wed, 03 May 2023 06:00:01 +0000
Head commit of repository gentoo: 8da0d0ba21eef81ca711698918268ab721d1126a
Timestamp of repository bell07: Tue, 02 May 2023 15:33:09 +0000
Head commit of repository bell07: fe2950a585bd5faf4600466f7fab47b1cb751159

Timestamp of repository elementary: Tue, 02 May 2023 19:18:20 +0000
Head commit of repository elementary: cb52a95278932e6b5452c6b572871269661248f3

Timestamp of repository guru: Tue, 02 May 2023 19:18:31 +0000
Head commit of repository guru: 55fe2a42ee748779ee27d5ddc92fd5e0fb2b3ab3

Timestamp of repository steam-overlay: Mon, 01 May 2023 13:50:22 +0000
Head commit of repository steam-overlay: 018f4fab8db0f38020e9e8cc951bb715759d8952

Timestamp of repository stefantalpalaru: Sun, 30 Apr 2023 21:18:47 +0000
Head commit of repository stefantalpalaru: 58224d64df90ee7ca2a50b04625bfb44da39a200

Timestamp of repository tatsh-overlay: Tue, 02 May 2023 23:32:58 +0000
Head commit of repository tatsh-overlay: f0f4294fc6b3f0615f41d4594d587b912fd7305c

Timestamp of repository vortex: Fri, 31 Mar 2023 16:47:00 +0000
Head commit of repository vortex: 32f77b94fbe701080cd03fc3ad3d2520c34c3597

Timestamp of repository x11: Mon, 01 May 2023 13:50:22 +0000
Head commit of repository x11: 5d6da02d264d2b6df1ac98c79b39fef55f12c4cd

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p6) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.11.2_p2::gentoo
dev-lang/rust-bin:         1.66.1-r1::gentoo
dev-util/cmake:            3.25.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230428-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

bell07
    location: /var/db/repos/bell07
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/bell07.git
    masters: gentoo
    volatile: True

elementary
    location: /var/db/repos/elementary
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/elementary.git
    masters: gentoo
    volatile: True

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: True

stefantalpalaru
    location: /var/db/repos/stefantalpalaru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git
    masters: gentoo
    volatile: True

tatsh-overlay
    location: /var/db/repos/tatsh-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tatsh-overlay.git
    masters: gentoo
    volatile: True

vortex
    location: /var/db/repos/vortex
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/vortex.git
    masters: gentoo
    volatile: True

x11
    location: /var/db/repos/x11
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/x11.git
    masters: gentoo
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -march=native -fomit-frame-pointer -pipe "
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -fomit-frame-pointer -pipe "
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de en"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac aacs acl acpi alsa amd64 avahi bdplus bluetooth bluray branding bzip2 cacert cairo cdda cddb cdr cli connman cover crypt css cups dbus dist-kernel dri dts dvd dvdr egl elogind encode exif fat ffmpeg flac fluidsynth fortran gamepad gdbm gif gimp git gles2 gpm gstreamer gtk gtk3 gui hddtemp heif hfs iconv icu ipv6 java joystick jpeg jpeg2k lcms libglvnd libnotify libtirpc lm-sensors logrotate lto mad mdnsresponder-compat midi mms mng mp3 mp4 mpeg mtp multilib ncurses nls nptl ntfs oauth ocr ogg opencv openexr opengl openmp opus pam pango pcre pdf pgo pipewire png policykit postscript ppds printsupport pulseaudio qt5 readline rtmp samba scanner sdl seccomp snmp sound spell split-usr sqlite ssl startup-notification svg test-rust threads thunar tiff truetype udev udf udisks unicode upower usb v4l vaapi vdpau vorbis vulkan wayland webp widevine wiimote wmf wxwidgets x264 x265 xattr xcb xfce xft xinerama xml xpmopenexr xrandr xv xvfb xvid xvmc xwayland zeroconf zlib" ABI_X86="32 64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

games-emulation/citra-20230422::tatsh-overlay was built with the following:
USE="-web-service" ABI_X86="(64)"