ungoogled-software / ungoogled-chromium-archlinux

Arch Linux packaging for ungoogled-chromium
BSD 3-Clause "New" or "Revised" License
338 stars 37 forks source link

124.0.6367.91-1 Fails to build due to missing header #263

Closed Stephen-Seo closed 4 months ago

Stephen-Seo commented 4 months ago

The error log:

2024-04-30T06:05:05+00:00 [50996/58764] CXX obj/chrome/browser/devtools/devtools/devtools_window.o
2024-04-30T06:05:05+00:00 FAILED: obj/chrome/browser/devtools/devtools/devtools_window.o 
2024-04-30T06:05:05+00:00 clang++ -MD -MF obj/chrome/browser/devtools/devtools/devtools_window.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=80307e66e74bae927fb8709a549859e777e3bf0b -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DBASE_USE_PERFETTO_CLIENT_LIBRARY=1 -DSK_ENABLE_SKSL -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_DISABLE_LEGACY_INIT_DECODERS -DSK_SLUG_DISABLE_LEGACY_DESERIALIZE -DSK_DISABLE_LEGACY_VULKAN_BACKENDSEMAPHORE -DSK_DISABLE_LEGACY_CREATE_CHARACTERIZATION -DSK_DISABLE_LEGACY_VULKAN_MUTABLE_TEXTURE_STATE -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_GANESH -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DSK_GL -DSK_VULKAN=1 -DSK_GRAPHITE -DSK_DAWN -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_WAYLAND_KHR -DLIBYUV_DISABLE_NEON -DLIBYUV_DISABLE_LSX -DLIBYUV_DISABLE_LASX -DUSE_EGL -DTOOLKIT_VIEWS=1 -DON_FOCUS_PING_ENABLED -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_IMPORT=U_EXPORT -DLEVELDB_PLATFORM_CHROMIUM=1 -DI18N_ADDRESS_VALIDATION_DATA_URL=\"https://chromium-i18n.8pp2p8t.qjz9zk/ssl-aggregate-address/\" -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_X11 -DWEBRTC_USE_PIPEWIRE -DWEBRTC_USE_GIO -DLOGGING_INSIDE_WEBRTC -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DV8_COMPRESS_POINTERS -DV8_COMPRESS_POINTERS_IN_SHARED_CAGE -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_ENABLE_SANDBOX -DV8_DEPRECATION_WARNINGS -DV8_USE_PERFETTO -DCPPGC_CAGED_HEAP -DCPPGC_YOUNG_GENERATION -DCPPGC_POINTER_COMPRESSION -DCPPGC_SLIM_WRITE_BARRIER -DATK_LIB_DIR=\"/usr/lib\" -DUSE_ATK_BRIDGE -DENABLE_TRACE_LOGGING -DFLATBUFFERS_LOCALE_INDEPENDENT=0 -I../.. -Igen -I../../buildtools/third_party/libc++ -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../net/third_party/quiche/overrides -I../../net/third_party/quiche/src/quiche/common/platform/default -I../../net/third_party/quiche/src -Igen/shim_headers/brotli_shim -I../../third_party/skia -Igen/third_party/skia -I../../third_party/wuffs/src/release/c -I../../third_party/vulkan/include -I../../third_party/vulkan-deps/vulkan-headers/src/include -I../../third_party/wayland/src/src -I../../third_party/wayland/include/src -Igen/third_party/dawn/include -I../../third_party/dawn/include -Igen/shim_headers/libpng_shim -I../../third_party/libyuv/include -Igen/shim_headers/opus_shim -Igen/shim_headers/dav1d_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/flac_shim -Igen/shim_headers/minizip_shim -Igen/third_party/private_membership/src -Igen/third_party/shell-encryption/src -Igen/components/policy/proto -I../../base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -I../../third_party/ipcz/include -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -Igen/net/third_party/quiche/src -I../../third_party/libaddressinput/src/cpp/include -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/libwebm/source -I../../third_party/mesa_headers -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/libaom/source/libaom -I../../third_party/libaom/source/config/linux/x64 -I../../v8/include -Igen/third_party/metrics_proto -I../../third_party/re2/src -I../../third_party/openscreen/src -Igen/third_party/openscreen/src -I../../third_party/jsoncpp/source/include -I../../third_party/flatbuffers/src/include -I../../third_party/flatbuffers/src/src -I../../third_party/flatbuffers/src -I../../third_party/flatbuffers/generated -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wno-invalid-offsetof -Wno-vla-extension -Wno-thread-safety-reference-return -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -ffp-contract=off -flto=thin -fsplit-lto-unit -fwhole-program-vtables -fcomplete-member-pointers -m64 -msse3 -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-math-errno -fno-omit-frame-pointer -g0 -fsanitize=cfi-vcall -fsanitize-ignorelist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -isystem/usr/include/glib-2.0 -isystem/usr/lib/glib-2.0/include -isystem/usr/include/sysprof-6 -Wno-redundant-parens -Wno-redundant-parens -DPROTOBUF_ALLOW_DEPRECATED=1 -isystem/usr/include/nss -isystem/usr/include/nspr -isystem/usr/include/dbus-1.0 -isystem/usr/lib/dbus-1.0/include -isystem/usr/include/at-spi2-atk/2.0 -isystem/usr/include/atk-1.0 -isystem/usr/include/glib-2.0 -isystem/usr/lib/glib-2.0/include -isystem/usr/include/at-spi-2.0 -isystem/usr/include/libmount -isystem/usr/include/blkid -isystem/usr/include/sysprof-6 -isystem/usr/include/dbus-1.0 -isystem/usr/lib/dbus-1.0/include -Wno-constant-conversion -Wno-shorten-64-to-32 -Wenum-compare-conditional -Wno-c++11-narrowing-const-reference -std=c++20 -Wno-trigraphs -gsimple-template-names -fno-exceptions -fno-rtti -nostdinc++ -isystem../../third_party/libc++/src/include -isystem../../third_party/libc++abi/src/include -fvisibility-inlines-hidden  -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../chrome/browser/devtools/devtools_window.cc -o obj/chrome/browser/devtools/devtools/devtools_window.o
2024-04-30T06:05:05+00:00 In file included from ../../chrome/browser/devtools/devtools_window.cc:30:
2024-04-30T06:05:05+00:00 ../../chrome/browser/file_select_helper.h:16:10: fatal error: 'components/enterprise/buildflags/buildflags.h' file not found
2024-04-30T06:05:05+00:00    16 | #include "components/enterprise/buildflags/buildflags.h"
2024-04-30T06:05:05+00:00       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-04-30T06:05:05+00:00 1 error generated.
2024-04-30T06:05:05+00:00 [50997/58764] CXX obj/chrome/browser/media/router/router/mirroring_activity.o
2024-04-30T06:05:05+00:00 [50998/58764] CXX obj/components/drive/drive/drive_api_service.o
2024-04-30T06:05:05+00:00 [50999/58764] CXX obj/chrome/browser/media/router/router/wired_display_media_route_provider.o
2024-04-30T06:05:05+00:00 [51000/58764] CXX obj/chrome/browser/media/router/router/wired_display_presentation_receiver_factory.o
2024-04-30T06:05:06+00:00 [51001/58764] CXX obj/components/enterprise/enterprise/os_report_generator.o
2024-04-30T06:05:06+00:00 [51002/58764] CXX obj/chrome/browser/media/router/router/cast_media_route_provider.o
2024-04-30T06:05:07+00:00 [51003/58764] CXX obj/chrome/browser/web_applications/extensions/extensions/bookmark_app_util.o
2024-04-30T06:05:07+00:00 [51004/58764] CXX obj/components/enterprise/enterprise/chrome_profile_request_generator.o
2024-04-30T06:05:07+00:00 [51005/58764] CXX obj/chrome/browser/web_applications/extensions/extensions/extensions_manager.o
2024-04-30T06:05:07+00:00 [51006/58764] CXX obj/components/enterprise/enterprise/browser_report_generator.o
2024-04-30T06:05:08+00:00 [51007/58764] CXX obj/components/enterprise/enterprise/real_time_uploader.o
2024-04-30T06:05:08+00:00 [51008/58764] CXX obj/chrome/browser/web_applications/extensions/extensions/web_app_extension_shortcut.o
2024-04-30T06:05:09+00:00 [51009/58764] CXX obj/components/enterprise/enterprise/profile_report_generator.o
2024-04-30T06:05:09+00:00 [51010/58764] CXX obj/components/enterprise/enterprise/policy_info.o
2024-04-30T06:05:09+00:00 [51011/58764] CXX obj/components/enterprise/enterprise/real_time_report_generator.o
2024-04-30T06:05:10+00:00 [51012/58764] CXX obj/components/enterprise/enterprise/real_time_report_controller.o
2024-04-30T06:05:11+00:00 [51013/58764] CXX obj/chrome/browser/web_applications/extensions/extensions/web_app_uninstall_and_replace_job.o
2024-04-30T06:05:11+00:00 ninja: build stopped: subcommand failed.

It appears that .../components/enterprise/buildflags/buildflags.gni exists but for some reason the header isn't generated during the build...

networkException commented 4 months ago

Yes, sorry for the long wait. This has been fixed in the upstream packaging in https://gitlab.archlinux.org/archlinux/packaging/packages/chromium/-/commit/b29375728c7c3162e2d8de54e4290d1ac4f8525a and should as such be fixed with the push just now.