Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758791 - www-client/chromium-87.0.4280.88 fails to compile
Summary: www-client/chromium-87.0.4280.88 fails to compile
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-06 12:19 UTC by nvaert1986
Modified: 2020-12-06 16:30 UTC (History)
1 user (show)

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


Attachments
The build log part 1 (build_part_1.tar.bz2,831.72 KB, application/x-bzip)
2020-12-06 16:19 UTC, nvaert1986
Details
The build log part 2 (build_part_2.tar.bz2,674.87 KB, application/x-bzip)
2020-12-06 16:20 UTC, nvaert1986
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nvaert1986 2020-12-06 12:19:44 UTC
The current version of chromium www-client/chromium-87.0.4280.88 fails to compile, while www-client/chromium-87.0.4280.66 compiled fine 2 weeks ago.

Reproducible: Always

Steps to Reproduce:
1.Try to emerge www-client/chromium-87.0.4280.88
Actual Results:  
It fails to compile

Expected Results:  
A compiled version of chrome

Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/systemd, gcc-9.3.0, glibc-2.32-r2, 5.8.16-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.8.16-gentoo-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-gentoo-2.7
KiB Mem:    32844400 total,  24591648 free
KiB Swap:    6000636 total,    400056 free
Timestamp of repository gentoo: Sat, 05 Dec 2020 14:30:01 +0000
Head commit of repository gentoo: e994c9a73022c39f61cbac64fd70e4b24ffdbf4c
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    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-max-age: 24
    sync-rsync-verify-metamanifest: no

local
    location: /var/db/repos/local
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver1 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
CXXFLAGS="-march=znver1 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/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="-march=znver1 -O2 -pipe -fomit-frame-pointer"
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="-march=znver1 -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.netcologne.de/gentoo/ https://mirror.netcologne.de/gentoo/ http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp.fau.de/gentoo http://ftp.fau.de/gentoo ftp://ftp.fau.de/gentoo rsync://ftp.fau.de/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ https://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ rsync://mirror.leaseweb.com/gentoo/ https://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
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"
USE="X acl alsa amd64 berkdb bzip2 cairo caps cli crypt cups cxx dri flac fortran gbm gdbm gssapi gstreamer iconv icu idn introspection ipv6 jpeg kde kerberos libglvnd libtirpc lzma multilib ncurses networkmanager nls nptl ogg openal opengl openmp pam pango pcre perl plasma png pulseaudio python qml qt5 readline ruby samba sdl seccomp semantic-desktop split-usr sqlite ssl systemd tcpd theora tiff truetype udev unicode vala vorbis vulkan wayland xattr xcb zeroconf zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="ca0132" 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" CURL_SSL="gnutls" 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 joystick keyboard libinput mouse" KERNEL="linux" L10N="en nl ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq 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


[ebuild     U ] www-client/chromium-87.0.4280.88 [87.0.4280.66] USE="cups kerberos official (pic) proprietary-codecs pulseaudio suid system-ffmpeg system-icu tcmalloc vaapi wayland widevine (-component-build) -custom-cflags -hangouts (-headless) -js-type-check (-selinux)" L10N="nl ru -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -pl -pt-BR -pt-PT -ro -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW"
Comment 1 nvaert1986 2020-12-06 12:21:55 UTC
I still have the build log if desired, but it's 10MB in size, so can't add it as an attachment.
Comment 2 nvaert1986 2020-12-06 12:22:39 UTC
The area where it failed:

../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderFrameHostImpl::*)(mojo::StructPtr<blink::mojom::GetSavableResourceLinksReply>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderFrameHostImpl> >; long unsigned int ...indices = {0}]’:
../../base/bind_internal.h:773:1: warning: control reaches end of non-void function [-Wreturn-type]
../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::PushMessagingManager::*)(mojo::PendingReceiver<blink::mojom::PushMessaging>); BoundArgsTuple = std::tuple<base::WeakPtr<content::PushMessagingManager>, mojo::PendingReceiver<blink::mojom::PushMessaging> >; long unsigned int ...indices = {0, 1}]’:
../../base/bind_internal.h:773:1: warning: control reaches end of non-void function [-Wreturn-type]
../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderFrameHostImpl::*)(mojo::PendingReceiver<blink::mojom::ReportingObserver>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderFrameHostImpl>, mojo::PendingReceiver<blink::mojom::ReportingObserver> >; long unsigned int ...indices = {0, 1}]’:
../../base/bind_internal.h:773:1: warning: control reaches end of non-void function [-Wreturn-type]
ninja: build stopped: subcommand failed.
 [31;01m*[0m ERROR: www-client/chromium-87.0.4280.88::gentoo failed (compile phase):
 [31;01m*[0m   ninja -v -j16 -l0 -C out/Release chrome chromedriver failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  125:  Called src_compile
 [31;01m*[0m   environment, line 4416:  Called eninja '-C' 'out/Release' 'chrome' 'chromedriver'
 [31;01m*[0m   environment, line 2055:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=www-client/chromium-87.0.4280.88::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=www-client/chromium-87.0.4280.88::gentoo'`.
 [32;01m*[0m 
 [32;01m*[0m MemTotal:       32844400 kB
 [32;01m*[0m SwapTotal:       6000636 kB
 [32;01m*[0m 
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/www-client/chromium-87.0.4280.88/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-87.0.4280.88/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/www-client/chromium-87.0.4280.88/work/chromium-87.0.4280.88'
 [31;01m*[0m S: '/var/tmp/portage/www-client/chromium-87.0.4280.88/work/chromium-87.0.4280.88'
Comment 3 Stephan Hartmann (RETIRED) gentoo-dev 2020-12-06 16:10:36 UTC
The lines you show are only warnings. There should be a line starting with FAILED. We need at least this lines and the error messages afterwards. You can also compress the build.log and attach it here.
Comment 4 nvaert1986 2020-12-06 16:15:15 UTC
The uncompressed file is 101,4MB. The compressed file using tar.bz2 with maximum compression is 1,5MB even when using 7zip it's 1,2MB and refuses to upload as the maximum file size is 1MB
Comment 5 nvaert1986 2020-12-06 16:19:54 UTC
Created attachment 677053 [details]
The build log part 1

Contains part 1 of the build log
Comment 6 nvaert1986 2020-12-06 16:20:13 UTC
Created attachment 677056 [details]
The build log part 2
Comment 7 nvaert1986 2020-12-06 16:21:27 UTC
Sorry for my lack of initial creativity. I've split the build log in 2 parts using head and tail. The full build log as requested.
Comment 8 Stephan Hartmann (RETIRED) gentoo-dev 2020-12-06 16:30:17 UTC
Thanks. Next time try to use xz and you don't need tar to compress single file ;)

From the build.log I see:
{standard input}: Assembler messages:
{standard input}:5263: Warning: end of file not at end of a line; newline inserted
{standard input}:5359: Error: number of operands mismatch for `movabs'
x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus

That means you run out of RAM and OOM killed g++. Try to reduce number of parallel jobs in MAKEOPTS. Good estimation is 2GB per compile job, but some chromium files are very large and g++ needs more than 3GB.