FS#69054 - [bugzilla] Missing dependencies

Attached to Project: Community Packages
Opened by William Tang (william0419) - Monday, 21 December 2020, 14:47 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 21 May 2021, 17:56 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Dependencies of the package is not correct. The package can not configured correctly using command 'checksetup.pl'.

Log:
* This is Bugzilla 5.0.6 on perl 5.32.0
* Running on Linux 5.9.14-1-ck-skylake #1 SMP PREEMPT Sun, 13 Dec 2020 02:27:42 +0000

Checking perl modules...
Checking for CGI.pm (v3.51) not found
Checking for Digest-SHA (any) ok: found v6.02
Checking for TimeDate (v2.23) ok: found v2.24
Checking for DateTime (v0.75) ok: found v1.52
Checking for DateTime-TimeZone (v1.64) ok: found v2.35
Checking for DBI (v1.614) not found
Checking for Template-Toolkit (v2.24) ok: found v3.009
Checking for Email-Sender (v1.300011) ok: found v1.300031
Checking for Email-MIME (v1.904) ok: found v1.949
Checking for URI (v1.55) ok: found v5.05
Checking for List-MoreUtils (v0.32) ok: found v0.430
Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004
Checking for JSON-XS (v2.01) ok: found v4.0

Checking available perl DBD modules...
Checking for DBD-Oracle (v1.19) not found
Checking for DBD-Pg (v2.7.0) not found
Checking for DBD-mysql (v4.001) not found
Checking for DBD-SQLite (v1.29) not found

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.72
Checking for Chart (v2.4.1) 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.54
Checking for MIME-tools (v5.406) ok: found v5.509
Checking for libwww-perl (any) ok: found v6.50
Checking for XML-Twig (any) ok: found v3.52
Checking for PatchReader (v0.9.6) ok: found v0.9.6
Checking for perl-ldap (any) ok: found v0.66
Checking for Authen-SASL (any) ok: found v2.16
Checking for Net-SMTP-SSL (v1.01) not found
Checking for RadiusPerl (any) not found
Checking for SOAP-Lite (v0.712) ok: found v1.27
Checking for XMLRPC-Lite (v0.712) not found
Checking for JSON-RPC (any) not found
Checking for Test-Taint (v1.06) not found
Checking for HTML-Parser (v3.67) ok: found v3.75
Checking for HTML-Scrubber (any) ok: found v0.17
Checking for Encode (v2.21) ok: found v3.06
Checking for Encode-Detect (any) not found
Checking for Email-Reply (any) ok: found v1.204
Checking for HTML-FormatText-WithLinks (v0.13) not found
Checking for TheSchwartz (v1.07) not found
Checking for Daemon-Generic (any) not found
Checking for mod_perl (v1.999022) not found
Checking for Apache-SizeLimit (v0.96) not found
Checking for File-MimeInfo (any) not found
Checking for IO-stringy (any) ok: found v2.113
Checking for Cache-Memcached (any) not found
Checking for File-Copy-Recursive (any) not found
Checking for File-Which (any) not found
***********************************************************************
* REQUIRED MODULES *
***********************************************************************
* Bugzilla requires you to install some Perl modules which are either *
* missing from your system, or the version on your system is too old. *
* See below for commands to install these modules. *
***********************************************************************
* DATABASE ACCESS *
***********************************************************************
* In order to access your database, Bugzilla requires that the *
* correct "DBD" module be installed for the database that you are *
* running. See below for the correct command to run to install the *
* appropriate module for your database. *
***********************************************************************
* OPTIONAL MODULES *
***********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. Below that table are the *
* commands to install each module. *
***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* Net-SMTP-SSL * SSL Support for SMTP *
* RadiusPerl * RADIUS Authentication *
* XMLRPC-Lite * XML-RPC Interface *
* JSON-RPC * JSON-RPC Interface, REST Interface *
* Test-Taint * JSON-RPC Interface, XML-RPC Interface, REST Interface *
* Encode-Detect * Automatic charset detection for text attachments *
* HTML-FormatText-WithLinks * Inbound Email *
* TheSchwartz * Mail Queueing *
* Daemon-Generic * Mail Queueing *
* mod_perl * mod_perl *
* Apache-SizeLimit * mod_perl *
* File-MimeInfo * Sniff MIME type of attachments *
* Cache-Memcached * Memcached Support *
* File-Copy-Recursive * Documentation *
* File-Which * Documentation *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:

Net-SMTP-SSL: /usr/bin/perl install-module.pl Net::SMTP::SSL
RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius
XMLRPC-Lite: /usr/bin/perl install-module.pl XMLRPC::Lite
JSON-RPC: /usr/bin/perl install-module.pl JSON::RPC
Test-Taint: /usr/bin/perl install-module.pl Test::Taint
Encode-Detect: /usr/bin/perl install-module.pl Encode::Detect
HTML-FormatText-WithLinks: /usr/bin/perl install-module.pl HTML::FormatText::WithLinks
TheSchwartz: /usr/bin/perl install-module.pl TheSchwartz
Daemon-Generic: /usr/bin/perl install-module.pl Daemon::Generic
mod_perl: /usr/bin/perl install-module.pl mod_perl2
Apache-SizeLimit: /usr/bin/perl install-module.pl Apache2::SizeLimit
File-MimeInfo: /usr/bin/perl install-module.pl File::MimeInfo::Magic
Cache-Memcached: /usr/bin/perl install-module.pl Cache::Memcached
File-Copy-Recursive: /usr/bin/perl install-module.pl File::Copy::Recursive
File-Which: /usr/bin/perl install-module.pl File::Which

YOU MUST RUN ONE OF THE FOLLOWING COMMANDS (depending on which database
you use):

MySQL: /usr/bin/perl install-module.pl DBD::mysql
SQLite: /usr/bin/perl install-module.pl DBD::SQLite
Oracle: /usr/bin/perl install-module.pl DBD::Oracle
PostgreSQL: /usr/bin/perl install-module.pl DBD::Pg

COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands
and then re-run checksetup.pl):

/usr/bin/perl install-module.pl CGI
/usr/bin/perl install-module.pl DBI

To attempt an automatic install of every required and optional module
with one command, do:

/usr/bin/perl install-module.pl --all

*** Installation aborted. Read the messages above. ***

Steps to reproduce:
Run the script located in /srv/http/bugzilla/checksetup.pl

Suggested Changes:
1. Add perl-cgi and perl-dbi to depends
2. Add perl-dbd-sqlite and perl-dbd-odbc to optdepends
3. Add optional perl modules to optdepends
4. Add apache to depends or optdepends as it's the only web server supported
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 21 May 2021, 17:56 GMT
Reason for closing:  Fixed
Comment by William Tang (william0419) - Wednesday, 23 December 2020, 07:45 GMT
Please ignore suggested change #4, bugzilla also supports other web servers like nginx and ms IIS. Maybe we can put supported web servers to optional depends?

Loading...