Bug#555446: uploaders.mk: regenerates debian/control in clean target

Vagrant Cascadian vagrant+debianbugs at freegeek.org
Mon Nov 9 18:26:11 UTC 2009


Package: gnome-pkg-tools
Version: 0.13.6
Severity: important

while attempting to backport a package (sabayon) that uses uploaders.mk, and
editing the build-deps in debian/control, i was surprised to find that my
changes to the build-deps were obliterated in the clean target.

it seems that gnome-pkg-tools, and many other packages that make use of
uploaders.mk in debian/rules do the same.

there's no debian/README.source documenting that you actually need to edit
debian/control.in instead of the usual convention of editing debian/control to
make changes.

there are several reasons mentioned in the ftpmaster reject FAQ why it's
generally a bad idea to edit debian/control during the course of a build,
namely that it could change the build-dependencies from one run to another.

while the build-dependencies are probably not going to change in most cases, it
seems possible that a security or NMU upload might be prone to error.

live well,
  vagrant





More information about the pkg-gnome-maintainers mailing list