pbuilder-dist does not build foreign architecture

Bug #915876 reported by Rex Tsai
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
New
Wishlist
Unassigned

Bug Description

Reproduce -
$ apt-get source flash-kernel
$ pbuilder-dist oneiric armel build flash-kernel*dsc
I: Logging to /home/chihchun/pbuilder/oneiric-armel_result/last_operation.log
E: amd64 not in arch list or does not match any arch wildcards: arm armel armeb armhf

In pbuilder (/usr/lib/pbuilder/pbuilder-buildpackage-funcs), it checks supported architecture. However, it's always failed if the packages does not support any or all architectures.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ubuntu-dev-tools 0.132ubuntu0.2
ProcVersionSignature: Ubuntu 3.0.0-15.25-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: 300efaa4bd4f7c39d22f490228b33228
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Fri Jan 13 17:12:49 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LC_MESSAGES=en_US.UTF-8
 LANG=zh_TW.UTF-8
 LANGUAGE=zh_TW:zh
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rex Tsai (chihchun) wrote :
Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Revision history for this message
Stefano Rivera (stefanor) wrote :

That sounds like a pbuilder bug, rather than pbuilder-dist.

affects: ubuntu-dev-tools (Ubuntu) → pbuilder (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote :

My understanding is that sbuild does have support for cross-architecture build chroots. sbuild is recommended over pbuilder as a build tool.

Changed in pbuilder (Ubuntu):
importance: Undecided → Wishlist
assignee: Canonical Foundations Team (canonical-foundations) → nobody
Revision history for this message
Rex Tsai (chihchun) wrote :

The pupose of sbuild and pbuilder are differnt.

You can build pacakge with exist chroot with sbuild, but pbuilder can help you build from a clean chroot and install build-depnds for you.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Rex Tsai, sbuild builds from clean environment *and* installs dependencies as well.

Please try mk-sbuild . Both tools are made for the same job.

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

this is not a pbuilder bug:
pbuilder does not check if he should build the package or not at all, it just hands the .dsc to dpkg-buildpackage after satisfying build-deps.

Interestingly enough, I trying to look up "in arch list or does not match any arch wildcards" in codesearch.d.n, and the only results have been from sbuild and xbuilder.

Since I'm confused, I'm reassigning this back to ubuntu-dev-tools.

affects: pbuilder (Ubuntu) → ubuntu-dev-tools (Ubuntu)
Rolf Leggewie (r0lf)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.