Skip to content

install script doesn't recognize --docdir option #36451

@kamathba

Description

@kamathba

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

Activity

added a commit that references this issue on Sep 13, 2016
49af132
nodakai

nodakai commented on Sep 14, 2016

@nodakai
Contributor

Had we tested make install on buildbot... #19698

m10e

m10e commented on Sep 14, 2016

@m10e

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

andoriyu commented on Sep 14, 2016

@andoriyu
Contributor

@m10e you can always apply patch to rust-installer before it's merged upstream.

m10e

m10e commented on Sep 14, 2016

@m10e

@andoriyu Sure, so it's definitely not urgent. I was just weighing in with a +1. Thanks for the tip though!

orbea

orbea commented on Sep 15, 2016

@orbea

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

cesarb commented on Sep 26, 2016

@cesarb
Contributor

I believe this should be tagged with the label regression-from-stable-to-nightly. @alexcrichton ?

alexcrichton

alexcrichton commented on Sep 27, 2016

@alexcrichton
Member

Ah, didn't realize it was a regression, but in that case indeed!

3 remaining items

cesarb

cesarb commented on Sep 27, 2016

@cesarb
Contributor

Related: #29632

alexcrichton

alexcrichton commented on Sep 27, 2016

@alexcrichton
Member

cc @orbea this may be caused by #36360, mind helping to investigate?

added and removed on Sep 29, 2016
tikue

tikue commented on Sep 30, 2016

@tikue
Contributor

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

cesarb commented on Sep 30, 2016

@cesarb
Contributor

@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.

self-assigned this
on Oct 4, 2016
added
P-highHigh priority
and removed on Oct 4, 2016
added a commit that references this issue on Oct 5, 2016
ee0d833
brson

brson commented on Oct 5, 2016

@brson
Contributor
added a commit that references this issue on Oct 5, 2016
26d8b6f
added a commit that references this issue on Oct 10, 2016
c959390
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @cesarb@alexcrichton@nodakai@brson@andoriyu

      Issue actions

        install script doesn't recognize --docdir option · Issue #36451 · rust-lang/rust