# emerge --info '=dev-qt/qtwebengine-6.7.2::gentoo' Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/musl, gcc-13, musl-1.2.4-r2, 6.8.5-301.fc40.x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.8.5-301.fc40.x86_64-x86_64-12th_Gen_Intel-R-_Core-TM-_i5-1240P-with-libc KiB Mem: 32426156 total, 24546376 free KiB Swap: 8388604 total, 7497724 free Timestamp of repository gentoo: Wed, 11 Sep 2024 23:30:00 +0000 Head commit of repository gentoo: 080a1ef9f43576369ad7a6c5e651da1f9d747f12 sh bash 5.2_p26-r6 ld GNU ld (Gentoo 2.42 p3) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26-r6::gentoo dev-build/autoconf: 2.71-r7::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.2::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.5.1::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.12.3-r1::gentoo dev-lang/rust: 1.79.0::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54.2::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 18.1.8::gentoo sys-devel/gcc: 13.3.1_p20240614::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/llvm: 18.1.8-r1::gentoo sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers) sys-libs/musl: 1.2.4-r2::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-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 3 sync-rsync-verify-metamanifest: no Binary Repositories: gentoobinhost priority: 1 sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64_musl ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-musl" CFLAGS="-march=alderlake -O2 -pipe" CHOST="x86_64-pc-linux-musl" 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/sandbox.d" CXXFLAGS="-march=alderlake -O2 -pipe" 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="-march=alderlake -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 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="-march=alderlake -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="charset.alias /usr/share/locale/locale.alias" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" 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 accessibility alsa amd64 appstream bluetooth browser-integration calendar cjk colord crash-handler crypt cups dbus discover display-manager dist-kernel duktape egl elogind flatpak flite fontconfig gcrypt geolocation gles2 glib gtk handbook ibus initramfs introspection ipv6 kf6compat kmod kwallet lzma modemmanager network networkmanager ogg opengl oxygen-theme pam plymouth png policykit pulseaudio qml qt5 qt6 rdp screencast sddm sdk sdl seccomp secureboot semantic-desktop smart ssl telemetry test-rust thunderbolt truetype udev unicode vala wallpaper-metadata wallpapers wayland webengine widgets xattr xwayland" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" ELIBC="musl" INPUT_DEVICES="libinput" KERNEL="linux" LLVM_SLOT="18" LUA_SINGLE_TARGET="lua5-4" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" VIDEO_CARDS="intel" 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, 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 Reproducible: Always Steps to Reproduce: # emerge -pqv '=dev-qt/qtwebengine-6.7.2::gentoo' [ebuild N ] dev-qt/qtwebengine-6.7.2 USE="accessibility alsa geolocation opengl pulseaudio qml screencast widgets -bindist -custom-cflags -designer -jumbo-build -kerberos -pdfium -system-icu -test -vaapi -vulkan -webdriver"
Created attachment 902703 [details] build.log
In file included from ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/third_party/blink/common/page_state/page_state.cc:5: ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/third_party/blink/public/common/page_state/page_state.h:43:7: error: 'int64_t' has not been declared 43 | int64_t item_sequence_number, | ^~~~~~~ ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/third_party/blink/public/common/page_state/page_state.h:44:7: error: 'int64_t' has not been declared 44 | int64_t document_sequence_number); | ^~~~~~~ ../../../../../qtwebengine-everywhere-src-6.7.2/src/3rdparty/chromium/third_party/blink/common/page_state/page_state.cc:107:11: error: no declaration matches 'blink::PageState blink::PageState::CreateForTestingWithSequenceNumbers(const GURL&, int64_t, int64_t)'
Created attachment 902705 [details, diff] qtwebengine-6.7.2-musl-cstdint.patch I'd assume this one only happens with USE=-jumbo-build + gcc14 + musl given had already fixed these for 6.7.2 but very few people disable jumbo to test, and even less on musl. Could you try if the attached patch is enough with USE=-jumbo-build? May possibly fail in a different spot if it needs more cstdint in other files, just going by what the log shows. I'd try myself but I'd rather skip setting up a gcc+musl chroot again if possible (typically test musl with llvm-musl profile, and clang doesn't reproduce these cstdint issues). Thanks.
(In reply to Ionen Wolkens from comment #3) > Created attachment 902705 [details, diff] [details, diff] > qtwebengine-6.7.2-musl-cstdint.patch > > USE=-jumbo-build + gcc14 + musl Nevermind gcc14, these happen with any version I recall (besides, you're using 13).
(In reply to Ionen Wolkens from comment #3) > Created attachment 902705 [details, diff] [details, diff] > qtwebengine-6.7.2-musl-cstdint.patch > > I'd assume this one only happens with USE=-jumbo-build + gcc14 + musl given > had already fixed these for 6.7.2 but very few people disable jumbo to test, > and even less on musl. > > Could you try if the attached patch is enough with USE=-jumbo-build? May > possibly fail in a different spot if it needs more cstdint in other files, > just going by what the log shows. > > I'd try myself but I'd rather skip setting up a gcc+musl chroot again if > possible (typically test musl with llvm-musl profile, and clang doesn't > reproduce these cstdint issues). > > Thanks. This patch fixed the qtwebengine, compiled completely without any more errors. Thank you!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb5c5f6a1907484906387f040614c5e5fe9585a8 commit fb5c5f6a1907484906387f040614c5e5fe9585a8 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-09-13 02:25:54 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-09-13 02:44:45 +0000 dev-qt/qtwebengine: fix build with gcc+musl+USE=-jumbo Closes: https://bugs.gentoo.org/939519 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../qtwebengine/files/qtwebengine-6.7.2-musl-cstdint.patch | 12 ++++++++++++ dev-qt/qtwebengine/qtwebengine-6.7.2.ebuild | 1 + dev-qt/qtwebengine/qtwebengine-6.7.9999.ebuild | 1 + dev-qt/qtwebengine/qtwebengine-6.8.9999.ebuild | 1 + dev-qt/qtwebengine/qtwebengine-6.9999.ebuild | 1 + 5 files changed, 16 insertions(+)