Closed
Bug 1174736
Opened 9 years ago
Closed 9 years ago
The cpanfile generated by checksetup results in an unsuccessful mod_perl install
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 6.0
People
(Reporter: emorley, Assigned: dkl)
References
Details
Attachments
(1 file)
698 bytes,
patch
|
emorley
:
review+
|
Details | Diff | Splinter Review |
1) Using centos 7, install the following packages with yum: epel-release https://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm aspell-devel gcc gcc-c++ gd-devel gmp-devel graphviz httpd ImageMagick-devel mod_perl mod_perl-devel mpfr-devel mysql-community-devel openssl-devel perl perl-App-cpanminus perl-core perl-CPAN perl-XML-Parser 2) ./checksetup.pl --cpanfile 3) cpanm --notest HTML::Tree Image::Magick@6.77 -> This is necessary due to other broken deps. 4) cpanm --notest --installdeps --skip-satisfied --with-recommends --with-all-features --without-feature oracle --without-feature sqlite --without-feature pg . Expected: At step 4, all modules should install without error. Actual: """ Searching Apache on cpanmetadb ... --> Working on Apache Fetching http://www.cpan.org/authors/id/G/GO/GOZER/mod_perl-1.31.tar.gz -> OK Unpacking mod_perl-1.31.tar.gz Entering mod_perl-1.31 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04) Configuring mod_perl-1.31 Running Makefile.PL Enter `q' to stop search Please tell me where I can find your apache src [../apache_x.x/src] ../apache_x.x/src Can't stat `../apache_x.x/src' Please tell me where I can find your apache src [../apache_x.x/src] ../apache_x.x/src Can't stat `../apache_x.x/src' Please tell me where I can find your apache src [../apache_x.x/src] ../apache_x.x/src Can't stat `../apache_x.x/src' ... <snip 400MB of log> ... Please tell me where I can find your apache src [../apache_x.x/src] ../apache_x.x/src Can't stat `../apache_x.x/src' Please tell me where I can find your apache src [../apache_x.x/src] -> N/A -> FAIL Configure failed for mod_perl-1.31. See /root/.cpanm/work/1434377197.19/build.log for details. """ yum info mod_perl says: """ Installed Packages Name : mod_perl Arch : x86_64 Version : 2.0.8 Release : 10.20140624svn1602105.el7 """" Thoughts: a) I'm presuming cpanm is installing mod_perl again since we explicitly ask for version 1, but yet the OS installed package is version 2? Which version should we be using? b) On IRC it was implied it isn't ideal to install mod_perl via cpanm. As such, should we add a blacklist of things that export_cpanfile() excludes from the cpanfile? (on BMO we could also add the ElasticSearch module to this list for example)
Reporter | ||
Comment 1•9 years ago
|
||
From the cpanfile: feature 'mod_perl' => sub { recommends 'Apache2::SizeLimit', '0.96'; recommends 'mod_perl2', '1.999022'; };
Assignee | ||
Comment 2•9 years ago
|
||
Reporter | ||
Updated•9 years ago
|
Attachment #8631084 -
Flags: review?(emorley) → review+
Assignee | ||
Updated•9 years ago
|
Flags: approval?
Assignee | ||
Updated•9 years ago
|
Target Milestone: --- → Bugzilla 6.0
Version: unspecified → 5.1
Updated•9 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 3•9 years ago
|
||
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git 3331c1b..2d96c58 master -> master
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•