Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2022 13:14:15 -0600
From:      Stephen Montgomery-Smith <montgomerysmithstephen@gmail.com>
To:        Craig Leres <leres@freebsd.org>, "Alex V. Petrov" <alexvpetrov@gmail.com>, chromium@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: chromium-98.0.4758.102 Error build on 13-stable
Message-ID:  <240efd99-514a-3b21-85cf-361e0087aef2@FreeBSD.org>
In-Reply-To: <e0be9b5a-28c9-60a1-74aa-86cc9001149b@freebsd.org>
References:  <f027f938-1b1d-e6c6-2ce4-dec7bc3a3e34@gmail.com> <e0be9b5a-28c9-60a1-74aa-86cc9001149b@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?240efd99-514a-3b21-85cf-361e0087aef2>