[pkg-gnupg-maint] Bug#850269: gpgme1.0: FTBFS randomly (not enough entropy)

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Jan 23 22:50:49 UTC 2017


Hi Santiago--

On Sat 2017-01-21 12:21:44 -0500, Santiago Vila wrote:

> I confirm that it's lack of entroy what makes this package to fail.
>
> Since I'm using sbuild, I added this line to /etc/schroot/default/fstab:
>
> /dev/urandom    /dev/random     none    rw,bind         0       0
>
> then tried to build this package 40 times, and I got 40 successful
> builds.
>
> I wonder, however, why the tests need to generate a key at all,
> just to discard it after the package is built. Would not be possible
> to use a pregenerated key for the tests?

gpgme exercises functionality of the GnuPG suite, including key
generation.  If we were to use a pregenerated key, we might as well just
skip the test suite :)

     --dkg



More information about the pkg-gnupg-maint mailing list