[Pkg-privacy-maintainers] Bug#838281: parcimonie: FTBFS in testing (failing tests)
Santiago Vila
sanvila at debian.org
Mon Sep 19 11:39:44 UTC 2016
Package: src:parcimonie
Version: 0.10.2-2
Severity: serious
Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep
dh_testdir -i
dh_update_autotools_config -i
dh_auto_configure -i
perl -I. Build.PL --installdirs vendor --config "optimize=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
Checking prerequisites...
requires:
! File::ShareDir is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Run 'Build installdeps' to install missing prerequisites.
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'App-Parcimonie' version '0.10.2'
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pandoc --read=markdown --write=man --output=parcimonie-torified-gpg.1 --standalone parcimonie-torified-gpg.1.markdown
dh override_dh_auto_build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
xvfb-run -a dh_auto_test
perl Build test --verbose 1
Copying lib/App/Parcimonie/DBus/Object.pm -> blib/lib/App/Parcimonie/DBus/Object.pm
Copying lib/App/Parcimonie/Role/HasCodeset.pm -> blib/lib/App/Parcimonie/Role/HasCodeset.pm
Copying lib/App/Parcimonie/Role/HasEncoding.pm -> blib/lib/App/Parcimonie/Role/HasEncoding.pm
Copying lib/App/Parcimonie.pm -> blib/lib/App/Parcimonie.pm
Copying lib/App/Parcimonie/GnuPG/Interface.pm -> blib/lib/App/Parcimonie/GnuPG/Interface.pm
Copying lib/App/Parcimonie/Applet.pm -> blib/lib/App/Parcimonie/Applet.pm
Copying lib/App/Parcimonie/Daemon.pm -> blib/lib/App/Parcimonie/Daemon.pm
Copying share/applications/parcimonie-applet.desktop -> blib/lib/auto/share/dist/App-Parcimonie/applications/parcimonie-applet.desktop
Copying share/applications/parcimonie.desktop -> blib/lib/auto/share/dist/App-Parcimonie/applications/parcimonie.desktop
Copying bin/parcimonie-torified-gpg -> blib/script/parcimonie-torified-gpg
Copying bin/parcimonie-applet -> blib/script/parcimonie-applet
Changing sharpbang in blib/script/parcimonie-applet to /usr/bin/perl
Deleting blib/script/parcimonie-applet.bak
Copying bin/parcimonie -> blib/script/parcimonie
Changing sharpbang in blib/script/parcimonie to /usr/bin/perl
Deleting blib/script/parcimonie.bak
Too late to run INIT block at /usr/lib/x86_64-linux-gnu/perl5/5.22/Glib/Object/Introspection.pm line 257.
t/00-load_all.t ...........................
ok 1 - use App::Parcimonie::Applet;
ok 2 - use App::Parcimonie::DBus::Object;
ok 3 - use App::Parcimonie::Daemon;
ok 4 - use App::Parcimonie::GnuPG::Interface;
ok 5 - use App::Parcimonie::Role::HasCodeset;
ok 6 - use App::Parcimonie::Role::HasEncoding;
1..6
ok
Can't exec "gpg": No such file or directory at /usr/share/perl5/GnuPG/Interface.pm line 301.
exec() error: No such file or directory at /usr/share/perl5/GnuPG/Interface.pm line 301.
# Failed test at t/05-init-keyring.t line 51.
Can't exec "gpg": No such file or directory at /usr/share/perl5/GnuPG/Interface.pm line 301.
exec() error: No such file or directory at /usr/share/perl5/GnuPG/Interface.pm line 301.
# Failed test at t/05-init-keyring.t line 52.
Can't exec "gpg": No such file or directory at t/05-init-keyring.t line 53.
# Failed test 'updated GnuPG trustdb'
# at t/05-init-keyring.t line 53.
# got: '-1'
# expected: '0'
# Looks like you failed 3 tests of 3.
t/05-init-keyring.t .......................
1..3
not ok 1
not ok 2
not ok 3 - updated GnuPG trustdb
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/3 subtests
t/30-pickRandomItems.t ....................
1..12
ok 1 - pickRandomItems sends an exception if N is not defined
ok 2 - pickRandomItems sends an exception if N is not an integer
ok 3 - pickRandomItems sends an exception if N is too big
ok 4 - pickRandomItems sends an exception if N is too big
ok 5 - pickRandomItems sends an exception if N>0 and empty input list
ok 6 - returns a list with N items
ok 7 - returns a list of unique items
ok 8 - returns a list with N items
ok 9 - returns a list of unique items
ok 10 - returns the empty list when N=0
ok 11 - returns the empty list when N=0
ok 12 - returns the empty list when N=0 and empty input list
ok
ERROR: gpg cannot be found.
# Failed test 'There are 2 public keys in the keyring.'
# at t/31-gpgPublicKeys.t line 16.
# got: '0'
# expected: '2'
# Looks like you failed 1 test of 1.
t/31-gpgPublicKeys.t ......................
1..1
not ok 1 - There are 2 public keys in the keyring.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
ERROR: gpg cannot be found.
Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/GnuPG/Interface.pm line 772.
ERROR: gpg cannot be found.
Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/GnuPG/Interface.pm line 772.
ERROR: gpg cannot be found.
Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/GnuPG/Interface.pm line 772.
ERROR: gpg cannot be found.
Use of uninitialized value $line in pattern match (m//) at /usr/share/perl5/GnuPG/Interface.pm line 772.
t/32-keyserver_defined_on_command_line.t ..
1..4
ok 1 - no keyserver is set on the command line
ok 2 - --keyserver lacks its argument
ok 3 - --keyserver followed by equal sign and something
ok 4 - --keyserver followed by space and something
ok
t/33-checkGpgHasDefinedKeyserver.t ........
1..2
ok 1 - checkGpgHasDefinedKeyserver throws an exception if no gpg.conf can be found
ok 2 - checkGpgHasDefinedKeyserver throws an exception if no keyserver is defined in gpg.conf
ok
t/91-gpgRecvKeys.t ........................ skipped: these tests are for release candidate testing
t/author-critic.t ......................... skipped: these tests are for testing by the author
t/author-eol.t ............................ skipped: these tests are for testing by the author
t/author-no-tabs.t ........................ skipped: these tests are for testing by the author
t/author-pod-syntax.t ..................... skipped: these tests are for testing by the author
Test Summary Report
-------------------
t/05-init-keyring.t (Wstat: 768 Tests: 3 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
t/31-gpgPublicKeys.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=11, Tests=28, 3 wallclock secs ( 0.02 usr 0.01 sys + 1.56 cusr 0.10 csys = 1.69 CPU)
Result: FAIL
Failed 2/11 test programs. 4/28 subtests failed.
dh_auto_test: perl Build test --verbose 1 returned exit code 255
debian/rules:19: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:7: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
Most of the build log is included above.
I see that there is a build-depends: gnupg2, but this is dummy and
will be removed in the long run.
The way I read dkg email in -devel-announce, it would probably better to
use gnupg (>= 2) instead and use /usr/bin/gpg as the command to call gpg.
Thanks.
More information about the Pkg-privacy-maintainers
mailing list