Koha now requires Perl 5.20
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 Direct: 02 8005 0595
What's your proposal? El lun., 16 de abr. de 2018 10:42 p. m., David Cook < dcook@prosentient.com.au> escribió:
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
Direct: 02 8005 0595
_______________________________________________ Koha-devel mailing list Koha-devel@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/
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
My proposal would be to first revert https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20104. As for minimum Perl versions, I think we’d want to be really careful about that, since we do have a global community of users running different underlying systems for different reasons. If we’re concerned about the Perl version, I’d say add a “buyer beware” warning saying that Koha is developed to be used on Perl 5.20 on X, Y, Z Debian-based distribution. If there really is a feature that is only available in Perl 5.20+, then I think we’d need to consider whether or not it is vital to the future of Koha. If it is, I think we’d need to make some pretty big announcements saying that Koha cannot work correctly on older systems. Basically, I prefer warnings over errors, and providing systems people with as much information as we can. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 From: Tomas Cohen Arazi [mailto:tomascohen@gmail.com] Sent: Tuesday, 17 April 2018 12:11 PM To: David Cook <dcook@prosentient.com.au> Cc: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Koha now requires Perl 5.20 What's your proposal? El lun., 16 de abr. de 2018 10:42 p. m., David Cook <dcook@prosentient.com.au <mailto:dcook@prosentient.com.au> > escribió: 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 Direct: 02 8005 0595 _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@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/ -- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/> ) ✆ +54 9351 3513384 GPG: B2F3C15F
I think you have a fair point on being very careful when doing this changes . This Perl version is Jessie's. Following the daily duties of Koha development ain't no easy task, that's for sure! This things happen in master, though. I would expect release notes to mention this of course. I think it would be great to see people developing Koha for other platforms (other than Debian-based ones). Unfortunately I haven't seen any work on making it happen (besides manual source installs, which hasn't got much attention lately either). People that care should speak up as you do, and probably file bugs and send patches. El lun., 16 de abr. de 2018 11:21 p. m., David Cook < dcook@prosentient.com.au> escribió:
My proposal would be to first revert https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20104.
As for minimum Perl versions, I think we’d want to be really careful about that, since we do have a global community of users running different underlying systems for different reasons.
If we’re concerned about the Perl version, I’d say add a “buyer beware” warning saying that Koha is developed to be used on Perl 5.20 on X, Y, Z Debian-based distribution.
If there really is a feature that is only available in Perl 5.20+, then I think we’d need to consider whether or not it is vital to the future of Koha. If it is, I think we’d need to make some pretty big announcements saying that Koha cannot work correctly on older systems.
Basically, I prefer warnings over errors, and providing systems people with as much information as we can.
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
Ultimo, NSW <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> 2007
Australia
Office: 02 9212 0899
Direct: 02 8005 0595
*From:* Tomas Cohen Arazi [mailto:tomascohen@gmail.com] *Sent:* Tuesday, 17 April 2018 12:11 PM *To:* David Cook <dcook@prosentient.com.au> *Cc:* koha-devel@lists.koha-community.org *Subject:* Re: [Koha-devel] Koha now requires Perl 5.20
What's your proposal?
El lun., 16 de abr. de 2018 10:42 p. m., David Cook < dcook@prosentient.com.au> escribió:
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 <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
Ultimo, NSW <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> 2007
Australia
Office: 02 9212 0899
Direct: 02 8005 0595
_______________________________________________ Koha-devel mailing list Koha-devel@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/
--
Tomás Cohen Arazi
Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
-- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/>) ✆ +54 9351 3513384 GPG: B2F3C15F
That’s a good point about these things happening on master, Tomas, and how the release notes would mention it. I’m probably overreacting : ). I am sensitive about this sort of thing, since I use pretty much everything but Debian-based distros for Koha. It’s tough not to feel like an unconsidered outsider. Typically, there isn’t much work to do to develop Koha for other platforms, since manual source installs work well. Unless you mean in terms of the management tools like koha-mysql and the like. I would like to see that happen, but I’m not hugely fussed on it. I actually would like to see multiple versions of Koha cohabit on the same server like PostgreSQL, and for those tools to work with that, but that’s a big thing I have no time for :/. That said, on openSUSE, I actually do build RPM packages from Koha, and have multiple versions of Koha cohabit on the same server. The RPM spec file I have is about 70 lines. I mostly just override some environmental variables and have the RPM create the necessary base directories. It’s super easy to do. (I do still use CPAN for my Perl dependencies mostly, although there is a cpanspec tool in Fedora/RHEL/CentOS which is amazing at building RPMs from CPAN. The cpanspec tool in openSUSE is rubbish though unfortunately.) I have thought about packaging Koha as RPMs for the community… but I wouldn’t want the DEB and RPM file systems to diverge too much and there are so many Debian specific files and Debian momentum that it seems like it would be a Sisyphean task. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 From: Tomas Cohen Arazi [mailto:tomascohen@gmail.com] Sent: Tuesday, 17 April 2018 12:48 PM To: David Cook <dcook@prosentient.com.au> Cc: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Koha now requires Perl 5.20 I think you have a fair point on being very careful when doing this changes . This Perl version is Jessie's. Following the daily duties of Koha development ain't no easy task, that's for sure! This things happen in master, though. I would expect release notes to mention this of course. I think it would be great to see people developing Koha for other platforms (other than Debian-based ones). Unfortunately I haven't seen any work on making it happen (besides manual source installs, which hasn't got much attention lately either). People that care should speak up as you do, and probably file bugs and send patches. El lun., 16 de abr. de 2018 11:21 p. m., David Cook <dcook@prosentient.com.au <mailto:dcook@prosentient.com.au> > escribió: My proposal would be to first revert https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20104. As for minimum Perl versions, I think we’d want to be really careful about that, since we do have a global community of users running different underlying systems for different reasons. If we’re concerned about the Perl version, I’d say add a “buyer beware” warning saying that Koha is developed to be used on Perl 5.20 on X, Y, Z Debian-based distribution. If there really is a feature that is only available in Perl 5.20+, then I think we’d need to consider whether or not it is vital to the future of Koha. If it is, I think we’d need to make some pretty big announcements saying that Koha cannot work correctly on older systems. Basically, I prefer warnings over errors, and providing systems people with as much information as we can. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> Ultimo, NSW <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 From: Tomas Cohen Arazi [mailto:tomascohen@gmail.com <mailto:tomascohen@gmail.com> ] Sent: Tuesday, 17 April 2018 12:11 PM To: David Cook <dcook@prosentient.com.au <mailto:dcook@prosentient.com.au> > Cc: koha-devel@lists.koha-community.org <mailto:koha-devel@lists.koha-community.org> Subject: Re: [Koha-devel] Koha now requires Perl 5.20 What's your proposal? El lun., 16 de abr. de 2018 10:42 p. m., David Cook <dcook@prosentient.com.au <mailto:dcook@prosentient.com.au> > escribió: 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 <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> Ultimo, NSW <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@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/ -- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/> ) ✆ +54 9351 3513384 GPG: B2F3C15F -- Tomás Cohen Arazi Theke Solutions (https://theke.io <http://theke.io/> ) ✆ +54 9351 3513384 GPG: B2F3C15F
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@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 <02%2092%2012%2008%2099>
Direct: 02 8005 0595 <02%2080%2005%2005%2095>
_______________________________________________ Koha-devel mailing list Koha-devel@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/
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@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@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 <02%2092%2012%2008%2099>
Direct: 02 8005 0595 <02%2080%2005%2005%2095>
_______________________________________________ Koha-devel mailing list Koha-devel@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/
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@lists.koha-community.org <koha-devel-bounces@lists.koha-community.org> namens Jonathan Druart <jonathan.druart@bugs.koha-community.org> Verzonden: dinsdag 17 april 2018 13:16 Aan: David Cook CC: koha-devel@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@bugs.koha-community.org<mailto:jonathan.druart@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@prosentient.com.au<mailto:dcook@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@lists.koha-community.org<mailto:Koha-devel@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/
I think whatever version of Perl that is in Debian would make sense for the community to support. However, I think there is a difference between supporting and requiring. Koha shouldn’t require the supported version, imho. If people – like us – want to use an unsupported version, the onus should be on them. There could be a warning on the About page saying that they’re using an unsupported version of Perl. I think that would make sense. That said, there may come a time when there is a Perl language feature that is used in Koha which is only available in a new version of Perl. Ideally, it would be nice for Koha to stay as backwards compatible as possible, but that might not always be possible. If we do move completely to a Plack/Mojolicious environment, that opens up possibilities with virtual environments too where we wouldn’t even have to use the system Perl anymore. Then we wouldn’t have to worry about the versions in OS distributions. We could just specify what version is needed for Koha and package that with it. That said, I imagine there will be people using CGI for a long time in multi-tenant environments still. Sorry I guess that’s not much of an answer. I’d say… officially support what is in Debian but let people use unsupported versions. I mean… maybe we should require the Debian version. Folk like me can always just customize the source… David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 From: Jonathan Druart [mailto:jonathan.druart@bugs.koha-community.org] Sent: Tuesday, 17 April 2018 9:17 PM To: David Cook <dcook@prosentient.com.au> Cc: koha-devel@lists.koha-community.org Subject: 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@bugs.koha-community.org <mailto:jonathan.druart@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@prosentient.com.au <mailto:dcook@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@lists.koha-community.org <mailto:Koha-devel@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/
Hi Jonathan, Thanks for reverting that patch. We have Koha running on a RHEL 6 instance which uses 5.10.1, and it seems to be doing fine so far. It is an older version of Koha though. I just did the following grep: grep -R "use 5\." *. I see “use 5.010” but nothing greater than that. I don’t think there’s really much that is special about installing Koha on OpenSUSE per se. We just do a source install and use a combination of vendor packages and CPAN modules to meet the required dependencies. (Actually, we now do RPM builds that match a particular structure that we used when we just did source installs by hand.) I could take a look at the wiki though. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 From: Jonathan Druart [mailto:jonathan.druart@bugs.koha-community.org] Sent: Tuesday, 17 April 2018 8:58 PM To: David Cook <dcook@prosentient.com.au> Cc: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Koha now requires Perl 5.20 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@prosentient.com.au <mailto:dcook@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@lists.koha-community.org <mailto:Koha-devel@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/
We have Koha running on a RHEL 6 instance which uses 5.10.1, and it seems to be doing fine so far. It is an older version of Koha though.
Which version is "an older version of Koha"? On Tue, 17 Apr 2018 at 22:36 David Cook <dcook@prosentient.com.au> wrote:
Hi Jonathan,
Thanks for reverting that patch.
We have Koha running on a RHEL 6 instance which uses 5.10.1, and it seems to be doing fine so far. It is an older version of Koha though. I just did the following grep: grep -R "use 5\." *. I see “use 5.010” but nothing greater than that.
I don’t think there’s really much that is special about installing Koha on OpenSUSE per se. We just do a source install and use a combination of vendor packages and CPAN modules to meet the required dependencies. (Actually, we now do RPM builds that match a particular structure that we used when we just did source installs by hand.) I could take a look at the wiki though.
David Cook
Systems Librarian
Prosentient Systems
72/330 Wattle St <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
Ultimo, NSW <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> 2007
Australia
Office: 02 9212 0899 <02%2092%2012%2008%2099>
Direct: 02 8005 0595 <02%2080%2005%2005%2095>
*From:* Jonathan Druart [mailto:jonathan.druart@bugs.koha-community.org] *Sent:* Tuesday, 17 April 2018 8:58 PM
*To:* David Cook <dcook@prosentient.com.au> *Cc:* koha-devel@lists.koha-community.org
*Subject:* Re: [Koha-devel] Koha now requires Perl 5.20
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@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 <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
Ultimo, NSW <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> 2007
Australia
Office: 02 9212 0899 <02%2092%2012%2008%2099>
Direct: 02 8005 0595 <02%2080%2005%2005%2095>
_______________________________________________ Koha-devel mailing list Koha-devel@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/
On 2018-04-18 09:57 AM, Jonathan Druart wrote:
We have Koha running on a RHEL 6 instance which uses 5.10.1, and it seems to be doing fine so far. It is an older version of Koha though.
Which version is "an older version of Koha"?
Hesitating to intervene, but as a point of reference, we have three instances (WAN, LAN and backup) of Koha 3.8.24 running perfectly (Ubuntu LTS 14.04 [note 1] and 16.04) using Perl versions from 5.018002 up to 5.022001. Our notes do not show that we had to "downgrade" any particular Perl modules, libraries etc (just add a few during tarball installs.) Over the next few weeks, we will start our two-yearly software review with Ubuntu 18.04 LTS, and try the latest version of Koha (we decided in 2016 not to upgrade Koha, as we are a non-lending library and saw a performance hit on cataloguing and search, both OPAC and staff. "If it ain't broke, don't fix it" -- with obvious security mods.) If we find anything relevant, I'll get back to you all. Best -- Paul Tired old sys-admin. Note 1: our WAN OPAC server: /$ uptime 11:16:12 up 1022 days, 14:47 -- not too shabby for reliability ;=}
On Tue, 17 Apr 2018 at 22:36 David Cook <dcook@prosentient.com.au <mailto:dcook@prosentient.com.au>> wrote:
Hi Jonathan,____
__ __
Thanks for reverting that patch. ____
__ __
We have Koha running on a RHEL 6 instance which uses 5.10.1, and it seems to be doing fine so far. It is an older version of Koha though. I just did the following grep: grep -R "use 5\." *. I see “use 5.010” but nothing greater than that. ____
__ __
I don’t think there’s really much that is special about installing Koha on OpenSUSE per se. We just do a source install and use a combination of vendor packages and CPAN modules to meet the required dependencies. (Actually, we now do RPM builds that match a particular structure that we used when we just did source installs by hand.) I could take a look at the wiki though.____
__ __
David Cook____
Systems Librarian____
Prosentient Systems____
72/330 Wattle St <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>____
Ultimo, NSW <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> 2007____
Australia____
__ __
Office: 02 9212 0899 <tel:02%2092%2012%2008%2099>____
Direct: 02 8005 0595 <tel:02%2080%2005%2005%2095>____
__ __
*From:*Jonathan Druart [mailto:jonathan.druart@bugs.koha-community.org <mailto:jonathan.druart@bugs.koha-community.org>] *Sent:* Tuesday, 17 April 2018 8:58 PM
*To:* David Cook <dcook@prosentient.com.au <mailto:dcook@prosentient.com.au>> *Cc:* koha-devel@lists.koha-community.org <mailto:koha-devel@lists.koha-community.org>
*Subject:* Re: [Koha-devel] Koha now requires Perl 5.20____
__ __
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@prosentient.com.au <mailto:dcook@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 <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>____
Ultimo, NSW <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> 2007____
Australia____
____
Office: 02 9212 0899 <tel:02%2092%2012%2008%2099>____
Direct: 02 8005 0595 <tel:02%2080%2005%2005%2095>____
It looks like the Koha instance on RHEL 6.9 using Perl 5.10.1 is version 3.20.x. (It may be worth noting it isn't available on the Internet; it's on a private network.) Looks like 3.20.0 was a May 2015 release, so it is getting long in the tooth, although not quite as long as 3.8.0, which was in April 2012 (and the first version of Koha where I contributed a patch). Looks like 3.8.23 was February 2014. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 -----Original Message----- From: koha-devel-bounces@lists.koha-community.org [mailto:koha-devel-bounces@lists.koha-community.org] On Behalf Of Paul A Sent: Thursday, 19 April 2018 1:24 AM To: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Koha now requires Perl 5.20 On 2018-04-18 09:57 AM, Jonathan Druart wrote:
We have Koha running on a RHEL 6 instance which uses 5.10.1, and it seems to be doing fine so far. It is an older version of Koha though.
Which version is "an older version of Koha"?
Hesitating to intervene, but as a point of reference, we have three instances (WAN, LAN and backup) of Koha 3.8.24 running perfectly (Ubuntu LTS 14.04 [note 1] and 16.04) using Perl versions from 5.018002 up to 5.022001. Our notes do not show that we had to "downgrade" any particular Perl modules, libraries etc (just add a few during tarball installs.) Over the next few weeks, we will start our two-yearly software review with Ubuntu 18.04 LTS, and try the latest version of Koha (we decided in 2016 not to upgrade Koha, as we are a non-lending library and saw a performance hit on cataloguing and search, both OPAC and staff. "If it ain't broke, don't fix it" -- with obvious security mods.) If we find anything relevant, I'll get back to you all. Best -- Paul Tired old sys-admin. Note 1: our WAN OPAC server: /$ uptime 11:16:12 up 1022 days, 14:47 -- not too shabby for reliability ;=}
On Tue, 17 Apr 2018 at 22:36 David Cook <dcook@prosentient.com.au <mailto:dcook@prosentient.com.au>> wrote:
Hi Jonathan,____
__ __
Thanks for reverting that patch. ____
__ __
We have Koha running on a RHEL 6 instance which uses 5.10.1, and it seems to be doing fine so far. It is an older version of Koha though. I just did the following grep: grep -R "use 5\." *. I see “use 5.010” but nothing greater than that. ____
__ __
I don’t think there’s really much that is special about installing Koha on OpenSUSE per se. We just do a source install and use a combination of vendor packages and CPAN modules to meet the required dependencies. (Actually, we now do RPM builds that match a particular structure that we used when we just did source installs by hand.) I could take a look at the wiki though.____
__ __
David Cook____
Systems Librarian____
Prosentient Systems____
72/330 Wattle St <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>____
Ultimo, NSW <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> 2007____
Australia____
__ __
Office: 02 9212 0899 <tel:02%2092%2012%2008%2099>____
Direct: 02 8005 0595 <tel:02%2080%2005%2005%2095>____
__ __
*From:*Jonathan Druart [mailto:jonathan.druart@bugs.koha-community.org <mailto:jonathan.druart@bugs.koha-community.org>] *Sent:* Tuesday, 17 April 2018 8:58 PM
*To:* David Cook <dcook@prosentient.com.au <mailto:dcook@prosentient.com.au>> *Cc:* koha-devel@lists.koha-community.org <mailto:koha-devel@lists.koha-community.org>
*Subject:* Re: [Koha-devel] Koha now requires Perl 5.20____
__ __
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@prosentient.com.au <mailto:dcook@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 <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>____
Ultimo, NSW <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g> 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@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/
participants (5)
-
David Cook -
Jonathan Druart -
Marcel de Rooy -
Paul A -
Tomas Cohen Arazi