Closed nikic closed 4 years ago
This should not happen. I notice the same error with libzip 1.7.0 which is totally broken
Which libzip version is it ?
In short libzip 1.7.0 don't have any of the LIBZIPVERSION* macro, which make its use impossible
libzip 1.7.1 is OK.
Perhaps we can add
#if ! defined (LIBZIP_VERSION_MAJOR)
#error Borken libzip update to 1.7.1
#endif
@remicollet Thanks for the quick reply! I checked the build log and it does indeed say:
Warning: libzip 1.7.0 is already installed and up-to-date To reinstall 1.7.0, run
brew reinstall libzip
Probably we need to force macos CI to update this package in some way.
For memory we have same issue with 1.3.1
And:
Proposed fix: https://github.com/php/php-src/pull/5737
Sorry, was working on another fix (at configure time, which can be better), so miss your PR. BTW, both make sense
Fixed by:
Thanks for your help @remicollet!
The test ext/zip/tests/bug53885.phpt fails on PHP 7.4 (but not master!) on macos with the diff:
@remicollet Do you know why this would happen on 7.4 only? It started happening only recently.