Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796899 - dev-qt/qtwebengine-5.12.5 fails emerge - probably issue in jumbo build USE flag: obj/third_party/blink/renderer/core/input/input/input_jumbo_1.o
Summary: dev-qt/qtwebengine-5.12.5 fails emerge - probably issue in jumbo build USE fl...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-20 14:33 UTC by Vit Pelcak
Modified: 2021-06-21 09:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vit Pelcak 2021-06-20 14:33:59 UTC
When compiling the latest qtwebengine:

FAILED: obj/third_party/blink/renderer/core/input/input/input_jumbo_1.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/blink/renderer/core/input/input/input_jumbo_1.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -
D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_CORE_IMPLEMENTATION=1 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_CODEC_DECODES_PNG -D
SK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfi
g.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint
16_t -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DWEBRTC_USE_X11 -DHAVE_SC
TP -DNO_MAIN_THREAD_WRAPPING -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DUSING_SYSTEM_ICU=1 -DICU_UT
IL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DSUPPORT_WEBGL2_COMPUTE_CONTEXT=1 -DWTF_USE_WEBAUDIO_PFFFT=1 -DUSE_BL
INK_V8_BINDING_NEW_IDL_INTERFACE -DUSE_SYSTEM_LIBJPEG -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -I. -Igen -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium -I../../..
/../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen -Igen -Igen -Igen -Igen -Igen -Igen -I../../../../qtwebengine-5.15.2_p20210421/sr
c/3rdparty/chromium/third_party/libyuv/include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/jsoncpp/source/include -Igen -Igen -Igen -Igen -Igen -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chrom
ium/third_party/vulkan_headers/include -Igen -Igen -Igen -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/khronos -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/gpu -Igen/third_party/dawn/src/
include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/dawn/src/include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../qtwebengine-5.15.2_p20210421/src/3
rdparty/chromium/third_party/boringssl/src/include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/ski
a -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/libgifcodec -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/vulkan/include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty
/chromium/third_party/vulkan_headers/include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/ced/src -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/webrtc_overrides -I../../../../
qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/webrtc -Igen/third_party/webrtc -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/protobuf/src -I../../../../qtwebengine-5.15.2_p20210421/src/3rdpar
ty/chromium/third_party/angle/include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/
angle/include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/v8/include -Igen/v8/include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/crashpad/crashpad -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/non_mac -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/linux -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/non_win -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/mesa_headers -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/libwebm/source -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/leveldatabase -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/leveldatabase/src -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/leveldatabase/src/include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/iccjpeg -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/ots/include -I../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/v8/include -Igen/v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -Wno-unused-variable -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/libxml2 -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -c gen/third_party/blink/renderer/core/input/input_jumbo_1.cc -o obj/third_party/blink/renderer/core/input/input/input_jumbo_1.o
In file included from gen/third_party/blink/renderer/core/input/input_jumbo_1.cc:7:
./../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/blink/renderer/core/input/event_handler.cc: In member function ‘void blink::EventHandler::ReleasePointerCapture(blink::PointerId, blink::Element*)’:
./../../../../qtwebengine-5.15.2_p20210421/src/3rdparty/chromium/third_party/blink/renderer/core/input/event_handler.cc:1483:18: warning: variable ‘subframe_element’ set but not used [-Wunused-but-set-variable]
 1483 |         Element* subframe_element = nullptr;
      |                  ^~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.


Reproducible: Always

Steps to Reproduce:
1. USE Flags: alsa geolocation jumbo-build pulseaudio system-ffmpeg system-icu widgets
2. Compile qtwebengine
3. Failure
Comment 1 Ionen Wolkens gentoo-dev 2021-06-20 14:42:35 UTC
x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus

In almost every cases this means the kernel's Out-of-Memory (OOM) killer terminated the process, in other words you ran out of RAM while building. If you look at `dmesg` output you'll likely see a message about it near the end.

I don't see your emerge --info to know your setup, but try with lower MAKEOPTS=-jN value, ensure you're not building on tmpfs, and/or add some swap.
Comment 2 Vit Pelcak 2021-06-21 06:02:23 UTC
Hello. Sorry. I forgot to add that emerge --info.

# emerge --info
Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33, 5.10.27-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.33
KiB Mem:    32815808 total,  32102508 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Sun, 20 Jun 2021 12:30:01 +0000
Head commit of repository gentoo: fb387193e6575f8a265fbe0cc491933575ef5975
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p10::gentoo, 3.9.5_p2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

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

4nykey
    location: /var/lib/layman/4nykey
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver2 -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 /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=znver2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs compressdebug 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirror.dkm.cz/gentoo/ https://mirror.dkm.cz/gentoo/ ftp://mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/"
INSTALL_MASK="/usr/share/man/cs/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs en"
MAKEOPTS="-j24 -s"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
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"
USE="7zip X a52 aac acl acpi activities addressbook akonadi alsa amd64 ass assistant attica ayatana baloo bash-completion berkdb bluetooth bluray branding btrfs bzip2 cdda cddb cdr chm cli clucene colord cpudetection crypt cups curl cvs d3d9 dbus declarative dmx dolphin dri drm dropbox dts dvd dvdr editor elogind emboss encode epub evdev exif facebook ffmpeg flac flickr fontconfig fortran gdbm geo geolocation gif gimp git gnutls gphoto2 gpm gps graphicsmagick groupwise gstreamer gui hddtemp iconv icu inotify ipv6 jabber jpeg jpeg2k kate kde kipi kwallet lame lcms libglvnd libnotify libtirpc lm-sensors lm_sensors lrz lzma mad mng mobi mp3 mp4 mpeg mtp multilib multimedia musicbrainz ncurses networkmanager nfs nls nptl ntps office ogg okteta okular openal opencl opengl openmp pam pango pcre pdf phonon plasma png policykit ppds private-headers pulseaudio pv6 qalculate qimageblitz qml qscintilla qt qt3support qt5 qthelp qwt rar raster raw readline reports rss s3tc sdl seccomp semantic-desktop sensord smp solver soprano sound soundcloud spell split-usr sqlite srt ssl startup-notification subtitles subversion svg symlink syslog tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb vdpau vkd3d vorbis vulkan widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xmlpatterns xv xvid zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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" KERNEL="linux" L10N="cs en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 3 Vit Pelcak 2021-06-21 09:47:28 UTC
Running it with MAKEOPTS=-j4 worked.

Strange, I tried it before and it failed for me, too.

Anyway, it worked now.
Thank you.