Closed toastal closed 1 year ago
I'm not able to reproduce this, I just pulled latest master (df5acd726b633c6490b3af5fe3118ed77e42ce03), and then I ran:
$ nix-build -A php80 -A php81
I get two working PHP builds out of it. Also php81.extensions.fileinfo
is an upstream PHP extension and none of them ever depend on the versions of third party extensions (which was the ones updated in the PR you mentioned: #200839). So I would say it's close to impossible that that PR caused this issue.
I'm not sure if it's something with nix 2.11 that causes this, or if you have some unstable features enabled or so like flakes.
I'm using stable nix:
$ nix-info -m
- system: `"x86_64-linux"`
- host os: `Linux 5.15.77, NixOS, 22.11 (Raccoon), 22.11.git.872fceeed60`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.3.16`
- nixpkgs: `/etc/nixos/nix/nixos-unstable`
I'm going to take another look. I was trying to build from master
because I'm still testing ZFS unstable.
Interestingly, I rebased master
and got a different set of derivations that were mad
error (ignored): error: cannot unlink '/tmp/nix-build-php-mysqlnd-8.1.12.drv-0/php-8.1.12/ext/standard/tests': Directory not empty
error: 1 dependencies of derivation '/nix/store/d9dq0inr9gmmiyngzgnx7m66bq9kqbzn-php-extra-init-8.1.12.ini.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ckvdx5a1qs0hc3scnpf3029w1ywv5wrn-php-with-extensions-8.1.12.drv' failed to build
error: 1 dependencies of derivation '/nix/store/p0i2xbbg3j34lyzzvfmrs4wj863gvc38-lsp-plugins-1.2.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/x6456bx6i58r2g0ffwdyjndk5qvh7wcd-easyeffects-6.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2iaz8jamllyic9m6nlk2d495bmnj2lpj-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/l1g8q1za879q04b4v4gkgy8vwnm04rf8-nixos-system-lavash-22.11.20221113.dirty.drv' failed to build
Yeah, not sure what's going on there. Still builds on latest (as of writing) master
for me.
I had built earlier in that day without any hitch, but it appears to be coincidental timing.
I guess I can close this issue then, report back if you have anything new that may be of interest :)
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/n21ggpbwsaxx7c0zcqrshzys5fq8svfb-php-8.1.14.tar.bz2
source root is php-8.1.14
setting SOURCE_DATE_EPOCH to timestamp 1672852994 of file php-8.1.14/win32/wsyslog.c
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "cdToExtensionRootPhase" }
cdToExtensionRootPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
Configuring for:
PHP Api Version: 20210902
Zend Module Api No: 20210902
Zend Extension Api No: 420210902
configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
build/php.m4:2111: PHP_CONFIG_NICE is expanded from...
configure.ac:18: the top level
configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
build/libtool.m4:561: _LT_AC_LOCK is expanded from...
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
build/libtool.m4:561: _LT_AC_LOCK is expanded from...
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not exist
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not look like a libtool script
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: tag name \"$tagname\" already exists
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from...
build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
fixing libtool script ./build/ltmain.sh
configure flags: --disable-static --prefix=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14 --bindir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/bin --sbindir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/sbin --includedir=/nix/store/49ik35i0chnkywiwmsch5b0kjazn1fyz-php-fileinfo-8.1.14-dev/include --oldincludedir=/nix/store/49ik35i0chnkywiwmsch5b0kjazn1fyz-php-fileinfo-8.1.14-dev/include --mandir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/share/man --infodir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/share/info --docdir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/share/doc/php-fileinfo --libdir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/lib --libexecdir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/libexec --localedir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/share/locale --enable-fileinfo
checking for grep that handles long lines and -e... /nix/store/bcvccw6y9bfil6xrl5j7psza7hnd16ry-gnugrep-3.7/bin/grep
checking for egrep... /nix/store/bcvccw6y9bfil6xrl5j7psza7hnd16ry-gnugrep-3.7/bin/grep -E
checking for a sed that does not truncate output... /nix/store/5dv5cq1lwvsijr9p16p2kp79g1dbajk3-gnused-4.8/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 gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -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... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /nix/store/84vlw5gpk0s3r8jrn7hhfzk223bxi5n9-php-8.1.14
checking for PHP includes... -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib
checking for PHP extension directory... /nix/store/84vlw5gpk0s3r8jrn7hhfzk223bxi5n9-php-8.1.14/lib/php/extensions
checking for PHP installed headers prefix... /nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking for fileinfo support... yes, shared
checking for strcasestr... yes
checking for utimes... yes
checking for strndup... yes
checking for a sed that does not truncate output... /nix/store/5dv5cq1lwvsijr9p16p2kp79g1dbajk3-gnused-4.8/bin/sed
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
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
./configure: line 5508: /usr/bin/file: No such file or directory
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... 1572864
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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 g++ linker (ld) supports shared libraries... yes
checking for g++ option to produce PIC...
checking if g++ static flag works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j16 SHELL=/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/fileinfo.c -o fileinfo.lo -MMD -MF fileinfo.dep -MT fileinfo.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/apprentice.c -o libmagic/apprentice.lo -MMD -MF libmagic/apprentice.dep -MT libmagic/apprentice.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/apptype.c -o libmagic/apptype.lo -MMD -MF libmagic/apptype.dep -MT libmagic/apptype.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/ascmagic.c -o libmagic/ascmagic.lo -MMD -MF libmagic/ascmagic.dep -MT libmagic/ascmagic.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/cdf.c -o libmagic/cdf.lo -MMD -MF libmagic/cdf.dep -MT libmagic/cdf.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/cdf_time.c -o libmagic/cdf_time.lo -MMD -MF libmagic/cdf_time.dep -MT libmagic/cdf_time.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/compress.c -o libmagic/compress.lo -MMD -MF libmagic/compress.dep -MT libmagic/compress.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/encoding.c -o libmagic/encoding.lo -MMD -MF libmagic/encoding.dep -MT libmagic/encoding.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/fsmagic.c -o libmagic/fsmagic.lo -MMD -MF libmagic/fsmagic.dep -MT libmagic/fsmagic.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/funcs.c -o libmagic/funcs.lo -MMD -MF libmagic/funcs.dep -MT libmagic/funcs.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_json.c -o libmagic/is_json.lo -MMD -MF libmagic/is_json.dep -MT libmagic/is_json.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_tar.c -o libmagic/is_tar.lo -MMD -MF libmagic/is_tar.dep -MT libmagic/is_tar.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/magic.c -o libmagic/magic.lo -MMD -MF libmagic/magic.dep -MT libmagic/magic.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/print.c -o libmagic/print.lo -MMD -MF libmagic/print.dep -MT libmagic/print.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/readcdf.c -o libmagic/readcdf.lo -MMD -MF libmagic/readcdf.dep -MT libmagic/readcdf.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/softmagic.c -o libmagic/softmagic.lo -MMD -MF libmagic/softmagic.dep -MT libmagic/softmagic.lo
mkdir libmagic/.libs
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/cdf.c -MMD -MF libmagic/cdf.dep -MT libmagic/cdf.lo -fPIC -DPIC -o libmagic/.libs/cdf.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/apptype.c -MMD -MF libmagic/apptype.dep -MT libmagic/apptype.lo -fPIC -DPIC -o libmagic/.libs/apptype.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/readcdf.c -MMD -MF libmagic/readcdf.dep -MT libmagic/readcdf.lo -fPIC -DPIC -o libmagic/.libs/readcdf.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/apprentice.c -MMD -MF libmagic/apprentice.dep -MT libmagic/apprentice.lo -fPIC -DPIC -o libmagic/.libs/apprentice.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/encoding.c -MMD -MF libmagic/encoding.dep -MT libmagic/encoding.lo -fPIC -DPIC -o libmagic/.libs/encoding.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/cdf_time.c -MMD -MF libmagic/cdf_time.dep -MT libmagic/cdf_time.lo -fPIC -DPIC -o libmagic/.libs/cdf_time.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_tar.c -MMD -MF libmagic/is_tar.dep -MT libmagic/is_tar.lo -fPIC -DPIC -o libmagic/.libs/is_tar.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/fsmagic.c -MMD -MF libmagic/fsmagic.dep -MT libmagic/fsmagic.lo -fPIC -DPIC -o libmagic/.libs/fsmagic.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/compress.c -MMD -MF libmagic/compress.dep -MT libmagic/compress.lo -fPIC -DPIC -o libmagic/.libs/compress.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/magic.c -MMD -MF libmagic/magic.dep -MT libmagic/magic.lo -fPIC -DPIC -o libmagic/.libs/magic.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/print.c -MMD -MF libmagic/print.dep -MT libmagic/print.lo -fPIC -DPIC -o libmagic/.libs/print.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/ascmagic.c -MMD -MF libmagic/ascmagic.dep -MT libmagic/ascmagic.lo -fPIC -DPIC -o libmagic/.libs/ascmagic.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/softmagic.c -MMD -MF libmagic/softmagic.dep -MT libmagic/softmagic.lo -fPIC -DPIC -o libmagic/.libs/softmagic.o
mkdir .libs
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/funcs.c -MMD -MF libmagic/funcs.dep -MT libmagic/funcs.lo -fPIC -DPIC -o libmagic/.libs/funcs.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/fileinfo.c -MMD -MF fileinfo.dep -MT fileinfo.lo -fPIC -DPIC -o .libs/fileinfo.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_json.c -MMD -MF libmagic/is_json.dep -MT libmagic/is_json.lo -fPIC -DPIC -o libmagic/.libs/is_json.o
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/der.c -o libmagic/der.lo -MMD -MF libmagic/der.dep -MT libmagic/der.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/buffer.c -o libmagic/buffer.lo -MMD -MF libmagic/buffer.dep -MT libmagic/buffer.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_csv.c -o libmagic/is_csv.lo -MMD -MF libmagic/is_csv.dep -MT libmagic/is_csv.lo
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/buffer.c -MMD -MF libmagic/buffer.dep -MT libmagic/buffer.lo -fPIC -DPIC -o libmagic/.libs/buffer.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_csv.c -MMD -MF libmagic/is_csv.dep -MT libmagic/is_csv.lo -fPIC -DPIC -o libmagic/.libs/is_csv.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/der.c -MMD -MF libmagic/der.dep -MT libmagic/der.lo -fPIC -DPIC -o libmagic/.libs/der.o
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=link gcc -shared -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o fileinfo.la -export-dynamic -avoid-version -prefer-pic -module -rpath /build/php-8.1.14/ext/fileinfo/modules fileinfo.lo libmagic/apprentice.lo libmagic/apptype.lo libmagic/ascmagic.lo libmagic/cdf.lo libmagic/cdf_time.lo libmagic/compress.lo libmagic/encoding.lo libmagic/fsmagic.lo libmagic/funcs.lo libmagic/is_json.lo libmagic/is_tar.lo libmagic/magic.lo libmagic/print.lo libmagic/readcdf.lo libmagic/softmagic.lo libmagic/der.lo libmagic/buffer.lo libmagic/is_csv.lo
gcc -shared .libs/fileinfo.o libmagic/.libs/apprentice.o libmagic/.libs/apptype.o libmagic/.libs/ascmagic.o libmagic/.libs/cdf.o libmagic/.libs/cdf_time.o libmagic/.libs/compress.o libmagic/.libs/encoding.o libmagic/.libs/fsmagic.o libmagic/.libs/funcs.o libmagic/.libs/is_json.o libmagic/.libs/is_tar.o libmagic/.libs/magic.o libmagic/.libs/print.o libmagic/.libs/readcdf.o libmagic/.libs/softmagic.o libmagic/.libs/der.o libmagic/.libs/buffer.o libmagic/.libs/is_csv.o -Wl,-soname -Wl,fileinfo.so -o .libs/fileinfo.so
creating fileinfo.la
(cd .libs && rm -f fileinfo.la && ln -s ../fileinfo.la fileinfo.la)
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=install cp ./fileinfo.la /build/php-8.1.14/ext/fileinfo/modules
cp ./.libs/fileinfo.so /build/php-8.1.14/ext/fileinfo/modules/fileinfo.so
cp ./.libs/fileinfo.lai /build/php-8.1.14/ext/fileinfo/modules/fileinfo.la
PATH="$PATH:/sbin" ldconfig -n /build/php-8.1.14/ext/fileinfo/modules
----------------------------------------------------------------------
Libraries have been installed in:
/build/php-8.1.14/ext/fileinfo/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 `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
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'.
buildPhase completed in 54 seconds
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
Build complete.
Don't forget to run 'make test'.
=====================================================================
PHP : /nix/store/84vlw5gpk0s3r8jrn7hhfzk223bxi5n9-php-8.1.14/bin/php
PHP_SAPI : cli
PHP_VERSION : 8.1.14
ZEND_VERSION: 4.1.14
PHP_OS : Linux - Linux localhost 6.0.17 #1-NixOS SMP PREEMPT_DYNAMIC Wed Jan 4 10:26:32 UTC 2023 x86_64
INI actual : /build/php-8.1.14/ext/fileinfo/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
PHP : /nix/store/84vlw5gpk0s3r8jrn7hhfzk223bxi5n9-php-8.1.14/bin/php-cgi
PHP_SAPI : cgi-fcgi
PHP_VERSION : 8.1.14
ZEND_VERSION: 4.1.14
PHP_OS : Linux - Linux localhost 6.0.17 #1-NixOS SMP PREEMPT_DYNAMIC Wed Jan 4 10:26:32 UTC 2023 x86_64
INI actual : /build/php-8.1.14/ext/fileinfo/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
---------------------------------------------------------------------
PHP : /nix/store/84vlw5gpk0s3r8jrn7hhfzk223bxi5n9-php-8.1.14/bin/phpdbg
PHP_SAPI : phpdbg
PHP_VERSION : 8.1.14
ZEND_VERSION: 4.1.14
PHP_OS : Linux - Linux localhost 6.0.17 #1-NixOS SMP PREEMPT_DYNAMIC Wed Jan 4 10:26:32 UTC 2023 x86_64
INI actual : /build/php-8.1.14/ext/fileinfo/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
CWD : /build/php-8.1.14/ext/fileinfo
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2023-01-09 09:51:20
=====================================================================
TEST 1/54 [tests/bug57547.phpt]
[1;32mPASS[0m Bug #57547 Settings options on file doesn't give same result as constructor options [tests/bug57547.phpt]
TEST 2/54 [tests/bug61173.phpt]
[1;32mPASS[0m Bug #61173: Unable to detect error from finfo constructor [tests/bug61173.phpt]
TEST 3/54 [tests/bug61964-mb.phpt]
[1;32mPASS[0m Bug #61964 (finfo_open with directory cause invalid free) [tests/bug61964-mb.phpt]
TEST 4/54 [tests/bug61964.phpt]
[1;32mPASS[0m Bug #61964 (finfo_open with directory cause invalid free) [tests/bug61964.phpt]
TEST 5/54 [tests/bug67516.phpt]
[1;32mPASS[0m Bug #67516 wrong mimetypes with finfo_file(filename, FILEINFO_MIME_TYPE) [tests/bug67516.phpt]
TEST 6/54 [tests/bug67647-mb.phpt]
[1;32mPASS[0m Bug #67647: Bundled libmagic 5.17 does not detect quicktime files correctly [tests/bug67647-mb.phpt]
TEST 7/54 [tests/bug67647.phpt]
[1;32mPASS[0m Bug #67647: Bundled libmagic 5.17 does not detect quicktime files correctly [tests/bug67647.phpt]
TEST 8/54 [tests/bug68398.phpt]
[1;32mPASS[0m Bug #68398: msooxml matches too many archives [tests/bug68398.phpt]
TEST 9/54 [tests/bug68731.phpt]
[1;32mPASS[0m Bug #68731 finfo_buffer doesn't extract the correct mime with some gifs [tests/bug68731.phpt]
TEST 10/54 [tests/bug68735.phpt]
[1;32mPASS[0m Bug #68735 fileinfo out-of-bounds memory access [tests/bug68735.phpt]
TEST 11/54 [tests/bug68819_001.phpt]
[1;32mPASS[0m Bug #68819 Fileinfo on specific file causes spurious OOM and/or segfault, var 1 [tests/bug68819_001.phpt]
TEST 12/54 [tests/bug68819_002.phpt]
[1;32mPASS[0m Bug #68819 Fileinfo on specific file causes spurious OOM and/or segfault, var 2 [tests/bug68819_002.phpt]
TEST 13/54 [tests/bug68996.phpt]
[1;31mFAIL[0m Bug #68996 (Invalid free of CG(interned_empty_string)) [tests/bug68996.phpt]
TEST 14/54 [tests/bug69107.phpt]
[1;32mPASS[0m Bug #69107 (finfo no longer detects PHP files) [tests/bug69107.phpt]
TEST 15/54 [tests/bug69320.phpt]
[1;32mPASS[0m Bug #69320 libmagic crash when running laravel tests [tests/bug69320.phpt]
TEST 16/54 [tests/bug71434.phpt]
[1;32mPASS[0m Bug #68735 fileinfo out-of-bounds memory access [tests/bug71434.phpt]
TEST 17/54 [tests/bug71527-mb.phpt]
[1;32mPASS[0m Bug #71527 Buffer over-write in finfo_open with malformed magic file [tests/bug71527-mb.phpt]
TEST 18/54 [tests/bug71527.phpt]
[1;32mPASS[0m Bug #71527 Buffer over-write in finfo_open with malformed magic file [tests/bug71527.phpt]
TEST 19/54 [tests/bug74170.phpt]
[1;33mSKIP[0m Bug #74170 locale information change after mime_content_type [tests/bug74170.phpt] reason: Required extension missing: intl
TEST 20/54 [tests/bug77961.phpt]
[1;32mPASS[0m Bug #77961 (finfo_open crafted magic parsing SIGABRT) [tests/bug77961.phpt]
TEST 21/54 [tests/bug78987.phpt]
[1;32mPASS[0m Bug #78987 High memory usage during encoding detection [tests/bug78987.phpt]
TEST 22/54 [tests/bug79283.phpt]
[1;32mPASS[0m Bug #79283 (Segfault in libmagic patch contains a buffer overflow) [tests/bug79283.phpt]
TEST 23/54 [tests/bug79756.phpt]
[1;32mPASS[0m Bug #79756 (finfo_file crash (FILEINFO_MIME)) [tests/bug79756.phpt]
TEST 24/54 [tests/bug81723.phpt]
[1;32mPASS[0m Bug #81723 (Memory corruption in finfo_buffer()) [tests/bug81723.phpt]
TEST 25/54 [tests/clone_serialize.phpt]
[1;32mPASS[0m Cloning and serializing finfo is not supported [tests/clone_serialize.phpt]
TEST 26/54 [tests/cve-2014-1943-mb.phpt]
[1;32mPASS[0m Bug #66731: file: infinite recursion [tests/cve-2014-1943-mb.phpt]
TEST 27/54 [tests/cve-2014-1943.phpt]
[1;32mPASS[0m Bug #66731: file: infinite recursion [tests/cve-2014-1943.phpt]
TEST 28/54 [tests/cve-2014-3538-mb.phpt]
[1;33mSKIP[0m Bug #66731: file: extensive backtracking [tests/cve-2014-3538-mb.phpt] reason: performance sensitive test
TEST 29/54 [tests/cve-2014-3538-nojit.phpt]
[1;33mSKIP[0m Bug #66731: file: extensive backtracking, with pcre.jit=0 [tests/cve-2014-3538-nojit.phpt] reason: performance sensitive test
TEST 30/54 [tests/cve-2014-3538.phpt]
[1;33mSKIP[0m Bug #66731: file: extensive backtracking [tests/cve-2014-3538.phpt] reason: performance sensitive test
TEST 31/54 [tests/finfo_buffer_basic-mb.phpt]
[1;32mPASS[0m Test finfo_buffer() function : basic functionality [tests/finfo_buffer_basic-mb.phpt]
TEST 32/54 [tests/finfo_buffer_basic.phpt]
[1;32mPASS[0m Test finfo_buffer() function : basic functionality [tests/finfo_buffer_basic.phpt]
TEST 33/54 [tests/finfo_buffer_variation1-mb.phpt]
[1;32mPASS[0m Test finfo_buffer() function : basic functionality [tests/finfo_buffer_variation1-mb.phpt]
TEST 34/54 [tests/finfo_buffer_variation1.phpt]
[1;32mPASS[0m Test finfo_buffer() function : basic functionality [tests/finfo_buffer_variation1.phpt]
TEST 35/54 [tests/finfo_close_basic.phpt]
[1;32mPASS[0m Test finfo_close() function : basic functionality [tests/finfo_close_basic.phpt]
TEST 36/54 [tests/finfo_close_error.phpt]
[1;32mPASS[0m Test finfo_close() function : error conditions [tests/finfo_close_error.phpt]
TEST 37/54 [tests/finfo_extension_flag.phpt]
[1;32mPASS[0m Test FILEINFO_EXTENSION flag [tests/finfo_extension_flag.phpt]
TEST 38/54 [tests/finfo_file_001.phpt]
[1;32mPASS[0m finfo_file(): Testing file names [tests/finfo_file_001.phpt]
TEST 39/54 [tests/finfo_file_002.phpt]
[1;32mPASS[0m finfo_file(): Testing mime types [tests/finfo_file_002.phpt]
TEST 40/54 [tests/finfo_file_basic.phpt]
[1;32mPASS[0m Test finfo_file() function : basic functionality [tests/finfo_file_basic.phpt]
TEST 41/54 [tests/finfo_file_regex.phpt]
[1;32mPASS[0m Test finfo_file() function : regex rules [tests/finfo_file_regex.phpt]
TEST 42/54 [tests/finfo_file_stream_001.phpt]
[1;33mSKIP[0m finfo_file(): Files and directories inside an stream [tests/finfo_file_stream_001.phpt] reason: Required extension missing: zip
TEST 43/54 [tests/finfo_open_001.phpt]
[1;32mPASS[0m finfo_open(): Testing magic_file names [tests/finfo_open_001.phpt]
TEST 44/54 [tests/finfo_open_002.phpt]
[1;32mPASS[0m FileInfo - Calling the constructor twice [tests/finfo_open_002.phpt]
TEST 45/54 [tests/finfo_open_basic.phpt]
[1;32mPASS[0m Test finfo_open() function : basic functionality [tests/finfo_open_basic.phpt]
TEST 46/54 [tests/finfo_open_error.phpt]
[1;32mPASS[0m Test finfo_open() function : error functionality [tests/finfo_open_error.phpt]
TEST 47/54 [tests/finfo_open_variation1.phpt]
[1;32mPASS[0m Test finfo_open() function : variations in opening [tests/finfo_open_variation1.phpt]
TEST 48/54 [tests/finfo_phpinfo_basic.phpt]
[1;32mPASS[0m Test finfo extension : loading into phpinfo() [tests/finfo_phpinfo_basic.phpt]
TEST 49/54 [tests/finfo_set_flags_basic-mb.phpt]
[1;32mPASS[0m Test finfo_set_flags() function : basic functionality [tests/finfo_set_flags_basic-mb.phpt]
TEST 50/54 [tests/finfo_set_flags_basic.phpt]
[1;32mPASS[0m Test finfo_set_flags() function : basic functionality [tests/finfo_set_flags_basic.phpt]
TEST 51/54 [tests/finfo_upstream.phpt]
[1;32mPASS[0m Fileinfo run upstream tests [tests/finfo_upstream.phpt]
TEST 52/54 [tests/mime_content_type_001.phpt]
[1;32mPASS[0m mime_content_type(): Testing wrong parameters [tests/mime_content_type_001.phpt]
TEST 53/54 [tests/mime_content_type_002.phpt]
[1;32mPASS[0m mime_content_type(): Testing parameter [tests/mime_content_type_002.phpt]
TEST 54/54 [tests/precedural_finfo_in_method.phpt]
[1;32mPASS[0m Using procedural finfo API in a method [tests/precedural_finfo_in_method.phpt]
=====================================================================
TIME END 2023-01-09 09:51:24
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 12
---------------------------------------------------------------------
Number of tests : 54 49
Tests skipped : 5 ( 9.3%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 1 ( 1.9%) ( 2.0%)
Tests passed : 48 ( 88.9%) ( 98.0%)
---------------------------------------------------------------------
Time taken : 4 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #68996 (Invalid free of CG(interned_empty_string)) [tests/bug68996.phpt]
=====================================================================
make: *** [Makefile:135: test] Error 1
This is failing again on my machine, but version 8.1.14.
Care to post more details about the environment? Which commit are you building? Version of nixpkgs? Version of nix?
I'm trying on something that is about latest master (d544b50ed3a98bb77288fbe227c5e1f66394f756) , it's PHP 8.1.14.
This builds fine:
nix-build -A php81.extensions.fileinfo
As does:
nix-build -A php81
Machine info:
- system: `"x86_64-linux"`
- host os: `Linux 6.0.15, NixOS, 23.05 (Stoat), 23.05.git.677ed08a509`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.3.16`
- nixpkgs: `/etc/nixos/nix/nixos-unstable`
@etu yes, I'm building from master
with some small upstreamed patches from myself because I find it easier to manage vs. overlays as I await the always-long review process (but nothing touching anything PHP-related).
$ nix-info -m
- system: `"x86_64-linux"`
- host os: `Linux 6.0.17, NixOS, 23.05 (Stoat), 23.05.20230108.dirty`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.12.0`
- channels($USER): `""`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
($ nix-build -A php81
also failed)
$ nix-build -A php81.extensions.fileinfo
this derivation will be built:
/nix/store/j7xcihwlcsalzpbxp7z4hnmj0p66h2fa-php-fileinfo-8.1.14.drv
building '/nix/store/j7xcihwlcsalzpbxp7z4hnmj0p66h2fa-php-fileinfo-8.1.14.drv'...
unpacking sources
unpacking source archive /nix/store/n21ggpbwsaxx7c0zcqrshzys5fq8svfb-php-8.1.14.tar.bz2
source root is php-8.1.14
setting SOURCE_DATE_EPOCH to timestamp 1672852994 of file php-8.1.14/win32/wsyslog.c
patching sources
cdToExtensionRootPhase
configuring
Configuring for:
PHP Api Version: 20210902
Zend Module Api No: 20210902
Zend Extension Api No: 420210902
configure.ac:18: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
build/php.m4:2111: PHP_CONFIG_NICE is expanded from...
configure.ac:18: the top level
configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
build/libtool.m4:561: _LT_AC_LOCK is expanded from...
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
build/libtool.m4:561: _LT_AC_LOCK is expanded from...
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2739: _LT_AC_LANG_C_CONFIG is expanded from...
build/libtool.m4:2738: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not exist
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: output file \`$ofile' does not look like a libtool script
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: tag name \"$tagname\" already exists
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:161: You should run autoupdate.
./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from...
build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
configure.ac:161: warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe
build/libtool.m4:1185: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from...
build/libtool.m4:2821: _LT_AC_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:2820: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
build/libtool.m4:1929: _LT_AC_TAGCONFIG is expanded from...
build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from...
build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from...
build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from...
configure.ac:161: the top level
fixing libtool script ./build/ltmain.sh
configure flags: --disable-static --prefix=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14 --bindir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/bin --sbindir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/sbin --includedir=/nix/store/49ik35i0chnkywiwmsch5b0kjazn1fyz-php-fileinfo-8.1.14-dev/include --oldincludedir=/nix/store/49ik35i0chnkywiwmsch5b0kjazn1fyz-php-fileinfo-8.1.14-dev/include --mandir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/share/man --infodir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/share/info --docdir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/share/doc/php-fileinfo --libdir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/lib --libexecdir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/libexec --localedir=/nix/store/9a7gs7pp31q5zkr9zxq6qwmfghc1sgxn-php-fileinfo-8.1.14/share/locale --enable-fileinfo
checking for grep that handles long lines and -e... /nix/store/bcvccw6y9bfil6xrl5j7psza7hnd16ry-gnugrep-3.7/bin/grep
checking for egrep... /nix/store/bcvccw6y9bfil6xrl5j7psza7hnd16ry-gnugrep-3.7/bin/grep -E
checking for a sed that does not truncate output... /nix/store/5dv5cq1lwvsijr9p16p2kp79g1dbajk3-gnused-4.8/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 gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -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... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /nix/store/84vlw5gpk0s3r8jrn7hhfzk223bxi5n9-php-8.1.14
checking for PHP includes... -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib
checking for PHP extension directory... /nix/store/84vlw5gpk0s3r8jrn7hhfzk223bxi5n9-php-8.1.14/lib/php/extensions
checking for PHP installed headers prefix... /nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking for fileinfo support... yes, shared
checking for strcasestr... yes
checking for utimes... yes
checking for strndup... yes
checking for a sed that does not truncate output... /nix/store/5dv5cq1lwvsijr9p16p2kp79g1dbajk3-gnused-4.8/bin/sed
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
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
./configure: line 5508: /usr/bin/file: No such file or directory
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... 1572864
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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 g++ linker (ld) supports shared libraries... yes
checking for g++ option to produce PIC...
checking if g++ static flag works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
building
build flags: -j16 SHELL=/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/fileinfo.c -o fileinfo.lo -MMD -MF fileinfo.dep -MT fileinfo.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/apprentice.c -o libmagic/apprentice.lo -MMD -MF libmagic/apprentice.dep -MT libmagic/apprentice.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/apptype.c -o libmagic/apptype.lo -MMD -MF libmagic/apptype.dep -MT libmagic/apptype.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/ascmagic.c -o libmagic/ascmagic.lo -MMD -MF libmagic/ascmagic.dep -MT libmagic/ascmagic.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/cdf.c -o libmagic/cdf.lo -MMD -MF libmagic/cdf.dep -MT libmagic/cdf.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/cdf_time.c -o libmagic/cdf_time.lo -MMD -MF libmagic/cdf_time.dep -MT libmagic/cdf_time.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/compress.c -o libmagic/compress.lo -MMD -MF libmagic/compress.dep -MT libmagic/compress.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/encoding.c -o libmagic/encoding.lo -MMD -MF libmagic/encoding.dep -MT libmagic/encoding.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/fsmagic.c -o libmagic/fsmagic.lo -MMD -MF libmagic/fsmagic.dep -MT libmagic/fsmagic.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/funcs.c -o libmagic/funcs.lo -MMD -MF libmagic/funcs.dep -MT libmagic/funcs.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_json.c -o libmagic/is_json.lo -MMD -MF libmagic/is_json.dep -MT libmagic/is_json.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_tar.c -o libmagic/is_tar.lo -MMD -MF libmagic/is_tar.dep -MT libmagic/is_tar.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/magic.c -o libmagic/magic.lo -MMD -MF libmagic/magic.dep -MT libmagic/magic.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/print.c -o libmagic/print.lo -MMD -MF libmagic/print.dep -MT libmagic/print.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/readcdf.c -o libmagic/readcdf.lo -MMD -MF libmagic/readcdf.dep -MT libmagic/readcdf.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/softmagic.c -o libmagic/softmagic.lo -MMD -MF libmagic/softmagic.dep -MT libmagic/softmagic.lo
mkdir libmagic/.libs
mkdir libmagic/.libs
mkdir libmagic/.libs
mkdir libmagic/.libs
mkdir: cannot create directory 'libmagic/.libs': File exists
mkdir: cannot create directory 'libmagic/.libs': File exists
mkdir: cannot create directory 'libmagic/.libs': File exists
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/fsmagic.c -MMD -MF libmagic/fsmagic.dep -MT libmagic/fsmagic.lo -fPIC -DPIC -o libmagic/.libs/fsmagic.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/compress.c -MMD -MF libmagic/compress.dep -MT libmagic/compress.lo -fPIC -DPIC -o libmagic/.libs/compress.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/cdf_time.c -MMD -MF libmagic/cdf_time.dep -MT libmagic/cdf_time.lo -fPIC -DPIC -o libmagic/.libs/cdf_time.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/apprentice.c -MMD -MF libmagic/apprentice.dep -MT libmagic/apprentice.lo -fPIC -DPIC -o libmagic/.libs/apprentice.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/magic.c -MMD -MF libmagic/magic.dep -MT libmagic/magic.lo -fPIC -DPIC -o libmagic/.libs/magic.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/apptype.c -MMD -MF libmagic/apptype.dep -MT libmagic/apptype.lo -fPIC -DPIC -o libmagic/.libs/apptype.o
mkdir .libs
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_json.c -MMD -MF libmagic/is_json.dep -MT libmagic/is_json.lo -fPIC -DPIC -o libmagic/.libs/is_json.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/print.c -MMD -MF libmagic/print.dep -MT libmagic/print.lo -fPIC -DPIC -o libmagic/.libs/print.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_tar.c -MMD -MF libmagic/is_tar.dep -MT libmagic/is_tar.lo -fPIC -DPIC -o libmagic/.libs/is_tar.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/ascmagic.c -MMD -MF libmagic/ascmagic.dep -MT libmagic/ascmagic.lo -fPIC -DPIC -o libmagic/.libs/ascmagic.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/encoding.c -MMD -MF libmagic/encoding.dep -MT libmagic/encoding.lo -fPIC -DPIC -o libmagic/.libs/encoding.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/softmagic.c -MMD -MF libmagic/softmagic.dep -MT libmagic/softmagic.lo -fPIC -DPIC -o libmagic/.libs/softmagic.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/fileinfo.c -MMD -MF fileinfo.dep -MT fileinfo.lo -fPIC -DPIC -o .libs/fileinfo.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/cdf.c -MMD -MF libmagic/cdf.dep -MT libmagic/cdf.lo -fPIC -DPIC -o libmagic/.libs/cdf.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/readcdf.c -MMD -MF libmagic/readcdf.dep -MT libmagic/readcdf.lo -fPIC -DPIC -o libmagic/.libs/readcdf.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/funcs.c -MMD -MF libmagic/funcs.dep -MT libmagic/funcs.lo -fPIC -DPIC -o libmagic/.libs/funcs.o
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/der.c -o libmagic/der.lo -MMD -MF libmagic/der.dep -MT libmagic/der.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/buffer.c -o libmagic/buffer.lo -MMD -MF libmagic/buffer.dep -MT libmagic/buffer.lo
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=compile gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_csv.c -o libmagic/is_csv.lo -MMD -MF libmagic/is_csv.dep -MT libmagic/is_csv.lo
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/der.c -MMD -MF libmagic/der.dep -MT libmagic/der.lo -fPIC -DPIC -o libmagic/.libs/der.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/buffer.c -MMD -MF libmagic/buffer.dep -MT libmagic/buffer.lo -fPIC -DPIC -o libmagic/.libs/buffer.o
gcc -I. -I/build/php-8.1.14/ext/fileinfo -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -I/build/php-8.1.14/ext/fileinfo/libmagic -DZEND_COMPILE_DL_EXT=1 -c /build/php-8.1.14/ext/fileinfo/libmagic/is_csv.c -MMD -MF libmagic/is_csv.dep -MT libmagic/is_csv.lo -fPIC -DPIC -o libmagic/.libs/is_csv.o
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=link gcc -shared -I/build/php-8.1.14/ext/fileinfo/include -I/build/php-8.1.14/ext/fileinfo/main -I/build/php-8.1.14/ext/fileinfo -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/main -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/TSRM -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/Zend -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext -I/nix/store/v1rahs9jsbc2mxlvxk4anmdxlm67pwa2-php-8.1.14-dev/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -o fileinfo.la -export-dynamic -avoid-version -prefer-pic -module -rpath /build/php-8.1.14/ext/fileinfo/modules fileinfo.lo libmagic/apprentice.lo libmagic/apptype.lo libmagic/ascmagic.lo libmagic/cdf.lo libmagic/cdf_time.lo libmagic/compress.lo libmagic/encoding.lo libmagic/fsmagic.lo libmagic/funcs.lo libmagic/is_json.lo libmagic/is_tar.lo libmagic/magic.lo libmagic/print.lo libmagic/readcdf.lo libmagic/softmagic.lo libmagic/der.lo libmagic/buffer.lo libmagic/is_csv.lo
gcc -shared .libs/fileinfo.o libmagic/.libs/apprentice.o libmagic/.libs/apptype.o libmagic/.libs/ascmagic.o libmagic/.libs/cdf.o libmagic/.libs/cdf_time.o libmagic/.libs/compress.o libmagic/.libs/encoding.o libmagic/.libs/fsmagic.o libmagic/.libs/funcs.o libmagic/.libs/is_json.o libmagic/.libs/is_tar.o libmagic/.libs/magic.o libmagic/.libs/print.o libmagic/.libs/readcdf.o libmagic/.libs/softmagic.o libmagic/.libs/der.o libmagic/.libs/buffer.o libmagic/.libs/is_csv.o -Wl,-soname -Wl,fileinfo.so -o .libs/fileinfo.so
creating fileinfo.la
(cd .libs && rm -f fileinfo.la && ln -s ../fileinfo.la fileinfo.la)
/nix/store/4xw8n979xpivdc46a9ndcvyhwgif00hz-bash-5.1-p16/bin/bash /build/php-8.1.14/ext/fileinfo/libtool --mode=install cp ./fileinfo.la /build/php-8.1.14/ext/fileinfo/modules
cp ./.libs/fileinfo.so /build/php-8.1.14/ext/fileinfo/modules/fileinfo.so
cp ./.libs/fileinfo.lai /build/php-8.1.14/ext/fileinfo/modules/fileinfo.la
PATH="$PATH:/sbin" ldconfig -n /build/php-8.1.14/ext/fileinfo/modules
----------------------------------------------------------------------
Libraries have been installed in:
/build/php-8.1.14/ext/fileinfo/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 `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
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 tests
Build complete.
Don't forget to run 'make test'.
=====================================================================
PHP : /nix/store/84vlw5gpk0s3r8jrn7hhfzk223bxi5n9-php-8.1.14/bin/php
PHP_SAPI : cli
PHP_VERSION : 8.1.14
ZEND_VERSION: 4.1.14
PHP_OS : Linux - Linux localhost 6.0.17 #1-NixOS SMP PREEMPT_DYNAMIC Wed Jan 4 10:26:32 UTC 2023 x86_64
INI actual : /build/php-8.1.14/ext/fileinfo/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
PHP : /nix/store/84vlw5gpk0s3r8jrn7hhfzk223bxi5n9-php-8.1.14/bin/php-cgi
PHP_SAPI : cgi-fcgi
PHP_VERSION : 8.1.14
ZEND_VERSION: 4.1.14
PHP_OS : Linux - Linux localhost 6.0.17 #1-NixOS SMP PREEMPT_DYNAMIC Wed Jan 4 10:26:32 UTC 2023 x86_64
INI actual : /build/php-8.1.14/ext/fileinfo/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
---------------------------------------------------------------------
PHP : /nix/store/84vlw5gpk0s3r8jrn7hhfzk223bxi5n9-php-8.1.14/bin/phpdbg
PHP_SAPI : phpdbg
PHP_VERSION : 8.1.14
ZEND_VERSION: 4.1.14
PHP_OS : Linux - Linux localhost 6.0.17 #1-NixOS SMP PREEMPT_DYNAMIC Wed Jan 4 10:26:32 UTC 2023 x86_64
INI actual : /build/php-8.1.14/ext/fileinfo/tmp-php.ini
More .INIs :
---------------------------------------------------------------------
CWD : /build/php-8.1.14/ext/fileinfo
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2023-01-09 11:45:50
=====================================================================
PASS Bug #57547 Settings options on file doesn't give same result as constructor options [tests/bug57547.phpt]
PASS Bug #61173: Unable to detect error from finfo constructor [tests/bug61173.phpt]
PASS Bug #61964 (finfo_open with directory cause invalid free) [tests/bug61964-mb.phpt]
PASS Bug #61964 (finfo_open with directory cause invalid free) [tests/bug61964.phpt]
PASS Bug #67516 wrong mimetypes with finfo_file(filename, FILEINFO_MIME_TYPE) [tests/bug67516.phpt]
PASS Bug #67647: Bundled libmagic 5.17 does not detect quicktime files correctly [tests/bug67647-mb.phpt]
PASS Bug #67647: Bundled libmagic 5.17 does not detect quicktime files correctly [tests/bug67647.phpt]
PASS Bug #68398: msooxml matches too many archives [tests/bug68398.phpt]
PASS Bug #68731 finfo_buffer doesn't extract the correct mime with some gifs [tests/bug68731.phpt]
PASS Bug #68735 fileinfo out-of-bounds memory access [tests/bug68735.phpt]
PASS Bug #68819 Fileinfo on specific file causes spurious OOM and/or segfault, var 1 [tests/bug68819_001.phpt]
PASS Bug #68819 Fileinfo on specific file causes spurious OOM and/or segfault, var 2 [tests/bug68819_002.phpt]
FAIL Bug #68996 (Invalid free of CG(interned_empty_string)) [tests/bug68996.phpt]
PASS Bug #69107 (finfo no longer detects PHP files) [tests/bug69107.phpt]
PASS Bug #69320 libmagic crash when running laravel tests [tests/bug69320.phpt]
PASS Bug #68735 fileinfo out-of-bounds memory access [tests/bug71434.phpt]
PASS Bug #71527 Buffer over-write in finfo_open with malformed magic file [tests/bug71527-mb.phpt]
PASS Bug #71527 Buffer over-write in finfo_open with malformed magic file [tests/bug71527.phpt]
SKIP Bug #74170 locale information change after mime_content_type [tests/bug74170.phpt] reason: Required extension missing: intl
PASS Bug #77961 (finfo_open crafted magic parsing SIGABRT) [tests/bug77961.phpt]
PASS Bug #78987 High memory usage during encoding detection [tests/bug78987.phpt]
PASS Bug #79283 (Segfault in libmagic patch contains a buffer overflow) [tests/bug79283.phpt]
PASS Bug #79756 (finfo_file crash (FILEINFO_MIME)) [tests/bug79756.phpt]
PASS Bug #81723 (Memory corruption in finfo_buffer()) [tests/bug81723.phpt]
PASS Cloning and serializing finfo is not supported [tests/clone_serialize.phpt]
PASS Bug #66731: file: infinite recursion [tests/cve-2014-1943-mb.phpt]
PASS Bug #66731: file: infinite recursion [tests/cve-2014-1943.phpt]
SKIP Bug #66731: file: extensive backtracking [tests/cve-2014-3538-mb.phpt] reason: performance sensitive test
SKIP Bug #66731: file: extensive backtracking, with pcre.jit=0 [tests/cve-2014-3538-nojit.phpt] reason: performance sensitive test
SKIP Bug #66731: file: extensive backtracking [tests/cve-2014-3538.phpt] reason: performance sensitive test
PASS Test finfo_buffer() function : basic functionality [tests/finfo_buffer_basic-mb.phpt]
PASS Test finfo_buffer() function : basic functionality [tests/finfo_buffer_basic.phpt]
PASS Test finfo_buffer() function : basic functionality [tests/finfo_buffer_variation1-mb.phpt]
PASS Test finfo_buffer() function : basic functionality [tests/finfo_buffer_variation1.phpt]
PASS Test finfo_close() function : basic functionality [tests/finfo_close_basic.phpt]
PASS Test finfo_close() function : error conditions [tests/finfo_close_error.phpt]
PASS Test FILEINFO_EXTENSION flag [tests/finfo_extension_flag.phpt]
PASS finfo_file(): Testing file names [tests/finfo_file_001.phpt]
PASS finfo_file(): Testing mime types [tests/finfo_file_002.phpt]
PASS Test finfo_file() function : basic functionality [tests/finfo_file_basic.phpt]
PASS Test finfo_file() function : regex rules [tests/finfo_file_regex.phpt]
SKIP finfo_file(): Files and directories inside an stream [tests/finfo_file_stream_001.phpt] reason: Required extension missing: zip
PASS finfo_open(): Testing magic_file names [tests/finfo_open_001.phpt]
PASS FileInfo - Calling the constructor twice [tests/finfo_open_002.phpt]
PASS Test finfo_open() function : basic functionality [tests/finfo_open_basic.phpt]
PASS Test finfo_open() function : error functionality [tests/finfo_open_error.phpt]
PASS Test finfo_open() function : variations in opening [tests/finfo_open_variation1.phpt]
PASS Test finfo extension : loading into phpinfo() [tests/finfo_phpinfo_basic.phpt]
PASS Test finfo_set_flags() function : basic functionality [tests/finfo_set_flags_basic-mb.phpt]
PASS Test finfo_set_flags() function : basic functionality [tests/finfo_set_flags_basic.phpt]
PASS Fileinfo run upstream tests [tests/finfo_upstream.phpt]
PASS mime_content_type(): Testing wrong parameters [tests/mime_content_type_001.phpt]
PASS mime_content_type(): Testing parameter [tests/mime_content_type_002.phpt]
PASS Using procedural finfo API in a method [tests/precedural_finfo_in_method.phpt]
=====================================================================
TIME END 2023-01-09 11:45:51
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 12
---------------------------------------------------------------------
Number of tests : 54 49
Tests skipped : 5 ( 9.3%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 1 ( 1.9%) ( 2.0%)
Tests passed : 48 ( 88.9%) ( 98.0%)
---------------------------------------------------------------------
Time taken : 1 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #68996 (Invalid free of CG(interned_empty_string)) [tests/bug68996.phpt]
=====================================================================
make: *** [Makefile:135: test] Error 1
error: builder for '/nix/store/j7xcihwlcsalzpbxp7z4hnmj0p66h2fa-php-fileinfo-8.1.14.drv' failed with exit code 2;
last 10 log lines:
> ---------------------------------------------------------------------
> Time taken : 1 seconds
> =====================================================================
>
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Bug #68996 (Invalid free of CG(interned_empty_string)) [tests/bug68996.phpt]
> =====================================================================
> make: *** [Makefile:135: test] Error 1
For full logs, run 'nix log /nix/store/j7xcihwlcsalzpbxp7z4hnmj0p66h2fa-php-fileinfo-8.1.14.drv'.
The commit hash for nixpkgs
is 4102f23e2d602e81cef029e236c503c56ee085ad
(looks like the only patch I have now is for elinks 0.16.0
)
If we look back at the 8.1.12 issue it was the same failing test: Bug #68996 (Invalid free of CG(interned_empty_string)) [tests/bug68996.phpt]
. I might assume that pulling from Hydra works for me but my machine can't build it.
Yeah, I just pulled the same commit and I can build it fine. However I'm using a bit older version of nix (because I don't like change and I've experienced bugs with newer versions). So I don't use flakes either, however I (in a logical way) don't see how it would affect the ability to build this package though... I guess the building bits should be the same regardless.
I'm very much out of ideas why you can't build this... while I can... and hydra can... Something must differ somewhere.
Not sure if it's in any way helpful:
$ neofetch --off
...
--------------
OS: NixOS 23.05.20230108.dirty (Stoat) x86_64
Host: LENOVO 21D2CTO1WW
Kernel: 6.0.17
Uptime: 4 hours, 52 mins
Packages: 959 (nix-system), 1986 (nix-user)
Shell: fish 3.5.1
Resolution: 2880x1800, 3440x1440
WM: xmonad
Theme: Matcha-dark-sea [GTK2/3]
Icons: ePapirus [GTK2/3]
Terminal: kitty
Terminal Font: monospace 12.0
CPU: AMD Ryzen 7 PRO 6860Z with Radeon Graphics (16) @ 4.768GHz
GPU: AMD ATI Radeon 680M
Memory: 24941MiB / 31360MiB
My system is fairly similar:
$ neofetch --off
---------------------
OS: NixOS 23.05.git.677ed08a509 (Stoat) x86_64
Host: LENOVO 20UJS22U00
Kernel: 6.0.15
Uptime: 5 hours, 9 mins
Packages: 1047 (nix-system), 1179 (nix-user), 109 (nix-default)
Shell: fish 3.5.1
Resolution: 1920x1080, 5120x1440
DE: sway (Wayland)
WM: river
Terminal: alacritty
CPU: AMD Ryzen 7 PRO 4750U with Radeon Graphics (16) @ 1.700GHz
GPU: AMD ATI Renoir
Memory: 27438MiB / 31327MiB
Dang, that is similar. I'll try again later. Last time the next day I could build just fine which lets me think it was successfully pulled from the cache, which definitely is weird.
My system is building this morning now. https://nixpk.gs/pr-tracker.html?pr=208928 I can see that the package bumps is now in unstable.
It's building because it can fetch it from substituters (the cache), I'm doubtful it could build it though which is weird... And I will close this issue... again... yet I expect you to have this same problem if you build your system from master in about a month when the next set of updates drops...
Here's an idea, track nixos-unstable instead of master? :wink: One isn't supposed to run systems on master.
Oh, I would prefer to be back on nixos-unstable
but lately it's been taking too long to get things merged after approval.
I came around the issue due having fails on the package on 8.1.16 on my hydra instance. The build failure is reproducible on all my tried ZFS systems (so where the store is a ZFS), as soon as i switch to an host that has ext4 as store it passes all tests and the build is fine (so as i am using a flaked system moving the builder is quite simple and due that i am pretty sure of building the same thing, but the produced hashes are also matching).
Dont know if that helps further.
I just ran:
nix build nixpkgs#php.extensions.fileinfo
Got it downloaded from cache, so then I ran:
nix build nixpkgs#php.extensions.fileinfo --rebuild
To rebuild it locally, this (and all of my) system has ZFS both for data and for the store, not for /
, maybe that makes a difference because there I use tmpfs
:joy:
Maybe it's about what filesystem you have on /tmp
rather on /nix/store
?
My /tmp
is on the ZFS root, so /
(and i dont have set tmp as tmpfs).
I did take a look at the test that is failing, and what i found suspcious is that it tries to open some special charaters ( \xfc\x63
to be more specific). My ZFS pool is set to utfonly and formD normalization (which are the recommended defaults when checking the zfs manual).
That could possibly be the reason for the fail, when being build on a ZFS pool.
I already had my /nix/store
converted to a utfonly=off
and normalization=none
which unbroke https://github.com/NixOS/nixpkgs/issues/205780 i suspect here a similar issue. Ill test that out and report back.
So because what ever reason i had now to recompile the package again on my system, so my zfs machine was again failing here. I actually forgot that i wanted to test it with a recreated /tmp
on a utfonly=off
and normalization=none
dataset.
So i gave it a shot and can confirm that this directly fixes the failing test for me.
Just in case someone still is interested on that topic :slightly_smiling_face:
Steps To Reproduce
Steps to reproduce the behavior:
master
php-extra-init-8.1.12
+php-with-extensions-8.1.12
fail to build.Build log
Additional context
Assuming #200839 was the issue (even ifUnsure what caused this now.fileinfo
wasn't touched). Looks like tests try to access the network or filesystem?Notify maintainers
@etu ?
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.