-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to build with pack: mbedded daemon response: max depth exceeded #1649
Comments
Yes, 100%. Either: 1.) drop the and @natalieparellano Yes, this is a perfect example to illustrate the request on #1595 |
@dmikusa @natalieparellano thank you for suggestions!
pack build app --path=$(pwd) --builder paketobuildpacks/builder:full --run-image paketobuildpacks/run:full-cnb
...
8d64c9e373d0: Pull complete
273978fd99f5: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:92c9f5795c31f93ac0a5a9c2a3e6e9f1142ddd4bf82c3cfdd542034011304532
Status: Downloaded newer image for paketobuildpacks/builder:full
full-cnb: Pulling from paketobuildpacks/run
e58c18cab017: Already exists
b5cff81d82a3: Already exists
89f12f6a028f: Pull complete
ea6d6675c1de: Pull complete
2e16d22ba9a8: Pull complete
0776c74abed9: Pull complete
0b6da45e0e0b: Pull complete
Digest: sha256:7dd145d8c23d8e2d1fc1706d2e5eef5c49cb6328ba7976bcf074b5bf69993f8e
Status: Downloaded newer image for paketobuildpacks/run:full-cnb
ERROR: failed to build: Invalid buildpack defined in project descriptor this folder where I run the command above contains the following
if I mention "old" php buildpack, still error ✗ pack build app --buildpack gcr.io/paketo-buildpacks/php:0.11 --builder gcr.io/paketo-buildpacks/builder:buildpackless-base
buildpackless-base: Pulling from paketo-buildpacks/builder
Digest: sha256:8b0b3999be3ee2810d89e6e4b09685177be5e5ed6837f688271cdbb18633f23e
Status: Image is up to date for gcr.io/paketo-buildpacks/builder:buildpackless-base
base-cnb: Pulling from paketo-buildpacks/run
e58c18cab017: Already exists
6d86645106a5: Already exists
2f51262d9ef7: Pull complete
6a4881d9f26b: Pull complete
ce1a5c1e325e: Pull complete
4edf834187f5: Pull complete
9a13d981ab1a: Pull complete
Digest: sha256:92bd0f7d7315281a1f330ac9f1175049a3cf603884fb263901cce2d2c725a739
Status: Downloaded newer image for gcr.io/paketo-buildpacks/run:base-cnb
0.11: Pulling from paketo-buildpacks/php
Digest: sha256:c477c3eca0e16856e323ec835fd515fc136972b19d4a3ef329d80e45b4f32d9f
Status: Image is up to date for gcr.io/paketo-buildpacks/php:0.11
ERROR: failed to build: validating stack mixins: buildpack paketo-buildpacks/[email protected] requires missing mixin(s): libargon2-0, libcurl4, libedit2, libgd3, libmagickwand-6.q16-3, libonig4, libxml2
|
Also per their github The PHP buildpack is compatible with the following builder(s): |
If you need to use an older buildpack, you'll have to use the stackless builder. They are the same in terms of compatibility, so use the full stackless builder for jammy or bionic. I don't know why you're getting those errors but would suggest reaching out on https://github.com/paketo-buildpacks/php and asking. The issues you're having are not related to pack. It may be that your buildpack is just too old. If that's the case, you could repackage the latest buildpack but add in binaries for your particular version of PHP. That said, I don't work on the PHP buildpacks so I would defer to whatever the maintainers suggest. |
I'm going to close this issue as it doesn't seem related to pack. Please note that buildpacks/rfcs#290 would refine the (currently experimental) feature for reducing the number of layers in buildpack packages and builders. |
Summary
Using pack cli with paketo buildpacks for PHP it fails with:
I made clean up with
docker system prune -a
that didn't helpAt the same time if I run:
pack build app --path=$(pwd) --buildpack gcr.io/paketo-buildpacks/php --builder paketobuildpacks/builder:full --run-image paketobuildpacks/run:full-cnb
it fails with a different error:
So I need to use older versions of the builder/runner to support PHP 7.1
Current behavior
Build failed with the error
Expected behavior
Image to be built successfully
Environment
pack info
docker info
The text was updated successfully, but these errors were encountered: