-
Notifications
You must be signed in to change notification settings - Fork 5
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
fetch-deps fails for vs17 series #23
Comments
@cmb69 |
Okay, I'll do builds and testing. :) |
First couple of vs17 builds (did some updates; local testing showed no issues; no need to rename, since all have been build against tags): Could you please roll these out for PHP 8.4 and up, @shivammathur? |
Next bunch of builds (analogous to above):
|
@cmb69 Thanks. I have uploaded these and updated the series files |
Next bunch of builds (analogous to above): |
Uploaded |
Penultimate bunch of builds (analogous to above): |
Uploaded |
Next couple of builds (analogous to above): Sorry, I've overlooked that enchant depends on glib, so this will take another round. |
Uploaded |
So here is enchant: I would also suggest to roll out libzip 1.11.2 which claims to fix a performance regression in 1.11.0: Now only apache is left, and that should have been the simplest update, since we just fetch the latest builds from apacheloung.com and repackage. However, I stumbled upon php/php-src#16682; without patching the headers, that won't even build. Maybe it's best to just rename apache-2.4.43-vs16-*.zip to apache-2.4.43-vs17-*.zip, and be done for now. |
Done, I have also copied over the apache builds. |
Would you please upgrade to OpenLDAP 2.5.18? The upgrading for security fixes seems to be needed in the following libraries.
Thank you. |
@matsuo, there is already winlibs/openldap#6, and now I filed winlibs/cyrus-sasl#3. Regarding libxpm, see winlibs/libxpm#3. |
@cmb69 Thank you so much. |
The vs17 series files contain many entries for vs16 dependency builds. However, fetch-deps.ps1 can't handle this, since it always tries to fetch a vs17 dependency. For instance, a library should be build against PHP 8.4, x64, staging, and requires zlib. fetch-deps.ps1 would read the respective series file, finds that it needs to fetch zlib-1.3.1, but would then try to download zlib-1.3.1-vs17-x64.zip, which doesn't exist. For a couple of builds, I've worked around with a hack. Note that
phpsdk_deps
doesn't have this problem, since it just downloads what is specified; however,phpsdk_deps
doesn't handle PECL dependency libs at all, while there is some basic support in fetch-deps.ps1.Background: until a few years ago, we rebuilt all dependencies for every new major VS version. We even needed to rebuild a couple of extensions for some minor VS versions, because especially PGO builds have been very picky about static libraries. Then somebody came up with the (undocumented)
/d2:-AllowCompatibleILVersions
option to cl.exe, and that works great (at least I haven't noticed any issues).Now the question is whether fetch-deps.ps1 should be fixed to fetch the proper dependency builds, or whether we want to roll out new builds of the core dependencies for PHP 8.4 (and up). I'm on the fence here: while I would prefer rolling out new builds (seems "cleaner", and might be better optimized), I understand that this requires quite some time (which is rare).
@shivammathur, what do you think? If you prefer to (mostly) stick with the vs16 builds, I can provide a PR to fix fetch-deps.ps1 (I think I can; although I would prefer to have a fetch-deps.php).
The text was updated successfully, but these errors were encountered: