Re: FreeBSD Port: chromium-98.0.4758.102 Error build on 13-stable
Date: Mon, 21 Feb 2022 19:14:15 UTC
On 2/21/22 12:17, Craig Leres wrote: > > On 2/21/22 09:05, Alex V. Petrov wrote: >> 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 > > The build for this version also fails for me on 12.3-RELEASE-p2. > An easy bandaid fix is to delete lines 248 through 254 in ${WRKSRC}/third_party/nasm/include/compiler.h