[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#693220: Add crossbuild-essential support

+++ Colin Watson [2013-01-08 15:23 +0000]:
> On Wed, Nov 14, 2012 at 12:08:26PM +0000, Wookey wrote:
> > Following on from discussion in this thread
> > http://lists.debian.org/debian-embedded/2012/06/msg00030.html
> > 
> > The cross-build-essential package has been developed some more and
> > tested in Quantal for arm64 bootstrap, and armel and armhf builds. It
> > works nicely. We definitely want to start using this.
> > 
> > The latest code is available at: 
> > http://people.debian.org/~wookey/bootstrap/ubunturepo/pool/main/c/cross-build-essential/

Updated version with native build-essential stuff re-enabled at:
except that it doesn;t actually work and end up with empty package
list. I failed to work out exactly why yet. But better that we all see
same latest code.

Doko has fettled that a bit at

> I think it would be a good idea to put this in build-essential, but I
> have one concern.  At the moment this uses "Depends: libc6-dev:armhf"
> (etc.).  The multiarch spec currently explicitly says that Depends on
> PKG:ARCH for a particular architecture (as opposed to PKG:any) is
> undefined.  I'm therefore a bit worried that adding such syntax to
> build-essential would cause some bit of archive machinery to explode; it
> certainly results in a Lintian error.  That said, it apparently works in
> simple sbuild chroot situations.  CCing -embedded and -dpkg for advice.

We need to use :<arch> for cross-compilers in the archive (if we ever
want to get beyond the *-cross package-naming mechanism and actually
use multiarch). We all recognise that.

:<arch> was excluded from the spec initially, but there is no reason
not to use it when needed and so long as the stable version of dpkg
understands it. The dpkg in quantal and wheezy understands it so it
should now be fine to upload sources using this so long as the
versions of dpkg on the buildds understand it. We can't upload this to
debian until buildds are updated to wheezy. 

>  If it's possible to use the :ARCH syntax instead, that would
>  be better.

I believe so. 

Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM

Reply to: