Closed
Bug 1184982
Opened 9 years ago
Closed 9 years ago
Backport upstream bug 1174736 to bmo/4.2 to fix issue where checksetup results in an unsuccessful mod_perl install
Categories
(bugzilla.mozilla.org :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dkl, Assigned: dkl)
References
Details
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)
Assignee | ||
Comment 1•9 years ago
|
||
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
bb5c5a5..b217cb0 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
•