Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] qtwebengine fails to build

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
50 posts
  • 1
  • 2
  • Next
Author
Message
Troopo
Guru
Guru
Posts: 310
Joined: Sun Jun 14, 2015 9:17 pm

[SOLVED] qtwebengine fails to build

  • Quote

Post by Troopo » Wed Aug 04, 2021 12:13 pm

Hi,

It seems qtwebengine exists only to annoy me as this is the 1000000 time i have an issue building it.

I've tried with and without jumbo-build, i've cleanup up some space and i've added a 10GB swap, no further ideas, please help.

Full build log
http://0x0.st/-49E.log

Code: Select all

* ERROR: dev-qt/qtwebengine-5.15.2_p20210625::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.15.2_p20210625::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.15.2_p20210625::gentoo'`.
 * The complete build log is located at '/tmp/portage/dev-qt/qtwebengine-5.15.2_p20210625/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-qt/qtwebengine-5.15.2_p20210625/temp/environment'.
 * Working directory: '/tmp/portage/dev-qt/qtwebengine-5.15.2_p20210625/work/qtwebengine-5.15.2_p20210625_build'
 * S: '/tmp/portage/dev-qt/qtwebengine-5.15.2_p20210625/work/qtwebengine-5.15.2_p20210625'
 * One or more packages are either masked or have missing dependencies:
 * 
 *   >=dev-libs/icu-68.2:0/68.2= pulled in by:
 *     (dev-qt/qtwebengine-5.15.2_p20210224:5/5.15::gentoo, installed)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (dev-qt/qtwebengine-5.15.2_p20210625:5/5.15::gentoo, ebuild scheduled for merge), Log file:
 *   '/tmp/portage/dev-qt/qtwebengine-5.15.2_p20210625/temp/build.log'
 *

Code: Select all

[15860/32845] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/components/viz/service/service/root_compositor_frame_sink_impl.o.d -DVIZ_SERVICE_IMPLEMENTATION -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 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_CODEC_DECODES_PNG -DSK_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/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -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_SCTP -DNO_MAIN_THREAD_WRAPPING -DVK_NO_PROTOTYPES -DUSE_VULKAN_XLIB -Igen -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium -I../../../../qtwebengine-5.15.2_p20210625/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_p20210625/src/3rdparty/chromium/third_party/khronos -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/gpu -Igen/third_party/dawn/src/include -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/dawn/src/include -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/vulkan_headers/include -Igen -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/libyuv/include -Igen -Igen -Igen -Igen -Igen -Igen -Igen -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/jsoncpp/source/include -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/skia -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/libgifcodec -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/vulkan/include -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/vulkan_headers/include -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/crashpad/crashpad -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/non_mac -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/linux -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/non_win -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/protobuf/src -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/ced/src -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/mesa_headers -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/libwebm/source -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/leveldatabase -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/leveldatabase/src -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/leveldatabase/src/include -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/webrtc_overrides -I../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/third_party/webrtc -Igen/third_party/webrtc -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 -g0 -fvisibility=hidden -O2 -fno-ident -fdata-sections -ffunction-sections -I/usr/include/nss -I/usr/include/nspr -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 ../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/components/viz/service/frame_sinks/root_compositor_frame_sink_impl.cc -o obj/components/viz/service/service/root_compositor_frame_sink_impl.o
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gn_run:703: run_ninja] Error 1
make[3]: Leaving directory '/tmp/portage/dev-qt/qtwebengine-5.15.2_p20210625/work/qtwebengine-5.15.2_p20210625_build/src/core'
make[2]: *** [Makefile:82: sub-gn_run-pro-make_first] Error 2
make[2]: Leaving directory '/tmp/portage/dev-qt/qtwebengine-5.15.2_p20210625/work/qtwebengine-5.15.2_p20210625_build/src/core'
make[1]: *** [Makefile:78: sub-core-make_first] Error 2
make[1]: Leaving directory '/tmp/portage/dev-qt/qtwebengine-5.15.2_p20210625/work/qtwebengine-5.15.2_p20210625_build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2

