Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 843446

Summary: sys-devel/gcc: ICE when building net-libs/webkit-gtk-2.36.1
Product: Gentoo Linux Reporter: H. Peter Pfeufer <info>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal CC: gnome
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
Build log with GCC 11.3.0

Description H. Peter Pfeufer 2022-05-09 18:38:30 UTC
Emerging net-libs/webkit-gtk-2.36.1 fails with:

ninja: build stopped: subcommand failed.
* ERROR: net-libs/webkit-gtk-2.36.1::gentoo failed (compile phase):
*   ninja -v -j12 -l0 failed
* 
* Call stack:
*     ebuild.sh, line  127:  Called src_compile
*   environment, line 3975:  Called cmake_src_compile
*   environment, line 1732:  Called cmake_build
*   environment, line 1701:  Called eninja
*   environment, line 2239:  Called die
* The specific snippet of code:
*       "$@" || die "${nonfatal_args[@]}" "${*} failed"

Reproducible: Always

Steps to Reproduce:
1. emerge =net-libs/webkit-gtk-2.36.1
2. wait

Actual Results:  
Compile process fails with:

ninja: build stopped: subcommand failed.
* ERROR: net-libs/webkit-gtk-2.36.1::gentoo failed (compile phase):
*   ninja -v -j12 -l0 failed
* 
* Call stack:
*     ebuild.sh, line  127:  Called src_compile
*   environment, line 3975:  Called cmake_src_compile
*   environment, line 1732:  Called cmake_build
*   environment, line 1701:  Called eninja
*   environment, line 2239:  Called die
* The specific snippet of code:
*       "$@" || die "${nonfatal_args[@]}" "${*} failed"

Expected Results:  
The package being compiled successfully

thor ~ # emerge --info
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.1, glibc-2.34-r10, 5.17.5-gentoo x86_64)
=================================================================
System uname: Linux-5.17.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-8086K_CPU_@_4.00GHz-with-glibc2.34
KiB Mem:    65764420 total,  20195396 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of repository gentoo: Mon, 09 May 2022 18:00:01 +0000
Head commit of repository gentoo: 1c17377bfd80e09bd77f94dbf0147a1efa1fd058
Timestamp of repository brave-overlay: Tue, 03 May 2022 14:03:59 +0000
Head commit of repository brave-overlay: 0af9d93b9a08739e0e02f6f12e9c90c18fc83b35

Timestamp of repository dlang: Mon, 02 May 2022 19:19:28 +0000
Head commit of repository dlang: 3953f7b94426a92a464f42a10b554d3d4b14c057

Timestamp of repository guru: Thu, 05 May 2022 14:48:03 +0000
Head commit of repository guru: 31027009af8cc96c23f371d880682eb6237c513e

Timestamp of repository kde: Mon, 09 May 2022 05:47:59 +0000
Head commit of repository kde: c81fc2f49d4792b3dcdb1e120bf4d7f781a724b2

Timestamp of repository ppfeufer-gentoo-overlay: Mon, 09 May 2022 16:47:59 +0000
Head commit of repository ppfeufer-gentoo-overlay: 1c55a2656873d853806907e08027df5b68b83011

Timestamp of repository steam-overlay: Sun, 01 May 2022 07:51:31 +0000
Head commit of repository steam-overlay: f5b3f03c3aadc51ce20e8ca16c3e104d5fcd8194

Timestamp of repository tastytea: Sat, 07 May 2022 21:17:58 +0000
Head commit of repository tastytea: 0ecc8ea9c9f53ae423a43afefee5c16c173dae8b

Timestamp of repository vifino-overlay: Mon, 02 May 2022 19:19:44 +0000
Head commit of repository vifino-overlay: 263b311935d2bae67934635876a906f2d05379dc

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r9::gentoo
dev-lang/python:           3.7.13::gentoo, 3.8.13::gentoo, 3.9.12::gentoo, 3.10.4::gentoo, 3.11.0_beta1::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.23.1::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.4-r2::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r10::gentoo
Repositories:

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

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

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

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

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

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

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

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

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

