[build2] build2 install script errors (arch linux)

Boris Kolpackov boris at codesynthesis.com
Mon Mar 11 10:08:27 UTC 2024


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