Skip to content

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

Closed

Description

@Cynede

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?

Activity

  1. catamorphism commented on Feb 28, 2013

    @catamorphism
    Contributor

    Paging @pcwalton or @brson

  2. brson commented on Feb 28, 2013

    @brson
    Contributor

    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.

  3. brson commented on Feb 28, 2013

    @brson
    Contributor

    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.

  4. Cynede commented on Mar 1, 2013

    @Cynede
    ContributorAuthor

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

  5. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-linux

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions