[Bug 20693] New: Plack fails, because 'libcgi-emulate-psgi-perl' package is not installed
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Bug ID: 20693 Summary: Plack fails, because 'libcgi-emulate-psgi-perl' package is not installed Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: blocker Priority: P5 - low Component: Packaging Assignee: koha-bugs@lists.koha-community.org Reporter: mtj@kohaaloha.com QA Contact: testopia@bugs.koha-community.org CC: mirko@abunchofthings.net more info to come... -- 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=20693 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- 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=20693 --- Comment #1 from Mason James <mtj@kohaaloha.com> --- Created attachment 74958 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74958&action=edit Bug 20693: Plack fails, because 'libcgi-emulate-psgi-perl' package is not installed to test patch... 1/ build koha package from souce, install package 2/ test plack, see following error... Error while loading /etc/koha/plack.psgi: Can't locate CGI/Emulate/PSGI.pm in @INC (you may need to install the CGI::Emulate::PSGI module) 3/ apply patch 4/ build koha package from souce, install package 5/ test plack, see no error and observe plack is working -- 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=20693 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=17421 -- 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=20693 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|Needs Signoff |RESOLVED --- Comment #2 from Mason James <mtj@kohaaloha.com> --- (In reply to Mason James from comment #1)
Created attachment 74958 [details] [review] Bug 20693: Plack fails, because 'libcgi-emulate-psgi-perl' package is not installed
to test patch...
1/ build koha package from souce, install package
2/ test plack, see following error...
Error while loading /etc/koha/plack.psgi: Can't locate CGI/Emulate/PSGI.pm in @INC (you may need to install the CGI::Emulate::PSGI module)
3/ apply patch
4/ build koha package from souce, install package
5/ test plack, see no error and observe plack is working
aah, false alarm... # aptitude why libcgi-emulate-psgi-perl i koha-common Depends starman i A starman Depends libplack-perl i A libplack-perl Recommends libcgi-emulate-psgi-perl -- 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=20693 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #3 from David Cook <dcook@prosentient.com.au> --- (In reply to Mason James from comment #2)
aah, false alarm...
# aptitude why libcgi-emulate-psgi-perl i koha-common Depends starman i A starman Depends libplack-perl i A libplack-perl Recommends libcgi-emulate-psgi-perl
That still seems like a problem to me? If it's not in the PerlDependencies.pm, then any non-package install will run into dependency problems? -- 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=20693 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org Resolution|INVALID |--- Status|RESOLVED |REOPENED --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Reopening: % aptitude why libcgi-emulate-psgi-perl Unable to find a reason to install libcgi-emulate-psgi-perl. % more /etc/debian_version 8.10 With 9.1 I get: % aptitude why libcgi-emulate-psgi-perl i libplack-middleware-fixmissingbodyinredirect-perl Depends libplack-perl i A libplack-perl Recommends libcgi-emulate-psgi-perl -- 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=20693 --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> ---
From Magnuse on IRC, Ubuntu 16.04 returns:
i libcgi-compile-perl Recommends libcgi-emulate-psgi-per -- 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=20693 Bob Birchall <bob@calyx.net.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bob@calyx.net.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dependency -- 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=20693 --- Comment #6 from Mirko Tietgen <mirko@abunchofthings.net> --- Mason: What OS did you install on, and does it have special apt configuration? The package is recommended by a dependency, it should be installed unless you changed the apt config to ignore recommended packages. Jonathan: Is Koha actually installed on the 8.10 system you tried? I get on 8.10
aptitude why libcgi-emulate-psgi-perl i koha-common Depends starman i A starman Depends libplack-perl i A libplack-perl Recommends libcgi-emulate-psgi-perl
Anyway, recommended packages are installed by default in Debian. This can be disabled though, eg. if you are very low on disk space. If Koha relies on libcgi-emulate-psgi-perl to work, it should be a direct dependency. The patch is not the way to do it. CGI::Emulate::PSGI should added to PerlDependencies.pm instead and I will add an updated control file. Plack is a dependency of starman, both for Debian packages and on CPAN, adding Plack to PerlDependencies.pm is not necessary. -- 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=20693 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED Assignee|koha-bugs@lists.koha-commun |mirko@abunchofthings.net |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=20693 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #74958|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 --- Comment #7 from Mirko Tietgen <mirko@abunchofthings.net> --- Created attachment 75327 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75327&action=edit Bug 20693: Plack fails, because 'libcgi-emulate-psgi-perl' package is not installed Add CGI::Emulate::PSGI to PerlDependencies.pm Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 --- Comment #8 from Mirko Tietgen <mirko@abunchofthings.net> --- Created attachment 75328 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75328&action=edit Bug 20693: Update control file Auto-generated file. Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff --- Comment #9 from Mirko Tietgen <mirko@abunchofthings.net> --- I chose the version number available in Jessie. Not really anything to test here, forwarding to QA. Take a look at the first patch to see it makes sense, you can see the effect in the second patch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Mirko Tietgen <mirko@abunchofthings.net> 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=20693 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rel_18_05_candidate -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com QA Contact|testopia@bugs.koha-communit |tomascohen@gmail.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #75327|0 |1 is obsolete| | --- Comment #10 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 75338 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75338&action=edit Bug 20693: Plack fails, because 'libcgi-emulate-psgi-perl' package is not installed Add CGI::Emulate::PSGI to PerlDependencies.pm Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #75328|0 |1 is obsolete| | --- Comment #11 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 75339 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75339&action=edit Bug 20693: Update control file Auto-generated file. Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #12 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Pushed to master for 18.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=20693 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rel_18_05_candidate | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #13 from Mirko Tietgen <mirko@abunchofthings.net> --- Fridolin: Needs to go to 17.11. Is in 17.11.07-2 package, please push for 17.11.08! Minor rebase needed, I'll send a changed patch. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #75338|0 |1 is obsolete| | --- Comment #14 from Mirko Tietgen <mirko@abunchofthings.net> --- Created attachment 76599 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76599&action=edit Bug 20693: Plack fails, because 'libcgi-emulate-psgi-perl' package is not installed Add CGI::Emulate::PSGI to PerlDependencies.pm Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=20920 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable --- Comment #15 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Pushed to 17.11.x for 17.11.08 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20693 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Stable |RESOLVED Resolution|--- |FIXED --- Comment #16 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Pushed to 17.05.x for 17.05.14 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org