Hello! Makefile post-install target does not take into account possible off options. For example, building with CGI option off fails: /usr/ports/lang/php82>make [...] ===> Staging for php82-8.2.0.a3 ===> Generating temporary packing list Installing PHP SAPI module: embed Installing PHP CLI binary: /usr/ports/lang/php82/work/stage/usr/local/bin/ Installing PHP CLI man page: /usr/ports/lang/php82/work/stage/usr/local/man/man1/ Installing phpdbg binary: /usr/ports/lang/php82/work/stage/usr/local/bin/ Installing phpdbg man page: /usr/ports/lang/php82/work/stage/usr/local/man/man1/ Installing build environment: /usr/ports/lang/php82/work/stage/usr/local/lib/php/build/ Installing header files: /usr/ports/lang/php82/work/stage/usr/local/include/php/ Installing helper programs: /usr/ports/lang/php82/work/stage/usr/local/bin/ program: phpize program: php-config Installing man pages: /usr/ports/lang/php82/work/stage/usr/local/man/man1/ page: phpize.1 page: php-config.1 /usr/bin/strip /usr/ports/lang/php82/work/stage//usr/local/bin/php-cgi strip: open /usr/ports/lang/php82/work/stage//usr/local/bin/php-cgi failed: No such file or directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/lang/php82 *** Error code 1 Stop. make: stopped in /usr/ports/lang/php82
I am aware about this problem will be fixed in ext beta release.
lang/php81 is also affected
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5da33bb9b44197233147df3ac9ffdc943ac3662b commit 5da33bb9b44197233147df3ac9ffdc943ac3662b Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-08-04 19:39:43 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-08-04 19:43:34 +0000 lang/php82: Update version 8.2.0a3=>8.2.0b2 - Fix building with some DEFAULT OPTIONS off [1] PR: 265500 [1] Reported by: a.shikov@itcons.net.ua [1] Sponsored by: Bounce Experts Mk/Uses/php.mk | 6 +++--- lang/php82/Makefile | 23 ++++++++++++++++------ lang/php82/distinfo | 6 +++--- lang/php82/files/patch-build_Makefile.global | 4 ++-- lang/php82/files/patch-configure.ac | 10 +++++----- lang/php82/files/patch-ext_hash_xxhash_xxhash.h | 4 ++-- lang/php82/files/patch-ext_mysqli_mysqli__nonapi.c | 6 +++--- lang/php82/files/patch-ext_mysqli_mysqli__prop.c | 6 +++--- ...h-ext_pcre_pcre2lib_sljit_sljitConfigInternal.h | 21 ++++++++++++++------ lang/php82/pkg-plist | 1 + 10 files changed, 54 insertions(+), 33 deletions(-)
php81 will be fixed while updating in the coming days.