Bug#751209: libnet-ssleay-perl: FTBFS: t/local/33_x509_create_cert.t test fails

Aurelien Jarno aurel32 at debian.org
Wed Jun 11 05:11:28 UTC 2014


Package: libnet-ssleay-perl
Version: 1.63-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

libnet-ssleay-perl fails to build from source when rebuilt on a sid
system. From my build log:

| dpkg-buildpackage: source package libnet-ssleay-perl
| dpkg-buildpackage: source version 1.63-1
| dpkg-buildpackage: source distribution unstable
| dpkg-buildpackage: source changed by gregor herrmann <gregoa at debian.org>
|  dpkg-source --before-build libnet-ssleay-perl-1.63
| dpkg-buildpackage: host architecture amd64
|  fakeroot debian/rules clean
| dh clean
|    dh_testdir
|    dh_auto_clean
|    dh_clean
|  dpkg-source -b libnet-ssleay-perl-1.63
| dpkg-source: info: using source format `3.0 (quilt)'
| dpkg-source: info: building libnet-ssleay-perl using existing ./libnet-ssleay-perl_1.63.orig.tar.gz
| dpkg-source: info: building libnet-ssleay-perl in libnet-ssleay-perl_1.63-1.debian.tar.xz
| dpkg-source: info: building libnet-ssleay-perl in libnet-ssleay-perl_1.63-1.dsc
|  debian/rules build
| dh build
|    dh_testdir
|    dh_auto_configure
| *** Found OpenSSL-1.0.1i installed in /usr
| *** Be sure to use the same compiler and options to compile your OpenSSL, perl,
|     and Net::SSLeay. Mixing and matching compilers is not supported.
| Do you want to run external tests?
| These tests *will* *fail* if you do not have network connectivity. [n] n
| Checking if your kit is complete...
| Looks good
| Writing Makefile for Net::SSLeay
| Writing MYMETA.yml and MYMETA.json
|    dh_auto_build
| make[1]: Entering directory '/tmp/buildd/libnet-ssleay-perl-1.63'
| cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod
| cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm
| cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm
| AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay)
| blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters:
|  directory blib/lib/auto/Net/SSLeay:
|   do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
|   do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
|   get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
|   head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
|   post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
|   put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
|   ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
|   ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
|   tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
|   tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
| /usr/bin/perl "-Iinc" /usr/share/perl/5.18/ExtUtils/xsubpp  -typemap /usr/share/perl/5.18/ExtUtils/typemap -typemap typemap  SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
| cc -c  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -DVERSION=\"1.63\" -DXS_VERSION=\"1.63\" -fPIC "-I/usr/lib/perl/5.18/CORE"   SSLeay.c
| Running Mkbootstrap for Net::SSLeay ()
| chmod 644 SSLeay.bs
| rm -f blib/arch/auto/Net/SSLeay/SSLeay.so
| cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro  -shared -L/usr/local/lib -fstack-protector SSLeay.o  -o blib/arch/auto/Net/SSLeay/SSLeay.so 	\
|    -L/usr -L/usr/lib -lssl -lcrypto  	\
|   
| chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so
| cp SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs
| chmod 644 blib/arch/auto/Net/SSLeay/SSLeay.bs
| Manifying blib/man3/Net::SSLeay::Handle.3pm
| Manifying blib/man3/Net::SSLeay.3pm
| make[1]: Leaving directory '/tmp/buildd/libnet-ssleay-perl-1.63'
|    dh_auto_test
| make[1]: Entering directory '/tmp/buildd/libnet-ssleay-perl-1.63'
| PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/local/*.t t/handle/local/*.t
| t/handle/local/05_use.t ................ ok
| t/local/01_pod.t ....................... ok
| t/local/02_pod_coverage.t .............. skipped: these tests are for only for release candidate testing. Enable with RELEASE_TESTING=1
| t/local/03_use.t ....................... ok
| # Version info:
| # Testing Net::SSLeay 1.63, Perl 5.018002, /usr/bin/perl
| # OpenSSL version:  'OpenSSL 1.0.1i-dev xx XXX xxxx'
| # OpenSSL platform: 'platform: debian-amd64'
| t/local/04_basic.t ..................... ok
| t/local/05_passwd_cb.t ................. ok
| t/local/06_tcpecho.t ................... ok
| t/local/07_sslecho.t ................... ok
| t/local/08_pipe.t ...................... ok
| t/local/15_bio.t ....................... ok
| t/local/20_autoload.t .................. ok
| t/local/21_constants.t ................. ok
| t/local/30_error.t ..................... ok
| t/local/31_rsa_generate_key.t .......... ok
| t/local/32_x509_get_cert_info.t ........ ok
| 
| #   Failed test 'X509_NAME_digest'
| #   at t/local/33_x509_create_cert.t line 107.
| #          got: 'ce83889f1beab8e70aa142e07e94b0ebbd9d59e0'
| #     expected: '044d7ea7fddced7b9b63799600b9989a63b36819'
| # Looks like you failed 1 test of 124.
| t/local/33_x509_create_cert.t .......... 
| Dubious, test returned 1 (wstat 256, 0x100)
| Failed 1/124 subtests 
| t/local/34_x509_crl.t .................. ok
| t/local/35_ephemeral.t ................. ok
| t/local/36_verify.t .................... ok
| t/local/37_asn1_time.t ................. ok
| t/local/38_priv-key.t .................. ok
| t/local/39_pkcs12.t .................... ok
| t/local/40_npn_support.t ............... ok
| t/local/41_alpn_support.t .............. skipped: openssl 1.0.2 required
| t/local/50_digest.t .................... ok
| t/local/61_threads-cb-crash.t .......... ok
| t/local/62_threads-ctx_new-deadlock.t .. ok
| t/local/kwalitee.t ..................... skipped: these tests are for only for release candidate testing. Enable with RELEASE_TESTING=1
| 
| Test Summary Report
| -------------------
| t/local/33_x509_create_cert.t        (Wstat: 256 Tests: 124 Failed: 1)
|   Failed test:  41
|   Non-zero exit status: 1
| Files=28, Tests=2684,  3 wallclock secs ( 0.41 usr  0.05 sys +  2.95 cusr  0.16 csys =  3.57 CPU)
| Result: FAIL
| Failed 1/28 test programs. 1/2684 subtests failed.
| Makefile:940: recipe for target 'test_dynamic' failed
| make[1]: *** [test_dynamic] Error 255
| make[1]: Leaving directory '/tmp/buildd/libnet-ssleay-perl-1.63'
| dh_auto_test: make -j1 test returned exit code 2
| debian/rules:4: recipe for target 'build' failed
| make: *** [build] Error 2
| dpkg-buildpackage: error: debian/rules build gave error exit status 2

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libnet-ssleay-perl depends on:
ii  libc6                       2.19-1
ii  libssl1.0.0                 1.0.1h-2
ii  perl                        5.18.2-4
ii  perl-base [perlapi-5.18.2]  5.18.2-4

libnet-ssleay-perl recommends no packages.

Versions of packages libnet-ssleay-perl suggests:
ii  perl [libmime-base64-perl]  5.18.2-4

-- no debconf information



More information about the pkg-perl-maintainers mailing list