LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   Building package "perl-IO-Socket-SSL" from SBo fails on RasPi (https://www.linuxquestions.org/questions/slackware-arm-108/building-package-perl-io-socket-ssl-from-sbo-fails-on-raspi-4175542765/)

slacksam 05-16-2015 08:39 AM

Building package "perl-IO-Socket-SSL" from SBo fails on RasPi
 
1 Attachment(s)
Hi,

trying to build the package perl-IO-Socket-SSL (version 1.955 and also 2.015) fails on my Raspberry Pi with Slackware ARM 14.1, throwing the following error message:
Code:

[...]
t/01loadmodule.t ........... ok
t/02settings.t ............. ok
t/acceptSSL-timeout.t ...... ok
t/auto_verify_hostname.t ... ok
t/cert_no_file.t ........... ok
t/compatibility.t .......... ok
t/connectSSL-timeout.t ..... ok
t/core.t ................... ok
t/dhe.t .................... ok
t/ecdhe.t .................. skipped: no support for ecdh with this openssl/Net::SSLeay
t/io-socket-inet6.t ........ ok
t/io-socket-ip.t ........... skipped: no IO::Socket::IP 0.20 available
t/memleak_bad_handshake.t .. ok
t/mitm.t ................... ok
t/nonblock.t ...............
Failed 2/27 subtests
t/npn.t .................... ok
t/readline.t ............... ok
t/sessions.t ............... ok
t/signal-readline.t ........ ok
t/sni.t .................... ok
t/start-stopssl.t .......... ok
t/startssl-failed.t ........ ok
t/startssl.t ............... ok
t/sysread_write.t .......... ok
t/verify_hostname.t ........ ok

Test Summary Report
-------------------
t/nonblock.t            (Wstat: 0 Tests: 27 Failed: 2)
  Failed tests:  13, 26
Files=25, Tests=349, 98 wallclock secs ( 2.53 usr  0.22 sys + 53.97 cusr  3.29 csys = 60.01 CPU)
Result: FAIL
Failed 1/25 test programs. 2/349 subtests failed.
make: *** [test_dynamic] Error 255

(whole output in the attachment)

This only happens on my RasPi. On my x86 machines it builds fine.

Has anybody a solution for this issue or knows what I could do?


Edit:
Forgot to mention that the dependency packages "Net-SSLeay" and "perl-Net-LibIDN" are installed.

drmozes 05-20-2015 08:14 AM

Quote:

Originally Posted by slacksam (Post 5363196)
Hi,

t/nonblock.t ...............
Failed 2/27 subtests
[..]

Googling 't/nonblock arm failed' shows that this has been around for years.

You could try changing the SlackBuild by adding 'NO_NETWORK_TESTING=1'
Code:

NO_NETWORK_TESTING=1 perl Makefile.PL INSTALLDIRS=perl

slacksam 05-20-2015 11:26 AM

Quote:

You could try changing the SlackBuild by adding 'NO_NETWORK_TESTING=1'
Code:

NO_NETWORK_TESTING=1 perl Makefile.PL INSTALLDIRS=perl

Thanks, but that did't work. Nothing changed.

Now I made a hack to the t/nonblock.t file to force skipping the test.

In the SlackBuild file I added
Code:

sed -e '0,/^use/s//print "1..0 # Skipped: no support for nonblocking sockets\\n";\nexit;\nuse/' -i t/nonblock.t
one line above
Code:

perl Makefile.PL INSTALLDIRS=perl
After this change the package was built.


All times are GMT -5. The time now is 07:28 PM.