[build2] build2 install script errors (arch linux)

Michael Reiland dev at michaelreiland.net
Mon Mar 11 11:23:21 UTC 2024


Thank you for the quick reply, I was able to get the staging scripts installed :)

I'd like to suggest adding this information to the install FAQ page, it definitely would have been helpful for me.

https://build2.org/install-faq.xhtml#linux


On Mon, Mar 11, 2024, at 5:08 AM, Boris Kolpackov wrote:
> Michael Reiland via users <users at build2.org> writes:
>
>> c ../libpkg-config/libpkg-config/c{bsdstubs} -> ../libpkg-config/libpkg-config/obja{bsdstubs}
>> /home/<redacted>/build2-build/build2-toolchain-0.16.0/libpkg-config/libpkg-config/bsdstubs.c:29:1: error: static declaration of 'strlcpy' follows non-static declaration
>> 29 | strlcpy (char* dst, const char* src, size_t siz)
>
> Thanks for the report. This is a known issue:
>
> https://github.com/build2/build2/issues/324
>
> In a nutshell, glibc 2.38 added the str*() function family and
> libpkg-config that we bundle didn't handle that gracefully.
>
> The next version of build2 (0.17.0) that has this fixed is still
> a couple of months out. In the meantime, I suggest that you try
> the latest staged version:
>
> https://build2.org/community.xhtml#stage



More information about the users mailing list