[buildd-tools-devel] Bug#774415: sbuild: please add the srebuild sbuild wrapper to reproduce builds

Holger Levsen holger at layer-acht.org
Wed Apr 15 11:14:23 UTC 2015


Hi Benjamin,

On Montag, 13. April 2015, Benjamin Drung wrote:
> I briefly looked at the code and the man page of your script. I like the
> idea to extent the sbuild package to support rebuilds. The
> implementation of srebuild is very fine-tuned to one use case and will
> break if you violate one of the constrains. I would prefer an
> implementation that is more flexible and doesn't require soo many
> conditions.

makes sense.
 
> My idea would be to add an option to sbuild to provide a buildinfo file.
> When this file is provided, sbuild will adjust the build dependencies to
> depend on exactly the package versions that are in the buildinfo file
> and tries to install these versions.
> 
> This way you just have to make sure that you have the package versions
> somewhere available in your sources.list. 

This is not trivial in many cases, eg snapshot.d.o - or to phrase it 
differently: josch srebuild wrapper was doing exactly this. So if you'd 
generalize his script, this functionality should be preserved somehow.

> Then you just need a thin
> wrapper around sbuild that feeds additional snapshot.debian.org sources
> entries into sbuild.

oh, you just said that.

> In case you keep old versions in your package repository (e.g. when you
> use reprepro with multiple version management [bug #570623]), you could
> simply use sbuild without any modifications.

It would be great if sbuild could be used out-of-the-box to reproducibly 
rebuild packages from Debian and Ubuntu (and other distros) without any 
further modificication. Does ubuntu use sbuild btw?


cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150415/0dbb0b58/attachment.sig>


More information about the Buildd-tools-devel mailing list