Master branch "file not found" jumbo build failures on macOS (versions 73.0.3665.0 to 73.0.3683.0)

46 views
Skip to first unread message

Marshall Greenblatt

unread,
Jan 25, 2019, 4:30:48 PM1/25/19
to CEF Announce
Chromium master starting at version 73.0.3665.0 (from January 7th) includes a buggy version of Clang that may result in "file not found" errors [1] when building on macOS with use_jumbo_build=true set via GN_DEFINES. The bug is triggered by the use of precompiled headers in combination with jumbo builds. You can work around the problem by not using jumbo builds (removing use_jumbo_build=true) or by additionally adding enable_precompiled_headers=false to GN_DEFINES. A fix for the issue has been merged to Chromium master today (January 25th) and should be available in Chromium versions newer than 73.0.3683.0. See the above linked Chromium issue for additional details.

[1] Example error:

$ time ninja -C out/Debug_GN_x64 cef

ninja: Entering directory `out/Debug_GN_x64'

[1/854] CXX obj/third_party/blink/renderer/core/dom/dom/dom_jumbo_1.o

FAILED: obj/third_party/blink/renderer/core/dom/dom/dom_jumbo_1.o 

../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/third_party/blink/renderer/core/dom/dom/dom_jumbo_1.o.d -DV8_DEPRECATION_WARNINGS -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -D_LIBCPP_HAS_NO_ALIGNED_ALLOCATION -DCR_XCODE_VERSION=0930 -DCR_CLANG_REVISION=\"349417-2\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -DBLINK_CORE_IMPLEMENTATION=1 -DENABLE_IPC_FUZZER -DWEBP_EXTERN=extern -DUSE_EGL -DV8_ENABLE_CHECKS -DV8_DEPRECATION_WARNINGS -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DSK_BUILD_FOR_MAC -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_MAC -DABSL_ALLOCATOR_NOTHROW=1 -DNO_MAIN_THREAD_WRAPPING -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -DSUPPORT_WEBGL2_COMPUTE_CONTEXT=1 -DUSE_LIBJPEG_TURBO=1 -DV8_ENABLE_CHECKS -DV8_DEPRECATION_WARNINGS -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DLIBXSLT_STATIC -I. -I../.. -Igen -I../../third_party/libwebp/src -I../../third_party/libyuv/include -I../../third_party/khronos -I../../gpu -I../../v8/include -Igen/v8/include -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/boringssl/src/include -I../../third_party/ced/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/docs -I../../third_party/skia/include/effects -I../../third_party/skia/include/encode -I../../third_party/skia/include/gpu -I../../third_party/skia/include/pathops -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/include/codec -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../third_party/skia/modules/skottie/include -I../../third_party/webrtc_overrides -I../../third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/libjpeg_turbo -I../../third_party/iccjpeg -I../../third_party/libpng -I../../third_party/zlib -I../../third_party/ots/include -I../../v8/include -Igen/v8/include -I../../third_party/angle/include -I../../third_party/angle/src/common/third_party/base -Igen/angle -I../../third_party/libxml/src/include -I../../third_party/libxml/mac/include -I../../third_party/libxslt/src -I../../third_party/snappy/src -I../../third_party/snappy/mac -fno-strict-aliasing -fstack-protector-strong -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -fcolor-diagnostics -fmerge-all-constants -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -no-canonical-prefixes -arch x86_64 -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -O0 -fno-omit-frame-pointer -isysroot ../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.9.0 -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -gdwarf-2 -fno-standalone-debug -Wno-shorten-64-to-32 -DLIBXML_STATIC= -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -stdlib=libc++ -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -include obj/third_party/blink/renderer/core/dom/dom/precompile_core.h-cc -c gen/third_party/blink/renderer/core/dom/dom_jumbo_1.cc -o obj/third_party/blink/renderer/core/dom/dom/dom_jumbo_1.o

In file included from gen/third_party/blink/renderer/core/dom/dom_jumbo_1.cc:9:

In file included from ./../../third_party/blink/renderer/core/dom/character_data.cc:34:

In file included from ../../third_party/blink/renderer/core/probe/core_probes.h:117:

gen/third_party/blink/renderer/core/core_probes_inl.h:22:10: fatal error: 'third_party/blink/renderer/core/page/chrome_client.h' file not found

#include "third_party/blink/renderer/core/page/chrome_client.h"

         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

Reply all
Reply to author
Forward
0 new messages