Code: Select all

Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.3.0, glibc-2.33-r1, 5.10.52-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.52-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-glibc2.33
KiB Mem:    16361020 total,  10880212 free
KiB Swap:   10239996 total,   9845128 free
Timestamp of repository gentoo: Tue, 03 Aug 2021 00:30:01 +0000
Head commit of repository gentoo: 9a6b72537d4a9a895a8ab23aa6f9f1e9b6a91f71
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          2.7.18_p11::gentoo, 3.7.10_p1::gentoo, 3.8.8_p1::gentoo, 3.9.6::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::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-r2::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-r1::gentoo
Repositories:

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

Tron
    location: /usr/local/portage
    masters: gentoo

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

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

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

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

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

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 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="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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="/tmp"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr emboss encode exif ffmpeg flac fortran gdbm gif gpm gstreamer gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad minizip mng mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr sqlite ssl startup-notification svg systemd tcpd tiff tk truetype udev udisks unicode upower usb vorbis wayland widgets wxwidgets x264 xattr xcb xml xv xvid 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="mmx mmxext sse sse2" 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="libinput" KERNEL="linux" 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="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Last edited by Troopo on Fri Aug 06, 2021 10:25 am, edited 1 time in total.
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Wed Aug 04, 2021 12:20 pm

Below is the error message:

Code: Select all

