structuredAttrs is enabled Running phase: unpackPhase unpacking source archive /nix/store/13vkic2v8zac4m6p38asdhasb3xylv07-zlib-1.3.2.tar.gz source root is zlib-1.3.2 setting SOURCE_DATE_EPOCH to timestamp 1771332426 of file "zlib-1.3.2/zutil.h" Running phase: patchPhase applying patch /nix/store/0rw1qmkghff7lf6lm75c6i0pi7jrm2jm-export-variable.patch patching file configure applying patch /nix/store/28hg7v3lmbl7bpddfc5gzpxxph79lism-mingw-shared.patch patching file configure Hunk #1 succeeded at 305 (offset 62 lines). Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#!/bin/sh" to "/nix/store/f0b9dbw2gl596cm03pvdsss72381qhlp-bash-5.3p15/bin/sh" configure flags: --prefix=/nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2 --includedir=/nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/include --sharedlibdir=/nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2/lib --libdir=/nix/store/hzq09q4p3b7hh91bl21brj9hawakhhxi-zlib-1.3.2-static/lib --enable-shared Checking for shared library support... Building shared library libz.1.3.2.dylib with clang. Checking for size_t... Yes. Checking for off64_t... No. Checking for fseeko... Yes. Checking for strerror... Yes. Checking for unistd.h... Yes. Checking for stdarg.h... Yes. Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). Checking for vsnprintf() in stdio.h... Yes. Checking for return value of vsnprintf()... Yes. Checking for attribute(visibility) support... Yes. Checking for s390x build ... No. Running phase: buildPhase build flags: -j18 SHELL=/nix/store/f0b9dbw2gl596cm03pvdsss72381qhlp-bash-5.3p15/bin/bash PREFIX= pkgconfigdir=/nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/share/pkgconfig clang -O3 -fPIC -DHAVE_HIDDEN -I. -c -o example.o test/example.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o adler32.o adler32.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o crc32.o crc32.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o deflate.o deflate.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o infback.o infback.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o inffast.o inffast.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o inflate.o inflate.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o inftrees.o inftrees.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o trees.o trees.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o zutil.o zutil.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o compress.o compress.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o uncompr.o uncompr.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o gzclose.o gzclose.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o gzlib.o gzlib.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o gzread.o gzread.c clang -O3 -fPIC -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c clang -O3 -fPIC -DHAVE_HIDDEN -I. -c -o minigzip.o test/minigzip.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/adler32.o adler32.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/crc32.o crc32.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/deflate.o deflate.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/inffast.o inffast.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/infback.o infback.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/inflate.o inflate.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/inftrees.o inftrees.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/trees.o trees.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/zutil.o zutil.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/compress.o compress.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/uncompr.o uncompr.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/gzclose.o gzclose.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/gzlib.o gzlib.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/gzread.o gzread.c clang -O3 -fPIC -DHAVE_HIDDEN -DPIC -c -o objs/gzwrite.o gzwrite.c ar -r libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o ar: warning: creating libz.a clang -O3 -fPIC -DHAVE_HIDDEN -o example example.o -L. libz.a clang -O3 -fPIC -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a clang -dynamiclib -install_name /nix/store/hzq09q4p3b7hh91bl21brj9hawakhhxi-zlib-1.3.2-static/lib/libz.1.dylib -compatibility_version 1 -current_version 1.3.2 -O3 -fPIC -DHAVE_HIDDEN -o libz.1.3.2.dylib adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo zutil.lo compress.lo uncompr.lo gzclose.lo gzlib.lo gzread.lo gzwrite.lo -lc rm -f libz.dylib libz.1.dylib ln -s libz.1.3.2.dylib libz.dylib ln -s libz.1.3.2.dylib libz.1.dylib clang -O3 -fPIC -DHAVE_HIDDEN -o examplesh example.o -L. libz.1.3.2.dylib clang -O3 -fPIC -DHAVE_HIDDEN -o minigzipsh minigzip.o -L. libz.1.3.2.dylib Running phase: checkPhase check flags: -j18 SHELL=/nix/store/f0b9dbw2gl596cm03pvdsss72381qhlp-bash-5.3p15/bin/bash PREFIX= pkgconfigdir=/nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/share/pkgconfig VERBOSE=y check hello world zlib version 1.3.2 = 0x1320, compile flags = 0xa9 uncompress(): hello, hello! gzread(): hello, hello! gzgets() after gzseek: hello! inflate(): hello, hello! large_inflate(): OK after inflateSync(): hello, hello! inflate with dictionary: hello, hello! *** zlib test OK *** hello world zlib version 1.3.2 = 0x1320, compile flags = 0xa9 uncompress(): hello, hello! gzread(): hello, hello! gzgets() after gzseek: hello! inflate(): hello, hello! large_inflate(): OK after inflateSync(): hello, hello! inflate with dictionary: hello, hello! *** zlib shared test OK *** Running phase: installPhase install flags: -j18 SHELL=/nix/store/f0b9dbw2gl596cm03pvdsss72381qhlp-bash-5.3p15/bin/bash PREFIX= pkgconfigdir=/nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/share/pkgconfig install rm -f /nix/store/hzq09q4p3b7hh91bl21brj9hawakhhxi-zlib-1.3.2-static/lib/libz.a cp libz.a /nix/store/hzq09q4p3b7hh91bl21brj9hawakhhxi-zlib-1.3.2-static/lib chmod 644 /nix/store/hzq09q4p3b7hh91bl21brj9hawakhhxi-zlib-1.3.2-static/lib/libz.a cp libz.1.3.2.dylib /nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2/lib chmod 755 /nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2/lib/libz.1.3.2.dylib rm -f /nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2/share/man/man3/zlib.3 cp zlib.3 /nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2/share/man/man3 chmod 644 /nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2/share/man/man3/zlib.3 rm -f /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/share/pkgconfig/zlib.pc cp zlib.pc /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/share/pkgconfig chmod 644 /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/share/pkgconfig/zlib.pc rm -f /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/include/zlib.h /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/include/zconf.h cp zlib.h zconf.h /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/include chmod 644 /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/include/zlib.h /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/include/zconf.h Running phase: fixupPhase Patching '/nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev/share/pkgconfig/zlib.pc' includedir to output /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev checking for references to /nix/var/nix/builds/nix-66235-547046069/ in /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev... patching script interpreter paths in /nix/store/5bj921vcdld8rbrk41p3rknwl44fzlnn-zlib-1.3.2-dev checking for references to /nix/var/nix/builds/nix-66235-547046069/ in /nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2... gzipping man pages under /nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2/share/man/ patching script interpreter paths in /nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2 stripping (with command strip and flags -S) in /nix/store/7wvjkzc78ib51y3xsrdy2d990gxxsfhc-zlib-1.3.2/lib checking for references to /nix/var/nix/builds/nix-66235-547046069/ in /nix/store/hzq09q4p3b7hh91bl21brj9hawakhhxi-zlib-1.3.2-static... patching script interpreter paths in /nix/store/hzq09q4p3b7hh91bl21brj9hawakhhxi-zlib-1.3.2-static stripping (with command strip and flags -S) in /nix/store/hzq09q4p3b7hh91bl21brj9hawakhhxi-zlib-1.3.2-static/lib