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

Santiago Vila sanvila at unex.es
Sat Jan 21 17:21:44 UTC 2017


Hi.

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?

This workaround (using a pre-generated key) worked ok for mini-buildd
some time ago, and today for libgnupg-perl.

[ I'll file a separate bug for the huge memory allocation problem ].

Thanks.



More information about the pkg-gnupg-maint mailing list