as of today, doas nixos-rebuild switch --flake /etc/nixos#my-nixos --verbose
leads to the following :
error: builder for '/nix/store/j0g80j22awj38hkb9jl050f98a04bfmd-squashfuse-unstable-2016-10-09.drv' failed with exit code 2; last 25 log lines: > SED="/nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9/bin/sed" ./gen_swap.sh ./squashfs_fs.h > CC libsquashfuse_la-swap.lo > CC libsquashfuse_la-cache.lo > CC libsquashfuse_la-table.lo > CC libsquashfuse_la-dir.lo > CC libsquashfuse_la-file.lo > CC libsquashfuse_la-fs.lo > CC libsquashfuse_la-decompress.lo > CC libsquashfuse_la-xattr.lo > CC libsquashfuse_la-hash.lo > CC libsquashfuse_la-stack.lo > CC libsquashfuse_la-traverse.lo > CC libsquashfuse_la-util.lo > CC libsquashfuse_la-nonstd-pread.lo > CC libsquashfuse_la-nonstd-stat.lo > CC libsquashfuse_la-squashfuse_dlopen.lo > CCLD libsquashfuse.la > CC libsquashfuse_ll_la-ll.lo > ll.c: In function 'fusefs_main': > ll.c:518:11: error: implicit declaration of function 'rmdir' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] > 518 | rmdir (mountpoint); > | ^~~~~ > make[1]: *** [Makefile:866: libsquashfuse_ll_la-ll.lo] Error 1 > make[1]: Leaving directory '/build/source' > make: *** [Makefile:531: all] Error 2 For full logs, run 'nix log /nix/store/j0g80j22awj38hkb9jl050f98a04bfmd-squashfuse-unstable-2016-10-09.drv'.
error notification also reported on the element nixos channel ; error reports as follows :
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/ksplki6j4vdy9gmmrj5326z2gk30g7x7-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/npvhvw4saqz48qf3ky9gy0y0ippn07v8-source/lib/libappimage/src/patches/squashfuse.patch
patching file Makefile.am
patching file ll.c
applying patch /nix/store/npvhvw4saqz48qf3ky9gy0y0ippn07v8-source/lib/libappimage/src/patches/squashfuse_dlopen.patch
patching file Makefile.am
patching file fuseprivate.c
patching file fuseprivate.h
patching file hl.c
patching file ll.h
patching file ll_inode.c
patching file nonstd-daemon.c
patching file ll.c
'/nix/store/npvhvw4saqz48qf3ky9gy0y0ippn07v8-source/lib/libappimage/src/patches/squashfuse_dlopen.c' -> './squashfuse_dlopen.c'
'/nix/store/npvhvw4saqz48qf3ky9gy0y0ippn07v8-source/lib/libappimage/src/patches/squashfuse_dlopen.h' -> './squashfuse_dlopen.h'
Running phase: autoreconfPhase
@nix { "action": "setPhase", "phase": "autoreconfPhase" }
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4 --install
aclocal: installing 'm4/pkg.m4' from '/nix/store/0d4m43yp69lrm8imxbqgl9zxjwwz52jw-pkg-config-wrapper-0.29.2/share/aclocal/pkg.m4'
aclocal: installing 'm4/libtool.m4' from '/nix/store/cjsyzj6jr96bsikd6pm2y2lh9r6ha1g6-libtool-2.4.7/share/aclocal/libtool.m4'
aclocal: installing 'm4/ltoptions.m4' from '/nix/store/cjsyzj6jr96bsikd6pm2y2lh9r6ha1g6-libtool-2.4.7/share/aclocal/ltoptions.m4'
aclocal: installing 'm4/ltsugar.m4' from '/nix/store/cjsyzj6jr96bsikd6pm2y2lh9r6ha1g6-libtool-2.4.7/share/aclocal/ltsugar.m4'
aclocal: installing 'm4/ltversion.m4' from '/nix/store/cjsyzj6jr96bsikd6pm2y2lh9r6ha1g6-libtool-2.4.7/share/aclocal/ltversion.m4'
aclocal: installing 'm4/lt~obsolete.m4' from '/nix/store/cjsyzj6jr96bsikd6pm2y2lh9r6ha1g6-libtool-2.4.7/share/aclocal/lt~obsolete.m4'
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory build-aux
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4 --install
autoreconf: running: /nix/store/m0knd99ncm7kbpffm10gsdmgv1j6mgy6-autoconf-2.72/bin/autoconf --force
autoreconf: running: /nix/store/m0knd99ncm7kbpffm10gsdmgv1j6mgy6-autoconf-2.72/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:8: installing 'build-aux/ar-lib'
configure.ac:8: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/config.guess'
configure.ac:5: installing 'build-aux/config.sub'
configure.ac:6: installing 'build-aux/install-sh'
configure.ac:6: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
autoreconf: 'build-aux/install-sh' is updated
autoreconf: Leaving directory '.'
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./build-aux/config.guess
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
fixing libtool script ./build-aux/ltmain.sh
./configure
patching script interpreter paths in ./configure
./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/sh"
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/mhjacxmblbzs9ldnwqv0nx7nf1760fv8-squashfuse-unstable-2016-10-09 --disable-demo --disable-high-level --without-lzo --without-lz4
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 a BSD-compatible install... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9/bin/sed
checking for grep that handles long lines and -e... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep
checking for egrep... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep -E
checking for fgrep... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/dd
checking how to truncate binary pipes... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
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 for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld -m elf_x86_64) 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
checking for gawk... (cached) gawk
checking for a sed that does not truncate output... (cached) /nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9/bin/sed
checking how to run the C preprocessor... gcc -E
checking for gcc option to enable large file support... none needed
checking for option for POSIX-2001 preprocessor... none
checking how to enable all compiler warnings... -Wall
checking for QNX makedev... no
checking for sys/mkdev.h... no
checking for sys/sysmacros.h... yes
configure: checking for definition needed by makedev
checking if makedev works without changes... yes
configure: checking for definition needed by pread
checking if pread works without changes... no
checking if pread requires changing _DARWIN_C_SOURCE... no
checking if pread requires changing _NETBSD_SOURCE... no
checking if pread requires changing _XOPEN_SOURCE... yes
configure: checking for definition needed by S_IFSOCK
checking if S_IFSOCK works without changes... no
checking if S_IFSOCK requires changing _DARWIN_C_SOURCE... no
checking if S_IFSOCK requires changing _NETBSD_SOURCE... no
checking if S_IFSOCK requires changing _XOPEN_SOURCE... yes
checking for attr/xattr.h... no
configure: checking for definition needed by ENOATTR
checking if ENOATTR works without changes... no
checking if ENOATTR requires changing _DARWIN_C_SOURCE... no
checking if ENOATTR requires changing _NETBSD_SOURCE... no
checking if ENOATTR requires changing _XOPEN_SOURCE... no
checking if ENOATTR requires changing _BSD_SOURCE... no
checking if ENOATTR requires changing _GNU_SOURCE... no
checking if ENOATTR requires changing _POSIX_C_SOURCE... no
checking for library containing uncompress... -lz
checking for zlib.h... yes
checking pkg-config is at least version 0.9.0... yes
checking for liblzma... yes
checking for library containing lzma_stream_buffer_decode... none required
checking for lzma.h... yes
checking for fuse >= 2.5... yes
checking for FUSE library... already present
checking for FUSE header... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking whether fuse_lowlevel_new is declared... yes
checking for fuse_lowlevel_new... yes
checking whether fuse_add_direntry is declared... yes
checking whether fuse_add_dirent is declared... no
checking whether fuse_daemonize is declared... yes
checking whether fuse_session_remove_chan is declared... yes
checking for two-argument fuse_unmount... yes
checking for position argument to FUSE xattr operations... no
checking if make supports export... yes
checking for __le16... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Compression support ....... : ZLIB XZ
High-level FUSE driver .... : no
Low-level FUSE driver ..... : yes
Demo program .............. : no
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: SHELL=/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash
make all-am
make[1]: Entering directory '/build/source'
SED="/nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9/bin/sed" ./gen_swap.sh ./squashfs_fs.h
CC libsquashfuse_la-swap.lo
CC libsquashfuse_la-cache.lo
CC libsquashfuse_la-table.lo
CC libsquashfuse_la-dir.lo
CC libsquashfuse_la-file.lo
CC libsquashfuse_la-fs.lo
CC libsquashfuse_la-decompress.lo
CC libsquashfuse_la-xattr.lo
CC libsquashfuse_la-hash.lo
CC libsquashfuse_la-stack.lo
CC libsquashfuse_la-traverse.lo
CC libsquashfuse_la-util.lo
CC libsquashfuse_la-nonstd-pread.lo
CC libsquashfuse_la-nonstd-stat.lo
CC libsquashfuse_la-squashfuse_dlopen.lo
CCLD libsquashfuse.la
CC libsquashfuse_ll_la-ll.lo
e[01me[Kll.c:e[me[K In function 'e[01me[Kfusefs_maine[me[K':
e[01me[Kll.c:518:11:e[me[K e[01;31me[Kerror: e[me[Kimplicit declaration of function 'e[01me[Krmdire[me[K' [e[01;31me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declarationa-Wimplicit-function-declaratione]8;;ae[me[K]
518 | e[01;31me[Krmdire[me[K (mountpoint);
| e[01;31me[K^~~~~e[me[K
make[1]: *** [Makefile:866: libsquashfuse_ll_la-ll.lo] Error 1
make[1]: Leaving directory '/build/source'
make: *** [Makefile:531: all] Error 2```