Current-Users archive

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

Re: lang/rust build fails

On Thu, 14 May 2020 at 19:09, Robert Nestor <> wrote:
> Ran into an interesting problem trying to build lang/rust from both -current and 2020Q1 pkgsrc.  On a NetBSD installation of 9.99.45 kernel and user land, the builds succeed.  Under 9.99.60 kernel and user land the builds fail.

# ls -l /usr/pkg/bin/rustc
-rwxr-xr-x  1 root  wheel  13728 May  7 16:08 /usr/pkg/bin/rustc
# file /usr/pkg/bin/rustc
/usr/pkg/bin/rustc: ELF 64-bit LSB shared object, x86-64, version 1
(SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for
SD 9.99.60, not stripped
# rustc --version
rustc 1.42.0

So I've built it a week ago under 9.99.60.

> The failure doesn’t give much of a clue about what’s happened.  The last lines in the build.log are:
> running: /pkg_comp/work/pkg/lang/rust/work/rust-bootstrap/bin/cargo build --manifest-path /pkg_comp/work/pkg/lang/rust/work/rustc-1.42.0-src/src/bootstrap/Cargo.toml --frozen
>    Compiling proc-macro2 v0.4.30
> At that point there’s nothing consuming CPU time in the build and everything seems to be waiting on something to happen that never does.  I’ve left the system in that state for about 24 hours and still no progress.
> Any  clues? Could this be something related to some of the recent kernel changes?
> Thanks,
> -bob


Home | Main Index | Thread Index | Old Index