nvi2 icon indicating copy to clipboard operation
nvi2 copied to clipboard

Illumos build: libutil does not exist on Solaris-like platforms, and no references to openpty in Illumos

Open mamccollum opened this issue 1 year ago • 1 comments

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.

mamccollum avatar Dec 12 '24 07:12 mamccollum

You can create a local patch that reverts 2851cfc26c3c3939fe685467cbe4ce7e05f0dbf3

lichray avatar Dec 14 '24 04:12 lichray