[Bug 270876] devel/samurai: Possible insufficiency in compatibility with devel/ninja to build www/chromium 112.*

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 16 13:17:39 BST 2023


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270876

            Bug ID: 270876
           Summary: devel/samurai: Possible insufficiency in compatibility
                    with devel/ninja to build www/chromium 112.*
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: junchoon at dec.sakura.ne.jp
                CC: chromium at FreeBSD.org, kde at FreeBSD.org
                CC: chromium at FreeBSD.org, kde at FreeBSD.org

devel/samurai was compatible enough with devel/ninja in almost all cases,
including for www/chromium 111.* and earlier.

But for www/chromium 112.*, build fails using samurai instead of ninja as
below.

devel/ninja didn't exhibit the error and build finished fine, even if
"ALLOW_MAKE_JOBS=yes" is enabled in /usr/local/etc/poudriere.conf.


  ===== Errors exhibited (Commented out "ALLOW_MAKE_JOBS=yes" in
poudriere.conf) =====

[ 31% 17195/53772] rm -f obj/components/feedback/proto/libproto.a && "ar" -T -r
-c -s -D obj/components/feedback/proto/libproto.a
@"obj/components/feedback/proto/libproto.a.rsp"
[ 31% 17196/53772] python3 ../../tools/protoc_wrapper/protoc_wrapper.py
components/feed/core/proto/v2/keyvalue_store.proto
components/feed/core/proto/v2/packing.proto
components/feed/core/proto/v2/store.proto
components/feed/core/proto/v2/ui.proto
components/feed/core/proto/v2/user_actions_store.proto
components/feed/core/proto/v2/wire/action_diagnostic_info.proto
components/feed/core/proto/v2/wire/action_payload.proto
components/feed/core/proto/v2/wire/action_surface.proto
components/feed/core/proto/v2/wire/capabilities_debug_data.proto
components/feed/core/proto/v2/wire/capability.proto
components/feed/core/proto/v2/wire/chrome_client_info.proto
components/feed/core/proto/v2/wire/chrome_fulfillment_info.proto
components/feed/core/proto/v2/wire/client_info.proto
components/feed/core/proto/v2/wire/client_user_profiles.proto
components/feed/core/proto/v2/wire/consistency_token.proto
components/feed/core/proto/v2/wire/content_id.proto
components/feed/core/proto/v2/wire/content_lifetime.proto
components/feed/core/proto/v2/wire/data_operation.proto
components/feed/core/proto/v2/wire/device.proto
components/feed/core/proto/v2/wire/diagnostic_info.proto
components/feed/core/proto/v2/wire/display_info.proto
components/feed/core/proto/v2/wire/duration.proto
components/feed/core/proto/v2/wire/eventid.proto
components/feed/core/proto/v2/wire/expiration_info.proto
components/feed/core/proto/v2/wire/feature.proto
components/feed/core/proto/v2/wire/feed_action.proto
components/feed/core/proto/v2/wire/feed_entry_point_data.proto
components/feed/core/proto/v2/wire/feed_entry_point_source.proto
components/feed/core/proto/v2/wire/feed_query.proto
components/feed/core/proto/v2/wire/feed_request.proto
components/feed/core/proto/v2/wire/feed_response.proto
components/feed/core/proto/v2/wire/info_card.proto
components/feed/core/proto/v2/wire/next_page_token.proto
components/feed/core/proto/v2/wire/payload_metadata.proto
components/feed/core/proto/v2/wire/reliability_logging_enums.proto
components/feed/core/proto/v2/wire/render_data.proto
components/feed/core/proto/v2/wire/request.proto
components/feed/core/proto/v2/wire/request_schedule.proto
components/feed/core/proto/v2/wire/response.proto
components/feed/core/proto/v2/wire/server_experiment_data.proto
components/feed/core/proto/v2/wire/stream_structure.proto
components/feed/core/proto/v2/wire/there_and_back_again_data.proto
components/feed/core/proto/v2/wire/token.proto
components/feed/core/proto/v2/wire/upload_actions_request.proto
components/feed/core/proto/v2/wire/upload_actions_response.proto
components/feed/core/proto/v2/wire/version.proto
components/feed/core/proto/v2/wire/web_feed_id.proto
components/feed/core/proto/v2/wire/web_feed_identifier_token.proto
components/feed/core/proto/v2/wire/web_feed_matcher.proto
components/feed/core/proto/v2/wire/web_feed_token.proto
components/feed/core/proto/v2/wire/web_feeds.proto
components/feed/core/proto/v2/wire/xsurface_container.proto
components/feed/core/proto/v2/wire/xsurface_content.proto
components/feed/core/proto/v2/xsurface.proto --protoc ./protoc --proto-in-dir
../../ --cc-out-dir gen/ --py-out-dir pyproto/
[ 31% 17197/53772] touch obj/components/feed/core/proto/proto_v2_gen.stamp
[ 31% 17198/53772] c++ -MMD -MF
obj/components/feed/core/proto/proto_v2/xsurface.pb.o.d -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
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGOOGLE_PROTOBUF_NO_RTTI
-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -I../.. -Igen
-I../../third_party/protobuf/src -Igen/protoc_out -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
-Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow
-fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics
-fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir -Xclang .
-no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0
-fprofile-use=../../chrome/build/pgo_profiles/chrome-linux-5615-1679995307-0baae343d55c36a01b20eb4c600fca3ba7e0825e.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++20
-Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-march=haswell -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include  -c
gen/components/feed/core/proto/v2/xsurface.pb.cc -o
obj/components/feed/core/proto/proto_v2/xsurface.pb.o
[ 31% 17199/53772] c++ -MMD -MF
obj/components/feed/core/proto/proto_v2/xsurface_content.pb.o.d -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
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGOOGLE_PROTOBUF_NO_RTTI
-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -I../.. -Igen
-I../../third_party/protobuf/src -Igen/protoc_out -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
-Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow
-fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics
-fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir -Xclang .
-no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0
-fprofile-use=../../chrome/build/pgo_profiles/chrome-linux-5615-1679995307-0baae343d55c36a01b20eb4c600fca3ba7e0825e.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++20
-Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-march=haswell -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include  -c
gen/components/feed/core/proto/v2/wire/xsurface_content.pb.cc -o
obj/components/feed/core/proto/proto_v2/xsurface_content.pb.o
[ 31% 17200/53772] c++ -MMD -MF
obj/components/feed/core/proto/proto_v2/xsurface_container.pb.o.d -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
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGOOGLE_PROTOBUF_NO_RTTI
-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -I../.. -Igen
-I../../third_party/protobuf/src -Igen/protoc_out -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
-Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow
-fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics
-fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir -Xclang .
-no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0
-fprofile-use=../../chrome/build/pgo_profiles/chrome-linux-5615-1679995307-0baae343d55c36a01b20eb4c600fca3ba7e0825e.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++20
-Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-march=haswell -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include  -c
gen/components/feed/core/proto/v2/wire/xsurface_container.pb.cc -o
obj/components/feed/core/proto/proto_v2/xsurface_container.pb.o
[ 31% 17201/53772] c++ -MMD -MF
obj/components/feed/core/proto/proto_v2/web_feeds.pb.o.d -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
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGOOGLE_PROTOBUF_NO_RTTI
-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -I../.. -Igen
-I../../third_party/protobuf/src -Igen/protoc_out -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
-Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow
-fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics
-fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir -Xclang .
-no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0
-fprofile-use=../../chrome/build/pgo_profiles/chrome-linux-5615-1679995307-0baae343d55c36a01b20eb4c600fca3ba7e0825e.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++20
-Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-march=haswell -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include  -c
gen/components/feed/core/proto/v2/wire/web_feeds.pb.cc -o
obj/components/feed/core/proto/proto_v2/web_feeds.pb.o
samu: job failed: c++ -MMD -MF
obj/components/feed/core/proto/proto_v2/web_feeds.pb.o.d -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
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGOOGLE_PROTOBUF_NO_RTTI
-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -I../.. -Igen
-I../../third_party/protobuf/src -Igen/protoc_out -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
-Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow
-fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics
-fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir -Xclang .
-no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0
-fprofile-use=../../chrome/build/pgo_profiles/chrome-linux-5615-1679995307-0baae343d55c36a01b20eb4c600fca3ba7e0825e.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++20
-Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-march=haswell -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include  -c
gen/components/feed/core/proto/v2/wire/web_feeds.pb.cc -o
obj/components/feed/core/proto/proto_v2/web_feeds.pb.o
samu: job failed: c++ -MMD -MF
obj/components/feed/core/proto/proto_v2/web_feeds.pb.o.d -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
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGOOGLE_PROTOBUF_NO_RTTI
-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
-DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -I../.. -Igen
-I../../third_party/protobuf/src -Igen/protoc_out -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
-Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wshadow
-fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing
--param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables
-fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics
-fmerge-all-constants -m64 -msse3 -Xclang -fdebug-compilation-dir -Xclang .
-no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0
-fprofile-use=../../chrome/build/pgo_profiles/chrome-linux-5615-1679995307-0baae343d55c36a01b20eb4c600fca3ba7e0825e.profdata
-Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date
-Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare -DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++20
-Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe
-march=haswell -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include  -c
gen/components/feed/core/proto/v2/wire/web_feeds.pb.cc -o
obj/components/feed/core/proto/proto_v2/web_feeds.pb.o
In file included from gen/components/feed/core/proto/v2/wire/web_feeds.pb.cc:4:
In file included from gen/components/feed/core/proto/v2/wire/web_feeds.pb.h:34:
In file included from gen/components/feed/core/proto/v2/wire/response.pb.h:32:
gen/components/feed/core/proto/v2/wire/feed_response.pb.h:32:10: fatal error:
'components/feed/core/proto/v2/wire/chrome_feed_response_metadata.pb.h' file
not found
#include
"components/feed/core/proto/v2/wire/chrome_feed_response_metadata.pb.h"
gen/components/feed/core/proto/v2/wire/feed_response.pb.h:32:10: fatal error:
'components/feed/core/proto/v2/wire/chrome_feed_response_metadata.pb.h' file
not found
#include
"components/feed/core/proto/v2/wire/chrome_feed_response_metadata.pb.h"
        
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
samu: subcommand failed
*** Error code 1

Stop.
make: stopped in /usr/ports/www/chromium
=>> Cleaning up wrkdir
===>  Cleaning for chromium-112.0.5615.49_1
build of www/chromium | chromium-112.0.5615.49_1 ended at Wed Apr 12 02:46:45
JST 2023
build time: 04:21:19
!!! build failure encountered !!!

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-freebsd mailing list