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
Cannot compile swoole against 7.4.11-3+ubuntu20.04.1+deb.sury.org+1 #1471
Comments
Confirmed, I am seeing that too, I restored the patch to use system libtool m4 macros, but it looks like it’s incomplete. As quick workaround, copy all m4 files from libtool package to build/ directory just after running phpize. |
Copy that, thank you 👍 |
Uploaded a fix (JFTR the copying won’t work because the phpize build changes in 7.4+). |
Thank you. I'm finding a different error now though which I'm not sure what to do about:
See build here: https://ci.auronconsulting.co.uk/teams/main/pipelines/phpdocker-base-images/jobs/php%207.4/builds/436 I wouldn't think this to be an issue with php itself, but swoole's sources, if it wasn't because the same version of swoole compiled fine against an earlier version of the php packages. |
Argh, there’s some weird copy of libtool binary bundled in the PHP, which is causing the issues.
|
Fixed in |
Thank you, just waiting for builds to go through in launchpad to retest 👍 |
I also briefly looked into packaging swoole, but oh boy, it does contain a lot of 3rd party code without any option to use the system libraries ( |
That explains why it's so massive in size. It's straightforward enough to build from source though at least. |
Thank you, all swoole builds are now green (7.4 & 8.0) 👍 |
Thanks for the confirmation. This issue actually unearthed a much older problem. There was a code that should have replaced the custom copies of shtool, and libtool (and recently pkg-config) files with just symlinks, but it was defunct for I don’t know how long. Now the custom copies have been removed rather than symlinked and those files are copied by phpize from their original sources. |
Describe the bug
After the
7.4.11-3+ubuntu20.04.1+deb.sury.org+1
version rolled out, swoole 4.5.5 cannot be compiled against it:It compiled fine against the previous revision
7.4.11-2+ubuntu20.04.1+deb.sury.org+1
.Examples:
Scroll down to the
php74-swoole
section.To Reproduce
Dockerfile: https://github.com/phpdocker-io/base-images/blob/master/php/7.4/swoole/Dockerfile
Dockerfile for base image used above: https://github.com/phpdocker-io/base-images/blob/master/php/7.4/cli/Dockerfile
Expected behavior
Compiles successfully.
Distribution (please complete the following information):
Package(s) (please complete the following information):
Additional context
I believe I've covered everything relevant.
The text was updated successfully, but these errors were encountered: