This is, unfortunately, a known bug.The generic fix is gn clean followed by a fresh build (and crossing your fingers), explicitly building the missing file (ninja -C out/Debug gen/services/network/public/mojom/cors.mojom-shared.h), or perhaps building with -k 0 so that the step that generates the file will eventually be created, and the next build will succeed.This is tracked by crbug.com/655123.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/da46fe50-ffcf-45db-9105-c6e609c9b868%40chromium.org.--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
On Thu, Jun 7, 2018 at 4:53 PM, <bruce...@chromium.org> wrote:This is, unfortunately, a known bug.The generic fix is gn clean followed by a fresh build (and crossing your fingers), explicitly building the missing file (ninja -C out/Debug gen/services/network/public/mojom/cors.mojom-shared.h), or perhaps building with -k 0 so that the step that generates the file will eventually be created, and the next build will succeed.This is tracked by crbug.com/655123.That bug is "we don't have an automated way to find missing deps".The issue at hand is "a specific dep is missing".I think those are separate bugs. If the cors.mojom-shared.h issue still happens, it deserves its own bug that someone needs to fix. (Like https://crbug.com/816984 https://crbug.com/522336 etc)
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMGbLiHNiHJJ%3D_Lg7NDmCkphs9E%3D7g7DAEKZoRGmegNvWQGFhA%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "Chromium-dev" group.
To unsubscribe from this topic, visit
https://groups.google.com/a/chromium.org/d/topic/chromium-dev/HnrU_h7MHQA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
chromium-dev...@chromium.org.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMGE5NFde8pU31SiCihOVUEaDYe2vsk1ERR-maEyGu64jdyhPA%40mail.gmail.com.
The complains of src2/out/Debug:
In file included from ../../services/network/public/cpp/network_ipc_param_traits.h:28:
../../services/network/public/cpp/resource_request.h:18:10: fatal error: 'services/network/public/mojom/cors.mojom-shared.h' file not found
#include "services/network/public/mojom/cors.mojom-shared.h"
Regards,
The complains of src2/out/Debug:
In file included from ../../services/network/public/cpp/network_ipc_param_traits.h:28:
../../services/network/public/cpp/resource_request.h:18:10: fatal error: 'services/network/public/mojom/cors.mojom-shared.h' file not found
#include "services/network/public/mojom/cors.mojom-shared.h"
Aha, it’s lucky that Ubuntu bash shell keeps such a long historyJ
gen/services/network/public/mojom/websocket.mojom.cc:32:
Src2$ ninja -C out/Debug chrome
ninja: Entering directory `out/Debug'
[20/19837] CXX obj/services/network/public/mojom/websocket_mojom/websocket.mojom.o
FAILED: obj/services/network/public/mojom/websocket_mojom/websocket.mojom.o
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/services/network/public/mojom/websocket_mojom/websocket.mojom.o.d -DBLINK_PLATFORM_IMPLEMENTATION=1 -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DCR_CLANG_REVISION=\"332838-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -DCR_LIBCXX_REVISION=332543 -DCR_LIBCXXABI_REVISION=331450 -DCR_SYSROOT_HASH=4e7db513b0faeea8fb410f70c9909e8736f5c0ab -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_GLIBCXX_DEBUG=1 -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 -DPROTOBUF_USE_DLLS -DBORINGSSL_SHARED_LIBRARY -I../.. -Igen -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/boringssl/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 -B../../third_party/binutils/Linux_x64/Release/bin -pthread -fcolor-diagnostics -fmerge-all-constants -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -no-canonical-prefixes -m64 -march=x86-64 -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-address-of-packed-member -Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-ignored-pragma-optimize -O0 -fno-omit-frame-pointer -g2 -gsplit-dwarf -ggnu-pubnames -fvisibility=hidden -Xclang -load -Xclang ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang enforce-in-thirdparty-webkit -Xclang -plugin-arg-find-bad-constructs -Xclang check-enum-max-value -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/glib-2.0 -isystem../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wno-header-guard -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/nss -isystem../../build/linux/debian_sid_amd64-sysroot/usr/include/nspr -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=gnu++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../build/linux/debian_sid_amd64-sysroot -fvisibility-inlines-hidden -c gen/services/network/public/mojom/websocket.mojom.cc -o obj/services/network/public/mojom/websocket_mojom/websocket.mojom.o
In file included from gen/services/network/public/mojom/websocket.mojom.cc:32:
In file included from ../../services/network/public/cpp/network_ipc_param_traits.h:28:
../../services/network/public/cpp/resource_request.h:19:10: fatal error: 'services/network/public/mojom/fetch_api.mojom-shared.h' file not found
#include "services/network/public/mojom/fetch_api.mojom-shared.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[29/19837] CXX obj/services/preferences/public/cpp/cpp/persistent_pref_store_client.o
ninja: build stopped: subcommand failed.
Regards,