Current-Users archive

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

Re: lang/rust build fails



> 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?

I think I've seen something similar to this in my rebuilds:
sometimes cargo is present and waiting, and there is at least one
rustc child which is in "zombie" process state.  It's as if cargo
didn't "get the message" that the child process is done, and its
status is available for collection.

"ps axd" will show the process relationships.

I don't have an explanation why this happens, though, or a fix
for the problem.

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index