Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yuzu-0_p20230202::guru fails to compile ([failed demangle)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
necron
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2010
Posts: 113

PostPosted: Wed Feb 14, 2024 10:50 pm    Post subject: yuzu-0_p20230202::guru fails to compile ([failed demangle) Reply with quote

It also looks like yuzu keeps wanting to pull in a masked version of vulkan-headers (at bottom).

Relevant part of build.log

Code:
ninja: build stopped: subcommand failed.
 * ERROR: games-emulation/yuzu-0_p20230202::guru failed (compile phase):
 *   ninja -v -j24 -l24 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2247:  Called cmake_src_compile
 *   environment, line  989:  Called cmake_build
 *   environment, line  956:  Called eninja
 *   environment, line 1427:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=games-emulation/yuzu-0_p20230202::guru'`,
 * the complete build log and the output of `emerge -pqv '=games-emulation/yuzu-0_p20230202::guru'`.
 * The complete build log is located at '/var/tmp/portage/games-emulation/yuzu-0_p20230202/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/yuzu-0_p20230202/temp/environment'.
 * Working directory: '/var/tmp/portage/games-emulation/yuzu-0_p20230202/work/yuzu-mainline-d5f6201521cdfd0be09a187d62f95d3a38f18c3e_build'
 * S: '/var/tmp/portage/games-emulation/yuzu-0_p20230202/work/yuzu-mainline-d5f6201521cdfd0be09a187d62f95d3a38f18c3e'


Code:
$ sudo emerge --info =games-emulation/yuzu-0_p20230202::guru
Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r10, 6.6.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.13-gentoo-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.38
KiB Mem:    65754248 total,  60533084 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Tue, 13 Feb 2024 16:00:01 +0000
Head commit of repository gentoo: 4cfaa5c8c3ed8eeff5c512d967c776f2b1f266ef
Head commit of repository brave-overlay: 2e8b7375f199173002bad3fe703e3d65e7ff2518

Head commit of repository gentoo-zh: 3f3450eb00aec5d15e853939f846ac86af24bfda

Head commit of repository guru: 78834896f044e87c9203cd91d3286cb96ca2ea98

Head commit of repository gyakovlev: 0856fcd1aa76ea80fa8cdebe81d243521ef775e5

Head commit of repository nightdragon_layman: 3194d2cf5b17b86c80ec62eb8fc537f6683d9db8

Timestamp of repository pentoo: Mon, 12 Feb 2024 16:35:42 +0000
Head commit of repository pentoo: 4b7685a2260b510bf5d1287c0c4a2f4b990c760d

Timestamp of repository steam-overlay: Mon, 12 Feb 2024 16:35:44 +0000
Head commit of repository steam-overlay: d984553a1549c63a93d840bd1ecbadbe54a582a8

Head commit of repository tatsh-overlay: e67f2f51926908624f2427234cfa661bb5f624cd

Head commit of repository thegreatmcpain: 811dcfe54086e8aa17285f821b641b2f4c351506

Head commit of repository xarblu-overlay: b629091fa612324ff15c2bf20c54816724df72c9

Timestamp of repository haskell: Mon, 12 Feb 2024 16:35:40 +0000
Head commit of repository haskell: 87c2e166c89aaba7c22537cf03ce3a96fd14a0ff

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.74.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20240112::gentoo, 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::xarblu-overlay
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::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-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

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

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://gitweb.gentoo.org/repo/proj/guru.git
    masters: gentoo
    volatile: False

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

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

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.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

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

thegreatmcpain
    location: /var/db/repos/thegreatmcpain
    sync-type: git
    sync-uri: https://gitlab.com/TheGreatMcPain/thegreatmcpain-overlay
    masters: gentoo
    volatile: False

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

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10
    volatile: False

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

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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=znver3"
DISTDIR="/var/cache/distfiles"
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=znver3"
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 pkgdir-index-trusted 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=znver3"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
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 acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cuda cups dbus dri dts dvd dvdr elogind encode exif ffmpeg flac fortran gdbm gif gpm gtk gui hpcups iconv icu ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vim-syntax vorbis vulkan wifi wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" 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" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Code:
$ sudo emerge -av yuzu

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 8.02 s (backtrack: 2/20).

[ebuild  N    ~] games-emulation/yuzu-0_p20230202::guru  USE="compatibility-list cubeb qt5 sdl system-vulkan -discord -webengine -webservice" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-util/vulkan-headers:0

  (dev-util/vulkan-headers-1.3.275:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" conflicts with
    ~dev-util/vulkan-headers-1.3.268 required by (media-libs/vulkan-loader-1.3.268:0/0::gentoo, installed) USE="X -layers -wayland" ABI_X86="(64) -32 (-x32)"
    ^                        ^^^^^^^
    ~dev-util/vulkan-headers-1.3.268 required by (dev-util/vulkan-utility-libraries-1.3.268:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64) -32 (-x32)"
    ^                        ^^^^^^^


!!! The following update(s) have been skipped due to unsatisfied dependencies
!!! triggered by backtracking:

games-emulation/yuzu:0

Would you like to merge these packages? [Yes/No] n

Quitting.


Last edited by necron on Thu Feb 15, 2024 12:51 am; edited 1 time in total
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Wed Feb 14, 2024 11:29 pm    Post subject: Re: yuzu-0_p20230202::guru fails to compile due to ninja Reply with quote

necron wrote:
Relevant part of build.log

Code:
ninja: build stopped: subcommand failed.
 * ERROR: games-emulation/yuzu-0_p20230202::guru failed (compile phase):
 *   ninja -v -j24 -l24 failed
 *

Sorry, this shows the result not the error by the compiler. Post the entire log to a paste site to find the problem.

necron wrote:
It also looks like yuzu keeps wanting to pull in a masked version of vulkan-headers (at bottom).

Code:
$ sudo emerge -av yuzu
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-util/vulkan-headers:0

  (dev-util/vulkan-headers-1.3.275:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64)" conflicts with
    ~dev-util/vulkan-headers-1.3.268 required by (media-libs/vulkan-loader-1.3.268:0/0::gentoo, installed) USE="X -layers -wayland" ABI_X86="(64) -32 (-x32)"
    ^                        ^^^^^^^
    ~dev-util/vulkan-headers-1.3.268 required by (dev-util/vulkan-utility-libraries-1.3.268:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="(64) -32 (-x32)"
    ^                        ^^^^^^^

Sorry, that is a misinterpretation. Because the entire system is not in scope (it only looks at "yuzu" directly here). Two additional packages would need to be rebuilt against an updated vulkan-headers. Apparently, because yuzu needs these new vulkan-headers, it drops out.
Update the entire system first before adding something new.
Back to top
View user's profile Send private message
necron
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2010
Posts: 113

PostPosted: Thu Feb 15, 2024 12:36 am    Post subject: Reply with quote

Yeah that was just me forgetting that I'd manually unmasked it to see what would happen with the tatsh-overlay. I actually had to uninstall yuzu in order to complete a system update since it was blocking a depclean. I'm trying to reinstall it.

Same error as before after I got rid of the manual unmask though.
http://0x0.st/Hdhx.log

This seems relevant:
Code:
FAILED: src/common/CMakeFiles/common.dir/demangle.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DARCHITECTURE_x86_64=1 -DBOOST_ASIO_DISABLE_CONCEPTS -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_NO_LIB -DFMT_SHARED -DNDEBUG -DYUZU_UNIX=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/games-emulation/yuzu-0_p20230202/work/yuzu-mainline-d5f6201521cdfd0be09a187d62f95d3a38f18c3e/src/. -I/var/tmp/portage/games-emulation/yuzu-0_p20230202/work/yuzu-mainline-d5f6201521cdfd0be09a187d62f95d3a38f18c3e/externals/xbyak -I/var/tmp/portage/games-emulation/yuzu-0_p20230202/work/yuzu-mainline-d5f6201521cdfd0be09a187d62f95d3a38f18c3e/externals/./microprofile -isystem /usr/lib/llvm/17/include  -O2 -march=znver3 -std=gnu++20 -Wno-attributes -Wno-invalid-offsetof -Wno-unused-parameter -mcx16 -fwrapv -MD -MT src/common/CMakeFiles/common.dir/demangle.cpp.o -MF src/common/CMakeFiles/common.dir/demangle.cpp.o.d -o src/common/CMakeFiles/common.dir/demangle.cpp.o -c /var/tmp/portage/games-emulation/yuzu-0_p20230202/work/yuzu-mainline-d5f6201521cdfd0be09a187d62f95d3a38f18c3e/src/common/demangle.cpp
/var/tmp/portage/games-emulation/yuzu-0_p20230202/work/yuzu-mainline-d5f6201521cdfd0be09a187d62f95d3a38f18c3e/src/common/demangle.cpp: In function ‘std::string Common::DemangleSymbol(const std::string&)’:
/var/tmp/portage/games-emulation/yuzu-0_p20230202/work/yuzu-mainline-d5f6201521cdfd0be09a187d62f95d3a38f18c3e/src/common/demangle.cpp:26:42: error: too many arguments to function ‘char* llvm::itaniumDemangle(std::string_view)’
   26 |         demangled = llvm::itaniumDemangle(mangled.c_str(), nullptr, nullptr, nullptr);
      |                     ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/games-emulation/yuzu-0_p20230202/work/yuzu-mainline-d5f6201521cdfd0be09a187d62f95d3a38f18c3e/src/common/demangle.cpp:4:
/usr/lib/llvm/17/include/llvm/Demangle/Demangle.h:35:7: note: declared here
   35 | char *itaniumDemangle(std::string_view mangled_name);


edit: iirc I had the version from tatsh-overlay installed. Is the whole issue maybe just that I couldn't update to the version in that repo on account of the fact that it depends on the masked vulkan-headers? I'm starting to think that this is the reason why avoided the guru repo in the first place.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30917
Location: here

PostPosted: Thu Feb 15, 2024 6:25 am    Post subject: Reply with quote

See upstream bug.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum