Skip to content
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

Not building immediately as Ubuntu PPA on Launchpad #4254

Closed
killerswan opened this issue Dec 22, 2012 · 4 comments
Closed

Not building immediately as Ubuntu PPA on Launchpad #4254

killerswan opened this issue Dec 22, 2012 · 4 comments
Labels
O-linux Operating system: Linux
Milestone

Comments

@killerswan
Copy link
Contributor

Tomorrow I'll try to get to the bottom of this...

.
.
.
configure: inspecting environment
configure: recreating config.tmp
configure: 
configure: processing /build/buildd/rust-0.5/configure args
configure: 
configure: CFG_PREFIX           := /usr 
configure: CFG_LOCAL_RUST_ROOT  := /usr/local 
configure: CFG_LLVM_ROOT        :=  
configure: CFG_HOST_TRIPLE      := x86_64-unknown-linux-gnu 
configure: CFG_TARGET_TRIPLES   := x86_64-unknown-linux-gnu 
configure: 
configure: validating /build/buildd/rust-0.5/configure args
configure: 
configure: error: Option '--build=x86_64-linux-gnu' is not recognized
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/rust --disable-maintainer-mode --disable-dependency-tracking returned exit code 1
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
******************************************************************************
Build finished at 20121222-0507
FAILED [dpkg-buildpackage died]
******************************************************************************
.
.
.

From:
https://launchpadlibrarian.net/126442293/buildlog_ubuntu-quantal-amd64.rust_0.5-1~quantal_FAILEDTOBUILD.txt.gz

@catamorphism
Copy link
Contributor

Is this still an issue?

@killerswan
Copy link
Contributor Author

"Tomorrow", pshaw. Sorry, @catamorphism.

@killerswan
Copy link
Contributor Author

I believe the problem is simply that none of the following are valid arguments to ./configure right now:

--build=x86_64-linux-gnu
--includedir=${prefix}/include
--mandir=${prefix}/share/man
--infodir=${prefix}/share/info
--sysconfdir=/etc
--localstatedir=/var
--libexecdir=${prefix}/lib/rust
--disable-maintainer-mode
--disable-dependency-tracking

I'm tempted to can add an ignoreopt() function to accept these and just ignore them, and see how that works...

@pnkfelix
Copy link
Member

I think this is a case of "Doctor, it hurts when I do this." ==> "well, don't do that."

If it is important that we support these flags in our configure script (e.g. for the use case of Ubuntu PPA), please feel free to reopen and/or provide more details on what we need there.

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