crossdev
location: /var/db/repos/localrepo-crossdev
masters: gentoo
priority: 10

localrepo
location: /mnt/sda1/Gentoo/localrepo
masters: gentoo
priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -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/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=broadwell -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" -t --keep-going y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=broadwell -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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="-march=broadwell -O2 -pipe"
GENTOO_MIRRORS="          https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/     https://mirror.netcologne.de/gentoo/     https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/     https://ftp.halifax.rwth-aachen.de/gentoo/     https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     https://ftp.fau.de/gentoo/           rsync://mirror.eu.oneandone.net/gentoo/     rsync://mirror.netcologne.de/gentoo/     rsync://ftp.halifax.rwth-aachen.de/gentoo/    rsync://ftp-stud.hs-esslingen.de/gentoo/     rsync://ftp.fau.de/gentoo           ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo     ftp://mirror.netcologne.de/gentoo/     ftp://ftp.halifax.rwth-aachen.de/gentoo/     ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo     ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/     ftp://ftp.fau.de/gentoo  "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de_DE DE_DE de-DE en en_GB en_US EN_GB EN_US en-GB en-US"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
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 accessibility acl acpi activities aes aiglx alsa amd64 avx avx2 bzip2 cairo cdda cdr cleartype cli corefonts crypt cups dbus declarative dri dts dvd dvdr dxvk encode exif f16c fat flac fma3 fortran gdbm gif gles gmp gpm gui hfs iconv icu infinality inotify ipv6 jfs jpeg kde kwallet lcms libglvnd libnotify libtirpc lm-sensors mad mmx mmxext mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ntfs nvenc nvidia ogg opengl openmp opus pam pango pclmul pcre pda pdf pgg plasma png policykit popcnt ppds pulseaudio qml qt5 rdesktop readline reiserfs samba sdl seccomp semantic-desktop spell split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg sysfs systemd threads tiff truetype typo1 udev udisks unicode upower usb v4l vdpau vorbis vulkan wayland widgets win32codecs wxwidgets x264 xattr xcb xfs xinerama xml xpm xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2020" APACHE2_MODULES="actions alias auth_basicauthn_alias authn_anon authn_core authn_dbm authn_file authz_core 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 socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias auth_digest http2 imagemap proxy proxy_http" 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 sse sse2 sse3 sse4_1 sse4_2 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="de de_DE DE_DE de-DE en en_GB en_US EN_GB EN_US en-GB en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="alpha aarch64 arm i386 m68k mips mips64 mips64el mipsel ppc ppc64 s390x sh4 sh4eb sparc sparc64 x86_64" QEMU_USER_TARGETS="alpha aarch64 arm armeb i386 m68k mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LEX, 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
Comment 1 H. Peter Pfeufer 2022-05-09 18:39:55 UTC
Re-emerging dev-util/ninja and trying again doesn't help either.
Comment 2 Mike Gilbert gentoo-dev 2022-05-09 18:44:33 UTC
Please attach a full build log and change the status to UNCONFIRMED.
Comment 3 H. Peter Pfeufer 2022-05-09 19:19:02 UTC
Created attachment 777791 [details]
build log
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 19:21:15 UTC
[01m[K/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/JSCBuiltins.cpp:[m[K In function ‘[01m[Kvoid JSC::dumpWasm(JSC::BytecodeDumperBase*, JSC::InstructionStream::Offset, const JSC::Instruction*)[m[K’:
[01m[K/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/JSCBuiltins.cpp:1840:1:[m[K [01;31m[Kinternal compiler error: [m[KSegmentation fault
 1840 | [01;31m[K}[m[K // namespace JSC
      | [01;31m[K^[m[K
0x173a6bf internal_error(char const*, ...)
	???:0
0x882503 ggc_set_mark(void const*)
	???:0
0xa8afd3 gt_ggc_mx_rtx_def(void*)
	???:0
0x7e8afc gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e91f8 gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e7e7b gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0xa8a491 gt_ggc_mx_tree_statement_list_node(void*)
	???:0
0x7e83bb gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e841c gt_ggc_mx_lang_tree_node(void*)
	???:0
0x7e923c gt_ggc_mx_lang_tree_node(void*)
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.

---
1. Can you try again with GCC 11.3.0?
2. Is it reproducible / does it fail in the same place?
3. Coudl you do a memtest? (yes, really)
Comment 5 H. Peter Pfeufer 2022-05-09 21:23:57 UTC
(In reply to Sam James from comment #4)

> 1. Can you try again with GCC 11.3.0?
Fails as well

> 2. Is it reproducible / does it fail in the same place?
Yes, always the same place

> 3. Coudl you do a memtest? (yes, really)
Couldn't get either memtest86 or memtest86+ to work. 20 minutes of black screen is a good indicator they don't work. But my memory (64G) seems to work fine for much larger packages like LibreOffice for example.
Comment 6 H. Peter Pfeufer 2022-05-09 21:26:29 UTC
Created attachment 777800 [details]
Build log with GCC 11.3.0
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 21:27:16 UTC
(In reply to H.-Peter Pfeufer from comment #5)
> (In reply to Sam James from comment #4)
> 
> > 1. Can you try again with GCC 11.3.0?
> Fails as well
> 
> > 2. Is it reproducible / does it fail in the same place?
> Yes, always the same place
> 
> > 3. Coudl you do a memtest? (yes, really)
> Couldn't get either memtest86 or memtest86+ to work. 20 minutes of black
> screen is a good indicator they don't work. But my memory (64G) seems to
> work fine for much larger packages like LibreOffice for example.

OK, we'll come back to memtest if needed.

Let's work with 11.3.0 as the latest upstream version (apart from 12).

Could you follow https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide (I'll help as needed)?

First step, just try to run the command which fails in the work dir, and see if it fails again. If it does, we can work with that.

/usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GTK__=1 -DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_COMPILATION -DJSC_GLIB_API_ENABLED -DJavaScriptCore_EXPORTS -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/Headers -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/API -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/assembler -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/b3 -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/b3/air -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/bindings -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/builtins -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/bytecode -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/bytecompiler -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/dfg -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/disassembler -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/disassembler/ARM64 -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/disassembler/zydis/Zydis -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/domjit -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/ftl -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/heap -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/debugger -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/inspector -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/inspector/agents -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/inspector/augmentable -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/inspector/remote -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/interpreter -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/jit -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/llint -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/parser -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/profiler -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/runtime -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/tools -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/wasm -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/wasm/js -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/yarr -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/inspector -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/runtime -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/yarr -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/API/glib -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCoreGLib/DerivedSources/jsc -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCoreGLib/Headers -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/inspector/remote/glib -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/WTF/Headers -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/bmalloc/Headers -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include  -DNDEBUG -fdiagnostics-color=always -Wextra -Wall -pipe -Wno-expansion-to-defined -Wno-odr -Wno-stringop-overread -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -march=broadwell -O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-rtti -fPIC -fvisibility=hidden -ffp-contract=off -std=c++20 -MD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp.o -MF Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp.o -c /var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp

... in /var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build.
Comment 8 H. Peter Pfeufer 2022-05-09 21:30:45 UTC
Ok, that command worked without throwing an error in the mentioned dir.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 21:32:22 UTC
(In reply to H.-Peter Pfeufer from comment #8)
> Ok, that command worked without throwing an error in the mentioned dir.

That's a bit weird. Let's try a hack to resume the build. Don't do this normally - we're just exploring what's going on.

Run this as root:
(cd /var/db/repos/gentoo/net-libs/webkit-gtk && ebuild webkit-gtk-2.36.1.ebuild merge)

The lack of 'clean' before merge means it should try to resume rather than starting anew. It'll be interesting to see if it ICEs on something else or succeeds.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 21:34:23 UTC
the ()s are part of the command, btw
Comment 11 H. Peter Pfeufer 2022-05-09 21:35:13 UTC
-bash: cd: /var/db/repos/gentoo/net-libs/webkit-gtk: No such file or directory
Comment 12 H. Peter Pfeufer 2022-05-09 21:35:46 UTC
It's an older system, so I guess it's still /usr/portage/.... ?
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 21:36:51 UTC
(In reply to H.-Peter Pfeufer from comment #12)
> It's an older system, so I guess it's still /usr/portage/.... ?

Yep
Comment 14 H. Peter Pfeufer 2022-05-09 21:39:17 UTC
FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_GTK__=1 -DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_COMPILATION -DJSC_GLIB_API_ENABLED -DJavaScriptCore_EXPORTS -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/Headers -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/API -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/assembler -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/b3 -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/b3/air -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/bindings -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/builtins -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/bytecode -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/bytecompiler -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/dfg -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/disassembler -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/disassembler/ARM64 -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/disassembler/zydis/Zydis -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/domjit -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/ftl -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/heap -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/debugger -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/inspector -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/inspector/agents -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/inspector/augmentable -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/inspector/remote -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/interpreter -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/jit -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/llint -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/parser -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/profiler -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/runtime -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/tools -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/wasm -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/wasm/js -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/yarr -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/inspector -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/runtime -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/yarr -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/API/glib -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCoreGLib/DerivedSources/jsc -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCoreGLib/Headers -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkitgtk-2.36.1/Source/JavaScriptCore/inspector/remote/glib -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/WTF/Headers -I/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/bmalloc/Headers -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include  -DNDEBUG -fdiagnostics-color=always -Wextra -Wall -pipe -Wno-expansion-to-defined -Wno-odr -Wno-stringop-overread -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -march=broadwell -O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-rtti -fPIC -fvisibility=hidden -ffp-contract=off -std=c++20 -MD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp.o -MF Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp.o -c /var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp
In file included from /var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp:2:
/var/tmp/portage/net-libs/webkit-gtk-2.36.1/work/webkit-gtk-2.36.1_build/JavaScriptCore/DerivedSources/JSCBuiltins.cpp:1840:1: fatal error: opening dependency file Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-1.cpp.o.d: Permission denied
1840 | } // namespace JSC
| ^
compilation terminated.
ninja: build stopped: subcommand failed.
* ERROR: net-libs/webkit-gtk-2.36.1::gentoo failed (compile phase):
*   ninja -v -j12 -l0 failed
*
* Call stack:
*     ebuild.sh, line  127:  Called src_compile
*   environment, line 3975:  Called cmake_src_compile
*   environment, line 1732:  Called cmake_build
*   environment, line 1701:  Called eninja
*   environment, line 2239:  Called die
* The specific snippet of code:
*       "$@" || die "${nonfatal_args[@]}" "${*} failed"
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 21:41:18 UTC
Did you run it as root?
Comment 16 H. Peter Pfeufer 2022-05-09 21:42:47 UTC
Yes
Comment 17 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 21:43:51 UTC
This might be easier to debug on IRC if you're able? (We can pick it up tomorrow if you want)

I'm 'sam_' in #gentoo on libera.chat.
Comment 18 H. Peter Pfeufer 2022-05-09 21:47:09 UTC
Any recommendation on a good easy to use IRC client? Haven't used IRC for the last 25 years or so ... :-)
Comment 19 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 21:48:41 UTC
(In reply to H.-Peter Pfeufer from comment #18)
> Any recommendation on a good easy to use IRC client? Haven't used IRC for
> the last 25 years or so ... :-)

I'm partial to Konversation, Hexchat, or Pidgin (roughly in that order) ;)
Comment 20 H. Peter Pfeufer 2022-05-09 21:53:09 UTC
Konversation it is
Connected as ppfeufer
Comment 21 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-11 01:49:11 UTC
I'll close this as NEEDINFO for now as some memory errors were found by memtest. Feel free to reopen once we reach a conclusion (or a conclusion that it's a bug).