On Fri, 14 Nov 2014, Raphael Hertzog wrote:
On Fri, 14 Nov 2014, Faheem Mitha wrote:
The subject line says it all. I noticed today that if the patches in
debian/patches are not applied, then
debuild clean
does not apply them, and if a patch is required to run clean
successfully, then clean fails. Included is the clean section of
debian/rules for my example package, and also the output of running
'debuild clean' with and without patches applied.
I think that debuild clean (or to be precise, the underlying
dpkg-buildpackage) command should apply the patches before running any
command, and presumably unapply it afterwards. I don't see a downside
to this.
dpkg-buildpackage is not called when you run "debuild clean". The
manual page clearly indicates that it calls "debian/rules <target>"
directly. And your log doesn't show any message of dpkg-buildpackage.
In general, opting to call a specific target doesn't do any build
preparation work. It's the same if you do "dpkg-buildpackage --target=clean".
I'm not sure this can be considered as a bug. It behaves as documented.
Hi Raphael,
Ok, if you don't think it is a bug, please close it.
If you can take a moment, can you advise me what the correct approach to
handling this should be? Just make sure to push the patches before running
'debuild clean'? Thanks.
Regards, Faheem
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org