You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is preventing installs for me too. Not sure if it matters, but I got it building a cross compiler from master branch with custom install dir (configure --prefix).
Ideally the merged pull request should of only been merged when both when both pull requests were ready to be merged followed by updating the submodule. Unfortunately it did not work out that way, sorry for any issues I have caused...
@alexcrichton Yes, make install on nightly is completely broken. If like me you follow Rust's master by doing ./configure --prefix=... && make && make install, you have to revert commit 5e9149d, otherwise the make install step will fail.
The issue is that, since that commit, install.sh is called by make install with the nonexistent option --docdir, and Rust's install.sh doesn't ignore unknown options.
Is there a workaround for this currently? The latest nightly ICEs on code that previously compiled (I think due to #36816) so I wanted to compile from source with the merged fix, but now I'm hitting this.
@tikue Yes, the workaround is to revert commit 5e9149d. There will be a conflict when reverting, but it's easy to resolve. Nothing depends on that commit (and in fact it's broken), so reverting it causes no problems.
Activity
add --docdir option to the install template
nodakai commentedon Sep 14, 2016
Had we tested
make installon buildbot... #19698m10e commentedon Sep 14, 2016
This is preventing installs for me too. Not sure if it matters, but I got it building a cross compiler from master branch with custom install dir (configure --prefix).
andoriyu commentedon Sep 14, 2016
@m10e you can always apply patch to rust-installer before it's merged upstream.
m10e commentedon Sep 14, 2016
@andoriyu Sure, so it's definitely not urgent. I was just weighing in with a +1. Thanks for the tip though!
orbea commentedon Sep 15, 2016
Ideally the merged pull request should of only been merged when both when both pull requests were ready to be merged followed by updating the submodule. Unfortunately it did not work out that way, sorry for any issues I have caused...
cesarb commentedon Sep 26, 2016
I believe this should be tagged with the label regression-from-stable-to-nightly. @alexcrichton ?
alexcrichton commentedon Sep 27, 2016
Ah, didn't realize it was a regression, but in that case indeed!
cesarb commentedon Sep 27, 2016
@alexcrichton Yes,
make installon nightly is completely broken. If like me you follow Rust's master by doing./configure --prefix=... && make && make install, you have to revert commit 5e9149d, otherwise themake installstep will fail.The issue is that, since that commit,
install.shis called bymake installwith the nonexistent option--docdir, and Rust'sinstall.shdoesn't ignore unknown options.cesarb commentedon Sep 27, 2016
Related: #29632
alexcrichton commentedon Sep 27, 2016
cc @orbea this may be caused by #36360, mind helping to investigate?
tikue commentedon Sep 30, 2016
Is there a workaround for this currently? The latest nightly ICEs on code that previously compiled (I think due to #36816) so I wanted to compile from source with the merged fix, but now I'm hitting this.
cesarb commentedon Sep 30, 2016
@tikue Yes, the workaround is to revert commit 5e9149d. There will be a conflict when reverting, but it's easy to resolve. Nothing depends on that commit (and in fact it's broken), so reverting it causes no problems.
Update rust-installer. Fixes rust-lang#36451
brson commentedon Oct 5, 2016
#36971
Auto merge of #36971 - brson:docdir, r=alexcrichton
Update rust-installer. Fixes rust-lang#36451