FAILED: obj/components/viz/service/service/compositor_frame_sink_support.o 
[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/bits/stl_algobase.h:324:60: internal compiler error: Segmentation fault
Could be an out-of-memory error. Please check the output of 'dmesg' or your system logs for messages of the OOM killer.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Aug 04, 2021 12:32 pm

Usually Segmentation fault error is related to an hardware issue.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Wed Aug 04, 2021 1:16 pm

I concur with fedeliallalinea, for me segfault does not associate with OOM killer. I think it is possible to get segfaults when your toolchain is broken (like damaged binaries due to filesystem corruption or hard drive failure), in addition to hardware failures. In this case I'd suggest reducing make instances and see if this segfault can be replicated in exact same point of compilation.
My Gentoo installation notes.
Please learn how to denote units correctly!
Top
Tony0945
Watchman
Watchman
Posts: 5127
Joined: Tue Jul 25, 2006 12:19 am
Location: Illinois, USA

  • Quote

Post by Tony0945 » Wed Aug 04, 2021 1:29 pm

Working here:
USE flags "alsa jumbo-build system-ffmpeg system-icu widgets -bindist -debug -designer -geolocation -kerberos -pulseaudio -test"

Code: Select all

 # gcc-config -l
 [1] x86_64-pc-linux-gnu-8.4.0
 [2] x86_64-pc-linux-gnu-9.3.0 *
 [3] x86_64-pc-linux-gnu-10.3.0
Too many problems with gcc 10, IMHO, it should never have been stabilized.
Top
Tony0945
Watchman
Watchman
Posts: 5127
Joined: Tue Jul 25, 2006 12:19 am
Location: Illinois, USA

  • Quote

Post by Tony0945 » Wed Aug 04, 2021 1:33 pm

" One or more packages are either masked or have missing dependencies:
*
* >=dev-libs/icu-68.2:0/68.2= pulled in by:
* (dev-qt/qtwebengine-5.15.2_p20210224:5/5.15::gentoo, installed)

68.2 is the lowest version available in the tree!

What is the result of "emerge -a1v icu" ?

EDIT:
You need stabile version 69.1 for qtwebengine. the above command should emerge it if your portage is up to date.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Aug 04, 2021 1:39 pm

Tony0945 wrote:Too many problems with gcc 10, IMHO, it should never have been stabilized.
In my two system with gcc-10 no problems
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Troopo
Guru
Guru
Posts: 310
Joined: Sun Jun 14, 2015 9:17 pm

  • Quote

Post by Troopo » Wed Aug 04, 2021 2:03 pm

mike155 wrote:Below is the error message:

Code: Select all

FAILED: obj/components/viz/service/service/compositor_frame_sink_support.o 
[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/bits/stl_algobase.h:324:60: internal compiler error: Segmentation fault
Could be an out-of-memory error. Please check the output of 'dmesg' or your system logs for messages of the OOM killer.
Thanks but didn't see anything there, here is the log
https://dpaste.com/4TFS54887
fedeliallalinea wrote:Usually Segmentation fault error is related to an hardware issue.
True, I've experienced as much in the past with hdd failures but there were signs of that coming, this time i don't see any problems, this is purely update related.

I got the same message with jumbo-build as well, log just in case
http://0x0.st/-4p6.log

Maybe this is also related?

Code: Select all

!!! Problems have been detected with your world file
!!! Please run emaint --check world


!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
dev-qt/qtwebkit

!!! The following installed packages are masked:
- dev-qt/qtwebkit-5.212.0_pre20200309-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (2021-08-02)
# Two years after the tracker was opened it is time to mask dev-qt/qtwebkit
# for good. No commits to upstream repository for >9 months, latest available
# tarball still "alpha" with warning about known unpatched vulnerabilities.
# Bugs: #684580, #685750, #709858, #740416
I ran emaint but it didn't find anything
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Aug 04, 2021 2:14 pm

Troopo wrote:Maybe this is also related?
No this report a possible problem in world file but isn't related to your compilation problem.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Troopo
Guru
Guru
Posts: 310
Joined: Sun Jun 14, 2015 9:17 pm

  • Quote

Post by Troopo » Wed Aug 04, 2021 2:17 pm

Tony0945 wrote:" One or more packages are either masked or have missing dependencies:
*
* >=dev-libs/icu-68.2:0/68.2= pulled in by:
* (dev-qt/qtwebengine-5.15.2_p20210224:5/5.15::gentoo, installed)

68.2 is the lowest version available in the tree!

What is the result of "emerge -a1v icu" ?

EDIT:
You need stabile version 69.1 for qtwebengine. the above command should emerge it if your portage is up to date.
"emerge -a1v icu"

Code: Select all

ebuild   R    ] dev-libs/icu-69.1:0/69.1::gentoo  USE="-debug -doc -examples -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
i've rebuilt it and now trying again with qtwebengine but i am using gcc 10 here.

gcc-config -l

Code: Select all

 [1] x86_64-pc-linux-gnu-10.3.0 *


I somehow feel this might be python related with the 3.8-3.9 migration.
Is this normal? should it use 2.7?

Code: Select all

>> Emerging (1 of 71) dev-qt/qtwebengine-5.15.2_p20210625::gentoo
 * qtwebengine-5.15.2_p20210625.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                   [ ok ]
 * Using python2.7 to build
Top
Troopo
Guru
Guru
Posts: 310
Joined: Sun Jun 14, 2015 9:17 pm

  • Quote

Post by Troopo » Wed Aug 04, 2021 2:20 pm

Jaglover wrote:I concur with fedeliallalinea, for me segfault does not associate with OOM killer. I think it is possible to get segfaults when your toolchain is broken (like damaged binaries due to filesystem corruption or hard drive failure), in addition to hardware failures. In this case I'd suggest reducing make instances and see if this segfault can be replicated in exact same point of compilation.
Ok, sounds like a good approach for debugging, how do i reduce the instances?
Top
Tony0945
Watchman
Watchman
Posts: 5127
Joined: Tue Jul 25, 2006 12:19 am
Location: Illinois, USA

  • Quote

Post by Tony0945 » Wed Aug 04, 2021 2:20 pm

Even though it isn't related, I would quickpkg qtwebengine (another monster to compile)a nd then --depclean it to get it out of @world because it didn't belong there in the first place. this will take very little time and make your system cleaner.
Icu, thoug, is a direct dependency. Definitly fix icu. If you run the command I gave it will tell you why icu is not building, probably and old mask you've forgotten about.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Aug 04, 2021 2:22 pm

Troopo wrote:I somehow feel this might be python related with the 3.8-3.9 migration.
Is this normal? should it use 2.7?
Yes python2.7 is present in the tree for these situations when it's required as build dependency.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Troopo
Guru
Guru
Posts: 310
Joined: Sun Jun 14, 2015 9:17 pm

  • Quote

Post by Troopo » Wed Aug 04, 2021 2:31 pm

Tony0945 wrote:Even though it isn't related, I would quickpkg qtwebengine (another monster to compile)a nd then --depclean it to get it out of @world because it didn't belong there in the first place. this will take very little time and make your system cleaner.
Icu, thoug, is a direct dependency. Definitly fix icu. If you run the command I gave it will tell you why icu is not building, probably and old mask you've forgotten about.
I can't really do a --depclean since i need to finish the update and it's stuck at qtwebengine (bane of my existence) but i did check the dependencies for qtwekit and it had none so i unmerged it, as for icu, i have 69 as i wrote earlier no idea why it would use 68, i have no masks that i've applied.

fedeliallalinea wrote:
Troopo wrote:I somehow feel this might be python related with the 3.8-3.9 migration.
Is this normal? should it use 2.7?
Yes python2.7 is present in the tree for these situations when it's required as build dependency.
Thanks
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Wed Aug 04, 2021 2:43 pm

By reducing make instances a had in mind MAKEOPTS set to something less than -j8.
My Gentoo installation notes.
Please learn how to denote units correctly!
Top
Troopo
Guru
Guru
Posts: 310
Joined: Sun Jun 14, 2015 9:17 pm

  • Quote

Post by Troopo » Wed Aug 04, 2021 2:45 pm

Jaglover wrote:By reducing make instances a had in mind MAKEOPTS set to something less than -j8.
Got it, will report back after i try
Top
Tony0945
Watchman
Watchman
Posts: 5127
Joined: Tue Jul 25, 2006 12:19 am
Location: Illinois, USA

  • Quote

Post by Tony0945 » Wed Aug 04, 2021 3:06 pm

[quote="Troopo"I can't really do a --depclean since i need to finish the update and it's stuck at qtwebengine (bane of my existence) but i did check the dependencies for qtwekit and it had none so i unmerged it, as for icu, i have 69 as i wrote earlier no idea why it would use 68, i have no masks that i've applied.[/quote]

I'm VERY sorry for the mistake. I meant qtwebkit not qtwebengine, which, of course, you are trying to build.

the principle being invoked is "When you don't know what's wrong, but you know something that you think is unrelated is wrong, fix that first. Very often it will fix the problem that you thought was unrelated." Taught to me decades ago by an old mechanic. He was right. He was talking about mechanical systems, but it applies even better to software.
Top
Troopo
Guru
Guru
Posts: 310
Joined: Sun Jun 14, 2015 9:17 pm

  • Quote

Post by Troopo » Wed Aug 04, 2021 3:48 pm

Tony0945 wrote: I'm VERY sorry for the mistake. I meant qtwebkit not qtwebengine, which, of course, you are trying to build.

the principle being invoked is "When you don't know what's wrong, but you know something that you think is unrelated is wrong, fix that first. Very often it will fix the problem that you thought was unrelated." Taught to me decades ago by an old mechanic. He was right. He was talking about mechanical systems, but it applies even better to software.
No worries, we all make mistakes, point is, i got what you meant and handled that.
But i really think that icu version you caught was the actual fix, after rebuilding i'm now 90% done with qtwebengine which is further than it was before so i think this time it will run til completion.

The makeopts was the next thing i would try, i also found an older thread mentioning this, would have been strange since it's was working fine before on -j8 and not it wasn't? i guess that could happen somehow.

Regarding the analogy you provided, i agree, i came to a similar conclusion from some other things that happened to me in life but it's something i can relate to and i try to do on a regular basis whenever possible. so i think it's a great advice :)
Top
Troopo
Guru
Guru
Posts: 310
Joined: Sun Jun 14, 2015 9:17 pm

  • Quote

Post by Troopo » Wed Aug 04, 2021 5:00 pm

It took longer but still failed with the same error.
Log
http://0x0.st/-4fY.log

I guess i will try the make instances now.
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Wed Aug 04, 2021 5:01 pm

According to
Troopo wrote:

Code: Select all

ebuild   R    ] dev-libs/icu-69.1:0/69.1::gentoo  USE="-debug -doc -examples -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
dev-libs/icu-69.1 had already been installed on your system, nothing to see there.

