[buildd-tools-devel] Bug#605763: Bug#605763: Bug#605763: sbuild: A reproducible name for build directories, to minimize diff between logs ?

Roger Leigh rleigh at codelibre.net
Tue Apr 12 13:01:10 UTC 2011


On Tue, Apr 12, 2011 at 09:13:49PM +0900, Charles Plessy wrote:
> Le Thu, Mar 10, 2011 at 02:46:25PM +0000, Roger Leigh a écrit :
> > 
> > I've implemented log filtering in the current git version, which
> > would replace
> > 
> > /build/charles-samtools_0.1.12a-1-amd64-dvGJbJ with BUILDDIR to give you
> > BUILDDIR/samtools-0.1.12a.  I could add an additional PKGBUILDDIR to
> > replace the whole of
> > /build/charles-samtools_0.1.12a-1-amd64-dvGJbJ/samtools-0.1.12a with
> > PKGBUILDDIR if you would also want the actual package constant as well.
> 
> Dear Roger,
> 
> thank you very much for implementing the feature.  I find your solution
> very elegant.
> 
> As you can see on the following extract, much of the repetitive part of some
> diffs could be removed if BUILDDIR would also mask the package name and
> version:
> 
> -make[3]: Leaving directory `BUILDDIR/samtools-0.1.14'
> -make[3]: Entering directory `BUILDDIR/samtools-0.1.14/bcftools'
> +make[3]: Leaving directory `/«BUILDDIR»/samtools-0.1.15'
> +make[3]: Entering directory `/«BUILDDIR»/samtools-0.1.15/bcftools'
>  make[3]: Nothing to be done for `lib'.
> -make[3]: Leaving directory `BUILDDIR/samtools-0.1.14/bcftools'
> -make[3]: Entering directory `BUILDDIR/samtools-0.1.14/misc'
> +make[3]: Leaving directory `/«BUILDDIR»/samtools-0.1.15/bcftools'
> +make[3]: Entering directory `/«BUILDDIR»/samtools-0.1.15/misc'
>  make[3]: Nothing to be done for `lib'.
> 
> http://git.debian.org/?p=debian-med/samtools.git;a=commitdiff;h=refs/heads/meta#patch2
> 
> Do you think it would be possible to extend BUILDDIR one level down in the path ?

Yes, that's no problem.  I'll have to add a new abbreviation
such as PKGBUILDDIR, because other parts of the build do just
use BUILDDIR on its own.  Would that be OK?


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110412/50cdee49/attachment.pgp>


More information about the Buildd-tools-devel mailing list