Re: git: eb0137c80b62 - main - www/{*chromium,iridium}: switch to USES=iconv:wchar_t to fixup library deps

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Thu, 13 Apr 2023 11:52:36 UTC
Turned out that it was caused by samurai.

Some details:
Found 112.0.5615.49 is ready for quarterly on FreshPorts,
so I've changed

 DEFAULT_VERSIONS+=	ninja=samurai

to 

 .if !${.CURDIR:M/usr/ports/www/chromium*}
 DEFAULT_VERSIONS+=	ninja=samurai
 .endif

on /etc/make.conf, which also symlinked
from /usr/local/etc/poudriere.d/make.conf, and built fine.

 *I've configured poudriere to null-mount /usr/ports.

Sorry for the noise. I'll open PR for devel/samurai later.

Thanks again for your work!


On Wed, 12 Apr 2023 07:18:15 +0900
Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wrote:

> Hi. Thanks for your hard work!
> 
> Unfortunately, still failing here as below (JOBS_UNSAFE), regardless
>   *option PULSEAUDIO is on instead of SNDIO, or default
>   *poudriere (jailed) build or pkg_replace (bare metal) build
>   *JOBS_UNSAFE or not.
> 
> Base is at commit 85e32e957fcca01d50e29e543584909795c1acef, amd64,
> which has llvm 15.0.7 merged.
> Othe options are always kept default.
> 
> Note that I use samurai instead of ninja, but it usually works fine.
> (111.* built fine with it.)
> 
> 
> [ 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
> 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"
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  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 !!!
> 
> 
> > The branch main has been updated by rnagy:
> > 
> > URL:
> https://cgit.FreeBSD.org/ports/commit/?id=eb0137c80b62d36627495966580bced84518cfea
> > 
> > commit eb0137c80b62d36627495966580bced84518cfea
> > Author:     Robert Nagy <rnagy@FreeBSD.org>
> > AuthorDate: 2023-04-11 05:30:15 +0000
> > Commit:     Robert Nagy <rnagy@FreeBSD.org>
> > CommitDate: 2023-04-11 05:30:15 +0000
> > 
> >     www/{*chromium,iridium}: switch to USES=iconv:wchar_t to fixup
> library deps
> >     
> >     Approved by:    rene (mentor)
> > ---
> 
>     (snip)
> 
> -- 
> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>