Not even in a VirtualBox VM? Seems more interesting than I thought...
I hadn't tried... I cannot reproduce when compiling everything by hand
on my machines, but I followed the procedure you outlined and I am
able to reproduce on a Virtualbox VM running the Alpine packages.
The fact that the outcome of s6-rc-compile is random (segfault,
busyloop, success, or even random failure) seems to point to a memory
corruption, but I can reproducibly successfully compile the same source
database on other machines.
Add that the s6-rc failure you reported is caused by s6-ftrigrd getting
a SIGILL, which normally only happens on miscompiled programs, and I'm
starting to look extremely suspiciously at the Alpine packages.
Tomorrow I'll report that to the Alpine devs, and investigate what
could have gone wrong. And I'll have to either pay more attention to
Alpine quality control, or drop maintenance of the Alpine packages,
I lost half a night on this and I can't afford to waste time on f*cking