Bug 20800

Summary: Keep Koha on Stretch from using broken libhttp-oai-perl
Product: Koha Reporter: Mirko Tietgen <mirko>
Component: PackagingAssignee: Mirko Tietgen <mirko>
Status: CLOSED FIXED QA Contact: Tomás Cohen Arazi <tomascohen>
Severity: normal    
Priority: P5 - low CC: fridolin.somers, jonathan.druart, martin.renvoize, mirko, narcisgarcia, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20826
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17704
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 20437    
Bug Blocks:    
Attachments: Bug 20800: Keep Koha on Stretch from using broken libhttp-oai-perl
Bug 20800: Keep Koha on Stretch from using broken libhttp-oai-perl
Bug 20800: Keep Koha on Stretch from using broken libhttp-oai-perl

Description Mirko Tietgen 2018-05-22 11:23:25 UTC
libhttp-oai-perl in Stretch is 4.03 and broken. Koha depends on libhttp-oai-perl << 4 for that reason. To make the installation of Koha on Stretch as easy as possible, this patch adds the alternative libhttp-oai-3.27-perl which we provide in the Koha repository.
Comment 1 Mirko Tietgen 2018-05-22 11:26:32 UTC
Created attachment 75463 [details] [review]
Bug 20800: Keep Koha on Stretch from using broken libhttp-oai-perl

libhttp-oai-perl in Stretch is 4.03 and broken. Koha depends on
libhttp-oai-perl << 4 for that reason. To make the installation of Koha
on Stretch as easy as possible, this patch adds the alternative
libhttp-oai-3.27-perl which we provide in the Koha repository.
Comment 2 Tomás Cohen Arazi 2018-05-22 13:19:49 UTC
Created attachment 75466 [details] [review]
Bug 20800: Keep Koha on Stretch from using broken libhttp-oai-perl

libhttp-oai-perl in Stretch is 4.03 and broken. Koha depends on
libhttp-oai-perl << 4 for that reason. To make the installation of Koha
on Stretch as easy as possible, this patch adds the alternative
libhttp-oai-3.27-perl which we provide in the Koha repository.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Comment 3 Mark Tompsett 2018-05-22 14:11:37 UTC
Created attachment 75469 [details] [review]
Bug 20800: Keep Koha on Stretch from using broken libhttp-oai-perl

libhttp-oai-perl in Stretch is 4.03 and broken. Koha depends on
libhttp-oai-perl << 4 for that reason. To make the installation of Koha
on Stretch as easy as possible, this patch adds the alternative
libhttp-oai-3.27-perl which we provide in the Koha repository.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Comment 4 Jonathan Druart 2018-05-22 14:24:03 UTC
Pushed to master for 18.05
Comment 5 Narcis Garcia 2018-07-27 07:08:42 UTC
If depending ONLY on libhttp-oai-3.27-perl for Debian 9 is not possible, then take into account that the order of specified dependencies in package matters:

Instead of*:
libhttp-oai-perl (>= 3.2) | libhttp-oai-3.27-perl, libhttp-oai-perl (<
4.0) | libhttp-oai-3.27-perl

These dependencies should be written as:
libhttp-oai3-koha (< 4.0) | libhttp-oai-3.27-perl

And a "libhttp-oai3-koha" metapackage with dependencies:
libhttp-oai-perl (>= 3.2), libhttp-oai-perl (< 4.0)

+ In the meanwhile, a bug to Debian Perl Group for libhttp-oai-perl
package could be filed.

(*) The problem is that first case matches with libhttp-oai-perl=4.03 and dependency is satisfied with this proken package.
Comment 6 Fridolin Somers 2018-09-11 14:46:38 UTC
Pushed to 17.11.x for 17.11.10

@Narcis Garcia please open a new bug report for your comment 5