Bug 831854

Summary: User reported a problem: Cannot install XML::Parser on Perl app due to unresolved dependency on expat-devel package
Product: OKD Reporter: Nam Duong <nduong>
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: jofernan, mfisher, mpatel, qgong, xtian
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cartridge-perl-5.10-0.25.1-1+ Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-25 18:27:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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