I've recently been trying to compile s6 and family on OpenBSD and I indirectly
came across a bug (if that's the correct term here) in skalibs. skalibs compiles
and installs without issue. However, when I compile s6, one of the programs
to link (I didn't pay attention to which one), with the linker complaining
an undefined reference to arc4random_addrandom().
Long story short, after searching through the skalibs source, OpenBSD's manpages
and OpenBSD's CVS, I found that OpenBSD removed the arc4random_addrandom() and
arc4random_stir() functions in 2013.
I tried commenting out the body of random_init() in librandom (where the
invocation of arc4random_addrandom() occurs) and recompiling skalibs, after
s6 would link correctly. s6 appears to be working properly with this change to
skalibs, but I don't know how it could be impacting the internals of s6 and