Subject: | FTBFS when compiling "non-interactively" |
Hi
I'm forwarding a bug reported in the Debian distribution:
http://bugs.debian.org/549743
GnuPG-Interface can FTBFS, when building noninteractively.
How to I was able to reproduce the above bugreport from Lucas Nussbaum:
Run an 'at' job for the build.
---(snip)---
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/clearsign.t .............. ok
t/decrypt.t ................ ok
t/detach_sign.t ............ ok
gpg: WARNING: unsafe permissions on homedir `test'
gpg: cannot open `/dev/tty': No such device or address
t/encrypt.t ................
Failed 1/3 subtests
t/encrypt_symmetrically.t .. ok
t/export_keys.t ............ ok
t/Fingerprint.t ............ ok
gpg: WARNING: unsafe permissions on homedir `test'
gpg: cannot open `/dev/tty': No such device or address
Can't call method "subkeys" on an undefined value at t/get_public_keys.t
line 85.
t/get_public_keys.t ........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
gpg: WARNING: unsafe permissions on homedir `test'
gpg: cannot open `/dev/tty': No such device or address
Can't call method "compare" on an undefined value at t/get_secret_keys.t
line 65.
t/get_secret_keys.t ........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/import_keys.t ............ ok
t/Interface.t .............. ok
t/list_public_keys.t ....... ok
t/list_secret_keys.t ....... ok
t/list_sigs.t .............. ok
gpg: WARNING: unsafe permissions on homedir `test'
t/passphrase_handling.t .... ok
t/sign.t ................... ok
t/sign_and_encrypt.t ....... ok
t/UserId.t ................. ok
t/verify.t ................. ok
t/wrap_call.t .............. ok
Test Summary Report
-------------------
t/encrypt.t (Wstat: 0 Tests: 3 Failed: 1)
Failed test: 2
t/get_public_keys.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 1.
t/get_secret_keys.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
Files=20, Tests=48, 1 wallclock secs ( 0.05 usr 0.01 sys + 1.62 cusr
0.25 csys = 1.93 CPU)
Result: FAIL
Failed 3/20 test programs. 3/48 subtests failed.
---(snap)---
Bests
Salvatore