Open andypost opened 2 months ago
@petk you're polishing build system for upcoming 8.4, maybe there's a chance to simplify it somehow?
Here's current state https://gitlab.alpinelinux.org/alpine/aports/-/blob/434979f6f88eac4b6252911d0c585e40931da1f4/testing/php84/APKBUILD#L332-350
Hello, yes, confirming. This is one of the "features" that was added a long time ago to PHP build system. I'm not sure how this never got addressed yet. Probably it was simpler to do that and have limited build experience.
Currently there are several related issues here:
This is (will) be fixed in CMake-based PHP build system :D so I'm not sure yet if this can be done in Autotools just like that.
It was discussed in https://bugs.php.net/bug.php?id=52419 but somehow it still disallowed
^ This should be reopened and considered as a major bug. In my opinion, this is unacceptable "feature" in today's builds. Since this issue is now reported it supersedes the 52419 bug report.
https://github.com/php/php-src/actions/runs/10616580833/job/29427350747#step:5:582 (whispers: come to the dark side ;)
@cmb69 how come?! does it mean that issue resolved?
It is resolved on Windows for a long time (whispers again: come to the dark side ;)
Description
ATM distro builders need separate build pass to build apache2handler because of
php.m4
macroPHP_SELECT_SAPI
It was discussed in https://bugs.php.net/bug.php?id=52419 but somehow it still disallowed
If I wanna add ZTS variation to Alpinelinux looks I need to build it all 4 times... maybe there's workaround?
https://github.com/php/php-src/blob/63841ba7cfc368398f9310b785298400f6b7b2d9/build/php.m4#L843-L859