Skip to content
This repository was archived by the owner on Feb 28, 2019. It is now read-only.

Having trouble installing from try build #10

Closed
Eh2406 opened this issue Sep 13, 2017 · 3 comments
Closed

Having trouble installing from try build #10

Eh2406 opened this issue Sep 13, 2017 · 3 comments

Comments

@Eh2406
Copy link

Eh2406 commented Sep 13, 2017

rust-lang/rust#44287 (comment)
Recommended I use cargo run --bin install-sysroot -- --commit 3c27d9e8363646c0da43e8adc7cd5cd4c84aa9d1 to install the artifact form a try run, without rebuilding rust.
So I:

  • cloned this repo
  • opend cmd
  • cargo run --bin install-sysroot -- --commit 3c27d9e8363646c0da43e8adc7cd5cd4c84aa9d1
    And I get:
C:\rust_things\bisect-rust>cargo run --bin install-sysroot -- --commit 3c27d9e8363646c0da43e8adc7cd5cd4c84aa9d1
 Downloading xz2 v0.1.3
 Downloading flate2 v0.2.19
 Downloading clap v2.26.0
 Downloading chrono v0.4.0
 Downloading git2 v0.6.6
 Downloading reqwest v0.7.2
 Downloading tar v0.4.13
 Downloading lzma-sys v0.1.8
 Downloading filetime v0.1.10
 Downloading gcc v0.3.51
 Downloading miniz-sys v0.1.9
 Downloading backtrace v0.3.2
 Downloading textwrap v0.7.0
 Downloading num v0.1.40
 Downloading num-integer v0.1.35
 Downloading num-iter v0.1.34
 Downloading libgit2-sys v0.6.13
 Downloading curl-sys v0.3.14
 Downloading libssh2-sys v0.2.6
 Downloading libz-sys v1.0.16
 Downloading cmake v0.1.24
 Downloading bytes v0.4.4
 Downloading tokio-io v0.1.2
 Downloading futures v0.1.14
 Downloading libflate v0.1.10
 Downloading net2 v0.2.30
 Downloading adler32 v1.0.1
   Compiling winapi-build v0.1.1
   Compiling libc v0.2.29
   Compiling strsim v0.6.0
   Compiling semver v0.1.20
   Compiling void v1.0.2
   Compiling smallvec v0.2.1
   Compiling gcc v0.3.51
   Compiling num-traits v0.1.40
   Compiling take v0.1.0
   Compiling byteorder v1.1.0
   Compiling slab v0.3.0
   Compiling ansi_term v0.9.0
   Compiling utf8-ranges v1.0.0
   Compiling pkg-config v0.3.9
   Compiling safemem v0.2.0
   Compiling scoped-tls v0.1.0
   Compiling lazy_static v0.2.8
   Compiling language-tags v0.2.2
   Compiling vec_map v0.8.0
   Compiling httparse v1.2.3
   Compiling dtoa v0.4.1
   Compiling winapi v0.2.8
   Compiling lazycell v0.5.1
   Compiling unicode-width v0.1.4
   Compiling bitflags v0.9.1
   Compiling futures v0.1.14
   Compiling unicode-segmentation v1.2.0
   Compiling itoa v0.3.1
   Compiling matches v0.1.6
   Compiling regex-syntax v0.4.1
   Compiling rustc-demangle v0.1.4
   Compiling log v0.3.8
   Compiling percent-encoding v1.0.0
   Compiling unicode-normalization v0.1.5
   Compiling serde v1.0.11
   Compiling cfg-if v0.1.2
   Compiling adler32 v1.0.1
   Compiling memchr v1.0.1
   Compiling num_cpus v1.6.2
   Compiling filetime v0.1.10
   Compiling rand v0.3.16
   Compiling secur32-sys v0.2.0
   Compiling crypt32-sys v0.2.0
   Compiling kernel32-sys v0.2.2
   Compiling dbghelp-sys v0.2.0
   Compiling ws2_32-sys v0.2.1
   Compiling advapi32-sys v0.2.0
   Compiling schannel v0.1.7
   Compiling unreachable v1.0.0
   Compiling rustc_version v0.1.7
   Compiling num-integer v0.1.35
   Compiling base64 v0.6.0
   Compiling libz-sys v1.0.16
   Compiling curl-sys v0.3.14
   Compiling miniz-sys v0.1.9
   Compiling cmake v0.1.24
   Compiling unicode-bidi v0.3.4
   Compiling tokio-service v0.1.0
   Compiling libflate v0.1.10
   Compiling aho-corasick v0.6.3
   Compiling futures-cpupool v0.1.5
   Compiling tar v0.4.13
   Compiling lzma-sys v0.1.8
   Compiling thread_local v0.3.4
   Compiling num-iter v0.1.34
   Compiling unicase v2.0.0
