[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2016-08-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

Paul Roubekas  changed:

   What|Removed |Added

 CC||paul@orthogroup.holdings



--- Comment #13 from Paul Roubekas  ---
Emmanuel Seyman is correct.  Problem solved.  Does this need a ticket opened
with Bugzilla that the checksetup.pl gives a false "ok: found"?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2016-08-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716



--- Comment #12 from Emmanuel Seyman  ---
(In reply to Paul Roubekas from comment #11)
>
> Can't locate JSON/RPC/Legacy/Server/CGI.pm in @INC (you may need to
> install the JSON::RPC::Legacy::Server::CGI module) (@INC contains:

Paul, I believe you need to install perl-JSON-RPC-CGI.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2016-08-04 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

Paul Roubekas  changed:

   What|Removed |Added

 CC||paul@orthogroup.holdings



--- Comment #11 from Paul Roubekas  ---
I am having a very similar issue in Fedora 23.  Cross posted on askFedora
(https://ask.fedoraproject.org/en/question/91836/cant-locate-jsonrpclegacyservercgipm-in-inc/).
 

Fedora 23  
Bugzilla 4.4.12-1.fc23 (installed via dnf)

= /usr/share/bugzilla/checksetup.pl --check-modules =

/usr/share/bugzilla/checksetup.pl --check-modules
* This is Bugzilla 4.4.12 on perl 5.22.1
* Running on Linux 4.4.7-300.fc23.x86_64 #1 SMP Wed Apr 13 02:52:52 UTC
2016

Checking perl modules...
Checking for   CGI.pm (v3.51) ok: found v4.21 
Checking for   Digest-SHA (any)   ok: found v5.95 
Checking for TimeDate (v2.23) ok: found v2.24 
Checking for DateTime (v0.28) ok: found v1.18 
Checking forDateTime-TimeZone (v0.71) ok: found v1.93 
Checking for  DBI (v1.614)ok: found v1.633 
Checking for Template-Toolkit (v2.22) ok: found v2.26 
Checking for   Email-Send (v2.04) ok: found v2.201 
Checking for   Email-MIME (v1.904)ok: found v1.934 
Checking for  URI (v1.37) ok: found v1.69 
Checking for   List-MoreUtils (v0.32) ok: found v0.413 
Checking forMath-Random-ISAAC (v1.0.1)ok: found v1.004 

Checking available perl DBD modules...
Checking for   DBD-SQLite (v1.29) ok: found v1.48 
Checking for   DBD-Oracle (v1.19) not found 
Checking forDBD-mysql (v4.001)ok: found v4.033 
Checking for   DBD-Pg (v2.7.0)ok: found v3.5.3 

The following Perl modules are optional:
Checking for   GD (v1.20) ok: found v2.56 
Checking forChart (v2.1.0)ok: found v2.4.10 
Checking for  Template-GD (any)   ok: found v1.56 
Checking for   GDTextUtil (any)   ok: found v0.86 
Checking for  GDGraph (any)   ok: found v1.49 
Checking for   MIME-tools (v5.406)ok: found v5.506 
Checking for  libwww-perl (any)   ok: found v6.15 
Checking for XML-Twig (any)   ok: found v3.49 
Checking for  PatchReader (v0.9.6)ok: found v0.9.6 
Checking forperl-ldap (any)   ok: found v0.65 
Checking for  Authen-SASL (any)   ok: found v2.16 
Checking for Net-SMTP-SSL (v1.01) ok: found v1.03 
Checking for   RadiusPerl (any)   ok: found v0.24 
Checking forSOAP-Lite (v0.712)ok: found v1.19 
Checking for  XMLRPC-Lite (v0.712)ok: found v0.717 
Checking for JSON-RPC (any)   ok: found v1.06 
Checking for  JSON-XS (v2.0)  ok: found v3.01 
Checking for   Test-Taint (any)   ok: found v1.06 
Checking for  HTML-Parser (v3.67) ok: found v3.71 
Checking forHTML-Scrubber (any)   ok: found v0.15 
Checking for   Encode (v2.21) ok: found v2.80 
Checking forEncode-Detect (any)   ok: found v1.01 
Checking for  Email-Reply (any)   ok: found v1.203 
Checking for HTML-FormatText-WithLinks (v0.13) ok: found v0.15 
Checking for  TheSchwartz (v1.07) ok: found v1.12 
Checking for   Daemon-Generic (any)   ok: found v0.84 
Checking for   File-Slurp (v.13)  ok: found v.19 
Checking for mod_perl (v1.999022) ok: found v2.09 
Checking for Apache-SizeLimit (v0.96) ok: found v0.97 
Checking forFile-MimeInfo (any)   ok: found v0.27 
Checking for   IO-stringy (any)   ok: found v2.111 
Checking for  mod_expires (any)   ok 
Checking for  mod_headers (any)   ok 
Checking for  mod_env (any)   ok 

=== apachectl configtest ===

[Sun Jul 31 18:11:16.203351 2016] [:warn] [pid 13092] -T switch is ignored,
enable with 'PerlSwitches -T' in httpd.conf\n
[Sun Jul 31 18:11:16.205680 2016] [:warn] [pid 13092] -T switch is ignored,
enable with 'PerlSwitches -T' in httpd.conf\n
[Sun Jul 31 18:11:16.226969 2016] [:warn] [pid 13092] -T switch is ignored,
enable with 'PerlSwitches -T' in httpd.conf\n
[Sun Jul 31 18:11:16.260004 2016] [:warn] [pid 13092] -T switch is ignored,
enable with 'PerlSwitches -T' in httpd.conf\n
[Sun Jul 31 18:11:16.272677 2016] [:warn] [pid 13092] -T switch is ignored,
enable with 'PerlSwitches -T' in 

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2012-07-20 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

Fedora Update System upda...@fedoraproject.org changed:

   What|Removed |Added

 Status|ON_QA   |CLOSED
 Resolution|--- |ERRATA
Last Closed||2012-07-20 22:49:34

--- Comment #10 from Fedora Update System upda...@fedoraproject.org ---
perl-JSON-RPC-1.03-2.fc17 has been pushed to the Fedora 17 stable repository. 
If problems still persist, please make note of it in this bug report.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2012-07-11 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

--- Comment #9 from Fedora Update System upda...@fedoraproject.org ---
perl-JSON-RPC-1.03-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/perl-JSON-RPC-1.03-2.fc17

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2012-07-02 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

Fedora Update System upda...@fedoraproject.org changed:

   What|Removed |Added

 Status|MODIFIED|ON_QA

--- Comment #8 from Fedora Update System upda...@fedoraproject.org ---
Package perl-JSON-RPC-1.03-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-JSON-RPC-1.03-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-10145/perl-JSON-RPC-1.03-1.fc17
then log in and leave karma (feedback).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2012-07-01 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

--- Comment #7 from Fedora Update System upda...@fedoraproject.org ---
perl-JSON-RPC-1.03-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/perl-JSON-RPC-1.03-1.fc17

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2012-06-16 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

--- Comment #6 from Emmanuel Seyman emmanuel.sey...@club-internet.fr ---
Folks, here's the game plan to be implemented soon.

* Update to 1.03
* Merge back the legacy implementation in the main package
* Split the different server implementations in their own packages

The main package will obsolete perl-JSON-RPC-legacy while the different
sub-packages will obsolete perl-JSON-RPC-legacy-server. Once that's done, we
patch checksetup in the bugzilla to match the split.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2012-06-15 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

--- Comment #5 from Petr Pisar ppi...@redhat.com ---
(In reply to comment #3)
 (In reply to comment #2)
  This is wrong approach on Fedora. It should check for perl modules, not for
  RPM packages.
 
 This is exactly what Bugzilla does. It looks for JSON::RPC.

But it needs JSON::RPC::Legacy::Server::CGI. So checking for JSON::RPC is
pointless. If you need JSON::RPC::Legacy::Server::CGI, then put `Requires
perl(JSON::RPC::Legacy::Server::CGI)' into Bugzilla RPM package.

 This is supposed to mean that legacy code is also installed. Bugzilla is not
 going to check each module individually.

Use RPM dependencies.

 JSON::RPC is not supposed to be split into several pieces, which is specific 
 to
 Fedora/RHEL.

Who does decide? perl-JSON-RPC packager. Splitting upstream into more packages
is normal in binary distributions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2012-06-14 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

Petr Pisar ppi...@redhat.com changed:

   What|Removed |Added

 CC||ppi...@redhat.com

--- Comment #2 from Petr Pisar ppi...@redhat.com ---
 Bugzilla still uses legacy code from JSON::RPC and despite the perl-JSON-RPC
 package is installed, which makes checksetup.pl

This is wrong approach on Fedora. It should check for perl modules, not for RPM
packages.

 httpd[1938]: Can't locate JSON/RPC/Legacy/Server/CGI.pm in @INC

You can check for `perl(JSON::RPC::Legacy::Server::CGI)' RPM Provides or by
perl code `eval q{use JSON::RPC::Legacy::Server::CGI; 1} or die q{Missing};'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2012-06-14 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

--- Comment #3 from Frédéric Buclin lpso...@netscape.net ---
(In reply to comment #2)
 This is wrong approach on Fedora. It should check for perl modules, not for
 RPM packages.

This is exactly what Bugzilla does. It looks for JSON::RPC. This is supposed to
mean that legacy code is also installed. Bugzilla is not going to check each
module individually. JSON::RPC is not supposed to be split into several pieces,
which is specific to Fedora/RHEL.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Bug 831716] Moving legacy code out of perl-JSON-RPC breaks Bugzilla

2012-06-14 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=831716

Emmanuel Seyman emmanuel.sey...@club-internet.fr changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--- Comment #4 from Emmanuel Seyman emmanuel.sey...@club-internet.fr ---
(In reply to comment #0)

 So the legacy code is still required by Bugzilla, and checksetup.pl and
 Bugzilla re confused by this package split.

The split is there so that:

a) People can have the legacy code installed without having to install the new
(incompatible) version along with it
b) People can have the new version installed and be sure that the old version
isn't used

Obviously, this is of no use if you need both. And this module is in Fedora for
the sole reason that Bugzilla uses it.

(In reply to comment #2)
 
 You can check for `perl(JSON::RPC::Legacy::Server::CGI)' RPM Provides or by
 perl code `eval q{use JSON::RPC::Legacy::Server::CGI; 1} or die q{Missing};'

The problem here is that JSON-RPC is an optional feature in Bugzilla. I'm
really not keen on making the package require optional features.

(In reply to comment #3)
 
 This is exactly what Bugzilla does. It looks for JSON::RPC. This is supposed
 to mean that legacy code is also installed. Bugzilla is not going to check
 each module individually. JSON::RPC is not supposed to be split into several
 pieces, which is specific to Fedora/RHEL.

TBH, all Linux distributions split the core perl distribution in a number of
ways. I'm not sure there's a point to arguing that this can't be done for
non-core modules.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel