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

Re: build-depending on a virtual package



On Sun, May 07, 2006 at 05:48:53PM +0300, George Danchev wrote:
> On Sunday 07 May 2006 09:42, Sven Luther wrote:
> --cut--
> >
> > You do know about :
> >
> > $ cat /usr/lib/ocaml/3.09.1/native-archs
> > alpha amd64 arm hurd-i386 i386 ia64 kfreebsd-i386 powerpc sparc
> >
> > and that this list should be used to generate the architecture field of the
> > control field for native packages ?
> >
> > Ok, it seem to me, that given the spamroacle way, the problem is how the
> > buildd see a package with only arch: all and arch <native archs> packages,
> > and thus don't know what to do with it.
> 
> Seems variable substitution for Architecture: field is not suitable for our 
> case since the real values will be evaluated after starting the build which 
> is too late for build daemons to catch up and realize that this is not 
> intended to be built by them. Thus we have native arches hardcoded into the 
> field... btw I removed hppa from the ara architecture list, but added 
> hurd-i386 instead.

Ok, then you need to have a debian/control.in, and have debian/control target
in the makefile, which does the substitution. This will be called before each
source upload by hand.

Friendly,

Sven Luther



Reply to: