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

Bug#1077938: lintian: Fails to emit `debian-build-system` for packages not using `debian/rules`



Package: lintian
Severity: normal
X-Debbugs-Cc: niels@thykier.net,lucas@debian.org

Hi

(CC: lucas@debian.org since it affects trends.d.n)

The `dpkg-dev` version in testing supports the new `Build-Driver` field in source stanza of `debian/control` that determines how `dpkg-buildpackage` will build the package. If omitted, it defaults to `debian-rules` meaning `dpkg-buildpackage` will use the `debian/rules` interface.

We are experimenting with this `Build-Driver` interface and the first package (`mscgen/0.20-16`) has been uploaded to unstable where it no longer uses `debian/rules` (it does not even have a `debian/rules`).

On `mscgen/0.20-16`, lintian does no emit `debian-build-system` (not even a `other` value) meaning that `mscgen` will no longer "count" in the trends.d.n graph over build systems used by packages.

From my PoV, I would hope that lintian would instead use the `Build-Driver` value as `debian-build-system` when it is different from `debian-rules` (that is the default value). When it is `debian-rules` (or the field is omitted), then the existing logic could be used as-is.

However, failing that, `lintian` should at least emit a `debian-build-system other` so the package is at least counted in the trends.d.n graphs.

Best regards,
Niels


Reply to: