[Pkg-pascal-devel] Clarification about removing make files

Paul Gevers elbrus at debian.org
Wed Apr 2 18:20:13 UTC 2014


On 04/02/14 20:14, Abou Al Montacir wrote:
> Hi All,
> 
> Just for the record, the reason why we are removing make files during
> the clean target is that in the past, many times we need to patch the
> build system. This implies patching Makefile.fpc and regenerating it.
> But then the sources get modified outside a Debian patch and this
> generates an error. We decided then to patch both files, but this made
> patches quite bulky due to overhead caused by diffs in auto-generated
> code.
> 
> Removing make files during the clean target did transform the error on
> warning. This of course is now hitting default configuration of gpb.
> 
> The way I found was to repackage. But this seems to be inacceptable. I'd
> really like to ask this on debian-devel to see what most DD think about
> it, maybe we can update the DD manual, who nows?

Hi Abou,.

I will be pushing my changes shortly, but I found that since
git-buildpackage 0.6.9 the default is to NOT clean before moving the
data to a build tree, but instead only clean there. This will avoid our
problem as well as not introduce the issue that you mention above.

I think it is fixed in my version... will push it shortly and would
appreciate it when you confirm that it is indeed fixed.

I finally ran the build with only "git buildpackage".

Paul


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20140402/2f875e73/attachment.sig>


More information about the Pkg-pascal-devel mailing list