-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
P-highHigh priorityHigh priorityregression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Description
ran ./configure && make && sudo make install
...
gen-install-script: CFG_LEGACY_MANIFEST_DIRS := rustlib,cargo
gen-install-script:
gen-install-script: validating arguments
gen-install-script:
install: error: Option '--docdir=/usr/local/share/doc/rust' is not recognized
/home/banjo/Work/dev/rust/mk/install.mk:21: recipe for target 'install' failed
make: *** [install] Error 1
Seems to be introduced by this commit, which was merged yesterday.
commit 5e9149d
Author: orbea ovariegata@yahoo.com
Date: Thu Sep 8 23:18:20 2016 -0700
Allow setting --docdir
nickdesaulniers
Metadata
Metadata
Assignees
Labels
P-highHigh priorityHigh priorityregression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
add --docdir option to the install template
nodakai commentedon Sep 14, 2016
Had we tested
make install
on 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...
./configure --prefix=$HOME && make && make install
not working on master ---docdir=/home/d33tah/share/doc/rust' is not recognized
#36697cesarb 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!
3 remaining items
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