nvi2
nvi2 copied to clipboard
Illumos build: libutil does not exist on Solaris-like platforms, and no references to openpty in Illumos
Nvi2 fails to build on Illumos, due to a lack of the openpty function and no libutil.
Admittedly, I am unsure if there is a workaround for this, as the Porting guide in the wiki states that it is a requirement.
A search in the illumos-gate GitHub repo shows no references to openpty at all, save for a few libc tests, and this bug report has been open for 10 years in relation to a lack of openpty(3C) function.
I don't know if this is in the scope of adding a workaround for nvi2, but I feel it is worth documenting here in the event someone else comes across this bug.
You can create a local patch that reverts 2851cfc26c3c3939fe685467cbe4ce7e05f0dbf3