[Bug 257352] www/chromium: Fails to build after mempcpy (3) is added into base libc

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 Jul 2021 12:40:06 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257352

            Bug ID: 257352
           Summary: www/chromium: Fails to build after mempcpy (3) is
                    added into base libc
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium_at_FreeBSD.org
          Reporter: junchoon_at_dec.sakura.ne.jp
             Flags: maintainer-feedback?(chromium_at_FreeBSD.org)
          Assignee: chromium_at_FreeBSD.org

www/chromium started failing to build after commit
  main: git: ee37f64cf875
  stable/13: git: dba677d13b26
with errors like below.

samu: job failed: cc -MMD -MF obj/third_party/nasm/nasm/regvals.o.d
-DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1
-DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE
-DCR_CLANG_REVISION=\"llvmorg-13-init-6429-g0e92cbd6-2\" -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 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64
-march=x86-64 -msse3 -Xclang -fdebug-compilation-dir -Xclang .
-no-canonical-prefixes -O2 -fdata-sections -ffunction-sections
-fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene
-Wstring-conversion -Wtautological-overlap-compare -Wall -Wno-unused-variable
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing
-Wno-unneeded-internal-declaration -Wno-undefined-var-template
-Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion
-Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment
-Wno-deprecated-copy -Wno-thread-safety-analysis -Wno-thread-safety-attributes
-Wno-unused-function -Wno-string-conversion -Wno-macro-redefined
-Wno-sign-compare -Wno-nonnull -Wno-uninitialized -std=c11 -c
../../third_party/nasm/x86/regvals.c -o obj/third_party/nasm/nasm/regvals.o
In file included from ../../third_party/nasm/x86/regvals.c:3:
In file included from ../../third_party/nasm/include/tables.h:43:
../../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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Fri Jul 23 2021 - 12:40:06 UTC

Original text of this message