LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 05-16-2015, 08:39 AM   #1
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 212

Rep: Reputation: 40
Question Building package "perl-IO-Socket-SSL" from SBo fails on RasPi


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.
Attached Files
File Type: txt output.txt (4.1 KB, 34 views)

Last edited by slacksam; 05-16-2015 at 08:52 AM. Reason: more infos
 
Old 05-20-2015, 08:14 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,666

Rep: Reputation: 1366Reputation: 1366Reputation: 1366Reputation: 1366Reputation: 1366Reputation: 1366Reputation: 1366Reputation: 1366Reputation: 1366Reputation: 1366
Quote:
Originally Posted by slacksam View Post
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
 
Old 05-20-2015, 11:26 AM   #3
slacksam
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Slackware, Salix, slarm64
Posts: 212

Original Poster
Rep: Reputation: 40
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.
 
  


Reply

Tags
fail, perl, raspberry pi, slackbuild, ssl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reuse socket fails "Address already in use" or "Connection refused" dec10 Programming 3 05-15-2010 12:14 PM
Building a Slackware Package when trackinstall -i="make install" fails Alexvader Slackware 2 12-12-2009 01:39 PM
nagios nrpe - "make all" fails with ssl neocontrol Linux - Server 4 06-01-2007 05:34 PM
nagios nrpe - "make all" fails with ssl neocontrol Linux - Server 0 06-01-2007 04:50 PM
perl install error: Can't locate object method "new" via package "Module::Build::Vers powah Linux - Software 0 10-24-2006 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration