Running phase: unpackPhase
unpacking source archive /nix/store/9nw4xs5hx7jz2skzqpqm21zw6krmbc78-dbench-65b1987
source root is dbench-65b1987
Running phase: patchPhase
applying patch /nix/store/5qi21a7079fq1jlq54pfd31wx3j1pjk6-fix-missing-stdint.patch
patching file libnfs.c
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:8: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.in:8: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.in:8: the top level
configure.in:27: warning: The macro 'AC_HEADER_TIME' is obsolete.
configure.in:27: You should run autoupdate.
./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from...
configure.in:27: the top level
configure.in:60: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:60: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: 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...
configure.in:60: the top level
configure.in:69: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:69: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: 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...
configure.in:69: the top level
configure.in:86: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.in:86: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
configure.in:86: the top level
configure.in:122: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.in:122: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
configure.in:122: the top level
configure.in:165: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.in:165: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
configure.in:165: the top level
configure.in:206: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.in:206: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
configure.in:206: the top level
patching script interpreter paths in ./configure
./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh"
configure flags: --prefix=/nix/store/c0vimgsy2ry24zjbgck8lav0hxqac6p6-dbench-2013-01-01 --datadir=/nix/store/c0vimgsy2ry24zjbgck8lav0hxqac6p6-dbench-2013-01-01/share/dbench
configure: Configuring dbench
checking for gcc... gcc
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 a BSD-compatible install... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/install -c
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 sys/time.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for ctype.h... yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/vfs.h... yes
checking for sys/statvfs.h... yes
checking for stdint.h... (cached) yes
checking for sys/attributes.h... no
checking for attr/xattr.h... no
checking for sys/xattr.h... yes
checking for sys/extattr.h... no
checking for sys/uio.h... yes
checking for sys/mount.h... yes
checking for fdatasync... yes
checking for library containing getxattr... none required
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for getxattr... yes
checking for lgetxattr... yes
checking for fgetxattr... yes
checking for listxattr... yes
checking for llistxattr... yes
checking for flistxattr... yes
checking for removexattr... yes
checking for lremovexattr... yes
checking for fremovexattr... yes
checking for setxattr... yes
checking for lsetxattr... yes
checking for fsetxattr... yes
checking for attr_get... no
checking for attr_list... no
checking for attr_set... no
checking for attr_remove... no
checking for attr_getf... no
checking for attr_listf... no
checking for attr_setf... no
checking for attr_removef... no
checking for extattr_delete_fd... no
checking for extattr_delete_file... no
checking for extattr_delete_link... no
checking for extattr_get_fd... no
checking for extattr_get_file... no
checking for extattr_get_link... no
checking for extattr_list_fd... no
checking for extattr_list_file... no
checking for extattr_list_link... no
checking for extattr_set_fd... no
checking for extattr_set_file... no
checking for extattr_set_link... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for va_copy... yes
checking whether libpopt is available... yes
checking whether libsmbclient is available... no
configure: Libsmbclient-dev not available. Building DBENCH without SMB support
checking whether libiscsi is available... no
configure: Libiscsi not available. Building DBENCH with old iscsi support
checking whether Linux SCSI Generic is available... no
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
configure: ============================================
configure: SMB support .......................... NO
configure: LIBISCSI support ..................... NO
configure: LINUX SCSI SG support ................ NO
Running phase: buildPhase
build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash
gcc -g -O2 -Wall -W -I. -DVERSION=\"4.00\" -DDATADIR=\"/nix/store/c0vimgsy2ry24zjbgck8lav0hxqac6p6-dbench-2013-01-01/share/dbench\"   -c -o fileio.o fileio.c
fileio.c: In function 'fio_cleanup':
fileio.c:549:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;]
  549 |         asprintf(&dname, "%s/clients/client%d", child->directory, child->id);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fileio.c:555:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;]
  555 |         asprintf(&dname, "%s%s", child->directory, "/clients");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fileio.c: In function 'fio_deltree':
fileio.c:519:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;]
  519 |                 asprintf(&fname, "%s/%s", op->fname, de->d_name);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fileio.c: In function 'fio_writex':
fileio.c:342:25: warning: ignoring return value of 'pread' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;]
  342 |                         pread(ftable[i].fd, &c, 1, offset);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fileio.c:349:25: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result8;;]
  349 |                         ftruncate(ftable[i].fd, offset+1);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -W -I. -DVERSION=\"4.00\" -DDATADIR=\"/nix/store/c0vimgsy2ry24zjbgck8lav0hxqac6p6-dbench-2013-01-01/share/dbench\"   -c -o util.o util.c
gcc -g -O2 -Wall -W -I. -DVERSION=\"4.00\" -DDATADIR=\"/nix/store/c0vimgsy2ry24zjbgck8lav0hxqac6p6-dbench-2013-01-01/share/dbench\"   -c -o dbench.o dbench.c
dbench.c: In function 'open_loadfile':
dbench.c:66:16: error: assignment to 'struct gzFile_s **' from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
   66 |         if ((f = gzopen(options.loadfile, "rt")) != NULL)
      |                ^
dbench.c: In function 'main':
dbench.c:491:16: warning: variable 't' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;]
  491 |         double t, latency=0;
      |                ^
make: *** [<builtin>: dbench.o] Error 1