| View previous topic :: View next topic |
| Author |
Message |
michaelp n00b

Joined: 08 Feb 2012 Posts: 8
|
Posted: Sat Feb 17, 2018 7:41 pm Post subject: www-client/chromium: WebKit/.../blob.mojom.h: No such file |
|
|
[Moderator note: this post and the first response were originally attached to Chromium will not build, despite having a completely different cause. I moved this to its own thread to avoid confusion. -Hu]
I'm experiencing a similar problem, and I'm using GCC 6.4.0.
Here's my build log:
http://bpaste.net/show/0fbf025e7f14
And emerge --info:
http://bpaste.net/show/bba05b35c4c3
Is it fine if I post here or should I create new thread? |
|
| Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31094 Location: here
|
Posted: Sat Feb 17, 2018 7:46 pm Post subject: |
|
|
Try to reduce parallel build (MAKEOPTS="-j1") _________________ Questions are guaranteed in life; Answers aren't. |
|
| Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 22146
|
Posted: Sat Feb 17, 2018 8:11 pm Post subject: Re: www-client/chromium: WebKit/.../blob.mojom.h: No such fi |
|
|
| michaelp wrote: | | I'm experiencing a similar problem, and I'm using GCC 6.4.0. | Your problem is similar only in so far as that both of you are unable to build Chromium. The original thread was about a problem caused specifically by using gcc-5. Your thread is about a missing file.
| original thread problem: | x86_64-pc-linux-gnu-g++ -MMD -MF obj/gpu/ipc/common/interfaces/interfaces_jumbo_1.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -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 -DCOMPONENT_BUILD -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DPROTOBUF_USE_DLLS -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSKIA_DLL -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_SUPPORT_GPU=1 -I. -I../.. -Igen -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../third_party/khronos -I../../gpu -Igen/shim_headers/libpng_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/libdrm_shim -Igen/shim_headers/re2_shim -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/protobuf/src -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/gpu -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/src/gpu -I../../third_party/skia/src/sksl -I../../third_party/mesa/src/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-deprecated-declarations -fno-delete-null-pointer-checks -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -c gen/out/Release/gen/gpu/ipc/common/interfaces_jumbo_1.cc -o obj/gpu/ipc/common/interfaces/interfaces_jumbo_1.o
In file included from ./gen/gpu/ipc/common/mailbox_holder.mojom.cc:30:0,
from gen/out/Release/gen/gpu/ipc/common/interfaces_jumbo_1.cc:11:
../../gpu/ipc/common/mailbox_struct_traits.h: In static member function ‘static base::span<const signed char> mojo::StructTraits<gpu::mojom::MailboxDataView, gpu::Mailbox>::name(const gpu::Mailbox&)’:
../../gpu/ipc/common/mailbox_struct_traits.h:18:20: error: could not convert ‘(const int8_t*)(& mailbox.gpu::Mailbox::name)’ from ‘const int8_t* {aka const signed char*}’ to ‘base::span<const signed char>’
return mailbox.name; |
| local thread problem: | | gen/third_party/WebKit/common/message_port/message_port.mojom.h:38:55: fatal error: third_party/WebKit/common/blob/blob.mojom.h: No such file or directory |
| michaelp wrote: | | Is it fine if I post here or should I create new thread? | You should use a separate thread when your problem has no relation to the original problem. I moved your post and the response to it into a new thread. |
|
| Back to top |
|
 |
michaelp n00b

Joined: 08 Feb 2012 Posts: 8
|
Posted: Sat Feb 17, 2018 11:16 pm Post subject: |
|
|
| Hu wrote: | | You should use a separate thread when your problem has no relation to the original problem. I moved your post and the response to it into a new thread. |
I'm sorry. I will keep this in mind.
Thank you, but sadly it did not help.
Here's the new build log: http://bpaste.net/show/786e30bfc28f
The error persists:
| Code: | FAILED: obj/third_party/WebKit/common/mojo_bindings/message_port.mojom.o
x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/WebKit/common/mojo_bindings/message_port.mojom.o.d -DBLINK_COMMON_IMPLEMENTATION=1 -DBLINK_CORE_IMPLEMENTATION=1 -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -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 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -I../.. -Igen -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../../third_party/ced/src -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -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-deprecated-declarations -fno-delete-null-pointer-checks -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -march=native -O2 -pipe -fno-delete-null-pointer-checks -c gen/third_party/WebKit/common/message_port/message_port.mojom.cc -o obj/third_party/WebKit/common/mojo_bindings/message_port.mojom.o
In file included from gen/third_party/WebKit/common/message_port/message_port.mojom.cc:15:0:
gen/third_party/WebKit/common/message_port/message_port.mojom.h:38:55: fatal error: third_party/WebKit/common/blob/blob.mojom.h: No such file or directory
#include "third_party/WebKit/common/blob/blob.mojom.h" |
|
|
| Back to top |
|
 |
tomtom69 Apprentice

Joined: 09 Nov 2010 Posts: 245 Location: Bavaria
|
Posted: Mon Feb 19, 2018 7:49 pm Post subject: |
|
|
same error message here for chromium-64.0.3282.167:
| Code: |
In file included from gen/third_party/WebKit/common/message_port/message_port.mojom.cc:15:0:
gen/third_party/WebKit/common/message_port/message_port.mojom.h:38:55: fatal error: third_party/WebKit/common/blob/blob.mojom.h: No such file or directory
#include "third_party/WebKit/common/blob/blob.mojom.h"
|
Last built version was 64.0.3282.140 which was successful.
Unfortunately I do not understand the chromium build process at all, so all I can say the file is not present, but I have no idea why it could be expected or where it should come from. |
|
| Back to top |
|
 |
k9dog Tux's lil' helper

Joined: 22 Jun 2009 Posts: 103 Location: Denmark
|
Posted: Sun Mar 04, 2018 4:25 pm Post subject: |
|
|
| Any solution yet? Popped up here too. I got a machine that is set up with firefox, but as it is mostly meant for media I thought chromium would be perfect for it. v65 failed so I tried with v64 and got this too. Maybe a use flag |
|
| Back to top |
|
 |
tomtom69 Apprentice

Joined: 09 Nov 2010 Posts: 245 Location: Bavaria
|
Posted: Sun Mar 04, 2018 5:37 pm Post subject: |
|
|
I found this one
https://github.com/NixOS/nixpkgs/issues/35296
and generated a patch file
/etc/portage/patches/www-client/chromium-64.0.3282.167/mojom.patch
with the following content derived from the link above:
| Code: |
-- a/third_party/WebKit/common/BUILD.gn
+++ b/third_party/WebKit/common/BUILD.gn
@@ -154,9 +154,6 @@
":mojo_platform_bindings",
]
- overridden_deps = [ ":mojo_platform_bindings" ]
- component_deps = []
-
overridden_deps_blink = [ ":mojo_platform_bindings" ]
component_deps_blink = [ "//third_party/WebKit/Source/platform" ]
|
At the moment chromium compiles, but it will take >15 hours on my machine to complete... |
|
| Back to top |
|
 |
tomtom69 Apprentice

Joined: 09 Nov 2010 Posts: 245 Location: Bavaria
|
Posted: Mon Mar 05, 2018 6:08 pm Post subject: |
|
|
| Meanwhile chromium completed to compile (after ~15 hours) and runs fine, so I can confirm the patch worked for me. |
|
| Back to top |
|
 |
|