FreeBSD Port: chromium-98.0.4758.102 Error build on 13-stable

From: Alex V. Petrov <alexvpetrov_at_gmail.com>
Date: Mon, 21 Feb 2022 17:05:16 UTC
[ 18% 9276/49322] c++ -MMD -MF 
obj/third_party/modp_b64/modp_b64/modp_b64.o.d -DUSE_AURA=1 -DUSE_GLIB=1 
-DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES 
-D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-14-init-11564-g37fbf238-3\" 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen 
-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 -march=x86-64 -msse3 -Xclang 
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Wextra 
-Wimplicit-fallthrough -Wunreachable-code-aggressive -Wthread-safety 
-Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter 
-Wloop-analysis -Wno-unneeded-internal-declaration 
-Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize 
-Wno-builtin-assume-aligned-alignment -Wshadow -O2 -fdata-sections 
-ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer 
-g0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene 
-Wstring-conversion -Wtautological-overlap-compare -std=c++14 
-fno-trigraphs -Wno-trigraphs -fno-aligned-new -fno-exceptions -fno-rtti 
-fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong -isystem 
/usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c 
../../third_party/modp_b64/modp_b64.cc -o 
obj/third_party/modp_b64/modp_b64/modp_b64.o
[ 18% 9277/49322] rm -f obj/third_party/modp_b64/libmodp_b64.a && 
"/usr/local/bin/ar" -T -r -c -s -D 
obj/third_party/modp_b64/libmodp_b64.a 
@"obj/third_party/modp_b64/libmodp_b64.a.rsp"
[ 18% 9278/49322] cc -MMD -MF obj/third_party/nasm/nasm/assemble.o.d 
-DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 
-DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE 
-DCR_CLANG_REVISION=\"llvmorg-14-init-11564-g37fbf238-3\" -DNDEBUG 
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_CONFIG_H -I../.. 
-Igen -I../../third_party/nasm -I../../third_party/nasm/asm 
-I../../third_party/nasm/disasm -I../../third_party/nasm/include 
-I../../third_party/nasm/output -I../../third_party/nasm/x86 
-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 -march=x86-64 -msse3 -Xclang 
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes -O2 
-fdata-sections -ffunction-sections -fno-unique-section-names 
-fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern 
-fvisibility=hidden -Wheader-hygiene -Wstring-conversion 
-Wtautological-overlap-compare -Wall -Wno-unused-variable 
-Wno-c++11-narrowing -Wno-missing-field-initializers 
-Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration 
-Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize 
-Wno-builtin-assume-aligned-alignment -Wno-unused-function 
-Wno-string-conversion -Wno-macro-redefined -Wno-sign-compare 
-Wno-nonnull -Wno-uninitialized -Wno-unused-but-set-variable -std=c11 -c 
../../third_party/nasm/asm/assemble.c -o 
obj/third_party/nasm/nasm/assemble.o
FAILED: obj/third_party/nasm/nasm/assemble.o
cc -MMD -MF obj/third_party/nasm/nasm/assemble.o.d -DUSE_AURA=1 
-DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
-DNO_UNWIND_TABLES -D_GNU_SOURCE 
-DCR_CLANG_REVISION=\"llvmorg-14-init-11564-g37fbf238-3\" -DNDEBUG 
-DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_CONFIG_H -I../.. 
-Igen -I../../third_party/nasm -I../../third_party/nasm/asm 
-I../../third_party/nasm/disasm -I../../third_party/nasm/include 
-I../../third_party/nasm/output -I../../third_party/nasm/x86 
-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 -march=x86-64 -msse3 -Xclang 
-fdebug-compilation-dir -Xclang . -no-canonical-prefixes -O2 
-fdata-sections -ffunction-sections -fno-unique-section-names 
-fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern 
-fvisibility=hidden -Wheader-hygiene -Wstring-conversion 
-Wtautological-overlap-compare -Wall -Wno-unused-variable 
-Wno-c++11-narrowing -Wno-missing-field-initializers 
-Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration 
-Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize 
-Wno-builtin-assume-aligned-alignment -Wno-unused-function 
-Wno-string-conversion -Wno-macro-redefined -Wno-sign-compare 
-Wno-nonnull -Wno-uninitialized -Wno-unused-but-set-variable -std=c11 -c 
../../third_party/nasm/asm/assemble.c -o 
obj/third_party/nasm/nasm/assemble.o
In file included from ../../third_party/nasm/asm/assemble.c:178:
../../third_party/nasm/include/compiler.h:249:21: error: static 
declaration of 'mempcpy' follows non-static declaration
static inline void *mempcpy(void *dst, const void *src, size_t n)
                     ^
/usr/include/string.h:70:7: note: previous declaration is here
void    *mempcpy(void * __restrict, const void * __restrict, size_t);
          ^
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/chromium
*** Error code 1

Stop.
make: stopped in /usr/ports/www/chromium
-- 
-----
Alex.