Bug 831854 - User reported a problem: Cannot install XML::Parser on Perl app due to unresolved dependency on expat-devel package
Summary: User reported a problem: Cannot install XML::Parser on Perl app due to unres...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-13 22:26 UTC by Nam Duong
Modified: 2015-05-14 22:55 UTC (History)
5 users (show)

Fixed In Version: cartridge-perl-5.10-0.25.1-1+
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-25 18:27:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nam Duong 2012-06-13 22:26:35 UTC
Description of problem:
See https://openshift.redhat.com/community/forums/openshift/cannot-install-xmlparser-from-cpan

User cannot deploy perl application due to a missing dependency.  XML::Parser requires expat-devel to be installed in production.

Comment 1 Rob Millner 2012-06-14 01:21:50 UTC
Crankcase commit 650f8328 adds expat-devel as a requirement for the PERL cartridge.

Comment 2 Xiaoli Tian 2012-06-14 08:52:49 UTC
The change has not been in the latest build now (devenv_1843), wait for next build to test.

Comment 3 Xiaoli Tian 2012-06-20 09:53:25 UTC
Verified it on devenv_1859, add XML::Parser to deplist.txt

[root@ip-10-70-73-135 functional]# rpm -qa|grep expat-devel
expat-devel-2.0.1-11.el6_2.x86_64

XML::Parser is installed successfully:

Writing objects: 100% (3/3), 254 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Stopping application...
remote: Done
remote: ~/git/perapp1.git ~/git/perapp1.git
remote: ~/git/perapp1.git
remote: Running .openshift/action_hooks/pre_build
remote: --> Working on XML::Parser
remote: Fetching http://mirror1.stg.rhcloud.com/mirror/perl/CPAN/authors/id/T/TO/TODDR/XML-Parser-2.41.tar.gz ... OK
remote: Configuring XML-Parser-2.41 ... OK
remote: Building XML-Parser-2.41 ... OK
remote: Successfully installed XML-Parser-2.41
remote: 1 distribution installed
remote: Running .openshift/action_hooks/build
remote: Running .openshift/action_hooks/deploy
remote: Starting application...
remote: Done
remote: Running .openshift/action_hooks/post_deploy
To ssh://ab1f42cbfb32472eb925c7a359fe4240.rhcloud.com/~/git/perapp1.git/
   41eb895..b40a7ef  master -> master


Note You need to log in before you can comment on or make changes to this bug.