It was already established that your type of error was not software related.
Top
Troopo
Guru
Guru
Posts: 310
Joined: Sun Jun 14, 2015 9:17 pm

  • Quote

Post by Troopo » Wed Aug 04, 2021 5:07 pm

asturm wrote:According to
Troopo wrote:

Code: Select all

ebuild   R    ] dev-libs/icu-69.1:0/69.1::gentoo  USE="-debug -doc -examples -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
dev-libs/icu-69.1 had already been installed on your system, nothing to see there.

It was already established that your type of error was not software related.
Why would i have a hw problem out of the bloom when everything seems to be working and the only thing that has changed is sw updates?
Anything i can do to verify that further?
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Wed Aug 04, 2021 8:35 pm

So far we've got 3 build logs - and they clearly show that the errors occur at different points of compilation:

Code: Select all

-49E.log:

../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/cc/paint/filter_operation.h:227:14:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/bits/stl_algobase.h:324:60: internal compiler error: Segmentation fault
  324 |     { return __from + (__res - std::__niter_base(__from)); }


-4p6.log:

/usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/ots/ots/hhea.o.d -DUSE_UDEV -DUSE_AURA=1 ...
{standard input}: Assembler messages:
{standard input}: Internal error (Segmentation fault).
Please report this bug.


-4fY.log:

