pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Rust amd64 build failure.



* On 2023-04-11 at 21:54 BST, Mike Pumford wrote:

Digging a bit deeper into the failing log I spotted:

thread 'main' panicked at 'unexpected error from isatty: 45', /cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.36.3/src/backend/libc/termios/syscalls.rs:141:20

errno 45 is EOPNOTSUPP (operation not supported)

I hit this on illumos too, 1.67.* bootstrap kits need to be built against a newer rustix. For example see the OmniOS patch here:

  https://github.com/omniosorg/omnios-extra/commit/a2a6a52f9407be9e6bd57a321e4c2c911887d4a0

As 1.67.* was only temporarily available in wip I applied the patch manually during my bootstrap build. The 1.68.2 bootstrap kit I built did not need the same patch as a newer rustix is pulled in already.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index