On 21/01/2026 19:39 EET Stuart Henderson via dovecot
<[1][email protected]> wrote:
On 2026/01/21 13:31, Aki Tuomi wrote:
I testbuilt dovecot on openbsd 7.7, and was able to fix some of the
issues. I didn't run into the test-regex problem though. Please see
[2]https://github.com/dovecot/core/compare/f8dcc0ddbf8772f89d4bb3650a95aa98ab3b0907%5E...1c6b67195d279836d94e141215c626c20af93af6.patch
That does help.
You'll see the test-regex problem if you pkg_add pcre2 before building.
Same occurs whether autoconf auto-detects the library path or whether
you set it yourself via LDFLAGS when running configure.
There's also an issue if you pkg_add xapian-core and don't disable
flatcurve; xapian/error.h wants to pull in the C++ <version> header,
but presence of the "version" file in Dovecot's source tree (pulled
in via -I flags) shadows it, resulting in the error below. This is
not seen if you do an out-of-source-tree build.
I did install pcre2 before and saw it being detected by configure. I'll
check the version thing, oddly it does not impact anything on Linux.
Aki
References
Visible links
1. mailto:[email protected]
2.
https://github.com/dovecot/core/compare/f8dcc0ddbf8772f89d4bb3650a95aa98ab3b0907%5E...1c6b67195d279836d94e141215c626c20af93af6.patch
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]