I patched Bugzilla upstream to work as a PSGI application. This means that I no longer need the heavy Apache server but can use the lighter and faster nginx server instead. But the problem is that Bugzilla depends on JSON::RPC which depends on Plack (nothing wrong so far) which depends on... mod_perl (huh?) which depends on Apache. This means that on Mageia 5, there is no way to run Bugzilla without having Apache installed too. I know I can stop the Apache daemon, but that's not the problem. The point is that I shouldn't have to install the Apache and mod_perl RPM in order to run Bugzilla, especially because mod_perl is currently broken, see bug 16505.
Summary: perl-Plack should not depend on perl-mod_perl => perl-Plack should not depend on apache-mod_perl
Assigning to maintainer.
CC: (none) => anaselli, mageiaAssignee: bugsquad => jquelin
CC: (none) => shlomif
This should be fixed in Cauldron in perl-Plack-1.3.900-2.mga6 . Does it warrant an update on Mageia 5?
(In reply to Shlomi Fish from comment #2) > This should be fixed in Cauldron in perl-Plack-1.3.900-2.mga6 . Does it > warrant an update on Mageia 5? This would be great. Once infra is upgraded to mga5, you will be able to upgrade Mageia Bugzilla to Bugzilla 5.x, and I think you don't want to be forced to install mod_perl despite you don't need it. And I would be able to do the same on my machine (as a Bugzilla developer, this would be nice ;)).
(In reply to Frédéric Buclin from comment #3) > (In reply to Shlomi Fish from comment #2) > > This should be fixed in Cauldron in perl-Plack-1.3.900-2.mga6 . Does it > > warrant an update on Mageia 5? > > This would be great. Once infra is upgraded to mga5, you will be able to > upgrade Mageia Bugzilla to Bugzilla 5.x, and I think you don't want to be > forced to install mod_perl despite you don't need it. And I would be able to > do the same on my machine (as a Bugzilla developer, this would be nice ;)). An update of perl-Plack (%mkrel 3) was submitted to the mageia 5 updates_testing queue. Someone should test it now. Assigning to QA. The advisory follows: Advisory: ======================== Updated perl-Plack package removes a dependency on apache-mod_perl (and ergo apache). Frédéric Buclin discovered that perl-Plack had a hard dependency on apache-mod_perl and as a result apache, while it can be used without them. References: https://bugs.mageia.org/show_bug.cgi?id=17128 ======================== Updated packages in {core,tainted}/updates_testing: ======================== perl-Plack-1.3.100-4.mga5.noarch.rpm Source RPMs: perl-Plack-1.3.100-4.mga5.src.rpm
Assignee: jquelin => qa-bugs
[lcl@belexeuli ~]$ sudo urpmi perl-Plack To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (distrib1)") apache-mod_perl 2.0.7 17.20130221s> x86_64 perl-Apache-LogFormat-Compiler 0.320.0 3.mga5 noarch perl-Apache-Test 1.380.0 6.mga5 noarch perl-BSD-Resource 1.290.700 6.mga5 x86_64 perl-CGI-Compile 0.170.0 3.mga5 noarch perl-CGI-Emulate-PSGI 0.200.0 5.mga5 noarch perl-Class-Inspector 1.280.0 6.mga5 noarch perl-Data-Flow 1.20.0 5.mga5 noarch perl-Devel-StackTrace-AsHTML 0.140.0 6.mga5 noarch perl-FCGI 0.770.0 4.mga5 x86_64 perl-File-ShareDir 1.102.0 4.mga5 noarch perl-File-pushd 1.9.0 3.mga5 noarch perl-HTTP-Body 1.190.0 4.mga5 noarch perl-Hash-MultiValue 0.150.0 5.mga5 noarch perl-Linux-Pid 0.40.0 8.mga5 x86_64 perl-POSIX-strftime-Compiler 0.400.0 3.mga5 noarch perl-Plack 1.3.100 3.mga5 noarch perl-Stream-Buffered 0.30.0 3.mga5 noarch perl-Test-SharedFork 0.280.0 4.mga5 noarch perl-Test-TCP 2.60.0 3.mga5 noarch webserver-base 2.0 8.mga5 x86_64 (medium "Core Updates (distrib3)") apache 2.4.10 16.3.mga5 x86_64 [root@belexeuli lcl]# ecupdt Enabling Core Updates Testing [root@belexeuli lcl]# MageiaUpdate [root@belexeuli lcl]# urpme apache-mod-perl unknown package: apache-mod-perl [root@belexeuli lcl]# urpme apache-mod_perl To satisfy dependencies, the following 2 packages will be removed (3.6MB): apache-mod_perl-2.0.7-17.20130221svn1448245.mga5.x86_64 perl-Plack-1.3.100-3.mga5.noarch (due to missing perl(APR::Table), due to missing perl(Apache2::Const), due to missing perl(Apache2::Log), due to missing perl(Apache2::RequestIO), due to missing perl(Apache2::RequestRec), due to missing perl(Apache2::RequestUtil), due to missing perl(Apache2::Response)) Remove 2 packages? (y/N) y removing apache-mod_perl-2.0.7-17.20130221svn1448245.mga5.x86_64 perl-Plack-1.3.100-3.mga5.noarch removing package perl-Plack-1.3.100-3.mga5.noarch 1/2: removing perl-Plack-1.3.100-3.mga5.noarch ############################################# removing package apache-mod_perl-1:2.0.7-17.20130221svn1448245.mga5.x86_64 2/2: removing apache-mod_perl-1:2.0.7-17.20130221svn1448245.mga5.x86_64 ############################################# [root@belexeuli lcl]# urpmi perl-Plack To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (distrib1)") perl-Filesys-Notify-Simple 0.120.0 6.mga5 noarch (medium "Core Updates Testing (distrib5)") perl-Plack 1.3.100 4.mga5 noarch 668KB of additional disk space will be used. 301KB of packages will be retrieved. Clean install. The dependency on apache-mod_perl has gone. As it is noarch is there a need to test this on i586 architecture?
CC: (none) => tarazed25
Whiteboard: (none) => MGA-64-OK
Comment #5 refers to testing on real hardware, x86_64. Performed the same actions on an i586 virtual machine and confirmed that the update does not depend on apache-mod_perl.
Whiteboard: MGA-64-OK => MGA5-64-OK MGA5-32-OK
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
CC: (none) => davidwhodginsWhiteboard: MGA5-64-OK MGA5-32-OK => MGA5-64-OK MGA5-32-OK advisory
It looks like the problem has been moved elsewhere. If I try to uninstall apache-mod_perl, it still complains that I must also remove perl-JSON-RPC-1.60.0-1.mga6.noarch. So unless I miss something, the JSON::RPC -> Plack -> mod_perl dependency chain is now JSON::RPC -> mod_perl, which is not an improvement to install Bugzilla 5.1.
An update for this issue has been pushed to Mageia Updates repository. http://advisories.mageia.org/MGAA-2016-0011.html
Status: NEW => RESOLVEDResolution: (none) => FIXED
(In reply to Frédéric Buclin from comment #7) > It looks like the problem has been moved elsewhere. If I try to uninstall > apache-mod_perl, it still complains that I must also remove > perl-JSON-RPC-1.60.0-1.mga6.noarch. So unless I miss something, the > JSON::RPC -> Plack -> mod_perl dependency chain is now JSON::RPC -> > mod_perl, which is not an improvement to install Bugzilla 5.1. Please file a new bug, and I can try handling it there as well.