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

Josselin Mouette joss at debian.org
Mon Nov 9 22:38:06 UTC 2009

Le lundi 09 novembre 2009 à 10:26 -0800, Vagrant Cascadian a écrit : 
> 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.

Indeed, and it’s the only sane way to manage a large number of packages
with a large number of uploaders.

> 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’s a README.Debian. Do you expect its contents to be copypasta’ed
to all GNOME source packages? That would be plain stupid.

> 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.

The build-dependencies will certainly not change because of that.

 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20091109/a0dc9cea/attachment.pgp>

More information about the pkg-gnome-maintainers mailing list