php-xmlwriter-8.3.36
checks.x86_64-linux.fastly-purge-lint
· build #220
· raw
1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/jjzjdicz0kshmnck5dk1gvf44sszbfdb-php-8.3.36.tar.bz23source root is php-8.3.364setting SOURCE_DATE_EPOCH to timestamp 1792418434 of file "php-8.3.36/win32/wsyslog.c"genfiles
5genfiles: bison version 3.8.2 (ok)6genfiles: re2c version 4.6 (ok)7genfiles: Generating Zend parser and lexer files8make: 'Zend/zend_language_parser.c' is up to date.9make: 'Zend/zend_language_scanner.c' is up to date.10make: 'Zend/zend_ini_parser.c' is up to date.11make: 'Zend/zend_ini_scanner.c' is up to date.12genfiles: Generating phpdbg parser and lexer files13make: 'sapi/phpdbg/phpdbg_parser.c' is up to date.14make: 'sapi/phpdbg/phpdbg_lexer.c' is up to date.15genfiles: Generating json extension parser and lexer files16make: 'ext/json/json_parser.tab.c' is up to date.17make: 'ext/json/json_scanner.c' is up to date.18genfiles: Generating PDO lexer file19make: 'ext/pdo/pdo_sql_parser.c' is up to date.20genfiles: Generating standard extension lexer files21make: 'ext/standard/var_unserializer.c' is up to date.22make: 'ext/standard/url_scanner_ex.c' is up to date.23genfiles: Generating phar extension lexer file24make: 'ext/phar/phar_path_check.c' is up to date.configurePhase
25Configuring for:26PHP Api Version: 2023083127Zend Module Api No: 2023083128Zend Extension Api No: 42023083129fixing libtool script ./build/ltmain.sh30patching script interpreter paths in ./configure31./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin/sh"32configure flags: --disable-static --prefix=/nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36 --bindir=/nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36/bin --sbindir=/nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36/sbin --includedir=/nix/store/c0hq4n9r5gdiwd2dlc9yc491cvhpc73l-php-xmlwriter-8.3.36-dev/include --mandir=/nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36/share/man --infodir=/nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36/share/info --docdir=/nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36/share/doc/php-xmlwriter --libdir=/nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36/lib --libexecdir=/nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36/libexec --localedir=/nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36/share/locale --enable-xmlwriter33checking for grep that handles long lines and -e... /nix/store/c3f45pxlb81gzz4w1nym7lpznfypva7s-gnugrep-3.12/bin/grep34checking for egrep... /nix/store/c3f45pxlb81gzz4w1nym7lpznfypva7s-gnugrep-3.12/bin/grep -E35checking for a sed that does not truncate output... /nix/store/9wc73n5izv0m7ppjbibi4hbr68rba1lj-gnused-4.10/bin/sed36checking pkg-config is at least version 0.9.0... yes37checking whether the C compiler works... yes38checking for C compiler default output file name... a.out39checking for suffix of executables... 40checking whether we are cross compiling... no41checking for suffix of object files... o42checking whether the compiler supports GNU C... yes43checking whether gcc accepts -g... yes44checking for gcc option to enable C23 features... none needed45checking how to run the C preprocessor... gcc -E46checking for egrep -e... (cached) /nix/store/c3f45pxlb81gzz4w1nym7lpznfypva7s-gnugrep-3.12/bin/grep -E47checking for icc... no48checking for suncc... no49checking for system library directory... lib50checking if compiler supports -Wl,-rpath,... yes51checking build system type... x86_64-pc-linux-gnu52checking host system type... x86_64-pc-linux-gnu53checking target system type... x86_64-pc-linux-gnu54checking for PHP prefix... /nix/store/wpnr7wiy682rqqbb0i58pn9n6lm9w1cl-php-8.3.3655checking for PHP includes... -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/main -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/TSRM -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/Zend -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/ext -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/ext/date/lib56checking for PHP extension directory... /nix/store/wpnr7wiy682rqqbb0i58pn9n6lm9w1cl-php-8.3.36/lib/php/extensions57checking for PHP installed headers prefix... /nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php58checking if debug is enabled... no59checking if zts is enabled... no60checking for gawk... gawk61checking whether to enable XMLWriter support... yes, shared62checking for libxml-2.0 >= 2.9.0... yes63checking for a sed that does not truncate output... /nix/store/9wc73n5izv0m7ppjbibi4hbr68rba1lj-gnused-4.10/bin/sed64checking for ld used by gcc... ld65checking if the linker (ld) is GNU ld... yes66checking for ld option to reload object files... -r67checking for BSD-compatible nm... nm68checking whether ln -s works... yes69checking how to recognize dependent libraries... (cached) pass_all70./configure: line 6029: /usr/bin/file: No such file or directory71checking for stdio.h... yes72checking for stdlib.h... yes73checking for string.h... yes74checking for inttypes.h... yes75checking for stdint.h... yes76checking for strings.h... yes77checking for sys/stat.h... yes78checking for sys/types.h... yes79checking for unistd.h... yes80checking for dlfcn.h... yes81checking the maximum length of command line arguments... 157286482checking command to parse nm output from gcc object... ok83checking for objdir... .libs84checking for ar... ar85checking for ranlib... ranlib86checking for strip... strip87checking if gcc supports -fno-rtti -fno-exceptions... no88checking for gcc option to produce PIC... -fPIC89checking if gcc PIC flag -fPIC works... yes90checking if gcc static flag -static works... no91checking if gcc supports -c -o file.o... yes92checking whether the gcc linker (ld) supports shared libraries... yes93checking whether -lc should be explicitly linked in... no94checking dynamic linker characteristics... GNU/Linux ld.so95checking how to hardcode library paths into programs... immediate96checking whether stripping libraries is possible... yes97checking if libtool supports shared libraries... yes98checking whether to build shared libraries... yes99checking whether to build static libraries... no100101creating libtool102appending configuration tag "CXX" to libtool103checking whether the g++ linker (ld) supports shared libraries... yes104checking for g++ option to produce PIC... 105checking if g++ static flag works... yes106checking if g++ supports -c -o file.o... yes107checking whether the g++ linker (ld) supports shared libraries... yes108checking dynamic linker characteristics... GNU/Linux ld.so109(cached) (cached) checking how to hardcode library paths into programs... unsupported110configure: patching config.h.in111configure: creating ./config.status112config.status: creating config.hbuildPhase
113build flags: -j24 SHELL=/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin/bash114/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin/bash /build/php-8.3.36/ext/xmlwriter/libtool --tag=CC --mode=compile gcc -I. -I/build/php-8.3.36/ext/xmlwriter -I/build/php-8.3.36/ext/xmlwriter/include -I/build/php-8.3.36/ext/xmlwriter/main -I/build/php-8.3.36/ext/xmlwriter -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/main -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/TSRM -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/Zend -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/ext -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/ext/date/lib -I/nix/store/6gsdl0abbpjsxcrf2p83jkmkgwa5x6jd-libxml2-2.15.4-dev/include/libxml2 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.3.36/ext/xmlwriter/php_xmlwriter.c -o php_xmlwriter.lo -MMD -MF php_xmlwriter.dep -MT php_xmlwriter.lo115mkdir .libs116 gcc -I. -I/build/php-8.3.36/ext/xmlwriter -I/build/php-8.3.36/ext/xmlwriter/include -I/build/php-8.3.36/ext/xmlwriter/main -I/build/php-8.3.36/ext/xmlwriter -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/main -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/TSRM -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/Zend -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/ext -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/ext/date/lib -I/nix/store/6gsdl0abbpjsxcrf2p83jkmkgwa5x6jd-libxml2-2.15.4-dev/include/libxml2 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.3.36/ext/xmlwriter/php_xmlwriter.c -MMD -MF php_xmlwriter.dep -MT php_xmlwriter.lo -fPIC -DPIC -o .libs/php_xmlwriter.o117/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin/bash /build/php-8.3.36/ext/xmlwriter/libtool --tag=CC --mode=link gcc -shared -I/build/php-8.3.36/ext/xmlwriter/include -I/build/php-8.3.36/ext/xmlwriter/main -I/build/php-8.3.36/ext/xmlwriter -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/main -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/TSRM -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/Zend -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/ext -I/nix/store/cs7yhhbml8l7zna37kq4nf147z9aivf3-php-8.3.36-dev/include/php/ext/date/lib -I/nix/store/6gsdl0abbpjsxcrf2p83jkmkgwa5x6jd-libxml2-2.15.4-dev/include/libxml2 -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -o xmlwriter.la -export-dynamic -avoid-version -prefer-pic -module -rpath /build/php-8.3.36/ext/xmlwriter/modules php_xmlwriter.lo -Wl,-rpath,/nix/store/m5s1ak7s1swmhmy64yqvya342g0603s7-libxml2-2.15.4/lib -L/nix/store/m5s1ak7s1swmhmy64yqvya342g0603s7-libxml2-2.15.4/lib -lxml2118gcc -shared .libs/php_xmlwriter.o -Wl,--rpath -Wl,/nix/store/m5s1ak7s1swmhmy64yqvya342g0603s7-libxml2-2.15.4/lib -Wl,--rpath -Wl,/nix/store/m5s1ak7s1swmhmy64yqvya342g0603s7-libxml2-2.15.4/lib -L/nix/store/m5s1ak7s1swmhmy64yqvya342g0603s7-libxml2-2.15.4/lib /nix/store/m5s1ak7s1swmhmy64yqvya342g0603s7-libxml2-2.15.4/lib/libxml2.so -Wl,-rpath -Wl,/nix/store/m5s1ak7s1swmhmy64yqvya342g0603s7-libxml2-2.15.4/lib -Wl,-soname -Wl,xmlwriter.so -o .libs/xmlwriter.so119creating xmlwriter.la120(cd .libs && rm -f xmlwriter.la && ln -s ../xmlwriter.la xmlwriter.la)121/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin/bash /build/php-8.3.36/ext/xmlwriter/libtool --tag=CC --mode=install cp ./xmlwriter.la /build/php-8.3.36/ext/xmlwriter/modules122cp ./.libs/xmlwriter.so /build/php-8.3.36/ext/xmlwriter/modules/xmlwriter.so123cp ./.libs/xmlwriter.lai /build/php-8.3.36/ext/xmlwriter/modules/xmlwriter.la124PATH="$PATH:/sbin" ldconfig -n /build/php-8.3.36/ext/xmlwriter/modules125----------------------------------------------------------------------126Libraries have been installed in:127 /build/php-8.3.36/ext/xmlwriter/modules128129If you ever happen to want to link against installed libraries130in a given directory, LIBDIR, you must either use libtool, and131specify the full pathname of the library, or use the `-LLIBDIR'132flag during linking and do at least one of the following:133 - add LIBDIR to the `LD_LIBRARY_PATH' environment variable134 during execution135 - add LIBDIR to the `LD_RUN_PATH' environment variable136 during linking137 - use the `-Wl,--rpath -Wl,LIBDIR' linker flag138139See any operating system documentation about shared libraries for140more information, such as the ld(1) and ld.so(8) manual pages.141----------------------------------------------------------------------142143Build complete.144Don't forget to run 'make test'.145checkPhase
146147Build complete.148Don't forget to run 'make test'.149150151=====================================================================152PHP : /nix/store/wpnr7wiy682rqqbb0i58pn9n6lm9w1cl-php-8.3.36/bin/php 153PHP_SAPI : cli154PHP_VERSION : 8.3.36155ZEND_VERSION: 4.3.36156PHP_OS : Linux - Linux localhost 6.11.0 #1-NixOS SMP PREEMPT_DYNAMIC Mon Aug 24 01:44:40 UTC 2026 x86_64157INI actual : /build/php-8.3.36/ext/xmlwriter/tmp-php.ini158More .INIs : 159---------------------------------------------------------------------160PHP : /nix/store/wpnr7wiy682rqqbb0i58pn9n6lm9w1cl-php-8.3.36/bin/php-cgi 161PHP_SAPI : cgi-fcgi162PHP_VERSION : 8.3.36163ZEND_VERSION: 4.3.36164PHP_OS : Linux - Linux localhost 6.11.0 #1-NixOS SMP PREEMPT_DYNAMIC Mon Aug 24 01:44:40 UTC 2026 x86_64165INI actual : /build/php-8.3.36/ext/xmlwriter/tmp-php.ini166More .INIs : 167--------------------------------------------------------------------- 168---------------------------------------------------------------------169PHP : /nix/store/wpnr7wiy682rqqbb0i58pn9n6lm9w1cl-php-8.3.36/bin/phpdbg 170PHP_SAPI : phpdbg171PHP_VERSION : 8.3.36172ZEND_VERSION: 4.3.36173PHP_OS : Linux - Linux localhost 6.11.0 #1-NixOS SMP PREEMPT_DYNAMIC Mon Aug 24 01:44:40 UTC 2026 x86_64174INI actual : /build/php-8.3.36/ext/xmlwriter/tmp-php.ini175More .INIs : 176---------------------------------------------------------------------177CWD : /build/php-8.3.36/ext/xmlwriter178Extra dirs : 179VALGRIND : Not used180=====================================================================181TIME START 2026-10-21 19:57:56182=====================================================================183PASS XMLWriter: libxml2 XML Writer, file buffer, flush [tests/001.phpt] 184PASS XMLWriter: libxml2 XML Writer, membuffer, flush [tests/002.phpt] 185PASS XMLWriter: libxml2 XML Writer, membuffer, flush, attribute [tests/003.phpt] 186PASS XMLWriter: libxml2 XML Writer, file buffer, flush [tests/004.phpt] 187PASS XMLWriter: libxml2 XML Writer, comments [tests/005-mb.phpt] 188PASS XMLWriter: libxml2 XML Writer, comments [tests/005.phpt] 189PASS XMLWriter: libxml2 XML Writer, startDTD/writeElementNS [tests/006.phpt] 190PASS XMLWriter: libxml2 XML Writer, Elements & Attributes [tests/007.phpt] 191PASS XMLWriter: libxml2 XML Writer DTD Element & Attlist [tests/008.phpt] 192PASS XMLWriter: PI, Comment, CDATA [tests/009.phpt] 193PASS xmlwriter_start/end_attribute() [tests/010.phpt] 194PASS XMLWriter: libxml2 XML Writer, write_attribute_ns function [tests/011.phpt] 195PASS XMLWriter: libxml2 XML Writer, full_end_element function [tests/012.phpt] 196PASS XMLWriter: libxml2 XML Writer, file buffer, flush [tests/OO_001.phpt] 197PASS XMLWriter: libxml2 XML Writer, membuffer, flush [tests/OO_002.phpt] 198PASS XMLWriter: libxml2 XML Writer, membuffer, flush, text, attribute [tests/OO_003.phpt] 199PASS XMLWriter: libxml2 XML Writer, file buffer, flush [tests/OO_004.phpt] 200PASS XMLWriter: libxml2 XML Writer, comments [tests/OO_005.phpt] 201PASS XMLWriter: libxml2 XML Writer, startDTD/writeElementNS [tests/OO_006.phpt] 202PASS XMLWriter: libxml2 XML Writer, Elements & Attributes [tests/OO_007.phpt] 203PASS XMLWriter: libxml2 XML Writer DTD Element & Attlist [tests/OO_008.phpt] 204PASS XMLWriter: PI, Comment, CDATA [tests/OO_009.phpt] 205PASS XMLWriter: libxml2 XML Writer, writeAttributeNS method [tests/OO_010.phpt] 206PASS XMLWriter: libxml2 XML Writer, fullEndElement method [tests/OO_011.phpt] 207PASS XMLWriter: libxml2 XML Writer, Write CDATA [tests/OO_012.phpt] 208PASS XMLWriter: libxml2 XML Writer, Write Raw [tests/OO_013.phpt] 209PASS Bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag, not enity) [tests/bug39504.phpt] 210PASS Bug #41287 (Namespace functions don't allow xmlns definition to be optional) [tests/bug41287.phpt] 211PASS Bug #41287 (Writing empty tags with Xmlwriter::WriteElement[ns]) [tests/bug41326.phpt] 212PASS xmlwriter_open_uri with PHP_MAXPATHLEN + 1 [tests/bug48204.phpt] 213PASS Bug #71536 (Access Violation crashes php-cgi.exe) [tests/bug71536.phpt] 214SKIP #79029 (Use After Free's in XMLReader / XMLWriter) [tests/bug79029.phpt] reason: Required extension missing: xmlreader215PASS FR #79344 (xmlwriter_write_attribute_ns: $prefix should be nullable) [tests/bug79344.phpt] 216PASS xmlwriter_open_uri with empty string as parameter [tests/xmlwriter_open_uri_error_001.phpt] 217PASS xmlwriter_open_uri with non existing file [tests/xmlwriter_open_uri_error_003.phpt] 218PASS xmlwriter_open_uri with file:/// [tests/xmlwriter_open_uri_error_004.phpt] 219PASS xmlwriter_open_uri with file://localhost/ [tests/xmlwriter_open_uri_error_005.phpt] 220PASS xmlwriter_set_indent_string passing xmlwriter resource [tests/xmlwriter_set_indent_string_basic_001.phpt] 221PASS xmlwriter_write_attribute_ns basic function tests [tests/xmlwriter_write_attribute_ns_basic_001.phpt] 222PASS xmlwriter_write_dtd basic function tests [tests/xmlwriter_write_dtd_basic_001.phpt] 223=====================================================================224TIME END 2026-10-21 19:57:57225226=====================================================================227TEST RESULT SUMMARY228---------------------------------------------------------------------229Exts skipped : 0230Exts tested : 12231---------------------------------------------------------------------232233Number of tests : 40 39234Tests skipped : 1 ( 2.5%) --------235Tests warned : 0 ( 0.0%) ( 0.0%)236Tests failed : 0 ( 0.0%) ( 0.0%)237Tests passed : 39 ( 97.5%) (100.0%)238---------------------------------------------------------------------239Time taken : 1 seconds240=====================================================================fixupPhase
241shrinking RPATHs of ELF executables and libraries in /nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36242shrinking /nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36/lib/php/extensions/xmlwriter.so243checking for references to /build/ in /nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36...244patching script interpreter paths in /nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36245stripping (with command strip and flags -S -p) in /nix/store/lw5rm7b98r7j4hvksk9bl33nia4rdbxf-php-xmlwriter-8.3.36/lib246shrinking RPATHs of ELF executables and libraries in /nix/store/c0hq4n9r5gdiwd2dlc9yc491cvhpc73l-php-xmlwriter-8.3.36-dev247checking for references to /build/ in /nix/store/c0hq4n9r5gdiwd2dlc9yc491cvhpc73l-php-xmlwriter-8.3.36-dev...248patching script interpreter paths in /nix/store/c0hq4n9r5gdiwd2dlc9yc491cvhpc73l-php-xmlwriter-8.3.36-dev