[Bug 30084] New: Remove explicit dependency of liblocale-codes-perl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Bug ID: 30084 Summary: Remove explicit dependency of liblocale-codes-perl Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Packaging Assignee: koha-bugs@lists.koha-community.org Reporter: fridolin.somers@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: mtj@kohaaloha.com Bug 25920 follow work on liblocale-codes-perl -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |25920 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25920 [Bug 25920] Add liblocale-codes-perl package to fix ubuntu-stable (focal) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|koha-bugs@lists.koha-commun |mtj@kohaaloha.com |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #1 from Fridolin Somers <fridolin.somers@biblibre.com> --- Created attachment 130520 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130520&action=edit Bug 25920: Remove explicit dependency of liblocale-codes-perl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130520|0 |1 is obsolete| | --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- Created attachment 130521 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130521&action=edit Bug 30084: Remove explicit dependency of liblocale-codes-perl 1/ apply patch 2/ build and install new koha-common package 3/ confirm liblocale-codes-perl pkg is installed $ apt-cache policy liblocale-codes-perl | grep Installed Installed: 3.62-1 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130521|0 |1 is obsolete| | --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 130582 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130582&action=edit Bug 30084: Remove explicit dependency of liblocale-codes-perl 1/ apply patch 2/ build and install new koha-common package 3/ confirm liblocale-codes-perl pkg is installed $ apt-cache policy liblocale-codes-perl | grep Installed Installed: 3.62-1 https://bugs.koha-community.org/show_bug.cgi?id=30084 Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Signing off, seeing why and how this was changed, but couldn't test the package. Leaving this for QA. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com Status|Signed Off |In Discussion --- Comment #5 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Hum I am not sure.
From bug 25920 comment 15, Mason wrote: """ it seems that 'perl' and 'perl-modules-5.30' packages need it
root@kohadevbox:kohadevbox$ apt-cache rdepends liblocale-codes-perl liblocale-codes-perl Reverse Depends: perl-modules-5.30 koha-perldeps koha-core koha-common perl-modules-5.30 perl |w3c-linkchecker publican |libhtml-microformats-perl |libhtml-html5-sanity-perl |libdist-zilla-localetextdomain-perl |libbusiness-onlinepayment-ippay-perl |libbusiness-isin-perl ledgersmb auto-multiple-choice-common perl """ But now on D11 I get: % apt-cache rdepends liblocale-codes-perl liblocale-codes-perl Reverse Depends: gscan2pdf koha-perldeps koha-core koha-common |w3c-linkchecker publican |libhtml-html5-sanity-perl |libdist-zilla-localetextdomain-perl |libbusiness-onlinepayment-ippay-perl |libbusiness-isin-perl ledgersmb auto-multiple-choice-common Is this patch still correct, Mason? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #6 from Mason James <mtj@kohaaloha.com> --- (In reply to Jonathan Druart from comment #5)
Hum I am not sure.
Is this patch still correct, Mason?
the patch looks correct, the 'perl' package should install liblocale-codes-perl without us needing to declare it -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #7 from Mason James <mtj@kohaaloha.com> --- [23:02:31] <@Joubu> mtj: from where will it get pulled? [23:03:02] <@Joubu> we were assuming it was part of perl deps, but it looks like it's not true on (at least) D11 [23:04:31] <mtj> aah, yes - you are correct [23:05:19] <mtj> ..we will need to explicitly declare it for deb11 (and others?) [23:06:54] <mtj> well spotted Joubu++ [23:06:56] <@Joubu> mtj: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25920#c14 [23:06:57] <huginn> Bug 25920: blocker, P1 - high, ---, mtj, Pushed to oldstable , Add liblocale-codes-perl package to fix ubuntu-stable (focal) [23:07:00] <@Joubu> this is the original question [23:07:07] <@Joubu> "why do we need it?" :D [23:07:38] <@Joubu> I have to admit I've lost track [23:08:48] <mtj> looking now [23:10:51] <@Joubu> mtj: we are using several Locale::* perl packages, but I don't think they are coming from this package [23:14:09] <mtj> hmmm, it looks likely the package is not needed at all 🤔 [23:17:35] <mtj> aaah, liblocale-codes-perl package provides 'Locale::Language' module - which we do need [23:20:54] <@Joubu> liblocale-po-perl: /usr/share/perl5/Locale/PO.pm [23:20:55] <@Joubu> libintl-perl: /usr/share/perl5/Locale/Messages.pm [23:21:13] <@Joubu> libtemplate-plugin-gettext-perl: /usr/share/perl5/Locale/XGettext/TT2.pm [23:22:19] <@Joubu> liblocale-currency-format-perl: /usr/share/perl5/Locale/Currency/Format.pm [23:22:28] <@Joubu> that's all what I see for Locale:: [23:23:45] <@Joubu> @later tell davidnind Hi David, could you add a SO stamp on 29940? [23:23:46] <huginn> Joubu: The operation succeeded. [23:28:54] <@Joubu> mtj: are you on it? [23:30:39] <mtj> Joubu: yep [23:33:33] <mtj> git blame says 'Locale::Language' has been a dep since 2010 [23:46:53] <mtj> ping Joubu, can you run 'apt-cache policy liblocale-codes-perl' [23:47:23] <mtj> ..if you dont have liblocale-codes-perl installed - dont install it yet :) [23:52:57] <pastebot> Someone at 127.0.0.1 pasted "liblocale-codes-perl: Installe" (7 lines) at https://paste.koha-community.org/7845 [23:53:01] <@Joubu> mtj: ^^ [23:56:30] <mtj> Joubu: looks like locale::lang was included in the fisrt version of the Makefile d0cc4b29c7d [23:56:56] <mtj> from 2007 [00:00:00] - {Day changed to 19 February 2022} [00:00:58] <mtj> Joubu: it was used by ./misc/translator/po/stats.pl - which is now deleted :) [00:02:00] <mtj> ..so we confirm that liblocale-codes-perl aka Locale::Language, is not required [00:03:33] <mtj> git reset --hard b695a10e [00:03:49] <mtj> $ grep -ir 'Locale::Lang' ./* [00:03:49] <mtj> ./misc/translator/po/stats.pl:use Locale::Language; -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #8 from Mason James <mtj@kohaaloha.com> --- (In reply to Mason James from comment #6)
(In reply to Jonathan Druart from comment #5)
Hum I am not sure.
Is this patch still correct, Mason?
the patch looks correct, the 'perl' package should install liblocale-codes-perl without us needing to declare it
fyi, patch is still correct some versions of perl may require liblocale-codes-perl, but koha itself does not :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130582|0 |1 is obsolete| | --- Comment #9 from Mason James <mtj@kohaaloha.com> --- Created attachment 130818 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130818&action=edit Bug 30084: Remove explicit dependency of liblocale-codes-perl 1/ apply patch 2/ build and install new koha-common package 3/ confirm liblocale-codes-perl pkg is installed $ apt-cache policy liblocale-codes-perl | grep Installed Installed: 3.62-1 https://bugs.koha-community.org/show_bug.cgi?id=30084 Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Mason James <mtj@kohaaloha.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #10 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Yes, patch is correct but not complete, why don't we then remove debian/control: liblocale-codes-perl, debian/control: liblocale-codes-perl, ? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #11 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Applying: Bug 30084: Remove explicit dependency of liblocale-codes-perl error: sha1 information is lacking or useless (debian/list-deps). error: could not build fake ancestor Patch failed at 0001 Bug 30084: Remove explicit dependency of liblocale-codes-perl Commit message need to be updated as well. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Patch doesn't apply -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #12 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Jonathan Druart from comment #10)
Yes, patch is correct but not complete, why don't we then remove
debian/control: liblocale-codes-perl, debian/control: liblocale-codes-perl,
?
This file is autogenerated, no need to modify it actually. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #130818|0 |1 is obsolete| | --- Comment #13 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 130861 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130861&action=edit Bug 30084: Remove explicit dependency of liblocale-codes-perl 1/ apply patch 2/ build and install new koha-common package => Package liblocale-codes-perl is not installed, Koha does not need it Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Mason James <mtj@kohaaloha.com> JD amended patch: fix commit message Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Remove explicit dependency |Remove dependency of |of liblocale-codes-perl |liblocale-codes-perl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |22.05.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #14 from Fridolin Somers <fridolin.somers@biblibre.com> --- Pushed to master for 22.05, thanks to everybody involved 🦄 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com --- Comment #15 from Kyle M Hall <kyle@bywatersolutions.com> --- Should this be backported to 21.11.x? If so, it seems incoomplete as it doesn't reference list-deps -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #16 from Mason James <mtj@kohaaloha.com> --- (In reply to Kyle M Hall from comment #15)
Should this be backported to 21.11.x? If so, it seems incoomplete as it doesn't reference list-deps
the patch can be backported to 19.11.x it does modify list-deps, and looks complete to me :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #17 from Kyle M Hall <kyle@bywatersolutions.com> --- (In reply to Mason James from comment #16)
(In reply to Kyle M Hall from comment #15)
Should this be backported to 21.11.x? If so, it seems incoomplete as it doesn't reference list-deps
the patch can be backported to 19.11.x
it does modify list-deps, and looks complete to me :)
Apologies, I should have wrote debian/control -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|22.05.00 |22.05.00,21.11.03 released in| | Status|Pushed to master |Pushed to stable --- Comment #18 from Kyle M Hall <kyle@bywatersolutions.com> --- Pushed to 21.11.x for 21.11.03 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Bug 30084 depends on bug 25920, which changed state. Bug 25920 Summary: Add liblocale-codes-perl package to fix ubuntu-stable (focal) https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25920 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to oldstable |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #19 from Mason James <mtj@kohaaloha.com> --- Created attachment 131230 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131230&action=edit Bug 30084 - Remove dependency of liblocale-codes-perl (follow-up) trival patch, no test plan -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #131230|0 |1 is obsolete| | --- Comment #20 from Mason James <mtj@kohaaloha.com> --- Created attachment 131231 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131231&action=edit Bug 30084: Remove dependency of liblocale-codes-perl (follow-up) trival patch, no test plan -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #21 from Mason James <mtj@kohaaloha.com> --- (In reply to Mason James from comment #20)
Created attachment 131231 [details] [review] Bug 30084: Remove dependency of liblocale-codes-perl (follow-up)
trival patch, no test plan
hi Frido, Kyle, here is a small follow-up patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 --- Comment #22 from Fridolin Somers <fridolin.somers@biblibre.com> --- (In reply to Mason James from comment #21)
(In reply to Mason James from comment #20)
Created attachment 131231 [details] [review] [review] Bug 30084: Remove dependency of liblocale-codes-perl (follow-up)
trival patch, no test plan
hi Frido, Kyle, here is a small follow-up patch
Follow-up pushed to master for 22.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|22.05.00,21.11.03 |22.05.00,21.11.03,21.05.13 released in| | CC| |andrew@bywatersolutions.com Status|Pushed to stable |Pushed to oldstable --- Comment #23 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Pushed to 21.05.x for 21.05.13 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 Victor Grousset/tuxayo <victor@tuxayo.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |victor@tuxayo.net Version(s)|22.05.00,21.11.03,21.05.13 |22.05.00,21.11.03,21.05.13, released in| |20.11.17 --- Comment #24 from Victor Grousset/tuxayo <victor@tuxayo.net> --- Backported: Pushed to 20.11.x branch for 20.11.17 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30084 wainuiwitikapark@catalyst.net.nz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wainuiwitikapark@catalyst.n | |et.nz --- Comment #25 from wainuiwitikapark@catalyst.net.nz --- Does this need to be backported to 19.11.x? -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org