Bug#868945: libtest-redisserver-perl: FTBFS: /bin/sh: 1: /usr/bin/licensecheck: not found

Lucas Nussbaum lucas at debian.org
Wed Jul 19 16:12:56 UTC 2017


Source: libtest-redisserver-perl
Version: 0.20-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> CDBS WARNING:  copyright-check disabled - licensecheck is missing.
> test -x debian/rules
> mkdir -p "."
> 
> Scanning upstream source for new/changed copyright notices...
> 
> set -e; LC_ALL=C.UTF-8 /usr/bin/licensecheck --check '.*' --recursive --copyright --deb-fmt --ignore '^(debian/(changelog|copyright(|_hints|_newhints)))$' --lines 0 * | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints
> /bin/sh: 1: /usr/bin/licensecheck: not found
> 0 combinations of copyright and licensing found.
> No new copyright notices found - assuming no news is good news...
> touch debian/stamp-copyright-check
> touch debian/stamp-upstream-cruft
> cd . && perl -I. Build.PL --installdirs vendor --config ccflags="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --config cxxflags="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" --config cppflags="-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include" --config lddlflags="-Wl,-z,relro -shared -L/usr/local/lib -fstack-protector-strong" --destdir /<<PKGBUILDDIR>>/debian/libtest-redisserver-perl
> Creating new 'Build' script for 'Test-RedisServer' version '0.20'
> cd . && ./Build build
> cp lib/Test/RedisServer.pm blib/lib/Test/RedisServer.pm
> touch debian/stamp-perl-build
> cd  . && ./Build test  --verbose 1
> *** failed to launch redis-server ***
> 40903:C 19 Jul 12:00:56.265 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
> 40903:C 19 Jul 12:00:56.265 # Redis version=4.0.0, bits=64, commit=00000000, modified=0, pid=40903, just started
> 40903:C 19 Jul 12:00:56.265 # Configuration loaded
> 40903:M 19 Jul 12:00:56.266 * Increased maximum number of open files to 10032 (it was originally set to 1024).
> 40903:M 19 Jul 12:00:56.266 * Running mode=standalone, port=38665.
> 40903:M 19 Jul 12:00:56.266 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
> 40903:M 19 Jul 12:00:56.266 # Server initialized
> 40903:M 19 Jul 12:00:56.266 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
> 40903:M 19 Jul 12:00:56.266 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
> 40903:M 19 Jul 12:00:56.266 * Ready to accept connections
> 40903:signal-handler (1500465702) Received SIGTERM scheduling shutdown...
> 40903:M 19 Jul 12:01:42.859 # User requested shutdown...
> 40903:M 19 Jul 12:01:42.859 # Redis is now ready to exit, bye bye...
>  at t/basic.t line 28.
> # Tests were run but no plan was declared and done_testing() was not seen.
> # Looks like your test exited with -1 just after 6.
> t/basic.t ......... 
> ok 1 - pid ok
> ok 2 - unix socket ok
> ok 3 - server key does not exist ok
> ok 4 - ping pong ok
> ok 5 - pid removed ok
> ok 6 - no server available ok
> Dubious, test returned 255 (wstat 65280, 0xff00)
> All 6 subtests passed 
> t/manual_start.t .. 
> ok 1 - redis client object was not created ok
> ok 2 - error msg ok
> ok 3 - ping pong ok
> 1..3
> ok
> t/no_server.t ..... 
> ok 1 - server was not created ok
> ok 2 - error msg ok
> 1..2
> ok
> t/tmp_dir.t ....... 
> 40923:C 19 Jul 12:01:43.488 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
> 40923:C 19 Jul 12:01:43.488 # Redis version=4.0.0, bits=64, commit=00000000, modified=0, pid=40923, just started
> 40923:C 19 Jul 12:01:43.488 # Configuration loaded
> 40923:M 19 Jul 12:01:43.488 * Increased maximum number of open files to 10032 (it was originally set to 1024).
> 40923:M 19 Jul 12:01:43.489 * Running mode=standalone, port=41769.
> 40923:M 19 Jul 12:01:43.489 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
> 40923:M 19 Jul 12:01:43.489 # Server initialized
> 40923:M 19 Jul 12:01:43.489 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
> 40923:M 19 Jul 12:01:43.489 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
> 40923:M 19 Jul 12:01:43.489 * Ready to accept connections
> 40923:signal-handler (1500465703) Received SIGTERM scheduling shutdown...
> 40923:M 19 Jul 12:01:43.490 # User requested shutdown...
> 40923:M 19 Jul 12:01:43.490 # Redis is now ready to exit, bye bye...
> ok 1 - no files remained after server shutdown
> 1..1
> ok
> t/unknown_conf.t .. 
> ok 1 - server did not initialize ok
> ok 2 - error msg ok
> 1..2
> ok
> t/wait.t .......... 
> ok 1 - process exited
> ok 2 - no pid ok
> ok 3 - redis exit ok
> 1..3
> ok
> 
> Test Summary Report
> -------------------
> t/basic.t       (Wstat: 65280 Tests: 6 Failed: 0)
>   Non-zero exit status: 255
>   Parse errors: No plan found in TAP output
> Files=6, Tests=17, 51 wallclock secs ( 0.01 usr  0.02 sys +  0.40 cusr  0.14 csys =  0.57 CPU)
> Result: FAIL
> /usr/share/cdbs/1/class/perl-build.mk:84: recipe for target 'debian/stamp-perl-check' failed
> make: *** [debian/stamp-perl-check] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/07/19/libtest-redisserver-perl_0.20-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-perl-maintainers mailing list