Building Chromium headless fails

27 views
Skip to first unread message

Paul Sery

unread,
Mar 27, 2024, 9:14:46 AMMar 27
to headless-dev
I've tried building a headless_shell on an Ubuntu 22.04 system several times using instructions https://chromium.googlesource.com/chromium/src/+/90d4ea3d/headless/README.md

It fails every time with  with the following message:

ninja -C out/Debug headless_shell
ninja: Entering directory `out/Debug'
[138/15591] ACTION //third_party/blink/renderer/platform:character_data(//build/toolchain/linux:clang_x64)
FAILED: gen/third_party/blink/renderer/platform/character_property_data.cc gen/third_party/blink/renderer/platform/text/break_iterator_data_inline_header.h
python3 ../../build/gn_run_binary.py character_data_generator gen/third_party/blink/renderer/platform/character_property_data.cc gen/third_party/blink/renderer/platform/text/break_iterator_data_inline_header.h
[0327/070905.061296:FATAL:character_property_data_generator.cc(48)] Check failed: data_ifstream.is_open().
#0 0x7f589cf7f4bc base::debug::CollectStackTrace() [../../base/debug/stack_trace_posix.cc:1039:7]
#1 0x7f589cf31645 base::debug::StackTrace::StackTrace() [../../base/debug/stack_trace.cc:229:20]
#2 0x7f589cf315d5 base::debug::StackTrace::StackTrace() [../../base/debug/stack_trace.cc:224:28]
#3 0x7f589cc4a326 logging::LogMessage::Flush() [../../base/logging.cc:703:29]
#4 0x7f589cc4a257 logging::LogMessage::~LogMessage() [../../base/logging.cc:694:3]
#5 0x7f589cbf1279 logging::(anonymous namespace)::CheckLogMessage::~CheckLogMessage() [../../base/check.cc:185:3]
#6 0x7f589cbf1299 logging::(anonymous namespace)::CheckLogMessage::~CheckLogMessage() [../../base/check.cc:180:31]
#7 0x7f589cbf23ac std::__Cr::default_delete<>::operator()() [../../third_party/libc++/src/include/__memory/unique_ptr.h:67:5]
#8 0x7f589cbf190a std::__Cr::unique_ptr<>::reset() [../../third_party/libc++/src/include/__memory/unique_ptr.h:278:7]
#9 0x7f589cbf0eed logging::CheckError::~CheckError() [../../base/check.cc:349:16]
#10 0x59b931f542c6 blink::(anonymous namespace)::InitializeIcu()
#11 0x59b931f54102 main
#12 0x7f589ae29d90 <unknown>
#13 0x7f589ae29e40 __libc_start_main
#14 0x59b931f5401a _start

character_data_generator failed with exit code -5
[147/15591] RUST obj/third_party/rust/read_fonts/v0_15/lib/libread_fonts_lib.rlib
ninja: build stopped: subcommand failed.

Any suggestions?

Thanks,
Paul


Peter Kvitek

unread,
Mar 27, 2024, 1:29:48 PMMar 27
to Paul Sery, headless-dev
https://crrev.com/c/5401294 fixes this.

/Peter


--
You received this message because you are subscribed to the Google Groups "headless-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to headless-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/headless-dev/fd4106d4-7c9e-4897-a0bc-7ed2c90748a3n%40chromium.org.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages