Making schleuder build reproducibly

Georg Faerber georg at riseup.net
Sun Mar 25 19:11:54 UTC 2018


Hi all,

On 18-03-13 15:20:48, Georg Faerber wrote:
> On 17-10-30 18:21:39, Georg Faerber wrote:
> > On 17-06-15 21:19:12, Georg Faerber wrote:
> > > I really would like to make the build of schleuder, a gpg enabled
> > > mailing list, reproducible. However, I'm a bit lost on my own,
> > > that's why I'm searching for input with this mail:
> > 
> > tl;dr: Due to recent changes and fixes upstream, schleuder now does
> > build reproducible. For details, please read on.
> 
> Well, this wasn't true back then, however, it looks better now [1].
> This is mainly because of this commit [2].
> 
> @dkg: I strongly believe that dirmngr still has some problems if invoked
> in a chroot without network access, which is why the above commit was
> needed. Also, one job recently still failed on the tests.r-b.o infra:
> GPG reported "connecting dirmngr failed: IPC connect call failed".
> Searching on the Internets leads to [3], however, I'm unsure what to do
> regarding this. Any input?

One of last tests now also ran into this (which only happened once):

Failures:

  1) Schleuder::ListBuilder creates a listdir for the list
     Failure/Error: gpg.generate_key(key_params(list))

     GPGME::Error:
       No agent running
     # ./lib/schleuder/list_builder.rb:73:in `create_key'
     # ./lib/schleuder/list_builder.rb:41:in `run'
     # ./spec/schleuder/unit/list_builder_spec.rb:30:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:46:in `block (3 levels) in <top (required)>'
     # ./spec/spec_helper.rb:45:in `block (2 levels) in <top (required)>'

@dkg: I would still be very happy to get some input on this, to make the build
reliably reproducible.

Cheers,
Georg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20180325/f101fe97/attachment.sig>


More information about the Reproducible-builds mailing list