Skip to content

Instantly share code, notes, and snippets.

@janaurka
Created October 24, 2016 10:02
Show Gist options
  • Save janaurka/342f6766334590ba7810cb28e2268870 to your computer and use it in GitHub Desktop.
Save janaurka/342f6766334590ba7810cb28e2268870 to your computer and use it in GitHub Desktop.
$ export BP_DEBUG=1
$ cf push test -b https://github.com/cloudfoundry/php-buildpack.git --no-start
Creating app test in org <redacted> / space sandbox as <redacted>...
OK
Creating route test.<redacted>...
OK
Binding test.<redacted> to test...
OK
Uploading test...
Uploading app files from: /bla/jan
Uploading 772B, 4 files
Done uploading
OK
$ cf set-env test BP_DEBUG 1
Setting env variable 'BP_DEBUG' to '1' for app test in org <redacted> / space sandbox as <redacted>...
OK
TIP: Use 'cf restage test' to ensure your env variable changes take effect
$ cf start test
Starting app test in org <redacted> / space sandbox as <redacted>...
Creating container
Successfully created container
Downloading app package...
Downloaded app package (744B)
Staging...
2016-10-24 10:00:15,430 [INFO] cloudfoundry - CloudFoundry Initialized.
2016-10-24 10:00:15,430 [DEBUG] cloudfoundry - CloudFoundry Context Setup [{'BP_DIR': '/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc', 'CF_INSTANCE_PORT': '', 'CACHE_DIR': '/tmp/cache', 'USER': 'vcap', 'HOME': '/home/vcap', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'CF_STACK': 'cflinuxfs2', 'LANG': 'en_US.UTF-8', 'MEMORY_LIMIT': '1024m', 'VCAP_APPLICATION': {u'application_id': u'7443b6ab-ab83-4d47-99a6-5d06d7f94fe5', u'name': u'test', u'limits': {u'mem': 1024, u'fds': 16384, u'disk': 1024}, u'space_id': u'8522e20f-5d3d-4c2b-af9e-6a9458b7eb85', u'application_uris': [u'test.apps-dev.chdc20-cf.solera.com'], u'version': u'80fa24c1-e8e9-4cc3-a90b-f1bb2cf50e38', u'application_name': u'test', u'space_name': u'sandbox', u'application_version': u'80fa24c1-e8e9-4cc3-a90b-f1bb2cf50e38', u'uris': [u'test.apps-dev.chdc20-cf.solera.com'], u'users': None}, 'SHLVL': '1', 'CF_INSTANCE_IP': '10.35.40.65', 'EXTENSIONS': [], '_': '/usr/bin/python', 'VCAP_SERVICES': {}, 'CF_INSTANCE_PORTS': '[]', 'PYTHONPATH': '/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib', 'CF_INSTANCE_ADDR': '', 'TMPDIR': '/tmp', 'BP_DEBUG': '1', 'BUILD_DIR': '/tmp/app', 'PWD': '/home/vcap'}]
DEBUG: default_version_for php is 5.5.38
2016-10-24 10:00:15,485 [DEBUG] utils - line #85 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py, "update_default_version" is setting [PHP_VERSION] = [5.5.38]
2016-10-24 10:00:15,485 [DEBUG] utils - line #86 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py, "update_default_version" is setting [PHP_DOWNLOAD_URL] = [/php/{PHP_VERSION}/php-{PHP_VERSION}.tar.gz]
2016-10-24 10:00:15,486 [DEBUG] utils - line #89 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py, "update_default_version" is setting [PHP_MODULES_PATTERN] = [/php/{PHP_VERSION}/php-{MODULE_NAME}-{PHP_VERSION}.tar.gz]
DEBUG: default_version_for nginx is 1.11.5
2016-10-24 10:00:15,536 [DEBUG] utils - line #85 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py, "update_default_version" is setting [NGINX_VERSION] = [1.11.5]
2016-10-24 10:00:15,536 [DEBUG] utils - line #86 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py, "update_default_version" is setting [NGINX_DOWNLOAD_URL] = [/nginx/{NGINX_VERSION}/nginx-{NGINX_VERSION}.tar.gz]
DEBUG: default_version_for httpd is 2.4.23
2016-10-24 10:00:15,586 [DEBUG] utils - line #85 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py, "update_default_version" is setting [HTTPD_VERSION] = [2.4.23]
2016-10-24 10:00:15,586 [DEBUG] utils - line #86 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py, "update_default_version" is setting [HTTPD_DOWNLOAD_URL] = [/httpd/{HTTPD_VERSION}/httpd-{HTTPD_VERSION}.tar.gz]
2016-10-24 10:00:15,586 [DEBUG] utils - line #89 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py, "update_default_version" is setting [HTTPD_MODULES_PATTERN] = [/httpd/{HTTPD_VERSION}/httpd-{MODULE_NAME}-{HTTPD_VERSION}.tar.gz]
2016-10-24 10:00:15,590 [DEBUG] utils - line #67 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py, "initialize" is setting [BP_GIT_URL] = [https://github.com/cloudfoundry/php-buildpack.git#94bc52f]
2016-10-24 10:00:15,590 [INFO] cloudfoundry - Build Pack Version: https://github.com/cloudfoundry/php-buildpack.git#94bc52f
2016-10-24 10:00:15,591 [DEBUG] cloudfoundry - Loading config from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/defaults/options.json]
2016-10-24 10:00:15,591 [DEBUG] cloudfoundry - Loading config from [/tmp/app/.bp-config/options.json]
-------> Buildpack version 4.3.21
2016-10-24 10:00:15,592 [DEBUG] builder - Copying files from [/tmp/app] to [/tmp/app/htdocs]
2016-10-24 10:00:15,593 [DEBUG] builder - Moving [/tmp/app/composer.json] to [/tmp/app/htdocs/composer.json]
2016-10-24 10:00:15,593 [DEBUG] builder - Moving [/tmp/app/index.php] to [/tmp/app/htdocs/index.php]
2016-10-24 10:00:15,594 [DEBUG] utils - Processing extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/httpd] with method [configure]
2016-10-24 10:00:15,594 [DEBUG] utils - Loading extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/httpd]
2016-10-24 10:00:15,594 [DEBUG] utils - Processing extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/php] with method [configure]
2016-10-24 10:00:15,594 [DEBUG] utils - Loading extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/php]
2016-10-24 10:00:15,597 [DEBUG] helpers - Loading manifest from /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/manifest.yml
2016-10-24 10:00:15,626 [DEBUG] utils - line #72 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/php/extension.py, "_configure" is setting [ALL_PHP_VERSIONS] = [['5.5.37', '5.5.38', '5.6.26', '5.6.27', '7.0.11', '7.0.12']]
2016-10-24 10:00:15,626 [DEBUG] utils - Processing extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/composer] with method [configure]
2016-10-24 10:00:15,626 [DEBUG] utils - Loading extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/composer]
2016-10-24 10:00:15,629 [DEBUG] composer - Composer picked PHP Version [None]
2016-10-24 10:00:15,630 [DEBUG] utils - line #144 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/composer/extension.py, "configure" is setting [PHP_VERSION] = [5.5.38]
2016-10-24 10:00:15,631 [DEBUG] utils - line #145 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/composer/extension.py, "configure" is setting [PHP_EXTENSIONS] = [[u'bz2', u'zlib', u'curl', u'mcrypt', 'openssl']]
2016-10-24 10:00:15,631 [DEBUG] utils - line #146 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/composer/extension.py, "configure" is setting [PHP_VM] = [php]
2016-10-24 10:00:15,631 [DEBUG] utils - Processing extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/newrelic] with method [configure]
2016-10-24 10:00:15,631 [DEBUG] utils - Loading extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/newrelic]
2016-10-24 10:00:15,633 [DEBUG] utils - Processing extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/sessions] with method [configure]
2016-10-24 10:00:15,633 [DEBUG] utils - Loading extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/sessions]
2016-10-24 10:00:15,634 [DEBUG] utils - Processing extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/additional_commands] with method [configure]
2016-10-24 10:00:15,634 [DEBUG] utils - Loading extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/additional_commands]
2016-10-24 10:00:15,635 [DEBUG] cloudfoundry - Using python downloader.
2016-10-24 10:00:15,635 [DEBUG] downloads - Loaded proxy handlers [{}]
2016-10-24 10:00:15,635 [INFO] builder - Installed build pack utils.
2016-10-24 10:00:15,635 [DEBUG] builder - Copying files from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils] to [/tmp/app/.bp/lib/build_pack_utils]
2016-10-24 10:00:15,636 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/process.pyc] to [/tmp/app/.bp/lib/build_pack_utils/process.pyc]
2016-10-24 10:00:15,636 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/runner.py] to [/tmp/app/.bp/lib/build_pack_utils/runner.py]
2016-10-24 10:00:15,636 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/downloads.pyc] to [/tmp/app/.bp/lib/build_pack_utils/downloads.pyc]
2016-10-24 10:00:15,636 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/zips.pyc] to [/tmp/app/.bp/lib/build_pack_utils/zips.pyc]
2016-10-24 10:00:15,637 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/downloads.py] to [/tmp/app/.bp/lib/build_pack_utils/downloads.py]
2016-10-24 10:00:15,637 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py] to [/tmp/app/.bp/lib/build_pack_utils/cloudfoundry.py]
2016-10-24 10:00:15,637 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/builder.pyc] to [/tmp/app/.bp/lib/build_pack_utils/builder.pyc]
2016-10-24 10:00:15,637 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/__init__.py] to [/tmp/app/.bp/lib/build_pack_utils/__init__.py]
2016-10-24 10:00:15,638 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.pyc] to [/tmp/app/.bp/lib/build_pack_utils/cloudfoundry.pyc]
2016-10-24 10:00:15,638 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/process.py] to [/tmp/app/.bp/lib/build_pack_utils/process.py]
2016-10-24 10:00:15,638 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/zips.py] to [/tmp/app/.bp/lib/build_pack_utils/zips.py]
2016-10-24 10:00:15,638 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/builder.py] to [/tmp/app/.bp/lib/build_pack_utils/builder.py]
2016-10-24 10:00:15,639 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/compile_extensions.py] to [/tmp/app/.bp/lib/build_pack_utils/compile_extensions.py]
2016-10-24 10:00:15,639 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/runner.pyc] to [/tmp/app/.bp/lib/build_pack_utils/runner.pyc]
2016-10-24 10:00:15,639 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/utils.py] to [/tmp/app/.bp/lib/build_pack_utils/utils.py]
2016-10-24 10:00:15,639 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/detecter.pyc] to [/tmp/app/.bp/lib/build_pack_utils/detecter.pyc]
2016-10-24 10:00:15,639 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/compile_extensions.pyc] to [/tmp/app/.bp/lib/build_pack_utils/compile_extensions.pyc]
2016-10-24 10:00:15,640 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/__init__.pyc] to [/tmp/app/.bp/lib/build_pack_utils/__init__.pyc]
2016-10-24 10:00:15,640 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/utils.pyc] to [/tmp/app/.bp/lib/build_pack_utils/utils.pyc]
2016-10-24 10:00:15,640 [DEBUG] builder - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/detecter.py] to [/tmp/app/.bp/lib/build_pack_utils/detecter.py]
2016-10-24 10:00:15,640 [DEBUG] utils - Processing extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/httpd] with method [compile]
2016-10-24 10:00:15,640 [DEBUG] utils - Loading extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/httpd]
Installing HTTPD
HTTPD 2.4.23
2016-10-24 10:00:15,641 [DEBUG] utils - line #43 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/httpd/extension.py, "compile" is setting [PHP_FPM_LISTEN] = [127.0.0.1:9000]
2016-10-24 10:00:15,641 [DEBUG] cloudfoundry - Installing [HTTPD]
2016-10-24 10:00:15,641 [DEBUG] cloudfoundry - Installing binary from manifest [/httpd/2.4.23/httpd-2.4.23.tar.gz]
2016-10-24 10:00:17,298 [DEBUG] utils - line #184 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/builder.py, "package" is setting [HTTPD_INSTALL_PATH] = [/tmp/app/httpd]
2016-10-24 10:00:17,298 [INFO] builder - Installed [HTTPD] to [/tmp/app/httpd]
2016-10-24 10:00:17,298 [DEBUG] cloudfoundry - Install file [defaults/config/httpd] from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc]
2016-10-24 10:00:17,298 [DEBUG] cloudfoundry - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/defaults/config/httpd] to [/tmp/app/httpd/conf]
2016-10-24 10:00:17,300 [DEBUG] cloudfoundry - Install file [.bp-config/httpd] from [/tmp/app]
2016-10-24 10:00:17,300 [INFO] utils - Rewriting configuration under [/tmp/app/httpd/conf]
2016-10-24 10:00:17,301 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/httpd.conf]
2016-10-24 10:00:17,301 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/mime.types]
2016-10-24 10:00:17,303 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/extra/httpd-logging.conf]
2016-10-24 10:00:17,303 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/extra/httpd-remoteip.conf]
2016-10-24 10:00:17,303 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/extra/httpd-mpm.conf]
2016-10-24 10:00:17,304 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/extra/httpd-directories.conf]
2016-10-24 10:00:17,304 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/extra/httpd-php.conf]
2016-10-24 10:00:17,304 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/extra/httpd-deflate.conf]
2016-10-24 10:00:17,304 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/extra/httpd-modules.conf]
2016-10-24 10:00:17,305 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/extra/httpd-mime.conf]
2016-10-24 10:00:17,305 [DEBUG] utils - Rewriting [/tmp/app/httpd/conf/extra/httpd-default.conf]
2016-10-24 10:00:17,306 [DEBUG] utils - Processing extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/php] with method [compile]
2016-10-24 10:00:17,306 [DEBUG] utils - Loading extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/php]
Installing PHP
2016-10-24 10:00:17,307 [DEBUG] helpers - App selected PHP [5.5.38]
PHP 5.5.38
2016-10-24 10:00:17,307 [DEBUG] cloudfoundry - Installing [PHP]
2016-10-24 10:00:17,307 [DEBUG] cloudfoundry - Installing binary from manifest [/php/5.5.38/php-5.5.38.tar.gz]
Downloaded [https://buildpacks.cloudfoundry.org/concourse-binaries/php/php-5.5.38-linux-x64-1474040750.tgz] to [/tmp]
2016-10-24 10:00:22,297 [INFO] zips - Extracting [/tmp/php-5.5.38.tar.gz] into [/tmp/app/php]
2016-10-24 10:00:23,252 [DEBUG] utils - line #184 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/builder.py, "package" is setting [PHP_INSTALL_PATH] = [/tmp/app/php]
2016-10-24 10:00:23,252 [INFO] builder - Installed [PHP] to [/tmp/app/php]
2016-10-24 10:00:23,253 [DEBUG] utils - line #121 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/compile_helpers.py, "validate_php_extensions" is setting [PHP_EXTENSIONS] = [[u'bz2', u'zlib', u'curl', u'mcrypt', 'openssl']]
2016-10-24 10:00:23,253 [DEBUG] helpers - Converting PHP extensions
2016-10-24 10:00:23,254 [DEBUG] utils - line #129 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/compile_helpers.py, "convert_php_extensions" is setting [PHP_EXTENSIONS] = [extension=bz2.so
extension=zlib.so
extension=curl.so
extension=mcrypt.so
extension=openssl.so]
2016-10-24 10:00:23,254 [DEBUG] utils - line #133 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/compile_helpers.py, "convert_php_extensions" is setting [ZEND_EXTENSIONS] = []
2016-10-24 10:00:23,254 [DEBUG] cloudfoundry - Install file [defaults/config/php/5.5.x] from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc]
2016-10-24 10:00:23,254 [DEBUG] cloudfoundry - Copying [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/defaults/config/php/5.5.x] to [/tmp/app/php/etc]
2016-10-24 10:00:23,255 [DEBUG] cloudfoundry - Install file [.bp-config/php] from [/tmp/app]
2016-10-24 10:00:23,255 [INFO] utils - Rewriting configuration under [/tmp/app/php/etc]
2016-10-24 10:00:23,255 [DEBUG] utils - Rewriting [/tmp/app/php/etc/php.ini]
2016-10-24 10:00:23,257 [DEBUG] utils - Rewriting [/tmp/app/php/etc/pear.conf]
2016-10-24 10:00:23,257 [DEBUG] utils - Rewriting [/tmp/app/php/etc/php-fpm.conf]
2016-10-24 10:00:23,258 [DEBUG] utils - Processing extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/composer] with method [compile]
2016-10-24 10:00:23,258 [DEBUG] utils - Loading extension from [/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/composer]
DEBUG: default_version_for composer is 1.2.1
2016-10-24 10:00:23,308 [DEBUG] utils - line #54 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/extension_helpers.py, "_merge_defaults" is setting [COMPOSER_CACHE_DIR] = [{CACHE_DIR}/composer]
2016-10-24 10:00:23,308 [DEBUG] utils - line #54 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/extension_helpers.py, "_merge_defaults" is setting [COMPOSER_VENDOR_DIR] = [{BUILD_DIR}/{LIBDIR}/vendor]
2016-10-24 10:00:23,309 [DEBUG] utils - line #54 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/extension_helpers.py, "_merge_defaults" is setting [COMPOSER_PACKAGE] = [composer.phar]
2016-10-24 10:00:23,309 [DEBUG] utils - line #54 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/extension_helpers.py, "_merge_defaults" is setting [COMPOSER_INSTALL_OPTIONS] = [['--no-interaction', '--no-dev']]
2016-10-24 10:00:23,309 [DEBUG] utils - line #54 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/extension_helpers.py, "_merge_defaults" is setting [COMPOSER_DOWNLOAD_URL] = [/composer/{COMPOSER_VERSION}/{COMPOSER_PACKAGE}]
2016-10-24 10:00:23,310 [DEBUG] utils - line #54 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/extension_helpers.py, "_merge_defaults" is setting [COMPOSER_BIN_DIR] = [{BUILD_DIR}/php/bin]
2016-10-24 10:00:23,310 [DEBUG] builder - Copying files from [/tmp/app/php/etc] to [/tmp]
2016-10-24 10:00:23,310 [DEBUG] builder - Copying [/tmp/app/php/etc/php.ini] to [/tmp/php.ini]
2016-10-24 10:00:23,311 [INFO] utils - Rewriting configuration file [/tmp/php.ini]
2016-10-24 10:00:23,313 [DEBUG] cloudfoundry - Using python downloader.
2016-10-24 10:00:23,313 [DEBUG] downloads - Loaded proxy handlers [{}]
2016-10-24 10:00:23,313 [DEBUG] cloudfoundry - Installing [PHP]
2016-10-24 10:00:23,313 [DEBUG] cloudfoundry - Installing binary from manifest [/php/5.5.38/php-5.5.38.tar.gz]
2016-10-24 10:00:27,226 [INFO] zips - Extracting [/tmp/php-5.5.38.tar.gz] into [/tmp/app/php]
Downloaded [https://buildpacks.cloudfoundry.org/concourse-binaries/php/php-5.5.38-linux-x64-1474040750.tgz] to [/tmp]
2016-10-24 10:00:28,195 [DEBUG] utils - line #184 in /tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/builder.py, "package" is setting [PHP_INSTALL_PATH] = [/tmp/app/php]
2016-10-24 10:00:28,195 [INFO] builder - Installed [PHP] to [/tmp/app/php]
2016-10-24 10:00:28,195 [DEBUG] cloudfoundry - Using python downloader.
2016-10-24 10:00:28,196 [DEBUG] downloads - Loaded proxy handlers [{}]
2016-10-24 10:00:28,196 [DEBUG] cloudfoundry - Installing binary from manifest [/composer/1.0.0/composer.phar]
Traceback (most recent call last):
File "/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/scripts/compile.py", line 50, in <module>
.from_build_pack('lib/additional_commands')
File "/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/builder.py", line 208, in extensions
process_extension(path, ctx, 'compile', process, args=[self])
File "/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/utils.py", line 69, in process_extension
success(getattr(extn, to_call)(*args))
File "/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/composer/extension.py", line 414, in compile
return composer.compile(install)
File "/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/extension_helpers.py", line 154, in compile
self._compile(install)
File "/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/composer/extension.py", line 180, in _compile
self.install()
File "/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/extensions/composer/extension.py", line 215, in install
extract=False)
File "/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/cloudfoundry.py", line 209, in _install_binary_from_manifest
self._dwn.download(url, self._ctx['TMPDIR'])
File "/tmp/buildpacks/a8097900bb0ea6f0bb97ef3a727783fc/lib/build_pack_utils/downloads.py", line 38, in download
raise RuntimeError("Could not download dependency: %s" % url)
RuntimeError: Could not download dependency: /composer/1.0.0/composer.phar
Failed to compile droplet
Exit status 223
Staging failed: Exited with status 223
FAILED
BuildpackCompileFailed
TIP: use 'cf logs test --recent' for more information
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment