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

Bug#178809: rules for Build-Depends-Indep satisfaction make no sense



Hi Julian!

You wrote:

> No: if binary-arch depends (in a Makefile sense) on build, then you're
> not actually "invoking" build, and your make can do what it likes, as
> long as you only need the Build-Depends packages.  If you make build,
> then you should require both Build-Depends and Build-Depends-Indep.  I
> know that's not what the autobuilders yet do, but one day they might
> check for the existence of the build-arch target, and fall back to a
> build target if that doesn't exist.  At that point, the distinction
> will make sense; the way the Build-Depends{,-Indep} fields were
> originally designed or implemented was fundamentally broken, in that
> the -Indep fields were useless.

In that case, the buildds are broken: they don't install
Build-Depends-Indep, even though they do invoke the clean and build
targets of debian/rules (through dpkg-buildpackage).  See
http://buildd.debian.org/fetch.php?&pkg=freesci&ver=0.3.4a-2&arch=alpha&stamp=1043707174&file=log&as=raw
for an example of this.

-- 
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| bas@o2w.nl, bas@debian.org |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 



Reply to: