Skip to content

Option '--build=i686-pc-linux-gnu' is not recognized #5138

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

Closed
cnd opened this issue Feb 27, 2013 · 4 comments
Closed

Option '--build=i686-pc-linux-gnu' is not recognized #5138

cnd opened this issue Feb 27, 2013 · 4 comments
Labels
O-linux Operating system: Linux
Milestone

Comments

@cnd
Copy link
Contributor

cnd commented Feb 27, 2013

Hello.

Trying to make gentoo package (ebuild) : https://github.com/Cynede/weirdo/commit/0da807cd916aa0ea363d91ca94dd91a8cb4e204b

default configure is failing with below error message:

configure: processing /var/tmp/portage/dev-lang/rust-9999/work/rust-9999/configure args
configure:
configure: CFG_PREFIX := /usr
configure: CFG_LOCAL_RUST_ROOT := /usr/local
configure: CFG_LLVM_ROOT :=
configure: CFG_HOST_TRIPLE := i686-unknown-linux-gnu
configure: CFG_TARGET_TRIPLES := i686-unknown-linux-gnu
configure:
configure: validating /var/tmp/portage/dev-lang/rust-9999/work/rust-9999/configure args
configure:
configure: error: Option '--build=i686-pc-linux-gnu' is not recognized

What is it? What option should I pass to configure?

@catamorphism
Copy link
Contributor

Paging @pcwalton or @brson

@brson
Copy link
Contributor

brson commented Feb 28, 2013

It looks like ebuild is calling our configure script with --build=i686-pc-linux-gnu and, because configure doesn't accept a --build flag, is emitting an error. Some cursory googling does not reveal to me why ebuild does this or how to prevent it.

@brson
Copy link
Contributor

brson commented Feb 28, 2013

FWIW, the equivalent in our script is probably --host-triple, though after #4513 it will be --build-triple. Additionally, I have never built rust using i686-pc-linux-gnu as a triple (we use i686-unknown-linux-gnu), so it may not work.

@cnd
Copy link
Contributor Author

cnd commented Mar 1, 2013

I see, solved. Though it was even my fault.

@cnd cnd closed this as completed Mar 1, 2013
bors added a commit that referenced this issue Oct 25, 2013
Re-created: #9760

Now, without adding `pc-linux-gnu` platform

Re-created: #9565

t will be useful for unix systems, some package managers and external tools that is passing / maybe looking for GNU configure syntax options.

One of related bugs: #5138

Also that could be useful in future if project will really install man pages / other stuff using those variables.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-linux Operating system: Linux
Projects
None yet
Development

No branches or pull requests

3 participants