[Koha-devel] Koha now requires Perl 5.20

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Tue Apr 17 14:12:34 CEST 2018


5.20 is the perl version on Jessie. And we stopped supporting Wheezy.

I am not even sure if Koha still really supported 5.10. Here and there some higher language level constructs may have sneaked in.
Imo no need to revert; this is just formalizing the current state of things.
If people run older servers with 5.10, it might be a priority to actually upgrade in order to get secure again?

________________________________
Van: koha-devel-bounces at lists.koha-community.org <koha-devel-bounces at lists.koha-community.org> namens Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Verzonden: dinsdag 17 april 2018 13:16
Aan: David Cook
CC: koha-devel at lists.koha-community.org
Onderwerp: Re: [Koha-devel] Koha now requires Perl 5.20

And after the revert we are going to talk about the version to support:
5.10 has been release on 2007 and end of life since 2009
"Please note that branches earlier than 5.20 are no longer supported, though fixes for urgent issues, for example severe security problems, may still be issued."

Which version would seem acceptable to you?
To me 5.20 sounds way too old already...

On Tue, 17 Apr 2018 at 07:57 Jonathan Druart <jonathan.druart at bugs.koha-community.org<mailto:jonathan.druart at bugs.koha-community.org>> wrote:
Hi David,

I did not confirm Mark's assumption on pushing but made sure 5.20 was available in most of the GNU/Linux distros I know.
If this restriction is not necessary it does not make sense to keep it, I am going to revert the patch later today.

However I am pretty sure 5.10 is not enough.

If you have knowledge about how to install Koha on OpenSuse it would be great to update the wiki, the existing page is from 2010. We have people asking on #koha or the mailing list sometimes.

Cheers,
Jonathan


On Mon, 16 Apr 2018 at 22:41 David Cook <dcook at prosentient.com.au<mailto:dcook at prosentient.com.au>> wrote:

Hi all,



I just tried to work on Koha master on OpenSUSE 42.3, which was released on 2017-07-26, but I’m being prevented from installing Koha, because OpenSUSE 42.3 uses Perl 5.18.2 rather than Perl 5.20.



I tracked the change back to https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20104. The claim was that C4::Log::cronlogaction uses caller and that caller doesn’t exist before Perl 5.20, but that’s not true. The caller function has been in Perl for an extremely long time. You can find it in RHEL 6.9 which uses Perl 5.10. I just used it in Perl 5.18.2. So that doesn’t seem like a good justification for requiring a minimum version of Perl 5.20.



I have a feeling that this change is going to bite other people developing and using Koha around the world. There are people running Koha on openSUSE, Suse Enterprise Linux, Fedora, Red Hat, CentOS… probably other distros as well. Are we really going to exclude everyone that doesn’t use recent Debian-based distros from using newer versions of Koha?



It seems to me that this decision was made without community discussion. Maybe I’m wrong, but I figured I’d bring it up with everyone.



For my part, I’m just going to hack around this requirement for now, but I don’t really like that as a long-term solution.



What does everyone else think?



David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

Australia



Office: 02 9212 0899<tel:02%2092%2012%2008%2099>

Direct: 02 8005 0595<tel:02%2080%2005%2005%2095>



_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org<mailto:Koha-devel at lists.koha-community.org>
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180417/14f9e896/attachment-0001.html>


More information about the Koha-devel mailing list