perl 5.20 makes error with ssl module

This forum is for discussion about general software issues.

perl 5.20 makes error with ssl module

Postby freaxtux » Sun Jun 08, 2014 11:18 pm

Since the last Perl udpate to version to 5.20.0 I get following error when I want to start ddclient:
$this->bbcode_second_pass_code('', 'ddclient[672]: FATAL: Error loading the Perl module IO::Socket::SSL needed for SSL connect.
ddclient[672]: FATAL: On Debian, the package libio-socket-ssl-perl must be installed.
ddclient[672]: FATAL: On Red Hat, the package perl-IO-Socket-SSL must be installed.
systemd[1]: ddclient.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Unit ddclient.service entered failed state.')

Here is a command that does not work with 5.20.0 anymore:
$this->bbcode_second_pass_code('', '~ % perl -MIO::Socket::SSL -e1
Perl API version v5.18.0 of Net::SSLeay does not match v5.20.0 at /usr/lib/perl5/vendor_perl/Net/SSLeay.pm line 394.
Compilation failed in require at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 17.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 17.
Compilation failed in require.
BEGIN failed--compilation aborted.')

Both perl-io-socket-ssl and perl-net-ssleay are from official repo but -Syu(or -Syyu) doesn't fix the problem. Maybe it wasn't updated correctly?

P.S. Due to my poor English, I've copy&pasted some of RareYob's post from https://bbs.archlinux.org/viewtopic.php?id=182522.
freaxtux
 
Posts: 9
Joined: Sun Jun 08, 2014 10:59 pm

Re: perl 5.20 makes error with ssl module

Postby p5n » Mon Jun 09, 2014 2:03 pm

p5n
 
Posts: 3
Joined: Mon Jun 09, 2014 1:55 pm

Re: perl 5.20 makes error with ssl module

Postby pepedog » Mon Jun 09, 2014 5:11 pm

pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: perl 5.20 makes error with ssl module

Postby freaxtux » Tue Jun 10, 2014 3:50 am

I didn't try it myself but those people on arch forum(not arch arm) say that they have no problem. I wonder what's different between those two pairs of packages, but anyway they are from official repo so the problem should be fixed by maintainers.
freaxtux
 
Posts: 9
Joined: Sun Jun 08, 2014 10:59 pm

Re: perl 5.20 makes error with ssl module

Postby MixedBeef » Tue Jun 10, 2014 5:59 am

I have the same issue. The guys from the official Arch Linux forum sent us to this forum.
I am still wondering that there is a difference between Perl Packages across different Arch Linux Distributions.
MixedBeef
 
Posts: 12
Joined: Tue Jan 07, 2014 2:58 pm

Re: perl 5.20 makes error with ssl module

Postby p5n » Tue Jun 10, 2014 6:19 am

I think arch packages have no strict dep on perl 5.20 and arch-arm guys build them improperly.
p5n
 
Posts: 3
Joined: Mon Jun 09, 2014 1:55 pm

Re: perl 5.20 makes error with ssl module

Postby WarheadsSE » Tue Jun 10, 2014 11:40 am

hahahaa.

The big difference between us and them is that we don't rebuilding things multiple times then push them into the repos. We use automated build system to build everything based on their listed dependencies, and this, like a .so name bump, caught us by surprised, like it did a upstream with a few packages they forgot. So yes, we do things differently in that we've automated the human error out of the build process. Sadly, computers do exactly what you tell them, and only what you tell them.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: perl 5.20 makes error with ssl module

Postby MixedBeef » Tue Jun 10, 2014 12:18 pm

Ok. And the solution is?
MixedBeef
 
Posts: 12
Joined: Tue Jan 07, 2014 2:58 pm

Re: perl 5.20 makes error with ssl module

Postby p5n » Tue Jun 10, 2014 12:23 pm

I don't know how perl-html-parser can be built with perl 5.18. I checked its deps recursively and found that it depends on perl or perl>=5.10.0.

How your automated build system can build it with perl-5.18? I guess it should build packages according to dependency tree.
p5n
 
Posts: 3
Joined: Mon Jun 09, 2014 1:55 pm

Re: perl 5.20 makes error with ssl module

Postby kmihelich » Tue Jun 10, 2014 12:31 pm

Clear your pacman cache, re-download and reinstall any perl-* packages you have installed.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Next

Return to General

Who is online

Users browsing this forum: No registered users and 16 guests