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

Standalone 1.66.0 x86_64-unknown-linux-gnu installer fails with --without=rust-docs option #105928

Closed
acfoltzer opened this issue Dec 20, 2022 · 2 comments
Labels
C-bug Category: This is a bug.

Comments

@acfoltzer
Copy link

If I untar the standalone installer and run it thusly, it fails (this example in a fresh ubuntu:latest docker container):

root@90bec9bc7367:/tmp/rust-1.66.0-x86_64-unknown-linux-gnu# /bin/bash install.sh --without=rust-docs
install: creating uninstall script at /usr/local/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'rust-std-x86_64-unknown-linux-gnu'
install: installing component '-json-preview'
install: error: manifest for -json-preview does not exist at /tmp/rust-1.66.0-x86_64-unknown-linux-gnu/-json-preview/manifest.in. see logs at '/usr/local/lib/rustlib/install.log'

The referenced log file looked successful until the -json-preview step showed up. Here's the last few lines:

install: copying file /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-860619b93700e7eb.rlib
$ cp /tmp/rust-1.66.0-x86_64-unknown-linux-gnu/rust-std-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-860619b93700e7eb.rlib /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-860619b93700e7eb.rlib
$ chmod 644 /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-860619b93700e7eb.rlib
$ echo "file:/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-860619b93700e7eb.rlib" >> "/usr/local/lib/rustlib/manifest-rust-std-x86_64-unknown-linux-gnu"
$ umask 022 && mkdir -p "/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib"
install: copying file /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5bde27582a7f5af7.rlib
$ cp /tmp/rust-1.66.0-x86_64-unknown-linux-gnu/rust-std-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5bde27582a7f5af7.rlib /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5bde27582a7f5af7.rlib
$ chmod 644 /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5bde27582a7f5af7.rlib
$ echo "file:/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5bde27582a7f5af7.rlib" >> "/usr/local/lib/rustlib/manifest-rust-std-x86_64-unknown-linux-gnu"
install: installing component '-json-preview'
install: error: manifest for -json-preview does not exist at /tmp/rust-1.66.0-x86_64-unknown-linux-gnu/-json-preview/manifest.in. see logs at '/usr/local/lib/rustlib/install.log'

The only hit I got for "-json-preview" is in this issue where it sounds like it affected nightly packages: compiler-explorer/compiler-explorer#4345

We depend on the standalone installers for building internal distribution packages, so this is currently a blocker for us to upgrade to 1.66.0. Thank you for taking a look 🙏🏻

@acfoltzer acfoltzer added the C-bug Category: This is a bug. label Dec 20, 2022
@ehuss
Copy link
Contributor

ehuss commented Dec 20, 2022

I believe this may be a duplicate of #105755.

@acfoltzer
Copy link
Author

Yes! Somehow that didn't come up in my search for -json-preview. Thanks for the pointer

@acfoltzer acfoltzer closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants