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

Johannes Schauer josch at debian.org
Tue Apr 14 16:40:09 UTC 2015


Hi,

Quoting Benjamin Drung (2015-04-13 15:23:59)
> 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.

I understand.

> 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 sounds like a very good idea.

> This way you just have to make sure that you have the package versions
> somewhere available in your sources.list. Then you just need a thin wrapper
> around sbuild that feeds additional snapshot.debian.org sources entries into
> sbuild.
> 
> 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.

I agree with your plan but I don't have much time right now so nobody should be
stopped from implementing it before I get to it :)

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150414/5e5df79f/attachment.sig>


More information about the Buildd-tools-devel mailing list