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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 02 Oct 2021 10:29:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257352

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #17 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Tatsuki Makino from comment #16)

devel/electron12 includes an internal chromium build that also
gets the following in my attempted builds based on:

# cd /usr/ports
# ~/fbsd-based-on-what-commit.sh 
branch: main
merge-base: 59611d61d70a85f4418f3f701db1b7baf58560ba
merge-base: CommitDate: 2021-09-29 09:39:17 +0000
59611d61d70a (HEAD -> main) databases/postgresql14-server: fix openssl
dependency
n560161 (--first-parent --count for merge-base)

The examples:

In file included from ../../third_party/nasm/asm/directbl.c:6:
In file included from ../../third_party/nasm/asm/directiv.h:9:
In file included from ../../third_party/nasm/include/perfhash.h:37:
../../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.

and:

In file included from ../../third_party/nasm/asm/error.c:38:
../../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.

and:

In file included from ../../third_party/nasm/asm/directiv.c:38:
../../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.

and:

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.

and:

In file included from ../../third_party/nasm/asm/eval.c:38:
../../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.