tribuchet: building on mac02 Running phase: unpackPhase unpacking source archive /nix/store/jjzjdicz0kshmnck5dk1gvf44sszbfdb-php-8.3.36.tar.bz2 source root is php-8.3.36 setting SOURCE_DATE_EPOCH to timestamp 1792418434 of file "php-8.3.36/win32/wsyslog.c" Running phase: patchPhase applying patch /nix/store/xvdqq71cvvy7m084q5qznnn6cdp16yri-fix-tokenizer-php81.patch patching file ext/tokenizer/Makefile.frag Running phase: genfiles genfiles: bison version 3.8.2 (ok) genfiles: re2c version 4.6 (ok) genfiles: Generating Zend parser and lexer files make: 'Zend/zend_language_parser.c' is up to date. make: 'Zend/zend_language_scanner.c' is up to date. make: 'Zend/zend_ini_parser.c' is up to date. make: 'Zend/zend_ini_scanner.c' is up to date. genfiles: Generating phpdbg parser and lexer files make: 'sapi/phpdbg/phpdbg_parser.c' is up to date. make: 'sapi/phpdbg/phpdbg_lexer.c' is up to date. genfiles: Generating json extension parser and lexer files make: 'ext/json/json_parser.tab.c' is up to date. make: 'ext/json/json_scanner.c' is up to date. genfiles: Generating PDO lexer file make: 'ext/pdo/pdo_sql_parser.c' is up to date. genfiles: Generating standard extension lexer files make: 'ext/standard/var_unserializer.c' is up to date. make: 'ext/standard/url_scanner_ex.c' is up to date. genfiles: Generating phar extension lexer file make: 'ext/phar/phar_path_check.c' is up to date. Running phase: cdToExtensionRootPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Configuring for: PHP Api Version: 20230831 Zend Module Api No: 20230831 Zend Extension Api No: 420230831 fixing libtool script ./build/ltmain.sh patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/sh" configure flags: --disable-static --prefix=/nix/store/r5dyxdkzv3x0s69f8p9f3mqj8vijix5b-php-tokenizer-8.3.36 --bindir=/nix/store/r5dyxdkzv3x0s69f8p9f3mqj8vijix5b-php-tokenizer-8.3.36/bin --sbindir=/nix/store/r5dyxdkzv3x0s69f8p9f3mqj8vijix5b-php-tokenizer-8.3.36/sbin --includedir=/nix/store/pbnh8kmd5lw6fmabvc8nm3x7gs76x5sc-php-tokenizer-8.3.36-dev/include --mandir=/nix/store/r5dyxdkzv3x0s69f8p9f3mqj8vijix5b-php-tokenizer-8.3.36/share/man --infodir=/nix/store/r5dyxdkzv3x0s69f8p9f3mqj8vijix5b-php-tokenizer-8.3.36/share/info --docdir=/nix/store/r5dyxdkzv3x0s69f8p9f3mqj8vijix5b-php-tokenizer-8.3.36/share/doc/php-tokenizer --libdir=/nix/store/r5dyxdkzv3x0s69f8p9f3mqj8vijix5b-php-tokenizer-8.3.36/lib --libexecdir=/nix/store/r5dyxdkzv3x0s69f8p9f3mqj8vijix5b-php-tokenizer-8.3.36/libexec --localedir=/nix/store/r5dyxdkzv3x0s69f8p9f3mqj8vijix5b-php-tokenizer-8.3.36/share/locale --enable-tokenizer checking for grep that handles long lines and -e... /nix/store/7ihxb15yxm8345fdazx323iljjsi1i5i-gnugrep-3.12/bin/grep checking for egrep... /nix/store/7ihxb15yxm8345fdazx323iljjsi1i5i-gnugrep-3.12/bin/grep -E checking for a sed that does not truncate output... /nix/store/8fyr2rna4vqibkqsbzyfd4z6fna5c09p-gnused-4.10/bin/sed checking pkg-config is at least version 0.9.0... yes checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C23 features... -std=gnu23 checking how to run the C preprocessor... clang -std=gnu23 -E checking for egrep -e... (cached) /nix/store/7ihxb15yxm8345fdazx323iljjsi1i5i-gnugrep-3.12/bin/grep -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -Wl,-rpath,... yes checking build system type... aarch64-apple-darwin25.6.0 checking host system type... aarch64-apple-darwin25.6.0 checking target system type... aarch64-apple-darwin25.6.0 checking for PHP prefix... /nix/store/li9gjppwjacqg12qbyy7yz2gim73zpz9-php-8.3.36 checking for PHP includes... -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/main -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/TSRM -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/Zend -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext/date/lib checking for PHP extension directory... /nix/store/li9gjppwjacqg12qbyy7yz2gim73zpz9-php-8.3.36/lib/php/extensions checking for PHP installed headers prefix... /nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable tokenizer support... yes, shared checking for a sed that does not truncate output... /nix/store/8fyr2rna4vqibkqsbzyfd4z6fna5c09p-gnused-4.10/bin/sed checking for ld used by clang -std=gnu23... ld checking if the linker (ld) is GNU ld... no checking for ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognize dependent libraries... (cached) pass_all checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 786432 checking command to parse nm output from clang -std=gnu23 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for dsymutil... dsymutil checking for nmedit... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking if clang -std=gnu23 supports -fno-rtti -fno-exceptions... yes checking for clang -std=gnu23 option to produce PIC... -fno-common checking if clang -std=gnu23 PIC flag -fno-common works... yes checking if clang -std=gnu23 static flag -static works... no checking if clang -std=gnu23 supports -c -o file.o... yes checking whether the clang -std=gnu23 linker (ld) supports shared libraries... yes checking dynamic linker characteristics... darwin25.6.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking whether the clang++ linker (ld) supports shared libraries... no checking for clang++ option to produce PIC... checking if clang++ static flag works... yes checking if clang++ supports -c -o file.o... yes checking whether the clang++ linker (ld) supports shared libraries... no checking dynamic linker characteristics... darwin25.6.0 dyld (cached) (cached) checking how to hardcode library paths into programs... immediate configure: patching config.h.in configure: creating ./config.status config.status: creating config.h Running phase: buildPhase build flags: -j24 SHELL=/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash /nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/libtool --tag=CC --mode=compile clang -std=gnu23 -I. -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/include -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/main -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/main -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/TSRM -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/Zend -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/tokenizer.c -o tokenizer.lo -MMD -MF tokenizer.dep -MT tokenizer.lo /nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/libtool --tag=CC --mode=compile clang -std=gnu23 -I. -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/include -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/main -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/main -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/TSRM -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/Zend -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/tokenizer_data.c -o tokenizer_data.lo -MMD -MF tokenizer_data.dep -MT tokenizer_data.lo mkdir .libs mkdir .libs mkdir: cannot create directory '.libs': File exists clang -std=gnu23 -I. -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/include -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/main -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/main -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/TSRM -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/Zend -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/tokenizer_data.c -MMD -MF tokenizer_data.dep -MT tokenizer_data.lo -fno-common -DPIC -o .libs/tokenizer_data.o clang -std=gnu23 -I. -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/include -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/main -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/main -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/TSRM -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/Zend -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/tokenizer.c -MMD -MF tokenizer.dep -MT tokenizer.lo -fno-common -DPIC -o .libs/tokenizer.o /nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/libtool --tag=CC --mode=link clang -std=gnu23 -shared -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/include -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/main -I/private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/main -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/TSRM -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/Zend -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext -I/nix/store/fjpgyh7g544988nsirkdlqnmwhl19wxx-php-8.3.36-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -o tokenizer.la -export-dynamic -avoid-version -prefer-pic -module -rpath /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/modules tokenizer.lo tokenizer_data.lo clang -std=gnu23 ${wl}-undefined ${wl}dynamic_lookup -o .libs/tokenizer.so -bundle .libs/tokenizer.o .libs/tokenizer_data.o dsymutil .libs/tokenizer.so || : creating tokenizer.la (cd .libs && rm -f tokenizer.la && ln -s ../tokenizer.la tokenizer.la) /nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/bash /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/libtool --tag=CC --mode=install cp ./tokenizer.la /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/modules cp ./.libs/tokenizer.so /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/modules/tokenizer.so cp ./.libs/tokenizer.lai /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/modules/tokenizer.la ---------------------------------------------------------------------- Libraries have been installed in: /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable during execution See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. Running phase: checkPhase Build complete. Don't forget to run 'make test'. ===================================================================== PHP : /nix/store/li9gjppwjacqg12qbyy7yz2gim73zpz9-php-8.3.36/bin/php PHP_SAPI : cli PHP_VERSION : 8.3.36 ZEND_VERSION: 4.3.36 PHP_OS : Darwin - Darwin mac02 25.6.0 Darwin Kernel Version 25.6.0: Tue Aug 18 17:51:33 PDT 2026; root:xnu-12377.161.15.700.19~2/RELEASE_ARM64_T8132 arm64 INI actual : /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/tmp-php.ini More .INIs : --------------------------------------------------------------------- PHP : /nix/store/li9gjppwjacqg12qbyy7yz2gim73zpz9-php-8.3.36/bin/php-cgi PHP_SAPI : cgi-fcgi PHP_VERSION : 8.3.36 ZEND_VERSION: 4.3.36 PHP_OS : Darwin - Darwin mac02 25.6.0 Darwin Kernel Version 25.6.0: Tue Aug 18 17:51:33 PDT 2026; root:xnu-12377.161.15.700.19~2/RELEASE_ARM64_T8132 arm64 INI actual : /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/tmp-php.ini More .INIs : --------------------------------------------------------------------- --------------------------------------------------------------------- PHP : /nix/store/li9gjppwjacqg12qbyy7yz2gim73zpz9-php-8.3.36/bin/phpdbg PHP_SAPI : phpdbg PHP_VERSION : 8.3.36 ZEND_VERSION: 4.3.36 PHP_OS : Darwin - Darwin mac02 25.6.0 Darwin Kernel Version 25.6.0: Tue Aug 18 17:51:33 PDT 2026; root:xnu-12377.161.15.700.19~2/RELEASE_ARM64_T8132 arm64 INI actual : /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer/tmp-php.ini More .INIs : --------------------------------------------------------------------- CWD : /private/var/tb/4/scratch/9d1105cc5652997c/build/php-8.3.36/ext/tokenizer Extra dirs : VALGRIND : Not used ===================================================================== TIME START 2026-10-21 20:08:10 ===================================================================== PASS token_name() [tests/001.phpt] PASS token_get_all() [tests/002.phpt] PASS token_get_all() and wrong parameters [tests/003.phpt] PASS PhpToken constructor [tests/PhpToken_constructor.phpt] PASS Extending the PhpToken class [tests/PhpToken_extension.phpt] PASS PhpToken extensions that throw during construction [tests/PhpToken_extension_errors.phpt] PASS Check that the PhpToken constructor is final [tests/PhpToken_final_constructor.phpt] PASS PhpToken instance methods [tests/PhpToken_methods.phpt] PASS PhpToken implements __toString() [tests/PhpToken_toString.phpt] PASS PhpToken::tokenize() method [tests/PhpToken_tokenize.phpt] PASS Attributes are exposed as tokens. [tests/attributes.phpt] PASS token_get_all() produces T_BAD_CHARACTER for unexpected characters [tests/bad_character.phpt] PASS Bug #26463 (token_get_all() does not correctly handle semicolons after T_END_HEREDOC) [tests/bug26463.phpt] PASS Bug #54089 (token_get_all() does not stop after __halt_compiler) [tests/bug54089.phpt] PASS Bug 60097: token_get_all fails to lex nested heredoc [tests/bug60097.phpt] PASS Bug 67395: token_name() does not return name for T_POW and T_POW_EQUAL token [tests/bug67395.phpt] PASS Bug #76437 (token_get_all with TOKEN_PARSE flag fails to recognise close tag) [tests/bug76437.phpt] PASS Bug #76991: Incorrect tokenization of multiple invalid flexible heredoc strings [tests/bug76991.phpt] PASS Handling of "namespace as" in TOKEN_PARSE mode [tests/bug77966.phpt] PASS Bug #80462: Nullsafe operator tokenize with TOKEN_PARSE flag fails [tests/bug80462.phpt] PASS Bug #81342: New ampersand token parsing depends on new line after it [tests/bug81342.phpt] PASS Large invalid octal number with underscores [tests/invalid_large_octal_with_underscores.phpt] PASS Invalid octal number that overflows to double [tests/invalid_octal_dnumber.phpt] PASS Tokenization of namespaced names [tests/namespaced_names.phpt] PASS Inline HTML should not be split at partial PHP tags [tests/no_inline_html_split.phpt] PASS Parse errors during token_get_all() [tests/parse_errors.phpt] PASS Tokenization of only the