Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nightly doesn't install on OS X 10.7 Lion #19643

Closed
serpis opened this issue Dec 8, 2014 · 4 comments
Closed

Nightly doesn't install on OS X 10.7 Lion #19643

serpis opened this issue Dec 8, 2014 · 4 comments

Comments

@serpis
Copy link

serpis commented Dec 8, 2014

Running the install command from the guide gives the following error

$ curl -s https://static.rust-lang.org/rustup.sh | sudo shrustup: CFG_CURL             := /usr/bin/curl (curl 7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8z zlib/1.2.5)
rustup: 
rustup: processing sh args
rustup: 
rustup: CFG_PREFIX           :=  
rustup: 
rustup: validating sh args
rustup: 
rustup: host triple: x86_64-apple-darwin
rustup: downloading rust installer
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 97.0M  100 97.0M    0     0  6787k      0  0:00:14  0:00:14 --:--:-- 6716k
rustup: downloading cargo installer
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2333k  100 2333k    0     0  3800k      0 --:--:-- --:--:-- --:--:-- 3882k
install: looking for install programs
install: found mkdir
install: found printf
install: found cut
install: found grep
install: found uname
install: found tr
install: found sed
install: 
install: processing ./rustup-tmp-install/rust-nightly-x86_64-apple-darwin/install.sh args
install: 
install: CFG_PREFIX           := /usr/local 
install: CFG_LIBDIR           := /usr/local/lib 
install: CFG_MANDIR           := /usr/local/share/man 
install: 
install: validating ./rustup-tmp-install/rust-nightly-x86_64-apple-darwin/install.sh args
install: 
install: verifying platform can run binaries
./rustup-tmp-install/rust-nightly-x86_64-apple-darwin/install.sh: line 343:  1339 Segmentation fault: 11  "${CFG_SRC_DIR}/bin/rustc" --version > /dev/null
install: error: can't execute rustc binary on this platform
rustup: error: failed to install Rust
@brson
Copy link
Contributor

brson commented Dec 8, 2014

The build infrastructure was misconfigured last week and likely produced the nightly on the wrong bot. Should be fixed by with the next nightly.

@brson
Copy link
Contributor

brson commented Dec 8, 2014

The most recent snap is also incompatible. Going to require some heroics to straighten out.

bors added a commit that referenced this issue Dec 9, 2014
The most recent snapshot was produced on OSX 10.8, but this segfaults on OSX
10.7 so we need to roll back one snapshot so we can start bootstrapping on 10.7
systems again.

cc #19643
bors added a commit that referenced this issue Dec 11, 2014
These snapshots were generated on the 10.7 bot which should be the first step in fixing #19643
@brson
Copy link
Contributor

brson commented Dec 12, 2014

Should be fixed.

@serpis
Copy link
Author

serpis commented Dec 12, 2014

Nice, the install script installs rust now. However, cargo doesn't:

...
...
install: verifying installed binaries are executable

    Rust is ready to roll.

rustup: Extracting cargo-nightly-x86_64-apple-darwin.tar.gz
x cargo-nightly-x86_64-apple-darwin/
x cargo-nightly-x86_64-apple-darwin/bin/
x cargo-nightly-x86_64-apple-darwin/etc/
x cargo-nightly-x86_64-apple-darwin/install.sh
x cargo-nightly-x86_64-apple-darwin/lib/
x cargo-nightly-x86_64-apple-darwin/LICENSE-APACHE
x cargo-nightly-x86_64-apple-darwin/LICENSE-MIT
x cargo-nightly-x86_64-apple-darwin/LICENSE-THIRD-PARTY
x cargo-nightly-x86_64-apple-darwin/README.md
x cargo-nightly-x86_64-apple-darwin/share/
x cargo-nightly-x86_64-apple-darwin/share/doc/
x cargo-nightly-x86_64-apple-darwin/share/man/
x cargo-nightly-x86_64-apple-darwin/share/zsh/
x cargo-nightly-x86_64-apple-darwin/share/zsh/site-functions/
x cargo-nightly-x86_64-apple-darwin/share/zsh/site-functions/_cargo
x cargo-nightly-x86_64-apple-darwin/share/man/man1/
x cargo-nightly-x86_64-apple-darwin/share/man/man1/cargo.1
x cargo-nightly-x86_64-apple-darwin/share/doc/cargo/
x cargo-nightly-x86_64-apple-darwin/share/doc/cargo/LICENSE-APACHE
x cargo-nightly-x86_64-apple-darwin/share/doc/cargo/LICENSE-MIT
x cargo-nightly-x86_64-apple-darwin/share/doc/cargo/LICENSE-THIRD-PARTY
x cargo-nightly-x86_64-apple-darwin/share/doc/cargo/README.md
x cargo-nightly-x86_64-apple-darwin/lib/cargo/
x cargo-nightly-x86_64-apple-darwin/lib/cargo/manifest.in
x cargo-nightly-x86_64-apple-darwin/etc/bash_completion.d/
x cargo-nightly-x86_64-apple-darwin/etc/bash_completion.d/cargo
x cargo-nightly-x86_64-apple-darwin/bin/cargo
install: looking for install programs
install: found mkdir
install: found printf
install: found cut
install: found grep
install: found uname
install: found tr
install: found sed
install: 
install: processing ./rustup-tmp-install/cargo-nightly-x86_64-apple-darwin/install.sh args
install: 
install: CFG_DESTDIR          :=  
install: CFG_PREFIX           := /usr/local 
install: CFG_LIBDIR           := /usr/local/lib 
install: CFG_MANDIR           := /usr/local/share/man 
install: 
install: validating ./rustup-tmp-install/cargo-nightly-x86_64-apple-darwin/install.sh args
install: 
install: verifying platform can run binaries
./rustup-tmp-install/cargo-nightly-x86_64-apple-darwin/install.sh: line 314:  2742 Segmentation fault: 11  "${CFG_SRC_DIR}/bin/cargo" -V 2> /dev/null
install: error: can't execute cargo binary on this platform
rustup: error: failed to install Rust

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

No branches or pull requests

2 participants