error: failed to run custom build command for `miniz-sys v0.1.9`
process didn't exit successfully: `C:\rust_things\bisect-rust\target\debug\build\miniz-sys-f3a7673536b4044d\build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-pc-windows-gnu")
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CC_x86_64-pc-windows-gnu = None
CC_x86_64_pc_windows_gnu = None
HOST_CC = None
CC = None
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CFLAGS_x86_64-pc-windows-gnu = None
CFLAGS_x86_64_pc_windows_gnu = None
HOST_CFLAGS = None
CFLAGS = None
PROFILE = Some("debug")
running: "gcc.exe" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m64" "-o" "C:\\rust_things\\bisect-rust\\target\\debug\\build\\miniz-sys-d41054fa1a909351\\out\\miniz.o" "-c" "miniz.c"


failed to execute command: The system cannot find the file specified. (os error 2)
Is `gcc.exe` not installed? (see https://github.com/alexcrichton/gcc-rs#compile-time-requirements for help)



--- stderr
thread 'main' panicked at 'explicit panic', C:\Users\finkelman.SEMCOGDOM\.cargo\registry\src\github.1485827954.workers.dev-1ecc6299db9ec823\gcc-0.3.51\src\lib.rs:1239:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `libz-sys v1.0.16`
process didn't exit successfully: `C:\rust_things\bisect-rust\target\debug\build\libz-sys-82c82455735b9129\build-script-build` (exit code: 1)
--- stdout
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CC_x86_64-pc-windows-gnu = None
CC_x86_64_pc_windows_gnu = None
HOST_CC = None
CC = None
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CFLAGS_x86_64-pc-windows-gnu = None
CFLAGS_x86_64_pc_windows_gnu = None
HOST_CFLAGS = None
CFLAGS = None
PROFILE = Some("debug")
running: "make" "-f" "win32/Makefile.gcc" "install" "prefix=/C/rust_things/bisect-rust/target/debug/build/libz-sys-c1432745ff95f85d/out" "IMPLIB=" "INCLUDE_PATH=/C/rust_things/bisect-rust/target/debug/build/libz-sys-c1432745ff95f85d/out/include" "LIBRARY_PATH=/C/rust_things/bisect-rust/target/debug/build/libz-sys-c1432745ff95f85d/out/lib" "BINARY_PATH=/C/rust_things/bisect-rust/target/debug/build/libz-sys-c1432745ff95f85d/out/bin"


failed to execute command: The system cannot find the file specified. (os error 2)
Is `make` not installed?



warning: build failed, waiting for other jobs to finish...
error: build failed

C:\rust_things\bisect-rust>

@Mark-Simulacrum made it clear that if it did not work I should make an issue, so here it is. :-)

@Mark-Simulacrum
Copy link
Owner

That failure looks like you need make on your system to be able to build bisect-rust, which is due to a dependency on libflate2 I'd imagine. Could you check if adding make resolves the issue? (Note that bisect-rust has never been tested on non-x86_64-unknown-linux-gnu systems to my knowledge, so other things may not work).

@Eh2406
Copy link
Author

Eh2406 commented Sep 13, 2017

Ya, windows based life form here. I'll see if it works on a linux vm, next time I can set one up. :-)

@Mark-Simulacrum
Copy link
Owner

I'll close this for the time being, but let me know if it doesn't work out for you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants