Description of problem: Cannot install dependency with below error: E0302 05:19:10.285552 1 util.go:91] You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug E0302 05:19:10.916537 1 util.go:91] Loading composer repositories with package information E0302 05:19:10.929540 1 util.go:91] Initializing PEAR repository http://pear.php.net E0302 05:19:10.932264 1 util.go:91] PEAR repository from http://pear.php.net could not be loaded. Your configuration does not allow connection to http://http://pear.php.net. See https://getcomposer.org/doc/06-config.md#secure-http for details. E0302 05:19:12.084709 1 util.go:91] Installing dependencies (including require-dev) E0302 05:19:28.153651 1 util.go:91] Your requirements could not be resolved to an installable set of packages. E0302 05:19:28.191151 1 util.go:91] E0302 05:19:28.230815 1 util.go:91] Problem 1 E0302 05:19:28.230859 1 util.go:91] - The requested package pear-pear.php.net/mail could not be found in any version, there may be a typo in the package name. E0302 05:19:28.230868 1 util.go:91] Problem 2 E0302 05:19:28.230878 1 util.go:91] - The requested package pear-pear.php.net/xml_serializer could not be found in any version, there may be a typo in the package name. E0302 05:19:28.230906 1 util.go:91] E0302 05:19:28.230913 1 util.go:91] Potential causes: E0302 05:19:28.230918 1 util.go:91] - A typo in the package name E0302 05:19:28.230929 1 util.go:91] - The package is not available in a stable-enough version according to your minimum-stability setting E0302 05:19:28.230936 1 util.go:91] see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details. E0302 05:19:28.230941 1 util.go:91] E0302 05:19:28.230946 1 util.go:91] Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems. I0302 05:19:30.364699 1 docker.go:481] Container wait returns with 2 and <nil> I0302 05:19:30.364825 1 docker.go:488] Container exited I0302 05:19:30.530224 1 cleanup.go:23] Removing temporary directory /tmp/s2i-build072572322 I0302 05:19:30.530259 1 fs.go:117] Removing directory '/tmp/s2i-build072572322' F0302 05:19:30.532986 1 builder.go:185] Error: build error: non-zero (13) exit code from brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/rhscl/php-56-rhel7:latest Version-Release number of selected component (if applicable): openshift3/php-55-rhel7 92dc268352f7 How reproducible: always Steps to Reproduce: 1. Create application with json file $oc process -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/build/sample-php-rhel7.json | oc create -f - 2. Check the build status 3. Check the build-log Actual results: Build failed Expected results: Build should succeed Additional info:
I have proposed a work-around in https://github.com/openshift-qe/sample-php/pull/1 that disables the http-secure option that is causing the problem. I've tried to make composer use https, but have failed. I believe this not to be a bug in our builder image, but rather in the sample-php, or composer itself.
Martin, so you consider that the issue is opeshift-qe/sample-php app and not the underlying image we provide? I guess in such case, this bug can be closed and any further discussion to be held in the PR.
Aleksandar, yes. Wenjing, should I move this to ON_QE?
Oops, accidentally did it anyway :)
Thanks for your fix, Martin! Verifying since this is not an issue of builder image.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2016:1064