Bug 947356 - Perl GD and Image::Magick fail to configure and build
Summary: Perl GD and Image::Magick fail to configure and build
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Windows
medium
medium
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-02 08:33 UTC by Daniele Piccone
Modified: 2015-05-14 23:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-20 03:36:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
build_log (24.34 KB, text/plain)
2013-04-02 08:58 UTC, Meng Bo
no flags Details

Description Daniele Piccone 2013-04-02 08:33:46 UTC
Description of problem:
Hi,

Hi have setup a sample application on 
http://perlgdtest-intome.rhcloud.com/


How reproducible:
Create a new application from openshift website, git clone the repo in local, add GD and Image::Magick to the deplist.txt file, push code to openshift.


Steps to Reproduce:
1. Create a new application from openshift website

2. git clone repo in local and add GD and Image::Magick to deplist.txt

3. Commit and push code to openshift server to start deployment process
  
Actual results:

$ git push
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 432 bytes, done.
Total 5 (delta 3), reused 0 (delta 0)
remote: restart_on_add=false
remote: Waiting for stop to finish
remote: Done
remote: restart_on_add=false
remote: Running .openshift/action_hooks/pre_build
remote: --> Working on GD
remote: Fetching http://mirror1.ops.rhcloud.com/mirror/perl/CPAN/authors/id/L/LD
/LDS/GD-2.49.tar.gz ... OK
remote: Configuring GD-2.49 ... N/A
remote: ! Configure failed for GD-2.49. See /var/lib/openshift/515a93c94382ec214
300009d/.cpanm/build.log for details.
remote: --> Working on Image::Magick
remote: Fetching http://mirror1.ops.rhcloud.com/mirror/perl/CPAN/authors/id/J/JC
/JCRISTY/PerlMagick-6.82.0.tar.gz ... OK
remote: Configuring PerlMagick-6.82.0 ... OK
remote: Building PerlMagick-6.82.0 ... FAIL
remote: ! Installing Image::Magick failed. See /var/lib/openshift/515a93c94382ec
214300009d/.cpanm/build.log for details.
remote: Running .openshift/action_hooks/build
remote: Running .openshift/action_hooks/deploy
remote: hot_deploy_added=false
remote: Done
remote: Running .openshift/action_hooks/post_deploy
To ssh://515a93c94382ec214300009d.com/~/git/perlgdtest
.git/
   063d0c4..b84ca20  master -> master


Expected results:

Configure for GD and Image::Magick modules should not fail

Additional info:

Comment 1 Meng Bo 2013-04-02 08:58:42 UTC
Created attachment 730666 [details]
build_log

Reproduce this issue on STAGE(devenv-stage_332)

Attach the build.log for debug.

Comment 2 Jhon Honce 2013-04-16 18:09:30 UTC
ImageMagick is already on the system and need not be added to the deplist.txt. The version of ImageMagick on CPAN is not yet supported by OpenShift Online.

gd-devel has been added as a Perl dependency and will be available on the next production push.

Change your deplist.txt to include GD.


Fixed in https://github.com/openshift/origin-server/pull/2097

Comment 3 openshift-github-bot 2013-04-16 20:47:33 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/0617620145b780420d0dcf43358c0c6e6dc47601
Bug 947356 - Add Requires gd-devel

* Support perl application developers using GD module

Comment 4 Meng Bo 2013-04-17 02:46:52 UTC
Verified on devenv_3108,

From comment#2, only GD will be fixed.

<---->
remote: Running .openshift/action_hooks/pre_build
remote: .openshift/markers/force_clean_build found!  Rebuilding perl modules
remote: --> Working on GD
remote: Fetching http://mirror1.ops.rhcloud.com/mirror/perl/CPAN/authors/id/L/LD/LDS/GD-2.49.tar.gz ... OK
remote: Configuring GD-2.49 ... OK
remote: Building GD-2.49 ... OK
remote: Successfully installed GD-2.49
remote: 1 distribution installed
<---->

Move bug to verified.


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