Hi,

> I had the idea to finally separate the build-dependencies between
> Build-Depends and Build-Depends-Indep in debian/control.  The criterion is the
> following: put in Build-Depends all those packages that are absolutely
> necessary to build architecture-dependent files (e.g. you compile a few .c
> files into executable binaries).  The rest goes into Build-Depends-Indep.

the last time I tried this I did not work because sbuild used on the
autobuilders did not confirm to policy (has this changed?). See the
thread starting at
http://lists.debian.org/debian-mentors/2006/12/msg00252.html

> Go back to your cowbuilder login, cd to root/ and run "dpkg-source -x
> foo.dsc".  Then do an "apt-get install" for all the packages in 
> Build-Dependent.
> 
> Now here's the part that I forgot: debian/rules usually has a binary-arch and
> binary-indep target.  Run "debian/rules clean binary-arch" and now you can
> check whether the package will also run fine on a Debian autobuilder.

The problem is that sbuild invokes the build target (which also depends
on build-indep), but does not pay attention to Build-Depends-Indep.

Regards,
  Joachim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to