I've been bothered a while by an annoying bug in Tribblix - Python applications couldn't open https connections in non-blocking mode. Which hindered access to S3 and Backblaze, for example.
Finally worked it out yesterday. Openssl needed to be built with -D_REENTRANT in order to enable per-thread errno so it catches failures and handles them correctly. That ought to have been the case anyway, but something was dropping it, so I needed to be explicit.
@ptribble I'll need to check that one, you may also need https://github.com/NetBSD/pkgsrc/commit/10cd0fa6440a21386e5033e43481c23363cfbfe9
@jperkin @ptribble yeah, on Solaris & illumos you have to define __EXTENSIONS__ if you define _XOPEN_SOURCE to avoid breaking everything that depends on some function outside what the specified standard included. The change in the 11.4 headers to make the default the latest standard without specifying _XOPEN_SOURCE avoided that pitfall.
@alanc @ptribble I ran a fresh bulk build, and to be fair the results aren't terrible.
Baseline: https://us-central.manta.mnx.io/pkgsrc/public/reports/upstream-trunk/20240623.2249/meta/report.html
So we're down a few hundred packages overall, but there are a few packages that were fixed as a result (mostly older window managers, emulators, and the like).