* Applying chromium-shim_headers.patch ... [ ok ] * Applying chromium-cross-compile.patch ... [ ok ] Create temporary directory. Generate config files. Remove temporary directory. Lint libvpx configuration. Create temporary directory. Generate source/config/linux/ia32/*_rtcd.h files. ./generate_gni.sh: line 258: clang-format: command not found * ERROR: www-client/chromium-99.0.4844.17::gentoo failed (prepare phase): * (no error message) $ sudo emerge -pqv '=www-client/chromium-99.0.4844.17::gentoo' [ebuild N ] www-client/chromium-99.0.4844.17 USE="cups hangouts js-type-check official (pic) proprietary-codecs pulseaudio suid system-harfbuzz system-icu system-png wayland (-component-build) -custom-cflags -debug -gtk4 (-headless) -kerberos -libcxx -screencast (-selinux) (-system-ffmpeg) -vaapi (-widevine)" L10N="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk vi zh-CN zh-TW" $ gcc-config -l [1] powerpc64le-unknown-linux-gnu-11.2.0 * Reproducible: Always
Created attachment 764469 [details] emerge --info
Created attachment 764470 [details] build.log
Created attachment 764471 [details] environment
I'm pretty sure this is not a ppc64 problem but rather an ebuild deps problem: I just emerged firefox and now it seems to be compiling (didn't finish yet thought). These are the packages installed by firefox: >>> Emerging (1 of 16) app-arch/zip-3.0-r4::gentoo >>> Emerging (2 of 16) sys-devel/clang-common-13.0.0::gentoo >>> Emerging (3 of 16) media-libs/xvid-1.3.7::gentoo >>> Emerging (4 of 16) dev-libs/nss-3.75::gentoo >>> Installing (1 of 16) app-arch/zip-3.0-r4::gentoo >>> Installing (2 of 16) sys-devel/clang-common-13.0.0::gentoo >>> Installing (3 of 16) media-libs/xvid-1.3.7::gentoo >>> Installing (4 of 16) dev-libs/nss-3.75::gentoo >>> Emerging (5 of 16) sys-devel/clang-13.0.0::gentoo >>> Emerging (6 of 16) media-libs/libvpx-1.9.0::gentoo >>> Emerging (7 of 16) sys-libs/libomp-13.0.0-r2::gentoo >>> Emerging (8 of 16) dev-libs/libevent-2.1.12::gentoo >>> Emerging (9 of 16) media-sound/lame-3.100-r3::gentoo >>> Emerging (10 of 16) media-libs/dav1d-0.9.1::gentoo >>> Emerging (11 of 16) dev-util/cbindgen-0.20.0::gentoo >>> Installing (6 of 16) media-libs/libvpx-1.9.0::gentoo >>> Installing (10 of 16) media-libs/dav1d-0.9.1::gentoo >>> Installing (8 of 16) dev-libs/libevent-2.1.12::gentoo >>> Installing (7 of 16) sys-libs/libomp-13.0.0-r2::gentoo >>> Installing (9 of 16) media-sound/lame-3.100-r3::gentoo >>> Emerging (12 of 16) media-video/ffmpeg-4.4.1-r1::gentoo >>> Installing (11 of 16) dev-util/cbindgen-0.20.0::gentoo >>> Installing (12 of 16) media-video/ffmpeg-4.4.1-r1::gentoo >>> Installing (5 of 16) sys-devel/clang-13.0.0::gentoo >>> Emerging (13 of 16) sys-libs/compiler-rt-13.0.0::gentoo >>> Installing (13 of 16) sys-libs/compiler-rt-13.0.0::gentoo >>> Emerging (14 of 16) sys-libs/compiler-rt-sanitizers-13.0.0::gentoo >>> Installing (14 of 16) sys-libs/compiler-rt-sanitizers-13.0.0::gentoo >>> Emerging (15 of 16) sys-devel/clang-runtime-13.0.0::gentoo >>> Installing (15 of 16) sys-devel/clang-runtime-13.0.0::gentoo >>> Emerging (16 of 16) www-client/firefox-96.0.3::gentoo >>> Installing (16 of 16) www-client/firefox-96.0.3::gentoo
Yes, we need to bypass clang-format from the build script. Since you seem interested in Chromium on ppc64le, would you like to maintain the patchset?
Unfortunately the compilation didn't end up well: [2330/24969] powerpc64le-unknown-linux-gnu-g++ -MMD -MF obj/third_party/breakpad/client/thread_info.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/breakpad -I../../third_party/breakpad/breakpad/src -I../../third_party/breakpad/breakpad/src/client -I../../third_party/breakpad/breakpad/src/third_party/linux/include -I../.. -Igen -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -fno-omit-frame-pointer -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu++17 -fno-aligned-new -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-narrowing -Wno-class-memaccess -O2 -pipe -mcpu=power9 -mtune=power9 -c ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc -o obj/third_party/breakpad/client/thread_info.o FAILED: obj/third_party/breakpad/client/thread_info.o powerpc64le-unknown-linux-gnu-g++ -MMD -MF obj/third_party/breakpad/client/thread_info.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/breakpad -I../../third_party/breakpad/breakpad/src -I../../third_party/breakpad/breakpad/src/client -I../../third_party/breakpad/breakpad/src/third_party/linux/include -I../.. -Igen -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -fno-omit-frame-pointer -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu++17 -fno-aligned-new -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-narrowing -Wno-class-memaccess -O2 -pipe -mcpu=power9 -mtune=power9 -c ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc -o obj/third_party/breakpad/client/thread_info.o In file included from ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h:36, from ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc:30: ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h:48:2: error: #error "This code has not been ported to your platform yet." 48 | #error "This code has not been ported to your platform yet." | ^~~~~ In file included from ../../third_party/breakpad/breakpad/src/common/memory_allocator.h:50, from ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h:37, from ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc:30: ../../third_party/lss/linux_syscall_support.h: In function ‘void* sys__mmap2(void*, size_t, int, int, int, off_t)’: ../../third_party/lss/linux_syscall_support.h:4254:25: error: ‘__NR_mmap2’ was not declared in this scope 4254 | #define __NR__mmap2 __NR_mmap2 | ^~~~~~~~~~ ../../third_party/lss/linux_syscall_support.h:3110:18: note: in expansion of macro ‘__NR__mmap2’ 3110 | __sc_0 = __NR_##name | ^~~~~ ../../third_party/lss/linux_syscall_support.h:3113:13: note: in expansion of macro ‘LSS_LOADARGS_0’ 3113 | LSS_LOADARGS_0(name); \ | ^~~~~~~~~~~~~~ ../../third_party/lss/linux_syscall_support.h:3117:13: note: in expansion of macro ‘LSS_LOADARGS_1’ 3117 | LSS_LOADARGS_1(name, arg1); \ | ^~~~~~~~~~~~~~ ../../third_party/lss/linux_syscall_support.h:3121:13: note: in expansion of macro ‘LSS_LOADARGS_2’ 3121 | LSS_LOADARGS_2(name, arg1, arg2); \ | ^~~~~~~~~~~~~~ ../../third_party/lss/linux_syscall_support.h:3125:13: note: in expansion of macro ‘LSS_LOADARGS_3’ 3125 | LSS_LOADARGS_3(name, arg1, arg2, arg3); \ | ^~~~~~~~~~~~~~ ../../third_party/lss/linux_syscall_support.h:3129:13: note: in expansion of macro ‘LSS_LOADARGS_4’ 3129 | LSS_LOADARGS_4(name, arg1, arg2, arg3, arg4); \ | ^~~~~~~~~~~~~~ ../../third_party/lss/linux_syscall_support.h:3133:13: note: in expansion of macro ‘LSS_LOADARGS_5’ 3133 | LSS_LOADARGS_5(name, arg1, arg2, arg3, arg4, arg5); \ | ^~~~~~~~~~~~~~ ../../third_party/lss/linux_syscall_support.h:3161:13: note: in expansion of macro ‘LSS_LOADARGS_6’ 3161 | LSS_LOADARGS_##nr(name, args); \ | ^~~~~~~~~~~~~ ../../third_party/lss/linux_syscall_support.h:3214:11: note: in expansion of macro ‘LSS_BODY’ 3214 | LSS_BODY(6, type, name, arg1, arg2, arg3, arg4, arg5, arg6); \ | ^~~~~~~~ ../../third_party/lss/linux_syscall_support.h:4255:16: note: in expansion of macro ‘_syscall6’ 4255 | LSS_INLINE _syscall6(void*, _mmap2, void*, s, | ^~~~~~~~~ In file included from ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc:30: ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h: At global scope: ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.h:80:23: error: ‘RawContextCPU’ has not been declared 80 | void FillCPUContext(RawContextCPU* out) const; | ^~~~~~~~~~~~~ ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc: In member function ‘void google_breakpad::ThreadInfo::GetGeneralPurposeRegisters(void**, size_t*)’: ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc:284:21: error: expected primary-expression before ‘;’ token 284 | *gp_regs = ®s; | ^ ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc:286:13: error: invalid application of ‘sizeof’ to incomplete type ‘regs’ 286 | *size = sizeof(regs); | ^~~~~~~~~~~~ ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc: In member function ‘void google_breakpad::ThreadInfo::GetFloatingPointRegisters(void**, size_t*)’: ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc:299:17: error: ‘fpregs’ was not declared in this scope; did you mean ‘fp_regs’? 299 | *fp_regs = &fpregs; | ^~~~~~ | fp_regs ../../third_party/breakpad/breakpad/src/client/linux/dump_writer_common/thread_info.cc:301:20: error: ‘fpregs’ was not declared in this scope; did you mean ‘fp_regs’? 301 | *size = sizeof(fpregs); | ^~~~~~ | fp_regs [2331/24969] python3.9 ../../third_party/blink/renderer/build/scripts/run_with_pythonpath.py -I ../../third_party/blink/renderer/build/scripts -I ../../third_party -I ../../tools ../../third_party/blink/renderer/build/scripts/make_names.py ../../third_party/blink/renderer/platform/fonts/font_family_names.json5 --output_dir gen/third_party/blink/renderer/platform [2332/24969] python3.9 ../../third_party/blink/renderer/build/scripts/run_with_pythonpath.py -I ../../third_party/blink/renderer/build/scripts -I ../../third_party -I ../../tools ../../third_party/blink/renderer/build/scripts/core/css/make_css_value_id_mappings.py ../../third_party/blink/renderer/core/css/css_properties.json5 ../../third_party/blink/renderer/core/css/computed_style_field_aliases.json5 ../../third_party/blink/renderer/platform/runtime_enabled_features.json5 ../../third_party/blink/renderer/core/css/css_value_keywords.json5 --output_dir gen/third_party/blink/renderer/core/css --gperf gperf [2333/24969] powerpc64le-unknown-linux-gnu-gcc -MMD -MF obj/third_party/boringssl/boringssl/bcm.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBORINGSSL_IMPLEMENTATION -DBORINGSSL_ALLOW_CXX_RUNTIME -DBORINGSSL_NO_STATIC_INITIALIZER -DOPENSSL_SMALL -DOPENSSL_NO_ASM -I../.. -Igen -I../../third_party/boringssl/src/include -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -fno-omit-frame-pointer -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu11 -O2 -pipe -mcpu=power9 -mtune=power9 -c ../../third_party/boringssl/src/crypto/fipsmodule/bcm.c -o obj/third_party/boringssl/boringssl/bcm.o [2334/24969] python3.9 ../../third_party/blink/renderer/bindings/scripts/build_web_idl_database.py --output gen/third_party/blink/renderer/bindings/web_idl_database.pickle --runtime_enabled_features ../../third_party/blink/renderer/platform/runtime_enabled_features.json5 -- gen/third_party/blink/renderer/bindings/web_idl_in_core.pickle gen/third_party/blink/renderer/bindings/web_idl_in_core_for_testing.pickle gen/third_party/blink/renderer/bindings/web_idl_in_modules.pickle gen/third_party/blink/renderer/bindings/web_idl_in_modules_for_testing.pickle ninja: build stopped: subcommand failed. * ERROR: www-client/chromium-99.0.4844.17::gentoo failed (compile phase): * ninja -v -j8 -l0 -C out/Release v8_context_snapshot_generator failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 4303: Called eninja '-C' 'out/Release' 'v8_context_snapshot_generator' * environment, line 2191: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=www-client/chromium-99.0.4844.17::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/chromium-99.0.4844.17::gentoo'`. * * MemTotal: 66509632 kB * SwapTotal: 0 kB P.S. I've answered to your question in the other thread.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57ccc66edf9f89a2947ac4c46c9112644a6efa52 commit 57ccc66edf9f89a2947ac4c46c9112644a6efa52 Author: Stephan Hartmann <sultan@gentoo.org> AuthorDate: 2022-02-16 14:42:50 +0000 Commit: Stephan Hartmann <sultan@gentoo.org> CommitDate: 2022-02-16 14:43:28 +0000 www-client/chromium: fix vpx header generation on ppc64 Closes: https://bugs.gentoo.org/832803 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Stephan Hartmann <sultan@gentoo.org> www-client/chromium/chromium-100.0.4878.0.ebuild | 3 +++ www-client/chromium/chromium-98.0.4758.102.ebuild | 3 +++ www-client/chromium/chromium-98.0.4758.80.ebuild | 3 +++ www-client/chromium/chromium-99.0.4844.27.ebuild | 3 +++ 4 files changed, 12 insertions(+)