pkgsrc-Users archive

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

Re: Rust amd64 build failure.



> Seen on fresh chroot build environment for 9.3-STABLE amd64.
>
> In case its relevent the actual build host is a 10-BETA system using
> libkver to fake the 9.3 stable environment.
>
>
> ===> Building for rust-1.68.2
> pre-installed rustc not detected: [Errno 2] No such file or directory:
> 'rustc'
> falling back to auto-detect
> Building rustbuild
> running: /comp/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo
> build --manifest-path
> /comp/obj/pkgsrc/lang/rust/work/rustc-1.68.2-src/src/bootstrap/Cargo.toml
> --frozen
> 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
> note: run with `RUST_BACKTRACE=1` environment variable to display a
> backtrace

Well, what can I say, it builds for me -- this is natively on
NetBSD/amd64 9.3.  My build log doesn't contain the
"pre-installed rustc not detected" message -- it starts the build
proper with:

===> Building for rust-1.68.2
detected default triple x86_64-unknown-netbsd from pre-installed rustc
Building rustbuild
running: /usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /usr/pkgsrc/lang/rust/work/rustc-1.68.2-src/src/bootstrap/Cargo.toml --frozen
   Compiling libc v0.2.137
   Compiling memchr v2.5.0
   Compiling proc-macro2 v1.0.46
   Compiling cfg-if v1.0.0
   Compiling typenum v1.15.0
   Compiling unicode-ident v1.0.0
...

and ends with

===> Building binary package for rust-1.68.2
=> Creating binary package /usr/sandbox/mnt/packages/All/rust-1.68.2.tgz
===> Replacing for rust-1.68.2
=> Becoming ``root'' to make su-replace (/usr/bin/su)
===> Updating using binary package of rust-1.68.2
/usr/bin/env  /usr/pkg/sbin/pkg_add -K /usr/pkg/pkgdb -U -D /usr/pkgsrc/lang/rust/work/.packages/rust-1.68.2.tgz
=> Dropping ``root'' privileges.
12044.508u 363.120s 1:01:01.59 338.8%   14+161k 2390+136686io 431499pf+0w

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index