[rb-general] new tool: autoprovenance

Holger Levsen holger at layer-acht.org
Sat Oct 6 23:50:41 CEST 2018

Hi Bernhard,

On Tue, Oct 02, 2018 at 11:43:55AM +0200, Bernhard M. Wiedemann wrote:
> when debugging reproducibility issues, it is often helpful to understand
> how and where unreproducible files are created.
> To help with this task, I created a new tool:
> https://github.com/bmwiedemann/reproducibleopensuse/blob/master/autoprovenance
> It is not specific to openSUSE.
> It is just 60 lines of code, but amazingly powerful.

wow, very neat!

> In openSUSE, I mostly use it with 1-year-old
> https://github.com/bmwiedemann/reproducible-faketools/blob/master/bin/rpmbuild-strace
> https://github.com/bmwiedemann/reproducibleopensuse/blob/master/stracebuild 
> which provides/uses a build wrapper to run the build with strace.

I wonder whether a similar strace-wrapper for building Debian packages
is available?

> E.g. I used it with
> https://build.opensuse.org/package/show/openSUSE:Factory/python-service_identity
> that has unreproducible index.html files
> and 'autoclassify' already told me that the diff is from parallelism
> I attached a file with example autoprovenance output (to keep the long
> lines intact)
> There you can see that index.html is produced in the 'docs' dir by
> sphinx-build
> in the line below, you see that it was called by
> ["make", "-j8", "man", "singlehtml"]
> which was called by /var/tmp/rpm-tmp.*
> So that call is coming directly from the .spec file.

simply awesome.
> Ideas and PRs are welcome.

I wish I had more time, so for now I"ll just say: big kudos!

and I wonder how this could be included into reprotest...


       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20181006/d9dd2114/attachment.sig>

More information about the rb-general mailing list