retitle 547993 dpkg-buildpackage should support -F (full build) thanks Hi,
On Tue, 22 Sep 2009, Russ Allbery wrote: > However, pdebuild doesn't provide a way of passing certain options only > to the initial dpkg-buildpackage invocation (which is a separate bug > that I'll also report), and -nc is passed to the dpkg-buildpackage run > in the chroot as well. This triggers the following limitation: > > -nc Do not clean the source tree (implies -b if nothing else has > been selected among -B, -A or -S). > > But there is no option to select a normal build that includes both the > source and binaries. > > This seems wrong to me. Why the restriction? -nc is obviously safe in > this case; the source package was just freshly unpacked, so running the > clean target is pointless. I recently changed -nc to allow -S also. In the commit I said: commit 18dacea0fab9d81e85a5a7d4e9ec25435df7aa5b Author: Raphael Hertzog <hert...@debian.org> Date: Fri May 15 16:28:45 2009 +0200 dpkg-buildpackage: allow options -nc and -S together This combination is generally not recommended as you want to ensure that a source package contains only source and not any intermediary files left-over by the previous build. Nevertheless it can be useful from time to time and instead of bluntly refusing, we now simply warn the user and let the build proceed. -nc still implies -b if nothing else has been specified as it's routinely used to test if a fix is working by restarting a previously interrupted build where it failed. So it seems to be mainly a matter of convenience for the user who are restarting an interrupted/failed build. > I don't understand why -nc should have anything to do with whether or not > the build is binary-only, but even assuming that you want to keep that > linkage for backwards compatibility, I think there should be another option > specifying the sort of package build that's done in the absence of any of > -B, -A, or -S. Yeah, the best way might be to add -F for "full build". Cheers, -- Raphaƫl Hertzog Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/ My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org