Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ninja fails while compiling webkit-gtk;
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
VectorPrimeSM
n00b
n00b


Joined: 13 Jan 2024
Posts: 14

PostPosted: Wed Jul 24, 2024 8:15 pm    Post subject: ninja fails while compiling webkit-gtk; Reply with quote

Trying to emerge net-libs/webkit-gtk results in this:

Code:
ninja: build stopped: subcommand failed.
 * ERROR: -2.44.2-r410::gentoo failed (compile phase):
 *   ninja -v -j7 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3720:  Called cmake_src_compile
 *   environment, line 1569:  Called cmake_build
 *   environment, line 1536:  Called eninja
 *   environment, line 2016:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"


emerge --info:

Code:
 emerge --info '=net-libs/webkit-gtk-2.44.2-r410::gentoo'
Portage 3.0.65 (python 3.12.4-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.39-r9, 6.9.4-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.9.4-gentoo-dist-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-glibc2.39
KiB Mem:    16173692 total,  10542504 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Tue, 23 Jul 2024 07:30:00 +0000
Head commit of repository gentoo: 2d238f7f309fb7874e7d4e25bdcaa21e8ece083a
sh bash 5.2_p26-r8
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r8::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.30.1::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.0::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.9-r1::gentoo, 3.12.4_p2::gentoo, 3.13.0_beta4::gentoo
dev-lang/rust:             1.79.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          256.2::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc:             14.1.1_p20240720::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6-r2::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r9::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-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -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=native -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="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.mephi.ru/gentoo-distfiles/     ftp://mirror.mephi.ru/gentoo-distfiles/     rsync://mirror.mephi.ru/gentoo-distfiles/     https://mirror.yandex.ru/gentoo-distfiles/     http://mirror.yandex.ru/gentoo-distfiles/     ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j7"
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 cet colord crypt cups dbus dri dts dvd dvdr eds encode evo exif flac gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg keyring kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline screencast sdl seccomp sound spell ssl startup-notification svg sysprof systemd test-rust tiff tracker truetype udev udisks unicode upower usb vorbis vpx vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" 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 sha sse3 sse4_1 sse4_2 sse4a ssse3" 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="wacom 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-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" 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_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Looking for solution I found this: https://forums.gentoo.org/viewtopic-t-1147314-start-0.html, so naturally I tried lowering my MAKEOPTS. Sadly, it didn't fix the error, therefore I'm asking for assistance.

My wgetpaste seems to not work as well, so I post the point failure here:

Code:
/var/tmp/portage/net-libs/webkit-gtk-2.44.2-r410/work/webkitgtk-2.44.2/Source/WebCore/Modules/mediastream/MediaTrackConstraints.h:44:8: internal compiler error: Segmentation fault
   44 | struct ConstrainDOMStringParameters {
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x55577b9e1674 internal_error(char const*, ...)
   ???:0
0x55577a0d9744 hash_table<default_hash_traits<tree_node*>, false, xcallocator>::find_slot_with_hash(tree_node* const&, unsigned int, insert_option)
   ???:0
0x55577a0d8289 emit_mem_initializers(tree_node*)
   ???:0
0x55577a0f5b84 synthesize_method(tree_node*)
   ???:0
0x55577a0ba0bb mark_used(tree_node*, int)
   ???:0
0x55577a01bf23 build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, tree_node*, int, tree_node**, int)
   ???:0
0x55577a01cd34 build_special_member_call(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, tree_node*, int, int)
   ???:0
0x55577a0d4611 build_aggr_init(tree_node*, tree_node*, int, int)
   ???:0
0x55577a0d80aa emit_mem_initializers(tree_node*)
   ???:0
0x55577a1d0206 instantiate_decl(tree_node*, bool, bool)
   ???:0
0x55577a1e5a2b instantiate_pending_templates(int)
   ???:0
0x55577a0bc3fd c_parse_final_cleanups()
   ???:0
0x55577a2ae2dd c_common_parse_file()
   ???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
ninja: build stopped: subcommand failed.


Any help would be greatly appreciated!
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 221

PostPosted: Wed Jul 24, 2024 11:06 pm    Post subject: Re: ninja fails while compiling webkit-gtk; Reply with quote

VectorPrimeSM wrote:

Looking for solution I found this: https://forums.gentoo.org/viewtopic-t-1147314-start-0.html, so naturally I tried lowering my MAKEOPTS. Sadly, it didn't fix the error, therefore I'm asking for assistance.

My wgetpaste seems to not work as well, so I post the point failure here:

Code:
/var/tmp/portage/net-libs/webkit-gtk-2.44.2-r410/work/webkitgtk-2.44.2/Source/WebCore/Modules/mediastream/MediaTrackConstraints.h:44:8: internal compiler error: Segmentation fault

[...]



Given the portion of the error message you uploaded claims it was a segmentation fault in the compiler, not an out of memory error, I would not expect changing MAKEOPTS to help.

Probably, you should submit a bug on bugs.gentoo.org so that the toolchain team can help you create a test case for GCC. An "internal compiler error" means a bug in the compiler happened, regardless of anything to do with webkit-gtk itself.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2420

PostPosted: Thu Jul 25, 2024 7:17 am    Post subject: Reply with quote

Reminds me of this thread: https://forums.gentoo.org/viewtopic-t-1169561.html

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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