net-libs/webkit-gtk-2.46.5-r410 fails to build with message: "FAILED: lib/libwebkit2gtk-4.1.so.0.16.7" Reproducible: Always Steps to Reproduce: 1. emerge -v =net-libs/webkit-gtk-2.46.5-r410 Actual Results: Build fails with message: "FAILED: lib/libwebkit2gtk-4.1.so.0.16.7" (see attached log for further details) Expected Results: net-libs/webkit-gtk-2.46.5-r410 is installed on the system emerge --info : Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/ppc64le/23.0/systemd, gcc-14, glibc-2.40-r5, 6.6.62-202412201924-ppc64le ppc64le) ================================================================= System uname: Linux-6.6.62-202412201924-ppc64le-ppc64le-POWER9_-raw-,_altivec_supported-with-glibc2.40 KiB Mem: 83276416 total, 70568256 free KiB Swap: 33554368 total, 33554368 free Timestamp of repository gentoo: Tue, 14 Jan 2025 21:03:30 +0000 Head commit of repository gentoo: b374ffcfbdbb9a8eabc925646cabf97ce105c61c Timestamp of repository guru: Tue, 14 Jan 2025 17:18:19 +0000 Head commit of repository guru: 872aa2fed715c1af7450c53c69a28bf0bcbe35b6 sh bash 5.2_p37 ld GNU ld (Gentoo 2.43 p3) 2.43.1 app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.6::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.5.2::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.11.11_p1::gentoo, 3.12.8::gentoo, 3.13.1::gentoo dev-lang/rust-bin: 1.81.0-r101::gentoo, 1.82.0-r101::gentoo llvm-core/clang: 19.1.4::gentoo llvm-core/lld: 19.1.4::gentoo llvm-core/llvm: 18.1.8-r6::gentoo, 19.1.4::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.39::gentoo sys-apps/systemd: 256.7::gentoo sys-devel/binutils: 2.43-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20241221::gentoo sys-devel/gcc-config: 2.11::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="@FREE" CBUILD="powerpc64le-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=power9 -ftracer -frename-registers -fweb -flto=4 -fuse-linker-plugin -ftree-vectorize -fno-semantic-interposition" CHOST="powerpc64le-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -mcpu=power9" 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 -pipe -mcpu=power9" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait 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 -pipe -mcpu=power9" GENTOO_MIRRORS="http://mirrors.aliyun.com/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1,--as-needed -O2 -pipe -mcpu=power9 -ftracer -frename-registers -fweb -flto=4 -fuse-linker-plugin -ftree-vectorize -fno-semantic-interposition" LEX="reflex" MAKEOPTS="-j32" PKGDIR="/var/cache/binpkgs" PORTAGE_BINHOST="http://binhost.bugzone.org/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --new-compress" 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="GNome-keyring X acl activities aio alsa appindicator aqbanking bzip2 calendar chm colord crypt cryptsetup cups dav1d dbus device-mapper djvu drm dvd encode epub exif fftw flac fontconfig gmp gnome gnome-shell gold gtk gtk4 harfbuzz hbci heif http2 iconv idn introspection ipv6 jemalloc jpeg jpeg2k jumbo-build keyring lapack latex lcms libass libproxy lm-sensors lto lzma map marble mp3 musicbrainz nautilus ncurses numa ocamlopt ofx ogg openmp opus pam pcre pdf pgo phonon pie pipewire pkcs11 png ppc64 pulseaudio raw readline savedconfig spell ssl svg system-icu systemd taglib test-rust theora threads tiff tpm truetype udev unicode usb v4l vala vorbis vpx vulkan wayland webp x264 x265 xattr xcb xkb zlib" ADA_TARGET="gcc_14" 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_PPC="altivec vsx vsx2 vsx3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="PowerPC BPF AMDGPU" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31" SANE_BACKENDS="plustek" VIDEO_CARDS="amdgpu" 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, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 916645 [details] Build log
/usr/lib/gcc/powerpc64le-unknown-linux-gnu/14/../../../../powerpc64le-unknown-linux-gnu/bin/ld: Source/WebCore/CMakeFiles/WebCore.dir/./platform/audio/PlatformMediaSessionManager.cpp.o: in function `WTF::Detail::CallableWrapper<WebCore::PlatformMediaSessionManager::has(WebCore::PlatformMediaSessionMediaType) const::{lambda(auto:1&)#1}, bool, WebCore::PlatformMediaSession const&>::call(WebCore::PlatformMediaSession const&)': PlatformMediaSessionManager.cpp:(.text._ZN3WTF6Detail15CallableWrapperIZNK7WebCore27PlatformMediaSessionManager3hasENS2_29PlatformMediaSessionMediaTypeEEUlRT_E_bJRKNS2_20PlatformMediaSessionEEE4callESA_+0x20): undefined reference to `WebCore::PlatformMediaSession::mediaType() const' /usr/lib/gcc/powerpc64le-unknown-linux-gnu/14/../../../../powerpc64le-unknown-linux-gnu/bin/ld: Source/WebCore/CMakeFiles/WebCore.dir/./platform/audio/PlatformMediaSessionManager.cpp.o: in function `WTF::Detail::CallableWrapper<WebCore::PlatformMediaSessionManager::canProduceAudio() const::{lambda(auto:1&)#1}, bool, WebCore::PlatformMediaSession const&>::call(WebCore::PlatformMediaSession const&)': PlatformMediaSessionManager.cpp:(.text._ZN3WTF6Detail15CallableWrapperIZNK7WebCore27PlatformMediaSessionManager15canProduceAudioEvEUlRT_E_bJRKNS2_20PlatformMediaSessionEEE4callES9_+0x18): undefined reference to `WebCore::PlatformMediaSession::canProduceAudio() const' /usr/lib/gcc/powerpc64le-unknown-linux-gnu/14/../../../../powerpc64le-unknown-linux-gnu/bin/ld: Source/WebCore/CMakeFiles/WebCore.dir/./platform/audio/PlatformMediaSessionManager.cpp.o: in function `WTF::Detail::CallableWrapper<WebCore::PlatformMediaSessionManager::applicationWillBecomeInactive()::{lambda(auto:1&)#2}, void, WebCore::PlatformMediaSession&>::call(WebCore::PlatformMediaSession&)': PlatformMediaSessionManager.cpp:(.text._ZN3WTF6Detail15CallableWrapperIZN7WebCore27PlatformMediaSessionManager29applicationWillBecomeInactiveEvEUlRT_E0_vJRNS2_20PlatformMediaSessionEEE4callES8_+0x1c): undefined reference to `WebCore::PlatformMediaSession::beginInterruption(WebCore::PlatformMediaSessionInterruptionType)' /usr/lib/gcc/powerpc64le-unknown-linux-gnu/14/../../../../powerpc64le-unknown-linux-gnu/bin/ld: Source/WebCore/CMakeFiles/WebCore.dir/./platform/audio/PlatformMediaSessionManager.cpp.o: in function `WTF::Detail::CallableWrapper<WebCore::PlatformMediaSessionManager::processSystemWillSleep()::{lambda(auto:1&)#1}, void, WebCore::PlatformMediaSession&>::call(WebCore::PlatformMediaSession&)': PlatformMediaSessionManager.cpp:(.text._ZN3WTF6Detail15CallableWrapperIZN7WebCore27PlatformMediaSessionManager22processSystemWillSleepEvEUlRT_E_vJRNS2_20PlatformMediaSessionEEE4callES8_+0x1c): undefined reference to `WebCore::PlatformMediaSession::beginInterruption(WebCore::PlatformMediaSessionInterruptionType)' /usr/lib/gcc/powerpc64le-unknown-linux-gnu/14/../../../../powerpc64le-unknown-linux-gnu/bin/ld: Source/WebCore/CMakeFiles/WebCore.dir/./platform/audio/PlatformMediaSessionManager.cpp.o: in function `WTF::Detail::CallableWrapper<WebCore::PlatformMediaSessionManager::suspendAllMediaPlaybackForGroup(WTF::ObjectIdentifierGeneric<WebCore::MediaSessionGroupIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long, (WTF::SupportsObjectIdentifierNullState)1>)::{lambda(auto:1&)#1}, void, WebCore::PlatformMediaSession&>::call(WebCore::PlatformMediaSession&)': [...]
Please try with simplified *FLAGS (also, it's odd to have inconsistent CFLAGS vs CXXFLAGS?)
These are the *FLAGS I used for the compilation whose log I attached: CFLAGS="-O2 -mcpu=native" CXXFLAGS="${CFLAGS}" I know that emerge --info shows different values, but I used a custom env configuration for this one. Some other facts that might help: - webkit-gtk-2.46.5-r600 fails to emerge too. It fails at a different point. - net-libs/webkit-gtk-2.44.4-r410 built correctly with the *FLAGS shown by emerge --info (I have it installed currently) - net-libs/webkit-gtk-2.44.4-r600 built correctly as well.