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

Bug#547724: apt-get build-dep $PACKAGE doesn't handle build-dependencies with architecture wildcards



On Tuesday 22 September 2009 01:42:04 Julian Andres Klode wrote:
> On Mon, Sep 21, 2009 at 04:32:28PM -0400, Andres Mejia wrote:
> > Package: apt
> > Version: 0.7.23.1
> > Severity: normal
> >
> > When performing 'apt-get build-dep sbuild-dependencies-resolver', it will
> > not install libgl1-mesa-dev on an i386 machine. Yet if I change the
> > Build-Depends field to,
> >
> >     Build-Depends: libgl1-mesa-dev [any-i386] | libgl1-mesa-dev [i386]
> >
> > then libgl1-mesa-dev will be installed on an i386 machine.
> 
> I thought those wildcards are only for debian/control and will be replaced
> by dpkg automatically. But yes, we need support for it sometime.
> 

AFAIUI, the Debian archive has "Sources" files which has the Build-* fields 
taken from a source package's .dsc file which in turn takes the Build-* fields 
from debian/control. So yes, those wildcards are for debian/control, but the 
Build-* fields ultimately end up in the "Sources" files in a Debian archive.

-- 
Regards,
Andres



Reply to: