Since a few weeks it's no longer possible to build PHP with DTRACE support on stable/13. /bin/sh /usr/ports/lang/php80/work/php-8.0.17/libtool --silent --preserve-dup-deps --mode=compile cc -Imain/ -I/usr/ports/lang/php80/work/php-8.0.17/main/ -I/usr/ports/lang/php80/work/php-8.0.17/include -I/usr/ports/lang/php80/work/php-8.0.17/main -I/usr/ports/lang/php80/work/php-8.0.17 -I/usr/ports/lang/php80/work/php-8.0.17/ext/date/lib -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/ports/lang/php80/work/php-8.0.17/TSRM -I/usr/ports/lang/php80/work/php-8.0.17/Zend -I/usr/local/include -Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare -O2 -pipe -fno-strict-aliasing -march=nocona -fstack-protector-strong -fvisibility=hidden -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/ports/lang/php80/work/php-8.0.17/main/spprintf.c -o main/spprintf.lo --- Zend/zend_dtrace_gen.h --- dtrace: failed to compile script /usr/ports/lang/php80/work/php-8.0.17/Zend/zend_dtrace.d: "/usr/lib/dtrace/psinfo.d", line 1: failed to copy type of 'pr_uid': Type information is in parent and unavailable --- main/fopen_wrappers.lo --- /bin/sh /usr/ports/lang/php80/work/php-8.0.17/libtool --silent --preserve-dup-deps --mode=compile cc -Imain/ -I/usr/ports/lang/php80/work/php-8.0.17/main/ -I/usr/ports/lang/php80/work/php-8.0.17/include -I/usr/ports/lang/php80/work/php-8.0.17/main -I/usr/ports/lang/php80/work/php-8.0.17 -I/usr/ports/lang/php80/work/php-8.0.17/ext/date/lib -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/ports/lang/php80/work/php-8.0.17/TSRM -I/usr/ports/lang/php80/work/php-8.0.17/Zend -I/usr/local/include -Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare -O2 -pipe -fno-strict-aliasing -march=nocona -fstack-protector-strong -fvisibility=hidden -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/ports/lang/php80/work/php-8.0.17/main/fopen_wrappers.c -o main/fopen_wrappers.lo --- Zend/zend_dtrace_gen.h --- *** [Zend/zend_dtrace_gen.h] Error code 1 make[2]: stopped in /usr/ports/lang/php80/work/php-8.0.17 1 error
What's the ARCH?
From what it looks like you maybe your kernel is not properly compiled with DTRACE support or the the userland is not properly installed.
(In reply to Muhammad Moinur Rahman from comment #1) It's on amd64.(In reply to Muhammad Moinur Rahman from comment #2) You are about right: dtrace: invalid probe specifier syscall:::entry { @[pid, execname] = count(); }: "/usr/lib/dtrace/psinfo.d", line 1: failed to copy type of 'pr_uid': Type information is in parent and unavailable
(In reply to Marek Zarychta from comment #3) Absolutely. You found it. :D It's not always the last line that mentions/contains the error. :) There are some archs in which the php DTRACE does not work properly; but amd64 is not one of them. You can check the Makefile itself. Happy hacking.
*** This bug has been marked as a duplicate of bug 232675 ***