Tatsh / tatsh-overlay

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

games-emulation/citra-20230722 does not build #200

Closed bell07 closed 1 year ago

bell07 commented 1 year ago

Emerging games-emulation/citra-20230722 fails for me. I cannot see the reason byself.

# emerge --info games-emulation/citra
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.37-r3, 6.4.5-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.4.5-gentoo-dist-x86_64-AMD_Custom_APU_0405-with-glibc2.37
KiB Mem:    12063264 total,   5797252 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sun, 23 Jul 2023 20:30:01 +0000
Head commit of repository gentoo: e7a8aa72f4abe582c7b2bf23de7551801332fc48
Timestamp of repository bell07: Sat, 22 Jul 2023 00:03:40 +0000
Head commit of repository bell07: 29cdd05cff4095fcfea82b4985c5982c40e3c96e

Timestamp of repository elementary: Sat, 22 Jul 2023 00:03:09 +0000
Head commit of repository elementary: 16f0f24396b7eb0c133d4f05ef4ff4ee4eab1b1d

Timestamp of repository guru: Sun, 23 Jul 2023 14:16:45 +0000
Head commit of repository guru: 7c05c358eb823f5a4c01ed0f443a7985687407d2

Timestamp of repository steam-overlay: Sat, 22 Jul 2023 00:03:17 +0000
Head commit of repository steam-overlay: 2507f0bbe461f44fb8f887b011746f510800bd33

Timestamp of repository stefantalpalaru: Sun, 23 Jul 2023 11:36:41 +0000
Head commit of repository stefantalpalaru: 8e6e417d16fbf22e4756c43668f9dee57a2214e7

Timestamp of repository tatsh-overlay: Sun, 23 Jul 2023 20:31:44 +0000
Head commit of repository tatsh-overlay: a8c5901d89a4b461a3a48f1e063c6056871e12a3

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

Timestamp of repository x11: Sat, 22 Jul 2023 00:03:18 +0000
Head commit of repository x11: 1b689b4b0d48c5b264c6a1c629cccd27a842339c

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.36.1-r3::gentoo
dev-lang/python:           3.10.12::gentoo, 3.11.4::gentoo
dev-lang/rust-bin:         1.69.0-r1::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

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

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

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

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

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

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

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

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

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

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/config /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 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 libnotify libtirpc lm-sensors logrotate lto mad mdnsresponder-compat midi mms mng mp3 mp4 mpeg mtp multilib ncurses networkmanager 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 theora threads thunar tiff truetype udev udf udisks unicode upower usb v4l vaapi vdpau vorbis vpx 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="hp net" 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-20230608-r1::tatsh-overlay was built with the following:
USE="-openal -web-service" ABI_X86="(64)"

build.log.gz

Tatsh commented 1 year ago

I think the culprit here is your GCC version. Do you mind trying with GCC 13?

Tatsh commented 1 year ago

Actually please pull and try building with GCC 12.

bell07 commented 1 year ago

I use the stable gcc 12.3.1_p20230526 Tried to build using 13.1.1_p20230527 and got the same error I was able to build passing -Wno-maybe-uninitialized" to CFLAGS

Now I trying to build using the latest commit

bell07 commented 1 year ago

Confirm last comment fix my issue. Now I was able to build citra without any hack

By the way: emerge show me the message, but it is another issue

 * One or more CMake variables were not used by the project:
 *   USE_SYSTEM_OPENAL
Tatsh commented 1 year ago

That message is ignorable for now.