WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete' starting phase `separate-from-pid1' build process now running as PID 10 phase `separate-from-pid1' succeeded after 0.0 seconds starting phase `set-SOURCE-DATE-EPOCH' phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds starting phase `set-paths' environment variable `PATH' set to `/gnu/store/v6bivyjbg6bj07s8iqfzdm6hpvypc0p1-perl-5.36.0/bin:/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/bin:/gnu/store/iszdr3mql720png7w3c95xnc1p8qda3v-binutils-cross-i686-w64-mingw32-2.41/bin:/gnu/store/j5zgzgsmbjgywr67r86h1n6s4qiabv5q-tar-1.34/bin:/gnu/store/0r2fx1lr1h2i3cl1x5fw4s4ly95qspya-gzip-1.13/bin:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/bin:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/bin:/gnu/store/swmflx2bmqpf0drm167pxfpgyr7ckcam-diffutils-3.10/bin:/gnu/store/4jhlsg65s1zx90gnnfmaax52i8prnl45-patch-2.7.6/bin:/gnu/store/b5c62i99dsfa5j0j3f8g2j1xdi6fih22-findutils-4.9.0/bin:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/bin:/gnu/store/3f0fjq25n2kwcmi0zyrf216wa6g8xpjw-zstd-1.5.2/bin:/gnu/store/3i4fr8riqw9azh1p4mqggl5vdz23kyr8-sed-4.8/bin:/gnu/store/7k8b93779dqpwcg2qjdvnf4nl43jv7hf-grep-3.11/bin:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/bin:/gnu/store/7h0mnlwalw23j9jmvz5n1i5mqkgb4d06-coreutils-9.1/bin:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/bin:/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin:/gnu/store/3k6lyifyg024lk3gncsgf2gzjzvc70gv-ld-wrapper-0/bin:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/bin:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/bin:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/sbin' environment variable `CROSS_LIBRARY_PATH' set to `/gnu/store/40z5n7a11zhv5q7vp02aq6bqkcdqs0qg-mingw-w64-i686-12.0.0/lib' environment variable `CROSS_C_INCLUDE_PATH' set to `/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include:/gnu/store/40z5n7a11zhv5q7vp02aq6bqkcdqs0qg-mingw-w64-i686-12.0.0/include' environment variable `CROSS_CPLUS_INCLUDE_PATH' set to `/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include/c++:/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include:/gnu/store/40z5n7a11zhv5q7vp02aq6bqkcdqs0qg-mingw-w64-i686-12.0.0/include' environment variable `CROSS_OBJC_INCLUDE_PATH' set to `/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include:/gnu/store/40z5n7a11zhv5q7vp02aq6bqkcdqs0qg-mingw-w64-i686-12.0.0/include' environment variable `CROSS_OBJCPLUS_INCLUDE_PATH' set to `/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include:/gnu/store/40z5n7a11zhv5q7vp02aq6bqkcdqs0qg-mingw-w64-i686-12.0.0/include' environment variable `PERL5LIB' set to `/gnu/store/v6bivyjbg6bj07s8iqfzdm6hpvypc0p1-perl-5.36.0/lib/perl5/site_perl' environment variable `BASH_LOADABLES_PATH' unset environment variable `C_INCLUDE_PATH' set to `/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include:/gnu/store/iszdr3mql720png7w3c95xnc1p8qda3v-binutils-cross-i686-w64-mingw32-2.41/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include' environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include/c++:/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include:/gnu/store/iszdr3mql720png7w3c95xnc1p8qda3v-binutils-cross-i686-w64-mingw32-2.41/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include/c++:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include' environment variable `OBJC_INCLUDE_PATH' set to `/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include:/gnu/store/iszdr3mql720png7w3c95xnc1p8qda3v-binutils-cross-i686-w64-mingw32-2.41/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include' environment variable `OBJCPLUS_INCLUDE_PATH' set to `/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include/c++:/gnu/store/59d9lz0ds3a1m2g0zv3g2jvvvarshrwx-gcc-cross-i686-w64-mingw32-11.4.0/include:/gnu/store/iszdr3mql720png7w3c95xnc1p8qda3v-binutils-cross-i686-w64-mingw32-2.41/include:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/include:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/include:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/include:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/include:/gnu/store/lc6r1mh0jlcwixjziiw1zsx1my478rv1-make-4.4.1/include:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/include:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include/c++:/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/include:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include:/gnu/store/svghsdn1x3fyili8ij791nn25zba9bpf-linux-libre-headers-5.15.49/include' environment variable `LIBRARY_PATH' set to `/gnu/store/v6bivyjbg6bj07s8iqfzdm6hpvypc0p1-perl-5.36.0/lib:/gnu/store/iszdr3mql720png7w3c95xnc1p8qda3v-binutils-cross-i686-w64-mingw32-2.41/lib:/gnu/store/56aq6sdx35f7rsxq8jq9ypafk0dhd3p3-bzip2-1.0.8/lib:/gnu/store/544ga5n6nq8y2961ihigra6n6a0r99nn-file-5.45/lib:/gnu/store/vrl2r0ps24k1a6yap2chjylv5rhbndvr-gawk-5.3.0/lib:/gnu/store/fbaw0sb21gv02qq7gs9wg5y5wlpdgzih-xz-5.4.5/lib:/gnu/store/ylgkrq9j1gyfig2y66srmgsbyh9w20d9-binutils-2.41/lib:/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib:/gnu/store/vqdiyyqbrv4akp68pfya4j6m3pdbnhca-glibc-2.39-static/lib' environment variable `GUIX_LOCPATH' set to `/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/lib/locale' environment variable `TZDIR' unset phase `set-paths' succeeded after 0.0 seconds starting phase `install-locale' using 'C.UTF-8' locale for category "LC_ALL" phase `install-locale' succeeded after 0.0 seconds starting phase `unpack' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/NEWS.md' -> `./NEWS.md' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/README.md' -> `./README.md' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/Makefile' -> `./Makefile' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/tq' -> `./tq' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/fq.1' -> `./fq.1' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/tq.1' -> `./tq.1' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/nq.1' -> `./nq.1' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/nq.sh' -> `./nq.sh' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/fq.c' -> `./fq.c' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/COPYING' -> `./COPYING' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/fq.sh' -> `./fq.sh' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/tests' -> `./tests' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/_nq' -> `./_nq' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/nq.c' -> `./nq.c' `/gnu/store/xs0sjp14sfg5vwp4i5v844jlcjyk2f58-nq-0.5-checkout/.gitignore' -> `./.gitignore' phase `unpack' succeeded after 0.0 seconds starting phase `bootstrap' no 'configure.ac' or anything like that, doing nothing phase `bootstrap' succeeded after 0.0 seconds starting phase `patch-usr-bin-file' phase `patch-usr-bin-file' succeeded after 0.0 seconds starting phase `patch-source-shebangs' patch-shebang: ./fq.sh: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./nq.sh: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./tests: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' patch-shebang: ./tq: changing `/bin/sh' to `/gnu/store/3jhfhxdf6v5ms10x5zmnl166dh3yhbr1-bash-minimal-5.1.16/bin/sh' phase `patch-source-shebangs' succeeded after 0.0 seconds starting phase `patch-generated-file-shebangs' phase `patch-generated-file-shebangs' succeeded after 0.0 seconds starting phase `build' i686-w64-mingw32-gcc -g -Wall -O2 nq.c -o nq i686-w64-mingw32-gcc -g -Wall -O2 fq.c -o fq nq.c:34:10: fatal error: sys/wait.h: No such file or directory 34 | #include | ^~~~~~~~~~~~ compilation terminated. make: *** [: nq] Error 1 make: *** Waiting for unfinished jobs.... fq.c: In function ‘islocked’: fq.c:46:13: warning: implicit declaration of function ‘flock’ [-Wimplicit-function-declaration] 46 | if (flock(fd, LOCK_SH | LOCK_NB) == -1) { | ^~~~~ fq.c:46:23: error: ‘LOCK_SH’ undeclared (first use in this function) 46 | if (flock(fd, LOCK_SH | LOCK_NB) == -1) { | ^~~~~~~ fq.c:46:23: note: each undeclared identifier is reported only once for each function it appears in fq.c:46:33: error: ‘LOCK_NB’ undeclared (first use in this function) 46 | if (flock(fd, LOCK_SH | LOCK_NB) == -1) { | ^~~~~~~ fq.c:49:27: error: ‘LOCK_UN’ undeclared (first use in this function) 49 | flock(fd, LOCK_UN); | ^~~~~~~ fq.c: In function ‘main’: fq.c:120:23: warning: implicit declaration of function ‘fdopendir’; did you mean ‘_wopendir’? [-Wimplicit-function-declaration] 120 | dir = fdopendir(dirfd); | ^~~~~~~~~ | _wopendir fq.c:120:21: warning: assignment to ‘DIR *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 120 | dir = fdopendir(dirfd); | ^ fq.c:159:22: warning: implicit declaration of function ‘openat’; did you mean ‘open’? [-Wimplicit-function-declaration] 159 | fd = openat(dirfd, argv[i], O_RDONLY); | ^~~~~~ | open fq.c:210:47: error: ‘LOCK_SH’ undeclared (first use in this function) 210 | if (flock(fd, LOCK_SH | LOCK_NB) == -1 && | ^~~~~~~ fq.c:210:57: error: ‘LOCK_NB’ undeclared (first use in this function) 210 | if (flock(fd, LOCK_SH | LOCK_NB) == -1 && | ^~~~~~~ fq.c:224:51: error: ‘LOCK_UN’ undeclared (first use in this function) 224 | flock(fd, LOCK_UN); | ^~~~~~~ fq.c:232:30: warning: implicit declaration of function ‘pread’; did you mean ‘fread’? [-Wimplicit-function-declaration] 232 | rd = pread(fd, &buf, off - loff, loff); | ^~~~~ | fread fq.c: In function ‘islocked’: fq.c:52:1: warning: control reaches end of non-void function [-Wreturn-type] 52 | } | ^ make: *** [: fq] Error 1 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "8" "CC=i686-w64-mingw32-gcc" "PREFIX=/gnu/store/461ixdcdxwk6z210i7raidxkk6rk57hm-nq-0.5") exit-status: 2 term-signal: #f stop-signal: #f> phase `build' failed after 0.0 seconds command "make" "-j" "8" "CC=i686-w64-mingw32-gcc" "PREFIX=/gnu/store/461ixdcdxwk6z210i7raidxkk6rk57hm-nq-0.5" failed with status 2 build process 10 exited with status 256