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
mempcpy undeclared on installation (alpine:edge docker) #1850
Comments
I'm pretty sure that this is an issue with alpine, as the error is occuring in Also, we don't appear to be using that function at all.
|
We figured out what the real problem is. What happens is: First will This (rightfully) confuses the fortify-headers. You cannot really include some system headers with without _GNU_SOURCE and some with. It will cause problem. Either diff --git a/_imagingcms.c b/_imagingcms.c
index ad5b845..117d8a7 100644
--- a/_imagingcms.c
+++ b/_imagingcms.c
@@ -25,9 +25,9 @@ kevin@cazabon.com\n\
http://www.cazabon.com\n\
"
-#include "wchar.h"
#include "Python.h"
+#include "wchar.h"
#include "datetime.h"
#include "lcms2.h" |
I've made a PR for this: #1906 |
Quickfix: as suggested here: https://bugs.alpinelinux.org/issues/5548 |
What did you do?
Attempted to install Pillow on Alpine Linux
What did you expect to happen?
Successful installation via pip3.
What actually happened?
Compile-time error with mempcpy missing. The issue occurs with both the latest version on PyPI and the latest master.
What versions of Pillow and Python are you using?
Python: 3.5.1
To recreate:
The text was updated successfully, but these errors were encountered: