[build2] Build error on openbsd 7.1

Boris Kolpackov boris at codesynthesis.com
Fri May 13 08:37:33 UTC 2022

Dirty Dawn via users <users at build2.org> writes:

> I'm build2 user on linux and i'm looking for switch to openbsd.
> Is openbsd supported?

Not officially, but we would like to support it. Specifically,
while we don't have a CI VM for OpenBSD yet, we do try to cover
it when dealing with any BSD peculiarities.

So if you would like to help (by testing, providing OpenBSD
expertise, etc), that would be great. In particular, we could
use help in setting up a CI VM.

> When i try to build build2 i get the following error.
> /home/kalte/build/build2/build2-toolchain-0.14.0/libpkgconf/libpkgconf/bsdstubs.c:34:1: error: static declaration of 'strlcpy' follows non-static declaration
> strlcpy(char *dst, const char *src, size_t siz)

I've fixed this and if you would like you can try it via
the latest staged version of the toolchain:


But I must warn you, there will likely be other issues.
Which we would be happy to try to fix if you have the

More information about the users mailing list