Bug#728198: devscripts: debuild (& others) must reject debian/rules actions on unpatched source trees

Ximin Luo infinity0 at gmx.com
Tue Oct 29 12:20:56 UTC 2013


On 29/10/13 12:14, Ximin Luo wrote:
> Package: devscripts
> Version: 2.13.4
> Severity: important
> 
> It does not make sense to build or clean an unpatched source tree, since the
> applied patches are considered strictly *part of the source package*. However,
> `debuild build/clean`, and probably many other tools, still allows this to
> happen without any warning.
> 
> This is partly a fault of policy which is very loose on what is a correct state
> to initiate build actions from; I will file a separate bug for that too.
> 
> http://www.debian.org/doc/debian-policy/ch-source.html
> 

To clarify, I'm talking about the source format 3.0 (quilt), where the
application of patches is considered to be the responsibility of dpkg-source
rather than the build process itself.

If this basic check isn't done, bugs like this [1] happen to developers that
don't know about all the precise details of how build infrastructure works.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728097

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20131029/286befd4/attachment.sig>


More information about the devscripts-devel mailing list