Bug#835075: libmail-gnupg-perl: FTBFS: Failed 1/10 test programs. 0/4 subtests failed.

gregor herrmann gregoa at debian.org
Mon Aug 22 16:23:11 UTC 2016


Control: tag -1 + confirmed upstream

On Mon, 22 Aug 2016 08:20:05 +0100, Chris Lamb wrote:

> Source: libmail-gnupg-perl
> Version: 0.22-1
> Severity: serious
> Justification: fails to build from source
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
> 
> Dear Maintainer,
> 
> libmail-gnupg-perl fails to build from source in unstable/amd64:
> 
>   [..]

>   t/20.inline-verify.t ..... skipped: failed to import GPG keys for testing
>   t/25.multipart-verify.t .. skipped: failed to import GPG keys for testing
>   You tried to plan twice at t/30.inline-decrypt.t line 30.
>   # Looks like you planned 5 tests but ran 1.
>   # Looks like your test exited with 2 just after 1.
>   t/30.inline-decrypt.t .... 
>   1..5
>   ok 1 - An object of class 'MIME::Entity' isa 'MIME::Entity'
>   gpg: keybox '/home/lamby/temp/cdt.20160822081228.ynLAUew7Ua.db.libmail-gnupg-perl/libmail-gnupg-perl-0.22/mgtg4ltC/pubring.kbx' created
>   gpg: /home/lamby/temp/cdt.20160822081228.ynLAUew7Ua.db.libmail-gnupg-perl/libmail-gnupg-perl-0.22/mgtg4ltC/trustdb.gpg: trustdb created
>   gpg: key 49539D60EFEA4EAD marked as ultimately trusted
>   gpg: key 49539D60EFEA4EAD: public key "Mail::GnuPG Test Key <mail at gnupg.dom>" imported
>   gpg: can't connect to the agent: File name too long
>   gpg: error getting the KEK: No agent running
>   gpg: key 49539D60EFEA4EAD: "Mail::GnuPG Test Key <mail at gnupg.dom>" 1 new signature
>   gpg: can't connect to the agent: File name too long
>   gpg: Total number processed: 2
>   gpg:               imported: 1
>   gpg:         new signatures: 1
>   gpg:       secret keys read: 1
>   gpg: marginals needed: 3  completes needed: 1  trust model: pgp
>   gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
>   Dubious, test returned 2 (wstat 512, 0x200)
>   Failed 4/5 subtests 
>   t/35.has-public-key.t .... skipped: failed to import GPG keys for testing
>   t/99.pod.t ............... 
>   1..1
>   ok 1 - POD test for blib/lib/Mail/GnuPG.pm
>   ok
>   t/agent.t ................ skipped: unable to find gpg agent
>   t/base.t ................. 
>   1..1
>   ok 1
>   ok
>   t/round-trip.t ........... skipped: failed to import GPG keys for testing

Interestingly, it fails differently for me:

t/05.load.t .............. 
1..1
ok 1 - use Mail::GnuPG;
ok
t/20.inline-verify.t ..... 
gpg: keybox '/build/libmail-gnupg-perl-0.23/mgtBaEfN/pubring.kbx' created
gpg: /build/libmail-gnupg-perl-0.23/mgtBaEfN/trustdb.gpg: trustdb created
gpg: key 792152527B75921E: public key "Antoine Beaupré <anarcat at koumbit.org>" imported
gpg: key 762B57BB784206AD: public key "David Bremner <bremner at debian.org>" imported
gpg: key FBE5FCA59456D16A: public key "Mauricio Campiglia <mauricio at campiglia.org>" imported
gpg: Total number processed: 3
gpg:               imported: 3
gpg: no ultimately trusted keys found
1..5
ok 1 - An object of class 'MIME::Entity' isa 'MIME::Entity'
ok 2 - An object of class 'Mail::GnuPG' isa 'Mail::GnuPG'
ok 3 - verify success
ok 4 - verify keyid
ok 5 - verify uid
ok
t/25.multipart-verify.t .. 
gpg: keybox '/build/libmail-gnupg-perl-0.23/mgtNFlFc/pubring.kbx' created
gpg: /build/libmail-gnupg-perl-0.23/mgtNFlFc/trustdb.gpg: trustdb created
gpg: key 792152527B75921E: public key "Antoine Beaupré <anarcat at koumbit.org>" imported
gpg: key 762B57BB784206AD: public key "David Bremner <bremner at debian.org>" imported
gpg: key FBE5FCA59456D16A: public key "Mauricio Campiglia <mauricio at campiglia.org>" imported
gpg: Total number processed: 3
gpg:               imported: 3
gpg: no ultimately trusted keys found
1..5
ok 1 - An object of class 'MIME::Entity' isa 'MIME::Entity'
ok 2 - An object of class 'Mail::GnuPG' isa 'Mail::GnuPG'
ok 3 - verify success
ok 4 - verify keyid
ok 5 - verify uid
ok
You tried to plan twice at t/30.inline-decrypt.t line 30.
# Looks like you planned 5 tests but ran 1.
# Looks like your test exited with 2 just after 1.
t/30.inline-decrypt.t .... 
1..5
ok 1 - An object of class 'MIME::Entity' isa 'MIME::Entity'
gpg: keybox '/build/libmail-gnupg-perl-0.23/mgtHi1Tk/pubring.kbx' created
gpg: /build/libmail-gnupg-perl-0.23/mgtHi1Tk/trustdb.gpg: trustdb created
gpg: key 49539D60EFEA4EAD marked as ultimately trusted
gpg: key 49539D60EFEA4EAD: public key "Mail::GnuPG Test Key <mail at gnupg.dom>" imported
gpg: key 49539D60EFEA4EAD/49539D60EFEA4EAD: error sending to agent: Inappropriate ioctl for device
gpg: error building skey array: Inappropriate ioctl for device
gpg: key 49539D60EFEA4EAD: "Mail::GnuPG Test Key <mail at gnupg.dom>" 1 new signature
gpg: Total number processed: 2
gpg:               imported: 1
gpg:         new signatures: 1
gpg:       secret keys read: 1
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/5 subtests 
t/35.has-public-key.t .... skipped: failed to import GPG keys for testing
t/99.pod.t ............... 
1..1
ok 1 - POD test for blib/lib/Mail/GnuPG.pm
ok
t/agent.t ................ skipped: gpg-preset-passphrase not found; set GPG_PRESET_PASSPHRASE in environment to location of binary
t/base.t ................. 
1..1
ok 1
ok
t/round-trip.t ........... skipped: failed to import GPG keys for testing

(This is 0.23-1 from git which explains the difference for t/agent.t
but not the rest.)


Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Cat Stevens: Father And Son
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160822/1ec2ce3e/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list