What did you do?
SynoCommunity provide open-source packages to run on Synology NAS. Our project page is https://github.com/SynoCommunity/spksrc
We used to provide pillow wheel part of the our default python2 package. It is also provide with some native python apps we package needed this wheel. While preparing our new python39 package I tried re-including it "as-is" but it fails to cross-compiling on some archs using the synology toolchain, namely arm and ppc.
What did you expect to happen?
inability to find some of the needed include files
What actually happened?
What are your OS, Python and Pillow versions?
- OS: Linux
- Python: 3.7-3.9
- Pillow: 8.2-8.4
Example of build failure on arm and ppc archs:
https://github.com/SynoCommunity/spksrc/pull/4937/checks?sha=5ca113eb0b3b58169b6a6885d6a1383a35ba9560
Our local patch we maintain to allow it to build (we add to the environment STAGING_INSTALL_PREFIX variable)
https://github.com/SynoCommunity/spksrc/blob/master/cross/pillow/patches/001-fix-paths.patch
What would be really nice is to have a work-around where I guess it would use the environment CFLAGS pointing to the toolchain to find the needed includes.
What did you do?
SynoCommunity provide open-source packages to run on Synology NAS. Our project page is https://github.com/SynoCommunity/spksrc
We used to provide
pillowwheel part of the our default python2 package. It is also provide with some native python apps we package needed this wheel. While preparing our newpython39package I tried re-including it "as-is" but it fails to cross-compiling on some archs using the synology toolchain, namely arm and ppc.What did you expect to happen?
inability to find some of the needed include files
What actually happened?
What are your OS, Python and Pillow versions?
Example of build failure on arm and ppc archs:
https://github.com/SynoCommunity/spksrc/pull/4937/checks?sha=5ca113eb0b3b58169b6a6885d6a1383a35ba9560
Our local patch we maintain to allow it to build (we add to the environment
STAGING_INSTALL_PREFIXvariable)https://github.com/SynoCommunity/spksrc/blob/master/cross/pillow/patches/001-fix-paths.patch
What would be really nice is to have a work-around where I guess it would use the environment CFLAGS pointing to the toolchain to find the needed includes.