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

make install fails on OSX #14026

Closed
dwrensha opened this issue May 8, 2014 · 2 comments · Fixed by #14033
Closed

make install fails on OSX #14026

dwrensha opened this issue May 8, 2014 · 2 comments · Fixed by #14033

Comments

@dwrensha
Copy link
Contributor

dwrensha commented May 8, 2014

$ sudo make install
cfg: build triple x86_64-apple-darwin
cfg: host triples x86_64-apple-darwin
cfg: target triples x86_64-apple-darwin
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-apple-darwin is x86_64
cfg: os for x86_64-apple-darwin is apple-darwin
cfg: using clang
cfg: no pandoc found, omitting PDF and EPUB docs
cfg: no llnextgen found, omitting grammar-verification
cfg: including prepare rules
cfg: including dist rules
cfg: including install rules
cleaning destination tmp/dist/rust-0.11-pre-x86_64-apple-darwin
prepare: tmp/dist/rust-0.11-pre-x86_64-apple-darwin/bin
prepare: tmp/dist/rust-0.11-pre-x86_64-apple-darwin/lib
prepare: tmp/dist/rust-0.11-pre-x86_64-apple-darwin/share/man/man1
prepare: tmp/dist/rust-0.11-pre-x86_64-apple-darwin/lib/libcore-*.dylib
ls: x86_64-apple-darwin/stage2/lib/libcore-*.dylib: No such file or directory
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make: *** [prepare-host-lib-core-2-x86_64-apple-darwin-dir-x86_64-apple-darwin] Error 64

I observe this behavior at ab22d99.
Using a fresh git checkout does not help.

@thestinger
Copy link
Contributor

It's also broken on Linux:

prepare: tmp/dist/rust-0.11-pre-i686-unknown-linux-gnu/lib/rustlib/i686-unknown-linux-gnu/lib/libgraphviz-*.rlib
prepare: tmp/dist/rust-0.11-pre-i686-unknown-linux-gnu/lib/rustlib/i686-unknown-linux-gnu/lib/libcore-*.so
ls: cannot access i686-unknown-linux-gnu/stage2/lib/rustlib/i686-unknown-linux-gnu/lib/libcore-*.so: No such file or directory
install: missing destination file operand after 'tmp/dist/rust-0.11-pre-i686-unknown-linux-gnu/lib/rustlib/i686-unknown-linux-gnu/lib/'
Try 'install --help' for more information.
/build/rust-git/src/rust/mk/dist.mk:245: recipe for target 'prepare-target-i686-unknown-linux-gnu-host-i686-unknown-linux-gnu-2-dir-i686-unknown-linux-gnu' failed
make: *** [prepare-target-i686-unknown-linux-gnu-host-i686-unknown-linux-gnu-2-dir-i686-unknown-linux-gnu] Error 1

@pnkfelix
Copy link
Member

pnkfelix commented May 8, 2014

part of #8058

alexcrichton added a commit to alexcrichton/rust that referenced this issue May 8, 2014
Forgot to update the installation procedure with the knowledge that libcore is
only available as an rlib, not as a dylib.

Closes rust-lang#14026
bors added a commit that referenced this issue May 8, 2014
Forgot to update the installation procedure with the knowledge that libcore is
only available as an rlib, not as a dylib.

Closes #14026
bors added a commit to rust-lang-ci/rust that referenced this issue Feb 13, 2023
…onas-schievink

internal: Try to fix auto-publishing of lib crates

rust-lang/rust-analyzer#13912
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

Successfully merging a pull request may close this issue.

3 participants