{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/277","repository_url":"https://api.github.com/repos/cloudfoundry/php-buildpack","labels_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/277/comments","events_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/277/events","html_url":"https://github.com/cloudfoundry/php-buildpack/pull/277","id":354731463,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNDIyNjkx","number":277,"title":"Set LD_LIBRARY_PATH when calling 'php' to list available modules.","user":{"login":"dmikusa-pivotal","id":4643262,"node_id":"MDQ6VXNlcjQ2NDMyNjI=","avatar_url":"https://avatars1.githubusercontent.com/u/4643262?v=4","gravatar_id":"","url":"https://api.github.com/users/dmikusa-pivotal","html_url":"https://github.com/dmikusa-pivotal","followers_url":"https://api.github.com/users/dmikusa-pivotal/followers","following_url":"https://api.github.com/users/dmikusa-pivotal/following{/other_user}","gists_url":"https://api.github.com/users/dmikusa-pivotal/gists{/gist_id}","starred_url":"https://api.github.com/users/dmikusa-pivotal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmikusa-pivotal/subscriptions","organizations_url":"https://api.github.com/users/dmikusa-pivotal/orgs","repos_url":"https://api.github.com/users/dmikusa-pivotal/repos","events_url":"https://api.github.com/users/dmikusa-pivotal/events{/privacy}","received_events_url":"https://api.github.com/users/dmikusa-pivotal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-28T13:28:33Z","updated_at":"2018-08-28T13:28:37Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/cloudfoundry/php-buildpack/pulls/277","html_url":"https://github.com/cloudfoundry/php-buildpack/pull/277","diff_url":"https://github.com/cloudfoundry/php-buildpack/pull/277.diff","patch_url":"https://github.com/cloudfoundry/php-buildpack/pull/277.patch"},"body":"This is required so PHP can find any libraries it needs that are not packaged in the rootfs.\r\n\r\nThanks for contributing to the buildpack. To speed up the process of reviewing your pull request please provide us with:\r\n\r\n* A short explanation of the proposed change: See above.\r\n\r\n* An explanation of the use cases your change solves: If PHP is compiled against any libraries that are not included in the rootfs, ths command will fail.\r\n\r\nEx:\r\n\r\n```\r\n   Downloaded [https://s3.amazonaws.com/dmikusa-buildpack-tests/php-7.2.9-linux-x64.tgz] to [/tmp]\r\n   /tmp/app/php/bin/php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory\r\n   Traceback (most recent call last):\r\n     File \"/tmp/buildpackdownloads/18e85629818c74c653bbfdfdb5c727a9/scripts/compile.py\", line 59, in <module>\r\n       .from_build_pack('lib/additional_commands')\r\n     File \"/tmp/buildpackdownloads/18e85629818c74c653bbfdfdb5c727a9/lib/build_pack_utils/builder.py\", line 209, in extensions\r\n       process_extension(path, ctx, 'compile', process, args=[self])\r\n     File \"/tmp/buildpackdownloads/18e85629818c74c653bbfdfdb5c727a9/lib/build_pack_utils/utils.py\", line 69, in process_extension\r\n       success(getattr(extn, to_call)(*args))\r\n     File \"/tmp/buildpackdownloads/18e85629818c74c653bbfdfdb5c727a9/lib/extension_helpers.py\", line 48, in extension_helper_wrapper\r\n       return getattr(inst, 'compile')(install)\r\n     File \"/tmp/buildpackdownloads/18e85629818c74c653bbfdfdb5c727a9/lib/extension_helpers.py\", line 154, in compile\r\n       self._compile(install)\r\n     File \"/tmp/buildpackdownloads/18e85629818c74c653bbfdfdb5c727a9/lib/php/extension.py\", line 142, in _compile\r\n       validate_php_ini_extensions(ctx)\r\n     File \"/tmp/buildpackdownloads/18e85629818c74c653bbfdfdb5c727a9/lib/compile_helpers.py\", line 165, in validate_php_ini_extensions\r\n       all_supported =  _get_supported_php_extensions(ctx) + _get_compiled_modules(ctx)\r\n     File \"/tmp/buildpackdownloads/18e85629818c74c653bbfdfdb5c727a9/lib/compile_helpers.py\", line 129, in _get_compiled_modules\r\n       raise RuntimeError(\"Error determining PHP compiled modules\")\r\n   RuntimeError: Error determining PHP compiled modules\r\n   Failed to compile droplet: Failed to run finalize script: exit status 1\r\n   Exit status 223\r\n```\r\n\r\n* [x] I have viewed signed and have submitted the Contributor License Agreement\r\n\r\n* [x] I have made this pull request to the `develop` branch\r\n\r\n* [ ] I have added an integration test\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/comments/416583903","html_url":"https://github.com/cloudfoundry/php-buildpack/pull/277#issuecomment-416583903","issue_url":"https://api.github.com/repos/cloudfoundry/php-buildpack/issues/277","id":416583903,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjU4MzkwMw==","user":{"login":"cf-gitbot","id":5589368,"node_id":"MDQ6VXNlcjU1ODkzNjg=","avatar_url":"https://avatars3.githubusercontent.com/u/5589368?v=4","gravatar_id":"","url":"https://api.github.com/users/cf-gitbot","html_url":"https://github.com/cf-gitbot","followers_url":"https://api.github.com/users/cf-gitbot/followers","following_url":"https://api.github.com/users/cf-gitbot/following{/other_user}","gists_url":"https://api.github.com/users/cf-gitbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-gitbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-gitbot/subscriptions","organizations_url":"https://api.github.com/users/cf-gitbot/orgs","repos_url":"https://api.github.com/users/cf-gitbot/repos","events_url":"https://api.github.com/users/cf-gitbot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-gitbot/received_events","type":"User","site_admin":false},"created_at":"2018-08-28T13:28:37Z","updated_at":"2018-08-28T13:28:37Z","author_association":"COLLABORATOR","body":"We have created an issue in Pivotal Tracker to manage this: \n\nhttps://www.pivotaltracker.com/story/show/160093961 \n\nThe labels on this github issue will be updated when the story is started."}}
{"actor":{"display_login":"cf-gitbot"}}