Skip to content

[5.0.6] BuildpackCompileFailed - App staging failed in the buildpack compile phase #1291

Description

@Rom1Bastide

I try to push a Symfony app (cf push ok with buildpack 4.6.28) with new buildpack 5.0.6
I have only changed buildpack version in manifest.yml

  • Use a mariadb service
  • Use a Redis service

What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version?

cf curl /v2/info

{
  "name": "...",
  "build": "v53.8.0",
  "support": "",
  "version": 53,
  "description": "",
  "authorization_endpoint": "...",
  "token_endpoint": "...",
  "min_cli_version": null,
  "min_recommended_cli_version": null,
  "app_ssh_endpoint": "...",
  "app_ssh_host_key_fingerprint": "...",
  "app_ssh_oauth_client": "...",
  "doppler_logging_endpoint": "...",
  "api_version": "2.272.0",
  "osbapi_version": "2.15",
  "routing_endpoint": "...",
  "user": "..."
}

cf version: Testé avec 7.5.0+0ad1d63.2022-06-04 and 8.18.3+83ce51d.2026-04-16

What version of the buildpack you are using? 5.0.6

If you were attempting to accomplish a task, what was it you were attempting to do?

cf push

What did you expect to happen?

Instances starting... and app deployed

What was the actual behavior?

BuildpackCompileFailed - App staging failed in the buildpack compile phase
FAILED

Please confirm where necessary:

  • I have included a log output
  • My log includes an error message
  • I have included steps for reproduction

Logs

Running with gitlab-runner 18.11.3 (ad1797b3)
[...]
$ cf --version
cf version 7.5.0+0ad1d63.2022-06-04
Authenticating...
OK
Targeted org [...]
Targeted space [...]
API endpoint:   [...]
API version:    3.207.0
user:           [...]
org:            [...]
space:          [...]
[...]
Downloading app package...
Downloading build artifacts cache...
Downloaded app package (3.9M)
Downloaded build artifacts cache (55.7M)
-----> Php Buildpack version 5.0.6
**WARNING** buildpack version changed from 4.6.28 to 5.0.6
-----> Supplying PHP
Loading user configuration from .bp-config/options.json
Running extension Configure phase
-----> Composer requires PHP 8.3.*
Selected PHP version: 8.3.30
Installing PHP 8.3.30
-----> Installing php 8.3.30
Copy [[...]/php_8.3.30_linux_x64_cflinuxfs4_bac0bfc1.tgz]
Applying user PHP configuration overrides
Enabling fpm.d config includes
Web server: httpd
Installing HTTPD 2.4.66
-----> Installing httpd 2.4.66
Copy [[...]/httpd_2.4.66_linux_x64_cflinuxfs4_f5966450.tgz]
Applying user httpd configuration overrides
HTTPD installed successfully
Running extension Compile phase
**ERROR** Extension compilation failed: extension sessions compile failed: failed to load PHP config: failed to load php.ini: failed to read config file php/etc/php.ini: open php/etc/php.ini: no such file or directory
Failed to compile droplet: Failed to run all supply scripts: exit status 14
Exit status 223
[...]
BuildpackCompileFailed - App staging failed in the buildpack compile phase
FAILED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions