-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add gmp php extension #863
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
Conversation
J0WI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run update.sh and make sure that all tests are passing.
db3f503 to
1d2591d
Compare
|
Mmh. based on the travis matrix, it's not really clear to me, what's the problem. Debian fpm x86 always seems to fail, with other targets failing at random it seems 🤔 |
|
@marcelklehr Did you try to build those failing images locally? |
|
Debian uses different |
|
@maxmeyer I tried yes, but it's not quite easy to do and they fail locally as well. |
|
@tianon do you know any solution for the architecture relative library paths on Debian? |
|
@J0WI does this help at all? https://wiki.debian.org/Multiarch/LibraryPathOverview |
|
Pretty sure I found the problem. @marcelklehr, the lines where you have test -f means the file exists AND is a regular file, which based on the fact that you create a symbolic link on failure means that this file will never be a regular file. test -e is a check for simple existence of a file with no other conditions. If you want to check if /usr/include/gmp.h exists and is specifically a symbolic link, then use test -L instead |
|
Now, we are where I've been before. Still all debian i386 builds are failing. :/ |
|
@marcelklehr hmm... the build logs indicate it can't find gmp.h when building in i386... wish I could see where it was trying to look for it. The fpm image is based on debian 'buster', and according to https://packages.debian.org/buster/i386/libgmp-dev/filelist the header file should be at /usr/include/i386-linux-gnu/gmp.h. Wish I could see what |
|
take a look at https://travis-ci.org/nextcloud/docker/jobs/603287089#L4009 docker uses |
|
@tilosp literally popped up seconds before I clicked "comment" to say the same thing! Also, can confirm: it builds for me with the suggested change |
|
ooph, fingers crossed. Once the build passes I'll do a rebase to clean things up a bit... 😅 |
|
It breaks the build of some of the |
|
Hah, if I only I had looked at the examples. |
db279d0 to
2e5ae50
Compare
|
yeah having a @marcelklehr what info about the ci would haven been useful to you? Simply explaining which Dockerfiles get build? btw could you also remove the gmp from the full/fpm-alpine example? It doesn't break the build, but building it twice still wastes resources. |
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
J0WI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The symlink looks a bit hacky to me, but if this is the only variant working on all platforms I'm fine with it.
|
When will this be released? I will test it then asap :) 👍 |
|
Once docker-library/official-images#6867 is reviewed and merged it will be build and published by https://doi-janky.infosiftr.net/. |
fixes #854