Bug#612780: Info received (Bug#612780: libnet-ssleay-perl: Tests fail, "undefined symbol: SSLv2_method")
Gerardo Malazdrewicz
gerardo at malazdrewicz.com.ar
Thu Feb 10 18:15:12 UTC 2011
2011/2/10 Debian Bug Tracking System <owner at bugs.debian.org>:
> Thank you for the additional information you have supplied regarding
> this Bug report.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
> Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
>
> If you wish to submit further information on this problem, please
> send it to 612780 at bugs.debian.org.
>
> Please do not send mail to owner at bugs.debian.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 612780: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612780
> Debian Bug Tracking System
> Contact owner at bugs.debian.org with problems
>
Ooops, forgot the files, here they are.
Thanks,
Gerardo
-------------- next part --------------
I: Building in /home/gerardo/apt-src/libnet-ssleay-perl-1.36 ..
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package libnet-ssleay-perl
dpkg-buildpackage: source version 1.36-1
dpkg-buildpackage: source changed by Franck Joncourt <franck at debian.org>
dpkg-source --before-build libnet-ssleay-perl-1.36
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
make[1]: Entering directory `/home/gerardo/apt-src/libnet-ssleay-perl-1.36'
rm -f \
*.a core \
SSLeay.c core.[0-9] \
blib/arch/auto/Net/SSLeay/extralibs.all core.[0-9][0-9] \
SSLeay.bso pm_to_blib.ts \
core.[0-9][0-9][0-9][0-9] SSLeay.x \
SSLeay.bs perl \
tmon.out *.o \
pm_to_blib blib/arch/auto/Net/SSLeay/extralibs.ld \
blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] \
*perl.core core.*perl.*.? \
Makefile.aperl perl \
SSLeay.def core.[0-9][0-9][0-9] \
mon.out libSSLeay.def \
perlmain.c perl.exe \
so_locations SSLeay.exp
rm -rf \
t/local/ptr_cast_test examples/key.pem \
examples/*.0 examples/cert.pem \
sslecho.log tcpecho.log \
examples/key.pem.e makecert.err \
blib makecert.out
mv Makefile Makefile.old > /dev/null 2>&1
rm -f \
SSLeay.o Makefile.old \
Makefile
rm -rf \
MYMETA.yml Net-SSLeay-1.36
/usr/bin/perl "-Iinc" "-MExtUtils::Manifest=fullcheck" -e fullcheck
Not in MANIFEST: debian/changelog
Not in MANIFEST: debian/compat
Not in MANIFEST: debian/control
Not in MANIFEST: debian/copyright
Not in MANIFEST: debian/libnet-ssleay-perl.debhelper.log
Not in MANIFEST: debian/libnet-ssleay-perl.docs
Not in MANIFEST: debian/libnet-ssleay-perl.examples
Not in MANIFEST: debian/patches/10fix_pod.patch
Not in MANIFEST: debian/patches/20no-stray-libz-link.patch
Not in MANIFEST: debian/patches/series
Not in MANIFEST: debian/rules
Not in MANIFEST: debian/source/format
Not in MANIFEST: debian/watch
Not in MANIFEST: Debian_CPANTS.txt
make[1]: Leaving directory `/home/gerardo/apt-src/libnet-ssleay-perl-1.36'
dh_clean
debian/rules build
dh build
dh_testdir
dh_auto_configure
Cannot determine perl version info from lib/Net/SSLeay.pm
Cannot determine license info from lib/Net/SSLeay.pm
*** Found OpenSSL-1.0.0c installed in /usr
*** That's newer than what this module was tested with
You should consider checking if there is a newer release of this module
available. Everything will probably work OK, though.
*** 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
'CREATE_PACKLIST' is not a known MakeMaker parameter name.
Writing Makefile for Net::SSLeay
dh_auto_build
make[1]: Entering directory `/home/gerardo/apt-src/libnet-ssleay-perl-1.36'
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
cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm
/usr/bin/perl "-Iinc" /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.12/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
cc -c -I/usr/include -I/usr/inc32 -I/usr/kerberos/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.36\" -DXS_VERSION=\"1.36\" -fPIC "-I/usr/lib/perl/5.12/CORE" SSLeay.c
SSLeay.xs: In function 'XS_Net__SSLeay_CTX_v2_new':
SSLeay.xs:730:6: warning: passing argument 1 of 'SSL_CTX_new' makes pointer from integer without a cast
/usr/include/openssl/ssl.h:1469:10: note: expected 'const struct SSL_METHOD *' but argument is of type 'int'
SSLeay.c: In function 'XS_Net__SSLeay_SSLv2_method':
SSLeay.c:4705:9: warning: assignment makes pointer from integer without a cast
SSLeay.c: In function 'XS_Net__SSLeay_SSLv3_method':
SSLeay.c:4726:9: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function 'XS_Net__SSLeay_TLSv1_method':
SSLeay.c:4747:9: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function 'XS_Net__SSLeay_get_ssl_method':
SSLeay.c:4792:9: warning: assignment discards qualifiers from pointer target type
SSLeay.c: In function 'XS_Net__SSLeay_get_current_cipher':
SSLeay.c:6008:9: warning: assignment discards qualifiers from pointer target type
Running Mkbootstrap for Net::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Net/SSLeay/SSLeay.so
cc -shared -O2 -g -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.3pm
Manifying blib/man3/Net::SSLeay::Handle.3pm
make[1]: Leaving directory `/home/gerardo/apt-src/libnet-ssleay-perl-1.36'
dh_auto_test
make[1]: Entering directory `/home/gerardo/apt-src/libnet-ssleay-perl-1.36'
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
# Failed test 'use Net::SSLeay::Handle;'
# at t/handle/local/05_use.t line 8.
# Tried to use 'Net::SSLeay::Handle'.
# Error: Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
# at /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/lib/Net/SSLeay/Handle.pm line 7
# Compilation failed in require at /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/lib/Net/SSLeay/Handle.pm line 7.
# BEGIN failed--compilation aborted at /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/lib/Net/SSLeay/Handle.pm line 7.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/handle/local/05_use.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
# compiling test program with: cc -o t/local/ptr_cast_test t/local/ptr_cast_test.c
t/local/00_ptr_cast.t .......... ok
t/local/01_pod.t ............... ok
t/local/02_pod_coverage.t ...... skipped: currently disabled
# Failed test 'use Net::SSLeay;'
# at t/local/03_use.t line 8.
# Tried to use 'Net::SSLeay'.
# Error: Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
# at (eval 4) line 2
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/local/03_use.t ...............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/04_basic.t line 6
Compilation failed in require at t/local/04_basic.t line 6.
BEGIN failed--compilation aborted at t/local/04_basic.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/local/04_basic.t .............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/05_passwd_cb.t line 7
Compilation failed in require at t/local/05_passwd_cb.t line 7.
BEGIN failed--compilation aborted at t/local/05_passwd_cb.t line 7.
# Looks like your test exited with 2 before it could output anything.
t/local/05_passwd_cb.t .........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 13/13 subtests
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/06_tcpecho.t line 8
Compilation failed in require at t/local/06_tcpecho.t line 8.
BEGIN failed--compilation aborted at t/local/06_tcpecho.t line 8.
# Looks like your test exited with 2 before it could output anything.
t/local/06_tcpecho.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/07_sslecho.t line 9
Compilation failed in require at t/local/07_sslecho.t line 9.
BEGIN failed--compilation aborted at t/local/07_sslecho.t line 9.
# Looks like your test exited with 2 before it could output anything.
t/local/07_sslecho.t ...........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 70/70 subtests
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/08_pipe.t line 6
Compilation failed in require at t/local/08_pipe.t line 6.
BEGIN failed--compilation aborted at t/local/08_pipe.t line 6.
t/local/08_pipe.t ..............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/15_bio.t line 6
Compilation failed in require at t/local/15_bio.t line 6.
BEGIN failed--compilation aborted at t/local/15_bio.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/local/15_bio.t ...............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 7/7 subtests
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/20_autoload.t line 6
Compilation failed in require at t/local/20_autoload.t line 6.
BEGIN failed--compilation aborted at t/local/20_autoload.t line 6.
t/local/20_autoload.t ..........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/30_error.t line 11
Compilation failed in require at t/local/30_error.t line 11.
BEGIN failed--compilation aborted at t/local/30_error.t line 11.
t/local/30_error.t .............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/31_rsa_generate_key.t line 6
Compilation failed in require at t/local/31_rsa_generate_key.t line 6.
BEGIN failed--compilation aborted at t/local/31_rsa_generate_key.t line 6.
t/local/31_rsa_generate_key.t ..
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/35_ephemeral.t line 6
Compilation failed in require at t/local/35_ephemeral.t line 6.
BEGIN failed--compilation aborted at t/local/35_ephemeral.t line 6.
# Looks like your test exited with 2 before it could output anything.
t/local/35_ephemeral.t .........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
Can't load '/home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay: /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSLv2_method at /usr/lib/perl/5.12/DynaLoader.pm line 192.
at t/local/50_digest.t line 6
Compilation failed in require at t/local/50_digest.t line 6.
BEGIN failed--compilation aborted at t/local/50_digest.t line 6.
t/local/50_digest.t ............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/local/kwalitee.t ............. ok
Test Summary Report
-------------------
t/handle/local/05_use.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/local/03_use.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/local/04_basic.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/local/05_passwd_cb.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 13 tests but ran 0.
t/local/06_tcpecho.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
t/local/07_sslecho.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 70 tests but ran 0.
t/local/08_pipe.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/local/15_bio.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 7 tests but ran 0.
t/local/20_autoload.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/local/30_error.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/local/31_rsa_generate_key.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/local/35_ephemeral.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 0.
t/local/50_digest.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=17, Tests=22, 4 wallclock secs ( 0.07 usr 0.03 sys + 1.65 cusr 0.14 csys = 1.89 CPU)
Result: FAIL
Failed 13/17 test programs. 2/22 subtests failed.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/home/gerardo/apt-src/libnet-ssleay-perl-1.36'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Building failed
-------------- next part --------------
gerardo at envy17:~/apt-src$ nm /home/gerardo/apt-src/libnet-ssleay-perl-1.36/blib/arch/auto/Net/SSLeay/SSLeay.so | grep method
U SSL_COMP_add_compression_method@@OPENSSL_1.0.0
U SSL_get_ssl_method@@OPENSSL_1.0.0
U SSL_set_ssl_method@@OPENSSL_1.0.0
U SSLv23_method@@OPENSSL_1.0.0
U SSLv2_method
U SSLv3_method@@OPENSSL_1.0.0
U TLSv1_method@@OPENSSL_1.0.0
00000000000273e0 T XS_Net__SSLeay_COMP_add_compression_method
0000000000040190 T XS_Net__SSLeay_CTX_new_with_method
000000000002b860 T XS_Net__SSLeay_SSLv2_method
000000000002b690 T XS_Net__SSLeay_SSLv3_method
000000000002b4c0 T XS_Net__SSLeay_TLSv1_method
000000000002af40 T XS_Net__SSLeay_get_ssl_method
000000000002b1b0 T XS_Net__SSLeay_set_ssl_method
More information about the pkg-perl-maintainers
mailing list