In file included from gen/services/viz/public/mojom/hit_test/hit_test_region_list.mojom.h:35,
                 from ../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_view_base.h:32,
                 from ../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/content/browser/renderer_host/render_widget_targeter.h:14,
                 from ../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_input_event_router.h:24,
                 from ../../../../qtwebengine-5.15.2_p20210625/src/3rdparty/chromium/content/browser/renderer_host/render_widget_host_input_event_router.cc:5:
gen/ui/gfx/mojom/transform.mojom.h:225:1: internal compiler error: Segmentation fault
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Wed Aug 04, 2021 8:55 pm

I'd try and cap the frequency of CPU 10-15% lower than its max. This will reduce the stress on hardware.
Example for Intel to set max to 4 GHz:

Code: Select all

cpupower frequency-set -u 4G
My Gentoo installation notes.
Please learn how to denote units correctly!
Top
Tony0945
Watchman
Watchman
Posts: 5127
Joined: Tue Jul 25, 2006 12:19 am
Location: Illinois, USA

  • Quote

Post by Tony0945 » Wed Aug 04, 2021 10:14 pm

Troope wrote:MAKEOPTS="-j8"
Is it an 8 cor3e CPU?

Many use twice the number of CPUS.
If it fails agin try this:
1. set Makeopts=-j to the value of "nproc". i.e. the number of cores. This will releive stress on the system.

2. Just try setting gcc to 9.3.0, just for laughs.
Top
Troopo
Guru
Guru
Posts: 310
Joined: Sun Jun 14, 2015 9:17 pm

  • Quote

Post by Troopo » Thu Aug 05, 2021 12:08 am

Jaglover wrote:I'd try and cap the frequency of CPU 10-15% lower than its max. This will reduce the stress on hardware.
Example for Intel to set max to 4 GHz:

Code: Select all

cpupower frequency-set -u 4G
I will try that after the make changes and report back.
Tony0945 wrote:
Troope wrote:MAKEOPTS="-j8"
Is it an 8 cor3e CPU?

Many use twice the number of CPUS.
If it fails agin try this:
1. set Makeopts=-j to the value of "nproc". i.e. the number of cores. This will releive stress on the system.

2. Just try setting gcc to 9.3.0, just for laughs.
it's an i7-2600k so it's a 4 core cpu but yeah i went double based on the handbook or something like that, right now i have it running with 6 instead of 8 and then i will try 4 as you suggested lets see, but in my 6-7 years of gentoo that was never a problem with 8...

Will try gcc too, i somehow suspected my attempt at wayland a while back so i took down the wayland flag lets see if that helped too.

Will update in a while since every run takes a few hours.

Thanks so far
Top
Post Reply

50 posts
  • 1
  • 2
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic