Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626684 - www-client/chromium-61.0.3163.13 build failure (missing url.mojom-shared-internal.h)
Summary: www-client/chromium-61.0.3163.13 build failure (missing url.mojom-shared-inte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL: https://groups.google.com/a/chromium....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-31 07:27 UTC by Andrew Waters
Modified: 2017-08-11 11:18 UTC (History)
3 users (show)

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


Attachments
Build log (build.log.xz,306.35 KB, application/x-xz)
2017-07-31 07:27 UTC, Andrew Waters
Details
mojom-shared-internal.patch (chromium-61.0.3163.25.mojom.patch,511 bytes, patch)
2017-08-06 07:24 UTC, Nick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Waters 2017-07-31 07:27:16 UTC
Created attachment 487428 [details]
Build log

Build failure due to
x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/WebKit/Source/platform/loader/loader/ResourceLoader.o.d -DBLINK_PLATFORM_IMPLEMENTATION=1 -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -I../.. -Igen -I../../third_party/WebKit/Source -I../../third_party/WebKit -Igen/blink -Igen/third_party/WebKit -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/harfbuzz_shim -Igen/shim_headers/libjpeg_shim -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/boringssl/src/include -I/usr/include/nss -I/usr/include/nspr -I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c -I../../third_party/skia/include/config -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/encode -I../../third_party/skia/include/images -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/third_party/vulkan -I../../third_party/skia/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../v8/include -Igen/v8/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -g0 -fvisibility=hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -O2 -pipe -march=native -fno-delete-null-pointer-checks -c ../../third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp -o obj/third_party/WebKit/Source/platform/loader/loader/ResourceLoader.o
In file included from gen/storage/public/interfaces/blobs.mojom-shared.h:25:0,
                 from gen/storage/public/interfaces/blobs.mojom-blink.h:33,
                 from ../../third_party/WebKit/Source/platform/blob/BlobData.h:41,
                 from ../../third_party/WebKit/Source/platform/network/EncodedFormData.h:23,
                 from ../../third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h:34,
                 from ../../third_party/WebKit/Source/platform/loader/fetch/CrossOriginAccessControl.h:32,
                 from ../../third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.h:37,
                 from ../../third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp:30:
gen/storage/public/interfaces/blobs.mojom-shared-internal.h:19:48: fat
Comment 1 Andrew Waters 2017-07-31 07:28:17 UTC
# emerge --info
Portage 2.3.6 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-6.3.0, glibc-2.23-r4, 4.12.4-gentoo x86_64)
=================================================================
System uname: Linux-4.12.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.3
KiB Mem:    16313744 total,   6298932 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Mon, 31 Jul 2017 04:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28 p1.2) 2.28
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28-r2::gentoo
sys-devel/gcc:            6.3.0::gentoo, 7.1.0-r1::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync2.uk.gentoo.org/gentoo-portage/
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf"
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="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/var/tmp"
USE="X a52 aac acl acpi aes alsa amd64 apache2 avx berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr encode evo exif fam ffmpeg filecaps firefox flac gdbm gif gimp glamor glut gnutls gpm gstreamer gtk iconv icu idn imagemagick ios ipod ipv6 java jpeg jpeg2k lcms ldap libnotify mad mmap mmx mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses nls nptl nsplugin ogg opengl openmp opus pam pango pcre pdf png policykit popcnt posix postscript ppds qt5 quicktime raw rdesktop readline samba sasl sdl seccomp session smp spell sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg tcpd theora threads tiff truetype udev udisks unicode upower usb vim-syntax vorbis wavpack win32codecs wmf wxwidgets x264 x265 xattr xcb xcomposite xine xml xpm xscreensaver xv xvid zeroconf zlib zsh-completionix" 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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau intel" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Andrew Waters 2017-07-31 07:29:55 UTC
# emerge -pqv '=www-client/chromium-61.0.3163.13::gentoo'
[ebuild     U ] www-client/chromium-61.0.3163.13 [61.0.3159.5] USE="cups gtk3 hangouts kerberos (pic) proprietary-codecs suid system-ffmpeg system-icu -component-build -custom-cflags -gnome-keyring (-neon) -pulseaudio (-selinux) (-system-libvpx) (-tcmalloc) {-test} -widevine" L10N="en-GB -am -ar -bg -bn -ca -cs -da -de -el -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW"
Comment 3 Mike Gilbert gentoo-dev 2017-07-31 17:33:06 UTC
The error message got cut off.

In file included from gen/storage/public/interfaces/blobs.mojom-shared.h:25:0,
                 from gen/storage/public/interfaces/blobs.mojom-blink.h:33,
                 from ../../third_party/WebKit/Source/platform/blob/BlobData.h:41,
                 from ../../third_party/WebKit/Source/platform/network/EncodedFormData.h:23,
                 from ../../third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h:34,
                 from ../../third_party/WebKit/Source/platform/loader/fetch/CrossOriginAccessControl.h:32,
                 from ../../third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.h:37,
                 from ../../third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp:30:
gen/storage/public/interfaces/blobs.mojom-shared-internal.h:19:48: fatal error: url/mojo/url.mojom-shared-internal.h: No such file or directory
 #include "url/mojo/url.mojom-shared-internal.h"
                                                ^
compilation terminated.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2017-08-02 12:45:16 UTC
I somehow reproduced this once. Good catch, thanks for reporting! Asked upstream for more help.
Comment 5 Nick 2017-08-06 07:24:41 UTC
Created attachment 488084 [details, diff]
mojom-shared-internal.patch

After trying to ebuild compile countless times when it failed with this error, I edited third_party/WebKit/Source/platform/loader/BUILD.gn (mojom.patch) and the build moved forward from that step. I have not tested it on a clean build.
Comment 6 Helmut Jarausch 2017-08-07 08:58:36 UTC
Many thanks,
that patched enabled me to build chromium.
Comment 7 Jouni Kosonen 2017-08-07 21:46:36 UTC
(In reply to Nick from comment #5)
> I have not tested it on a clean build.
The patch was both necessary and sufficient to get a clean build of 61.0.3163.31
(renamed copy of the 61.0.3163.25 ebuild in tree) to complete. Thanks!
Comment 9 Mike Gilbert gentoo-dev 2017-08-09 14:05:18 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=689090f1ec53b7b958a903f6ed01f38b71e1b819

commit 689090f1ec53b7b958a903f6ed01f38b71e1b819
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Wed Aug 9 10:04:25 2017 -0400

    www-client/chromium: backport build fix

    Bug: https://bugs.gentoo.org/626684
    Package-Manager: Portage-2.3.6_p23, Repoman-2.3.3_p1

 www-client/chromium/chromium-61.0.3163.31.ebuild  |  1 +
 www-client/chromium/files/chromium-mojo-dep.patch | 54 +++++++++++++++++++++++
 2 files changed, 55 insertions(+)