-
Notifications
You must be signed in to change notification settings - Fork 85
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
Building libpng with new zlib #58
Conversation
I don't understand the error - can you say more about why it's happening? It appears that freetype2 and jpg_2000 aren't getting linked, but I can't see any indication why not, apart from this cryptic message : https://travis-ci.org/radarhere/pillow-wheels/jobs/289411067#L754 . I guess it's something to do with the difference between system zlib and compiled zlib on Mac, given that your fix works, but I'd like to understand it better. |
In my investigating, I looked at https://travis-ci.org/radarhere/pillow-wheels/jobs/289411067#L336 -
inflateValidate was added in zlib 1.2.9 - https://github.com/madler/zlib/blob/master/contrib/vstudio/vc10/zlibvc.def#L145 OS X 10.10 is the version being tested in Travis. Without knowing exactly which zlib version is on OS X by default, 10.10.5 was released on 13 August 2015. zlib 1.2.9 was released on 31 Dec 2016 - https://zlib.net/ChangeLog.txt |
b075a0c
to
1b385ca
Compare
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.
Sorry to be a bit slow to get back to this one - do you mean that, the libpng
build is not picking up the new libz
? Should /usr/local/lib
then be $BUILD_PREFIX
? Maybe that should be there by default? Can you add a test in tests/test_library_builders.sh
?
d4394ce
to
32ddbc6
Compare
32ddbc6
to
4fb3bff
Compare
In these comments, you'll have to ignore failures from 'MB_PYTHON_VERSION=2.7 PLAT=i686' - they are failing due to an unrelated issue. Changing it from
I've updated the commit for this PR. See what you think. |
This commit is somewhat helpful: MacPython/matplotlib-wheels@0c76cd8. Perhaps this should be fixed for OSX globally? |
This PR adds a function that is intended to be build_libpng, but using the zlib generated by build_new_zlib. I imagine you'll have a better idea, but hopefully this is enough to start things going.
If you're interested, the reason that I'm creating this PR is because this version of pillow-wheels config.sh fails in Travis, but this version of pillow-wheels config.sh passes in Travis.