Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942369 - net-libs/webkit-gtk-2.44.4-r410 and net-libs/webkit-gtk-2.44.4-r600 broken on clang-19
Summary: net-libs/webkit-gtk-2.44.4-r410 and net-libs/webkit-gtk-2.44.4-r600 broken on...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
: 945264 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-27 18:03 UTC by Joe Kappus
Modified: 2024-12-12 17:14 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
r410 build log (r410build.log.gz,49.83 KB, application/gzip)
2024-10-27 18:03 UTC, Joe Kappus
Details
r600 build log (r600build.log.gz,50.08 KB, application/gzip)
2024-10-27 18:04 UTC, Joe Kappus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Kappus 2024-10-27 18:03:39 UTC
Created attachment 907054 [details]
r410 build log

These two of have been broken for some time. Pretty sure it's clang-19 related.

emerge info: 

Portage 3.0.66.1-6+g7218c9cea (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-13, glibc-2.40-r5, 6.11.5 x86_64)
=================================================================
System uname: Linux-6.11.5-x86_64-Intel-R-_Core-TM-_i7-6820HQ_CPU_@_2.70GHz-with-glibc2.40
KiB Mem:    65287548 total,  37409824 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: 2f74c4184142de9c4d0d335df2b6ff26e2b98507

Timestamp of repository brother-overlay: Tue, 08 Oct 2024 15:51:03 +0000
Head commit of repository brother-overlay: 928bbe8f324720cbb3dd74c3db524c0e674f1349

Timestamp of repository guru: Sun, 27 Oct 2024 06:48:32 +0000
Head commit of repository guru: 5f8500049c34741c608f608e401d323d0f845707

Timestamp of repository pentoo: Sun, 27 Oct 2024 14:18:23 +0000
Head commit of repository pentoo: f19d031d74cd5c69344f8a7f6a450256684cc780

Timestamp of repository pf4public: Sun, 27 Oct 2024 15:33:22 +0000
Head commit of repository pf4public: e06d49bdc7dc826f53a9a519a26f3d9da7e1edc5

Timestamp of repository torbrowser: Fri, 25 Oct 2024 21:48:16 +0000
Head commit of repository torbrowser: ed33e49fb5ec89791403d0a5856d3f0575c21199

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p2) 2.43.1
ccache version 4.10.2 [disabled]
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.17-r1::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust:             1.82.0::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8::gentoo, 19.1.2::gentoo
sys-devel/gcc:             13.3.1_p20240920::gentoo, 14.2.1_p20240921::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo, 19.1.2::gentoo
sys-devel/llvm:            18.1.8-r4::gentoo, 19.1.2::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/joecool1029/gentoo.git
    priority: -1000
    volatile: True

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

joecool-overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

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

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fgraphite-identity -floop-nest-optimize -flto"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf /var/bind"
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="-march=native -O2 -pipe -fgraphite-identity -floop-nest-optimize -flto"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=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 -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 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"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en_US en"
MAKEOPTS="-j8"
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 acl alsa amd64 bluetooth bzip2 cairo cet corefonts crypt cuda cups dbus dri egl elogind flac fontconfig gdbm gif gles2 gpm iconv icu ipv6 jpeg jpegxl kde libtirpc lto mp3 ncurses nls ogg opencl opengl openmp pam pcre pgo png ppds qml qt6 readline screencast seccomp split-usr ssl svg test-rust threads tiff truetype unicode usb vaapi vulkan wayland webp wifi xattr zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" 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 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="nmea mtk3301" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="18" LUA_SINGLE_TARGET="lua5-1" 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="ruby32" VIDEO_CARDS="iris 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, 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
Comment 1 Joe Kappus 2024-10-27 18:04:30 UTC
Created attachment 907055 [details]
r600 build log
Comment 2 Michael Orlitzky gentoo-dev 2024-10-31 18:56:48 UTC
It is. You can work around it with -Wno-missing-template-arg-list-after-template-kw in CXXFLAGS until 2.46.x is usable.
Comment 3 Fabio Scaccabarozzi 2024-11-04 19:17:25 UTC
I have backported/imported FreeBSD's patches (found here: https://cgit.freebsd.org/ports/tree/www/webkit2-gtk4/files ).

You can find them at: https://github.com/fsvm88/gentoo-portage_etc/tree/main/patches/net-libs/webkit-gtk%3A4.1

I was able to compile webkit-gtk:4.1 successfully with these.
Comment 4 Michael Orlitzky gentoo-dev 2024-11-05 22:18:02 UTC
I've asked the arch teams to test v2.46.3 to see if we can unmask it selectively (where it builds). There are like 6 public CVEs affecting v2.44.4 so personally I would rather see it go away ASAP.
Comment 5 anna 2024-11-14 15:41:47 UTC
Confirming I had this problem but Fabio's patches fixed it.
Comment 6 ernsteiswuerfel archtester 2024-11-29 16:41:59 UTC
*** Bug 945264 has been marked as a duplicate of this bug. ***
Comment 7 ernsteiswuerfel archtester 2024-11-29 16:43:28 UTC
Fabios' patches fix my build problem too. Thanks!
Comment 8 Michael Orlitzky gentoo-dev 2024-12-01 15:07:29 UTC
To anyone arriving here in the meantime, 2.46.3 is now keyworded on most arches. 
I'll also be adding 2.46.4 in the next few days. These fix security issues, so you would be better off with the ~arch version if you're going to try a rebuild anyway.
Comment 9 ernsteiswuerfel archtester 2024-12-12 17:14:31 UTC
Successfully built 2.46.4-r410 without on my musl/clang-19 system and it runs also fine (viewing epubs in Atril).

Looks like the patches are no longer needed on 2.46.x and upwards.