Running phase: unpackPhase unpacking source archive /nix/store/51g8yyjqhnj205iyh01xrss05sd53gqk-vbetool-1.1.tar.gz source root is vbetool-1.1 setting SOURCE_DATE_EPOCH to timestamp 1210942590 of file "vbetool-1.1/vbetool.c" Running phase: patchPhase substituteStream() in derivation vbetool-1.1: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'Makefile.in') Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./config.sub Updating Autotools / GNU config script to a newer upstream version: ./config.guess Running phase: configurePhase patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" configure flags: --disable-dependency-tracking --prefix=/nix/store/9klpxsylizz8dfzlnh1cznwv9xsy1daz-vbetool-1.1 LDFLAGS=-lpci checking for a BSD-compatible install... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash cd . && /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash /build/vbetool-1.1/missing --run autoconf /build/vbetool-1.1/missing: line 46: autoconf: command not found WARNING: `autoconf' is missing on your system. You should only need it if you modified `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ./config.status --recheck running CONFIG_SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ./configure --disable-dependency-tracking --prefix=/nix/store/9klpxsylizz8dfzlnh1cznwv9xsy1daz-vbetool-1.1 LDFLAGS=-lpci CC=gcc --no-create --no-recursion checking for a BSD-compatible install... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none configure: creating ./config.status /nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash ./config.status config.status: creating Makefile config.status: executing depfiles commands gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"vbetool\" -DVERSION=\"0.3\" -I. -g -Wall -pedantic -std=gnu99 -g -O2 -c vbetool.c vbetool.c: In function 'main': vbetool.c:120:32: error: passing argument 1 of 'munmap' makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 120 | munmap(0xc0000, 64*1024); | ^~~~~~~ | | | int In file included from vbetool.c:24: /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/sys/mman.h:76:26: note: expected 'void *' but argument is of type 'int' 76 | extern int munmap (void *__addr, size_t __len) __THROW; | ~~~~~~^~~~~~ vbetool.c:121:35: error: passing argument 1 of 'mmap' makes pointer from integer without a cast [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-conversion-Wint-conversion8;;] 121 | rc = mmap(0xc0000, 64*1024, | ^~~~~~~ | | | int /nix/store/1ycjq6h047qqwp3fm9sbl805xnrxlh2h-glibc-2.40-66-dev/include/sys/mman.h:57:26: note: expected 'void *' but argument is of type 'int' 57 | extern void *mmap (void *__addr, size_t __len, int __prot, | ~~~~~~^~~~~~ vbetool.c:117:31: warning: variable 'rc' 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;;] 117 | void *rc; | ^~ vbetool.c: In function 'restore_state_from': vbetool.c:257:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 257 | r.es = (unsigned int) (data - LRMI_base_addr()) >> 4; | ^ vbetool.c:258:17: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 258 | r.ebx = (unsigned int) (data - LRMI_base_addr()) & 0xf; | ^ vbetool.c: In function '__save_state': vbetool.c:332:61: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 332 | fprintf(stderr, "Allocated buffer at %p (base is 0x%x)\n", buffer, | ~^ | | | unsigned int | %lx 333 | LRMI_base_addr()); | ~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} vbetool.c:339:16: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 339 | r.es = (unsigned int) (buffer - LRMI_base_addr()) >> 4; | ^ vbetool.c:340:17: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 340 | r.ebx = (unsigned int) (buffer - LRMI_base_addr()) & 0xf; | ^ vbetool.c: In function 'save_state': vbetool.c:359:17: warning: variable 'num_written' 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;;] 359 | ssize_t num_written; | ^~~~~~~~~~~ vbetool.c: In function 'do_get_panel_id': vbetool.c:528:28: warning: cast from pointer to integer of different size [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-to-int-cast-Wpointer-to-int-cast8;;] 528 | r.es = (unsigned short)(((int)(id-LRMI_base_addr()) >> 4) & 0xffff); | ^ make: *** [Makefile:246: vbetool.o] Error 1