teamhephy / example-php

MIT License
0 stars 5 forks source link

Broken #5

Open kingdonb opened 3 years ago

kingdonb commented 3 years ago

I just tested this against the latest buildpack (in hephy/workflow-beta v2.23.0) and it failed

Starting build... but first, coffee!
...
...
...
-----> Restoring cache...
       No cache file found. If this is the first deploy, it will be created now.
-----> PHP app detected
-----> Bootstrapping...
/app/.heroku/php-min/bin/php: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory

 !     ERROR: An unknown internal error occurred.
 !
 !     Contact Heroku Support for assistance if this problem persists.
 !
 !     Stack trace follows for debugging purposes:
 !     255 main /tmp/buildpacks/08-php/bin/compile

remote: 2021-04-19 21:18:19.952929 I | Error running git receive hook [Build pod exited with code 1, stopping build]
To ssh://deis-builder.45.55.104.202.nip.io:2222/example.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://deis-builder.45.55.104.202.nip.io:2222/example.git'
kingdonb@Kingdons-MBP-2:~/example-php (master u=)$ deis destroy
 !    WARNING: Potentially Destructive Action
 !    This command will destroy the application: example
 !    To proceed, type "example" or re-run this command with --confirm=example

> example
Destroying example...
done in 0s
Git remotes for app example removed.

Just recording this for accounting, I will make my way back around to fix it sooner or later.

Cryptophobia commented 3 years ago

Alright, this looks like a problem in the base image of the slugbuilder component? Maybe we need a base dependency which is missing in heroku:20.04 stack?

Looks like these two issues are somewhat related: https://github.com/heroku/heroku-buildpack-php/issues/324 https://askubuntu.com/questions/1075656/error-while-loading-shared-libraries-libreadline-so-7-cannot-open-shared-objec