Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621000 - www-client/chromium-59.0.3071.86: ninja mksnapshot failed with gcc-7
Summary: www-client/chromium-59.0.3071.86: ninja mksnapshot failed with gcc-7
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chromium Project
Depends on:
Blocks: gcc-7
  Show dependency tree
Reported: 2017-06-06 11:03 UTC by fhede
Modified: 2017-08-02 15:09 UTC (History)
5 users (show)

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

build.log (build.log,908.00 KB, text/x-log)
2017-06-06 11:03 UTC, fhede

Note You need to log in before you can comment on or make changes to this bug.
Description fhede 2017-06-06 11:03:08 UTC
Created attachment 475336 [details]

I have this output when building chromium with gcc 7.1.

ERROR: www-client/chromium-59.0.3071.86::gentoo failed (compile phase):
 *   ninja -v -j5 -l0 -C out/Release mksnapshot failed
 * Call stack:
 *, line  115:  Called src_compile
 *   environment, line 5202:  Called eninja '-C' 'out/Release' 'mksnapshot'
 *   environment, line 1775:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"

emerge --info
Portage 2.3.6 (python 3.6.1-final-0, default/linux/amd64/13.0/no-multilib, gcc-7.1.0, glibc-2.24-r1, 4.11.3-ck-r1 x86_64)
System uname: Linux-4.11.3-ck-r1-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.3
KiB Mem:    32897420 total,   1769436 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 06 Jun 2017 09:22:26 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.6.1-r1::gentoo
dev-util/ccache:          3.3.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            7.1.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo

    location: /usr/portage
    sync-type: git
    sync-uri: git://
    priority: -1000

    location: /usr/local/portage
    masters: gentoo

    location: /var/lib/layman/xfce-dev
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=ivybridge -O2 -pipe"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-march=ivybridge -O2 -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
INSTALL_MASK="COPYING* /etc/systemd /lib/systemd /usr/lib/systemd"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X acl alsa amd64 berkdb bzip2 cli consolekit cracklib crypt cxx dbus dri dvdr fortran freetype gdbm gif gtk3 iconv icu ipv6 jpeg lock modules ncurses nls nptl openmp pam pcre png policykit raw readline seccomp session ssl svg tcpd thunar truetype udev unicode xattr xscreensaver zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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 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" L10N="sv" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="sv_SE" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby21 ruby22" 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"
Comment 3 octoploid 2017-06-10 07:13:27 UTC
(In reply to octoploid from comment #2)
> Patch:

The patch is for Chromium 60 and above.
But you'll find a patch for older versions in the same github issue as well.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-06-10 07:25:55 UTC
(In reply to octoploid from comment #2)
> Patch:

Looks like the nodejs issue is going on since Dec 2016.

Since you have a patch (awesome!), why not send it v8 upstream?
Comment 5 octoploid 2017-06-10 07:36:20 UTC
(In reply to Paweł Hajdan, Jr. from comment #4)
> (In reply to octoploid from comment #2)
> > Patch:
> Looks like the nodejs issue is going on since Dec 2016.
> Since you have a patch (awesome!), why not send it v8 upstream?

Because the usual reply you'll get is: »Do we care about gcc?«
So I stopped reporting gcc issues.
Comment 6 octoploid 2017-06-22 05:56:43 UTC
The fix is now upstream:
Comment 7 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-06-26 16:10:11 UTC
(In reply to octoploid from comment #5)
> Because the usual reply you'll get is: »Do we care about gcc?«
> So I stopped reporting gcc issues.

As indicated in the referenced bug, _reports_ of gcc issues indeed are not treated as priority upstream.

However, they are taking patches, as indicated by the one you referenced above.

Is the issue addressed now?
Comment 8 Hendrik v. Raven 2017-07-12 13:40:58 UTC
It is not yet part of the current beta (, at least the build of the latest 60.0.3112.50 still fails with that error message. The current dev-release (61.0.3141.7) builds fine with GCC 7.1. At least it does not have that issue, my main build is not finished yet.