pkgsrc-Users archive

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

Re: Failure to build lang/rust



On Tue, 3 Oct 2017, Hisashi T Fujinaka wrote:

Me too.

I'm wondering if there might be some missing dependency package...


My current failure mode is:

...
   Compiling rustc-serialize v0.3.24
   Compiling getopts v0.2.14
   Compiling libc v0.2.26
     Running `/tmp/pkgs/lang/rust/work.x86_64/rust-1.19.0-x86_64-unknown-netbsd/rustc/bin/rustc --crate-name rustc_serialize src/vendor/rustc-serialize/src/lib.rs --crate-type lib --emit=dep-info,link -C debug-assertions=off -C overflow-checks=on -C metadata=076c046b9c17bc82 -C extra-filename=-076c046b9c17bc82 --out-dir /tmp/pkgs/lang/rust/work.x86_64/rustc-1.20.0-src/build/bootstrap/debug/deps -L dependency=/tmp/pkgs/lang/rust/work.x86_64/rustc-1.20.0-src/build/bootstrap/debug/deps --cap-lints warn`
     Running `/tmp/pkgs/lang/rust/work.x86_64/rust-1.19.0-x86_64-unknown-netbsd/rustc/bin/rustc --crate-name libc src/vendor/libc/src/lib.rs --crate-type lib --emit=dep-info,link -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=e28b8908345b255a -C extra-filename=-e28b8908345b255a --out-dir /tmp/pkgs/lang/rust/work.x86_64/rustc-1.20.0-src/build/bootstrap/debug/deps -L dependency=/tmp/pkgs/lang/rust/work.x86_64/rustc-1.20.0-src/build/bootstrap/debug/deps --cap-lints warn`
     Running `/tmp/pkgs/lang/rust/work.x86_64/rust-1.19.0-x86_64-unknown-netbsd/rustc/bin/rustc --crate-name getopts src/vendor/getopts/src/lib.rs --crate-typelib --emit=dep-info,link -C debug-assertions=off -C overflow-checks=on -C metadata=8f7b05ce7dd85aab -C extra-filename=-8f7b05ce7dd85aab --out-dir /tmp/pkgs/lang/rust/work.x86_64/rustc-1.20.0-src/build/bootstrap/debug/deps -L dependency=/tmp/pkgs/lang/rust/work.x86_64/rustc-1.20.0-src/build/bootstrap/debug/deps --cap-lints warn`
error[E0463]: can't find crate for `std`

error: aborting due to previous error(s)


Chavdar noted that he had build rust version 1.20 so let me see if I can update and try again...


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index