Hi Xavier,

thanks for working on this!

Quoting Xavier (2018-11-10 22:55:42)
> I started to adapt srebuild.pl for devscripts:
> https://salsa.debian.org/yadd/devscripts/blob/devscripts-srebuild/scripts/srebuild.pl
> 
> No big changes, just this:
>  - manpage in POD
>  - srebuild-hook embedded
>  - parameters
> 
> I have a little problem: srebuild search a "Build-Environment" field
> which seems to not exist anymore on https://buildinfo.debian.net files.
> Could you take a look ?

the script that you used as a base for your work seems to have been written by
me in 2014. There is a much more recent version which (according to its git
history) is only one year old here:

https://salsa.debian.org/reproducible-builds/attic/debrebuild/blob/master/debrebuild.pl

It also doesn't have the problem with the (now) non-existing
"Build-Environment" field.

Please have a look whether you can use some of the things from debrebuild for
the version of srebuild that you are now maintaining in devscripts.

One advantage of debrebuild is, that it attempts to be builder agnostic.
Currently it can only be used for bare dpkg-buildpackage and sbuild but support
for pbuilder can be added by somebody who is familiar with the right command
line arguments.

Also for working with sbuild chroots of arbitrary snapshot timestamps, please
notice that sbuild features the "unshare" backend which allows unprivileged
users to create chroot tarballs if Linux user namespaces are enabled.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to