[Pkg-nagios-devel] Bug#838976: libmonitoring-livestatus-perl: FTBFS: Failed 1/15 test programs. 0/118 subtests failed.
Chris Lamb
lamby at debian.org
Tue Sep 27 08:59:13 UTC 2016
Source: libmonitoring-livestatus-perl
Version: 0.74-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,
libmonitoring-livestatus-perl fails to build from source in unstable/amd64:
[..]
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package 'libmonitoring-livestatus-perl-build-deps' in '../libmonitoring-livestatus-perl-build-deps_0.74-1_all.deb'.
The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
Selecting previously unselected package libmonitoring-livestatus-perl-build-deps.
(Reading database ... 23436 files and directories currently installed.)
Preparing to unpack libmonitoring-livestatus-perl-build-deps_0.74-1_all.deb ...
Unpacking libmonitoring-livestatus-perl-build-deps (0.74-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
libcommon-sense-perl libjson-xs-perl libtypes-serialiser-perl
The following NEW packages will be installed:
libcommon-sense-perl libjson-xs-perl libtypes-serialiser-perl
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 128 kB of archives.
After this operation, 329 kB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 libcommon-sense-perl amd64 3.74-1+b3 [23.8 kB]
Get:2 http://httpredir.debian.org/debian sid/main amd64 libtypes-serialiser-perl all 1.0-1 [12.7 kB]
Get:3 http://httpredir.debian.org/debian sid/main amd64 libjson-xs-perl amd64 3.020-1+b1 [91.5 kB]
Fetched 128 kB in 0s (4959 kB/s)
Selecting previously unselected package libcommon-sense-perl.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23440 files and directories currently installed.)
Preparing to unpack .../0-libcommon-sense-perl_3.74-1+b3_amd64.deb ...
Unpacking libcommon-sense-perl (3.74-1+b3) ...
Selecting previously unselected package libtypes-serialiser-perl.
Preparing to unpack .../1-libtypes-serialiser-perl_1.0-1_all.deb ...
Unpacking libtypes-serialiser-perl (1.0-1) ...
Selecting previously unselected package libjson-xs-perl.
Preparing to unpack .../2-libjson-xs-perl_3.020-1+b1_amd64.deb ...
Unpacking libjson-xs-perl (3.020-1+b1) ...
Setting up libcommon-sense-perl (3.74-1+b3) ...
Setting up libtypes-serialiser-perl (1.0-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libjson-xs-perl (3.020-1+b1) ...
Setting up libmonitoring-livestatus-perl-build-deps (0.74-1) ...
**************************************************************************************
** Environment **
**************************************************************************************
PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=12497658c872
TERM=xterm
PAGER=more
DISPLAY=:0
DOCKER_IMAGE=lamby-debian-sid
DEB_BUILD_OPTIONS=parallel=9
PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
HOME=/home/lamby
LOGNAME=lamby
SHLVL=1
PWD=/home/lamby/temp/cdt.20160927100350.fHLGiJvTzI.db.libmonitoring-livestatus-perl/libmonitoring-livestatus-perl-0.74
OLDPWD=/home/lamby/temp/cdt.20160927100350.fHLGiJvTzI.db.libmonitoring-livestatus-perl
GPG_TTY=/dev/console
QUILT_PATCHES=debian/patches
QUILT_NO_DIFF_INDEX=1
QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
DEBEMAIL=lamby at debian.org
DEBFULLNAME=Chris Lamb
EDITOR=vim
LESS=-cgiFx4M
GPG_KEY=1E953E27D4311E58
BLASTER=A220 I5 D1 H5 P330 T6
_=/usr/bin/env
**************************************************************************************
** Building libmonitoring-livestatus-perl 0.74-1 on amd64 **
**************************************************************************************
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package libmonitoring-livestatus-perl
dpkg-buildpackage: info: source version 0.74-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Alexander Wirt <formorer at debian.org>
dpkg-source --before-build libmonitoring-livestatus-perl-0.74
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
dh_clean
debian/rules build
dh build
dh_testdir
dh_update_autotools_config
dh_auto_configure
perl -I. Makefile.PL INSTALLDIRS=vendor create_packlist=0
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- IO::Socket::UNIX ...loaded. (1.26)
- IO::Socket::INET ...loaded. (1.35)
- Digest::MD5 ...loaded. (2.54)
- Scalar::Util ...loaded. (1.4202)
- Test::More ...loaded. (1.001014 >= 0.87)
- Thread::Queue ...loaded. (3.09 >= 2.11)
- utf8 ...loaded. (1.19)
- Encode ...loaded. (2.80_01)
- JSON::XS ...loaded. (3.02)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
'CREATE_PACKLIST' is not a known MakeMaker parameter name.
Generating a Unix-style Makefile
Writing Makefile for Monitoring::Livestatus
Writing MYMETA.yml and MYMETA.json
dh_auto_build
make -j1
make[1]: Entering directory '/home/lamby/temp/cdt.20160927100350.fHLGiJvTzI.db.libmonitoring-livestatus-perl/libmonitoring-livestatus-perl-0.74'
cp lib/Monitoring/Livestatus.pm blib/lib/Monitoring/Livestatus.pm
cp lib/Monitoring/Livestatus/UNIX.pm blib/lib/Monitoring/Livestatus/UNIX.pm
cp lib/Monitoring/Livestatus/MULTI.pm blib/lib/Monitoring/Livestatus/MULTI.pm
cp lib/Monitoring/Livestatus/INET.pm blib/lib/Monitoring/Livestatus/INET.pm
Manifying 4 pod documents
make[1]: Leaving directory '/home/lamby/temp/cdt.20160927100350.fHLGiJvTzI.db.libmonitoring-livestatus-perl/libmonitoring-livestatus-perl-0.74'
dh_auto_test
make -j1 test TEST_VERBOSE=1
make[1]: Entering directory '/home/lamby/temp/cdt.20160927100350.fHLGiJvTzI.db.libmonitoring-livestatus-perl/libmonitoring-livestatus-perl-0.74'
PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/01-Monitoring-Livestatus-basic_tests.t t/02-Monitoring-Livestatus-internals.t t/03-Monitoring-Livestatus-MULTI-internals.t t/20-Monitoring-Livestatus-test_socket.t t/21-Monitoring-Livestatus-INET.t t/22-Monitoring-Livestatus-UNIX.t t/30-Monitoring-Livestatus-live-test.t t/31-Monitoring-Livestatus-MULTI-live-test.t t/32-Monitoring-Livestatus-backend-test.t t/33-Monitoring-Livestatus-test_socket_timeout.t t/34-Monitoring-Livestatus-utf8_support.t t/35-Monitoring-Livestatus-callbacks_support.t t/97-Pod.t t/98-Pod-Coverage.t t/99-Perl-Critic.t
t/01-Monitoring-Livestatus-basic_tests.t ..........
1..35
ok 1 - use Monitoring::Livestatus;
ok 2 - 'single args' isa 'Monitoring::Livestatus'
ok 3 - get peer_name()
ok 4 - get peer_addr()
ok 5 - 'new hash args' isa 'Monitoring::Livestatus'
ok 6 - get peer_name()
ok 7 - get peer_addr()
ok 8 - 'peer hash arg socket' isa 'Monitoring::Livestatus'
ok 9 - get peer_name()
ok 10 - get peer_addr()
ok 11 - 'peer backend UNIX' isa 'Monitoring::Livestatus::UNIX'
ok 12 - 'peer hash arg server' isa 'Monitoring::Livestatus'
ok 13 - get peer_name()
ok 14 - get peer_addr()
ok 15 - 'peer backend INET' isa 'Monitoring::Livestatus::INET'
ok 16 - 'peer hash arg multi' isa 'Monitoring::Livestatus'
ok 17 - list context get peer_name()
ok 18 - scalar context get peer_name()
ok 19 - list context get peer_addr()
ok 20 - 'peer hash arg multi with name' isa 'Monitoring::Livestatus'
ok 21 - peer_name()
ok 22 - 'peer hash arg multi with keepalive' isa 'Monitoring::Livestatus'
ok 23 - get peer_name()
ok 24 - get peer_addr()
ok 25 - 'peer hash arg multi with general timeout' isa 'Monitoring::Livestatus'
ok 26 - get peer_name()
ok 27 - get peer_addr()
ok 28 - connect_timeout
ok 29 - query_timeout
ok 30 - 'peer hash arg multi with general timeout' isa 'Monitoring::Livestatus'
ok 31 - get peer_name()
ok 32 - get peer_addr()
ok 33 - connect_timeout
ok 34 - query_timeout
ok 35 - 'peer hash arg multi with error retry' isa 'Monitoring::Livestatus'
ok
t/02-Monitoring-Livestatus-internals.t ............
1..14
ok 1 - use Monitoring::Livestatus;
ok 2 - 'single args server' isa 'Monitoring::Livestatus'
ok 3 - 'single args server peer' isa 'Monitoring::Livestatus::INET'
ok 4 - single args server peer name
ok 5 - single args server peer addr
ok 6 - 'single args socket' isa 'Monitoring::Livestatus'
ok 7 - 'single args socket peer' isa 'Monitoring::Livestatus::UNIX'
ok 8 - single args socket peer name
ok 9 - single args socket peer addr
ok 10 - error code 404
ok 11 - error code 404 message
ok 12 - statsAnd, statsOr query keys
ok 13 - stats query keys2
ok 14 - normal query keys
ok
t/03-Monitoring-Livestatus-MULTI-internals.t ......
1..57
ok 1 - use Monitoring::Livestatus::MULTI;
ok 2 - 'single args sockets' isa 'Monitoring::Livestatus'
ok 3 - 'single args sockets peer' isa 'Monitoring::Livestatus::UNIX'
ok 4 - 'single args sockets peer' isa 'Monitoring::Livestatus::UNIX'
ok 5 - 'single array args socket' isa 'Monitoring::Livestatus'
ok 6 - 'single array args socket peer' isa 'Monitoring::Livestatus::UNIX'
ok 7 - single arrays args socket peer addr
ok 8 - single arrays args socket peer name
ok 9 - 'single args server' isa 'Monitoring::Livestatus'
ok 10 - 'single args server peer' isa 'Monitoring::Livestatus::INET'
ok 11 - single args servers peer addr
ok 12 - single args servers peer name
ok 13 - 'single array args server' isa 'Monitoring::Livestatus'
ok 14 - 'single arrays args server peer' isa 'Monitoring::Livestatus::INET'
ok 15 - single arrays args servers peer addr
ok 16 - single arrays args servers peer name
ok 17 - 'single args servers' isa 'Monitoring::Livestatus'
ok 18 - 'single args servers peer' isa 'Monitoring::Livestatus::INET'
ok 19 - single args servers peer addr
ok 20 - single args servers peer name
ok 21 - 'single args servers peer' isa 'Monitoring::Livestatus::INET'
ok 22 - single args servers peer addr
ok 23 - single args servers peer name
ok 24 - 'hash args servers' isa 'Monitoring::Livestatus'
ok 25 - 'hash args servers peer' isa 'Monitoring::Livestatus::INET'
ok 26 - hash args servers peer addr
ok 27 - hash args servers peer name
ok 28 - 'hash args servers peer' isa 'Monitoring::Livestatus::INET'
ok 29 - hash args servers peer addr
ok 30 - hash args servers peer name
ok 31 - 'hash args sockets' isa 'Monitoring::Livestatus'
ok 32 - 'hash args sockets peer' isa 'Monitoring::Livestatus::UNIX'
ok 33 - 'hash args sockets peer' isa 'Monitoring::Livestatus::UNIX'
ok 34 - 'hash args hashed sockets' isa 'Monitoring::Livestatus'
ok 35 - 'hash args hashed sockets peer' isa 'Monitoring::Livestatus::UNIX'
ok 36 - hash args hashed sockets peer name
ok 37 - 'hash args hashed sockets peer' isa 'Monitoring::Livestatus::UNIX'
ok 38 - hash args hashed sockets peer name
ok 39 - 'hash args hashed servers' isa 'Monitoring::Livestatus'
ok 40 - 'hash args hashed servers peer' isa 'Monitoring::Livestatus::INET'
ok 41 - hash args hashed servers peer addr
ok 42 - hash args hashed servers peer name
ok 43 - 'hash args hashed servers peer' isa 'Monitoring::Livestatus::INET'
ok 44 - hash args hashed servers peer addr
ok 45 - hash args hashed servers peer name
ok 46 - 'single args socket' isa 'Monitoring::Livestatus'
ok 47 - 'single args socket peer' isa 'Monitoring::Livestatus::UNIX'
ok 48 - _merge_answer test 0
ok 49 - _sum_answer test 1
ok 50 - _sum_answer test 2
ok 51 - _sum_answer test 3
ok 52 - _sum_answer test 4
ok 53 - _sum_answer test 5
ok 54 - _sum_answer test 6
ok 55 - _sum_answer test 7
ok 56 - merge test clone
ok 57 - sum test clone
ok
Thread 2 terminated abnormally: hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this) at t/20-Monitoring-Livestatus-test_socket.t line 315, <GEN1> line 4.
failed to connect at t/20-Monitoring-Livestatus-test_socket.t line 156.
# Looks like you planned 109 tests but ran 6.
# Looks like your test exited with 111 just after 6.
Perl exited with active threads:
1 running and unjoined
1 finished and unjoined
0 running and detached
t/20-Monitoring-Livestatus-test_socket.t ..........
1..109
ok 1 - use Monitoring::Livestatus;
creating unix socket
creating tcp socket
ok 2 - An object of class 'Monitoring::Livestatus::INET' isa 'Monitoring::Livestatus'
ok 3 - enable verbose
ok 4 - disable verbose
ok 5 - disable errors_are_fatal
ok 6 - enable errors_are_fatal
Dubious, test returned 111 (wstat 28416, 0x6f00)
Failed 103/109 subtests
t/21-Monitoring-Livestatus-INET.t .................
1..3
ok 1 - use Monitoring::Livestatus::INET;
ok 2 - 'Monitoring::Livestatus::INET->new()' isa 'Monitoring::Livestatus'
ok 3 - 'Monitoring::Livestatus::INET->new(%args)' isa 'Monitoring::Livestatus'
ok
t/22-Monitoring-Livestatus-UNIX.t .................
1..3
ok 1 - use Monitoring::Livestatus::UNIX;
ok 2 - 'Monitoring::Livestatus::UNIX->new()' isa 'Monitoring::Livestatus'
ok 3 - 'Monitoring::Livestatus::UNIX->new(%args)' isa 'Monitoring::Livestatus'
ok
t/30-Monitoring-Livestatus-live-test.t ............ skipped: Author test. Set $ENV{TEST_SOCKET} and $ENV{TEST_SERVER} to run
t/31-Monitoring-Livestatus-MULTI-live-test.t ...... skipped: Author test. Set $ENV{TEST_SOCKET} and $ENV{TEST_SERVER} to run
t/32-Monitoring-Livestatus-backend-test.t ......... skipped: Author test. Set $ENV{TEST_SOCKET} and $ENV{TEST_SERVER} and $ENV{TEST_BACKEND} to run
t/33-Monitoring-Livestatus-test_socket_timeout.t .. skipped: Author test. Set $ENV{TEST_SOCKET} and $ENV{TEST_SERVER} to run
t/34-Monitoring-Livestatus-utf8_support.t ......... skipped: Author test. Set $ENV{TEST_SOCKET} and $ENV{TEST_SERVER} to run
t/35-Monitoring-Livestatus-callbacks_support.t .... skipped: Author test. Set $ENV{TEST_SOCKET} and $ENV{TEST_SERVER} to run
t/97-Pod.t ........................................ skipped: Test::Pod 1.14 required
t/98-Pod-Coverage.t ............................... skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
t/99-Perl-Critic.t ................................ skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
Test Summary Report
-------------------
t/20-Monitoring-Livestatus-test_socket.t (Wstat: 28416 Tests: 6 Failed: 0)
Non-zero exit status: 111
Parse errors: Bad plan. You planned 109 tests but ran 6.
Files=15, Tests=118, 3 wallclock secs ( 0.06 usr 0.01 sys + 0.81 cusr 0.05 csys = 0.93 CPU)
Result: FAIL
Failed 1/15 test programs. 0/118 subtests failed.
Makefile:772: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory '/home/lamby/temp/cdt.20160927100350.fHLGiJvTzI.db.libmonitoring-livestatus-perl/libmonitoring-livestatus-perl-0.74'
dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmonitoring-livestatus-perl.0.74-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 4073 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20160927/786b12b7/attachment.obj>
More information about the Pkg-nagios-devel
mailing list