Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build ZFS 2.1.5 against Linux 5.18.6 #13622

Closed
hmenke opened this issue Jul 3, 2022 · 10 comments
Closed

Cannot build ZFS 2.1.5 against Linux 5.18.6 #13622

hmenke opened this issue Jul 3, 2022 · 10 comments
Labels
Type: Building Indicates an issue related to building binaries Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@hmenke
Copy link

hmenke commented Jul 3, 2022

System information

Type Version/Name
Distribution Name NixOS
Distribution Version 22.05 (Quokka)
Kernel Version 5.18.6
Architecture x86_64-linux
OpenZFS Version 2.1.5

Describe the problem you're observing

This is a followup issue on #13528.

The build of the kernel module fails with call to '__write_overflow_field' declared with attribute warning. This has been resolved in #13575, but that doesn't change the fact that the ZFS release 2.1.5 cannot be built against Linux 5.18.6 despite marking this kernel version as compatible in the META file.

Please make a new release that includes the fixes for Linux 5.18. Downstream packagers need point release versions.

Describe how to reproduce the problem

nix build github:NixOS/nixpkgs/nixos-22.05#linuxPackages_5_18.zfs

Include any warning/errors/backtraces from the system logs

Build log
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/1j3pgp9hqhzwaqqsir6hb5sz4s0s91a7-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
patching script interpreter paths in scripts
scripts/zol2zfs-patch.sed: interpreter directive changed from "#!/bin/sed -f" to "/nix/store/lgvd2fh4cndlv8mnyy49jp1nplpml3xp-gnused-4.8/bin/sed -f"
scripts/zloop.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/bash"
scripts/zimport.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/bash"
scripts/zfs2zol-patch.sed: interpreter directive changed from "#!/bin/sed -f" to "/nix/store/lgvd2fh4cndlv8mnyy49jp1nplpml3xp-gnused-4.8/bin/sed -f"
scripts/zfs.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/sh"
scripts/zfs-tests.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/sh"
scripts/zfs-helpers.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/sh"
scripts/paxcheck.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/sh"
scripts/mancheck.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/sh"
scripts/man-dates.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/sh"
scripts/make_gitrev.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/sh"
scripts/kmodtool: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/bash"
scripts/enum-extract.pl: interpreter directive changed from "#!/usr/bin/perl -w" to "/nix/store/dk5lnlbfz4vgyywifl4zaa988p9ixa2n-perl-5.34.1/bin/perl -w"
scripts/dkms.postbuild: interpreter directive changed from "#!/bin/sh" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/sh"
scripts/dkms.mkconf: interpreter directive changed from "#!/bin/sh" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/sh"
scripts/cstyle.pl: interpreter directive changed from "#!/usr/bin/env perl" to "/nix/store/dk5lnlbfz4vgyywifl4zaa988p9ixa2n-perl-5.34.1/bin/perl"
scripts/commitcheck.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/sh"
@nix { "action": "setPhase", "phase": "autoreconfPhase" }
autoreconfPhase
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I config
autoreconf: configure.ac: tracing
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'.
libtoolize: copying file 'config/libtool.m4'
libtoolize: copying file 'config/ltoptions.m4'
libtoolize: copying file 'config/ltsugar.m4'
libtoolize: copying file 'config/ltversion.m4'
libtoolize: copying file 'config/lt~obsolete.m4'
autoreconf: running: /nix/store/n0wh7aglap7fl8jfnmgnn1vdv71a9br9-autoconf-2.69/bin/autoconf --force
autoreconf: running: /nix/store/n0wh7aglap7fl8jfnmgnn1vdv71a9br9-autoconf-2.69/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:48: installing 'config/compile'
configure.ac:39: installing 'config/config.guess'
configure.ac:39: installing 'config/config.sub'
configure.ac:42: installing 'config/install-sh'
configure.ac:42: installing 'config/missing'
cmd/mount_zfs/Makefile.am: installing 'config/depcomp'
autoreconf: Leaving directory `.'
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing libtool script ./config/ltmain.sh
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/yp6bzgvvy7pxcz0wfq70ka2fmlvfhbl6-zfs-kernel-2.1.5-5.18.6 --with-config=kernel --with-tirpc=1 --without-python --with-linux=/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source --with-linux-obj=/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/build O=\$\(buildRoot\) CC=/nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc HOSTCC=/nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc ARCH=x86_64
checking for gawk... gawk
checking metadata... META file
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 whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /nix/store/7jr7pr4c6yb85xpzay5xafs5zlcadkhz-coreutils-9.0/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/7jr7pr4c6yb85xpzay5xafs5zlcadkhz-coreutils-9.0/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc
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 we are using the GNU C compiler... yes
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc accepts -g... yes
checking for /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc option to accept ISO C89... none needed
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc understands -c and -o together... yes
checking dependency style of /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc... none
checking for a sed that does not truncate output... /nix/store/lgvd2fh4cndlv8mnyy49jp1nplpml3xp-gnused-4.8/bin/sed
checking for grep that handles long lines and -e... /nix/store/qd9jxc0q00cr7fp30y6jbbww20gj33lg-gnugrep-3.7/bin/grep
checking for egrep... /nix/store/qd9jxc0q00cr7fp30y6jbbww20gj33lg-gnugrep-3.7/bin/grep -E
checking for fgrep... /nix/store/qd9jxc0q00cr7fp30y6jbbww20gj33lg-gnugrep-3.7/bin/grep -F
checking for ld used by /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc... 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 /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc object... ok
checking for sysroot... no
checking for a working dd... /nix/store/7jr7pr4c6yb85xpzay5xafs5zlcadkhz-coreutils-9.0/bin/dd
checking how to truncate binary pipes... /nix/store/7jr7pr4c6yb85xpzay5xafs5zlcadkhz-coreutils-9.0/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -fno-rtti -fno-exceptions... no
checking for /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc option to produce PIC... -fPIC -DPIC
checking if /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc PIC flag -fPIC -DPIC works... yes
checking if /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc static flag -static works... no
checking if /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -c -o file.o... yes
checking if /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -c -o file.o... (cached) yes
checking whether the /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc 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 gcc... (cached) /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc accepts -g... (cached) yes
checking for /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc option to accept ISO C89... (cached) none needed
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc understands -c and -o together... (cached) yes
checking dependency style of /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc... (cached) none
checking whether ln -s works... yes
checking for pkg-config... no
checking dependency style of /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc... none
checking whether to build with code coverage support... no
checking how to create a pax tar archive... gnutar
checking zfs author... OpenZFS
checking zfs license... CDDL
checking whether NLS is requested... yes
checking for msgfmt... /nix/store/k6ymp2is9vps3a8vk4cd43bh80ghr0cj-gettext-0.21/bin/msgfmt
checking for gmsgfmt... /nix/store/k6ymp2is9vps3a8vk4cd43bh80ghr0cj-gettext-0.21/bin/msgfmt
checking for xgettext... /nix/store/k6ymp2is9vps3a8vk4cd43bh80ghr0cj-gettext-0.21/bin/xgettext
checking for msgmerge... /nix/store/k6ymp2is9vps3a8vk4cd43bh80ghr0cj-gettext-0.21/bin/msgmerge
checking for ld... ld -m elf_x86_64
checking if the linker (ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for the common suffixes of directories in the library search path... lib64,lib64
checking zfs config... kernel
checking the number of available CPUs... 8
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -Wno-unused-but-set-variable... yes
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -Wno-bool-compare... yes
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -Wimplicit-fallthrough... yes
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -Wframe-larger-than=<size>... yes
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -Wno-format-truncation... yes
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -Wno-format-zero-length... yes
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -fno-omit-frame-pointer... yes
checking whether /nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc supports -fno-ipa-sra... yes
checking whether to build with -fsanitize=address support... no
checking whether host toolchain supports SSE... yes
checking whether host toolchain supports SSE2... yes
checking whether host toolchain supports SSE3... yes
checking whether host toolchain supports SSSE3... yes
checking whether host toolchain supports SSE4.1... yes
checking whether host toolchain supports SSE4.2... yes
checking whether host toolchain supports AVX... yes
checking whether host toolchain supports AVX2... yes
checking whether host toolchain supports AVX512F... yes
checking whether host toolchain supports AVX512CD... yes
checking whether host toolchain supports AVX512DQ... yes
checking whether host toolchain supports AVX512BW... yes
checking whether host toolchain supports AVX512IFMA... yes
checking whether host toolchain supports AVX512VBMI... yes
checking whether host toolchain supports AVX512PF... yes
checking whether host toolchain supports AVX512ER... yes
checking whether host toolchain supports AVX512VL... yes
checking whether host toolchain supports AES... yes
checking whether host toolchain supports PCLMULQDQ... yes
checking whether host toolchain supports MOVBE... yes
checking whether host toolchain supports XSAVE... yes
checking whether host toolchain supports XSAVEOPT... yes
checking whether host toolchain supports XSAVES... yes
checking for system type (linux-gnu)... Linux
checking whether to enable pyzfs: ... no
checking for sed --in-place... --in-place
checking for cppcheck... no
checking for shellcheck... no
checking for checkbashisms... no
checking kernel source and build directories... done
checking kernel source directory... /nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source
checking kernel build directory... /nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/build
checking kernel source version... 5.18.6
checking for kernel config option compatibility... done
checking whether CONFIG_MODULES is defined... yes
checking whether CONFIG_BLOCK is defined... yes
checking whether mutex_lock() is GPL-only... no
checking whether CONFIG_TRIM_UNUSED_KSYM is disabled... yes
checking whether CONFIG_ZLIB_DEFLATE is defined... yes
checking whether CONFIG_ZLIB_INFLATE is defined... yes
checking kernel file name for module symbols... Module.symvers
checking whether fpu headers are available... asm/fpu/api.h asm/fpu/xcr.h asm/fpu/internal.h
checking whether objtool header is available... linux/objtool.h
checking whether wait_queue_entry_t exists... yes
checking whether /dev/zfs minor is available... 249
checking whether DECLARE_EVENT_CLASS() is available... no
checking for available kernel interfaces... done
checking whether access_ok() has 'type' parameter... no
checking whether global_node_page_state() exists... yes
checking whether global_zone_page_state() exists... yes
checking whether enum node_stat_item contains NR_FILE_PAGES... yes
checking whether enum node_stat_item contains NR_INACTIVE_ANON... yes
checking whether enum node_stat_item contains NR_INACTIVE_FILE... yes
checking whether enum zone_stat_item contains NR_FILE_PAGES... no
checking whether enum zone_stat_item contains NR_INACTIVE_ANON... no
checking whether enum zone_stat_item contains NR_INACTIVE_FILE... no
checking whether global_page_state enums are sane... yes
checking whether compile-time stack validation (objtool) is available... yes
checking whether STACK_FRAME_NON_STANDARD is defined... yes
checking whether pde_data() is lowercase... yes
checking whether fops->fallocate() exists... yes
checking whether FALLOC_FL_ZERO_RANGE exists... yes
checking whether zlib_deflate_workspacesize() wants 2 args... yes
checking whether struct rw_semaphore has member activity... no
checking whether struct rw_semaphore has atomic_long_t member count... yes
checking whether header linux/sched/rt.h exists... yes
checking whether header linux/sched/signal.h exists... yes
checking whether io_schedule_timeout() is available... yes
checking whether usleep_range() is available... yes
checking whether kmem_cache_create_usercopy() exists... yes
checking whether kvmalloc(ptr, flags) is available... yes
checking whether __vmalloc(ptr, flags, pageflags) is available... no
checking whether wait_on_bit() takes an action... no
checking whether wq_head->head and wq_entry->entry exist... yes
checking whether timestamp_truncate() exists... yes
checking whether inode->i_*time's are timespec64... yes
checking whether inode_lock_shared() exists... yes
checking whether group_info->gid exists... yes
checking whether kernel_write() takes loff_t pointer... yes
checking whether kernel_read() takes loff_t pointer... yes
checking whether timer_setup() is available... yes
checking whether timer function expects timer_list... yes
checking whether struct timer_list has flags... yes
checking whether super_block->s_user_ns exists... yes
checking whether proc_ops structure exists... yes
checking whether bops->check_events() exists... yes
checking whether bops->release() is void... yes
checking whether bops->revalidate_disk() exists... no
checking whether REQ_FAILFAST_MASK is defined... yes
checking whether REQ_DISCARD is defined... no
checking whether REQ_FLUSH is defined... no
checking whether REQ_PREFLUSH is defined... yes
checking whether REQ_OP_DISCARD is defined... yes
checking whether REQ_OP_SECURE_ERASE is defined... yes
checking whether REQ_OP_FLUSH is defined... yes
checking whether bio->bi_opf is defined... yes
checking whether bio_set_op_attrs is available... yes
checking whether bio_set_dev() is available... yes
checking whether bio_set_dev() is GPL-only... yes
checking whether bio_set_dev() is a macro... no
checking whether bio_end_io_t wants 1 arg... yes
checking whether bio->bi_status exists... yes
checking whether bio has bi_iter... yes
checking whether submit_bio() wants 1 arg... yes
checking whether current->bio_list exists... yes
checking whether blkg_tryget() is available... no
checking whether bio->bi_bdev->bd_disk exists... yes
checking whether block_device_operations->submit_bio() returns void... yes
checking whether linux/blk-cgroup.h exists... yes
checking whether bio_alloc() wants 4 args... yes
checking whether blkdev_get_by_path() exists... yes
checking whether blkdev_put() exists... yes
checking whether blkdev_reread_part() exists... no
checking whether invalidate_bdev() exists... yes
checking whether lookup_bdev() wants dev_t arg... yes
checking whether bdev_logical_block_size() is available... yes
checking whether bdev_physical_block_size() is available... yes
checking whether check_disk_change() exists... no
checking whether bdev_check_media_change() exists... yes
checking whether bdev_whole() is available... yes
checking whether blkdev_get_by_path() handles ERESTARTSYS... no
checking whether blkdev_issue_secure_erase() is available... no
checking whether blkdev_issue_discard() is available... yes
checking whether struct blk_plug is available... yes
checking whether blk_queue bdi is dynamic... no
checking whether blk_queue_update_readahead() exists... no
checking whether disk_update_readahead() exists... yes
checking whether bdev_max_discard_sectors() is available... no
checking whether blk_queue_discard() is available... yes
checking whether bdev_max_secure_erase_sectors() is available... no
checking whether blk_queue_secure_erase() is available... yes
checking whether blk_queue_flag_set() exists... yes
checking whether blk_queue_flag_clear() exists... yes
checking whether blk_queue_flush() is available... no
checking whether blk_queue_write_cache() exists... yes
checking whether blk_queue_write_cache() is GPL-only... yes
checking whether blk_queue_max_hw_sectors() is available... yes
checking whether blk_queue_max_segments() is available... yes
checking whether GENHD_FL_EXT_DEVT flag is available... no
checking whether GENHD_FL_NO_PART flag is available... yes
checking whether revalidate_disk_size() is available... no
checking whether revalidate_disk() is available... no
checking whether get_disk_ro() is available... yes
checking whether generic_readlink is global... no
checking whether ql->discard_granularity is available... yes
checking whether inode_owner_or_capable() exists... no
checking whether inode_owner_or_capable() takes user_ns... yes
checking whether super_block uses const struct xattr_handler... yes
checking whether xattr_handler has name... yes
checking whether xattr_handler->get() wants dentry and inode... yes
checking whether xattr_handler->set() wants dentry, inode, and user_namespace... yes
checking whether xattr_handler->list() wants simple... yes
checking whether posix_acl_from_xattr() needs user_ns... yes
checking whether generic_setxattr() exists... no
checking whether posix_acl_release() is available... yes
checking whether posix_acl_release() is GPL-only... yes
checking whether set_cached_acl() is usable... yes
checking whether __posix_acl_chmod exists... yes
checking whether posix_acl_equiv_mode() wants umode_t... yes
checking whether posix_acl_valid() wants user namespace... yes
checking whether iops->get_acl() exists... yes
checking whether iops->set_acl() exists... yes
checking whether uncached_acl_sentinel() exists... yes
checking whether posix_acl has refcount_t... yes
checking whether iops->getattr() takes user_namespace... yes
checking whether inode_set_flags() exists... yes
checking whether inode_set_iversion() exists... yes
checking whether sops->show_options() wants dentry... yes
checking whether file_inode() is available... yes
checking whether file_dentry() is available... yes
checking whether fops->fsync() wants no dentry... no
checking whether fops->fsync() wants range... range
checking whether fops->aio_fsync() exists... no
checking whether sops->evict_inode() exists... yes
checking whether sops->dirty_inode() wants flags... yes
checking whether super_block has s_shrink... yes
checking whether shrink_control has nid... yes
checking whether new 2-argument shrinker exists... no
checking whether cs->count_objects callback exists... yes
checking whether struct shrink_control exists... yes
checking whether iops->mkdir() takes struct user_namespace*... yes
checking whether iops->lookup() passes flags... yes
checking whether iops->create() takes struct user_namespace*... yes
checking whether iops->get_link() passes delayed... yes
checking whether i_op->tmpfile() exists... yes
checking whether dops->d_automount() exists... yes
checking whether eops->encode_fh() wants inode... yes
checking whether eops->commit_metadata() exists... yes
checking whether clear_inode() is available... yes
checking whether setattr_prepare() is available and accepts struct user_namespace*... yes
checking whether insert_inode_locked() is available... yes
checking whether d_make_root() is available... yes
checking whether d_obtain_alias() is available... yes
checking whether d_prune_aliases() is available... yes
checking whether d_set_d_op() is available... yes
checking whether dops->d_revalidate() takes struct nameidata... no
checking whether dentry uses const struct dentry_operations... yes
checking whether super_block has s_d_op... yes
checking whether truncate_setsize() is available... yes
checking whether security_inode_init_security wants callback... yes
checking whether fst->mount() exists... yes
checking whether super_setup_bdi_name() exists... yes
checking whether set_nlink() is available... yes
checking whether sget() wants 5 args... yes
checking whether lseek_execute() is available... no
checking whether filemap_dirty_folio exists... yes
checking whether read_folio exists... no
checking whether vfs_getattr() wants 4 args... yes
checking whether vfs_getattr() wants 2 args... no
checking whether vfs_getattr() wants 3 args... no
checking whether vfs_fsync() wants 2 args... yes
checking whether fops->iterate_shared() is available... yes
checking whether aops->direct_IO() uses iov_iter... yes
checking whether aops->readpages exists... no
checking whether __set_page_dirty_nobuffers exists... no
checking whether fops->read/write_iter() are available... yes
checking whether new_sync_read/write() are available... no
checking whether generic_write_checks() takes kiocb... yes
checking whether iov_iter types are available... yes
checking whether iov_iter_advance() is available... yes
checking whether iov_iter_revert() is available... yes
checking whether iov_iter_fault_in_readable() is available... no
checking whether fault_in_iov_iter_readable() is available... yes
checking whether iov_iter_count() is available... yes
checking whether copy_to_iter() is available... yes
checking whether copy_from_iter() is available... yes
checking whether iov_iter_type() is available... yes
checking whether kmap_atomic wants 1 args... yes
checking whether follow_down_one() is available... yes
checking whether submit_bio is member of struct block_device_operations... yes
checking whether blk_alloc_disk() exists... yes
checking whether generic bdev_*_io_acct() are available... no
checking whether generic disk_*_io_acct() are available... yes
checking whether kernel fpu is available... internal with internal XSAVE
checking whether kernel defines fmode_t... yes
checking whether kuid_t/kgid_t is available... yes
checking whether i_(uid|gid)_(read|write) exist... yes
checking whether module_param_call() is hardened... yes
checking whether iops->rename() takes struct user_namespace*... yes
checking whether current_time() exists... yes
checking whether ns_capable exists... yes
checking whether has_capability() is available... yes
checking whether cred_t->user_ns exists... yes
checking whether kuid_has_mapping/kgid_has_mapping exist... yes
checking whether in_compat_syscall() is available... yes
checking whether ktime_get_coarse_real_ts64() exists... yes
checking whether ktime_get_raw_ts64() exists... yes
checking whether totalram_pages() exists... yes
checking whether totalhigh_pages() exists... yes
checking whether kstrtoul() exists... yes
checking whether percpu_counter_init() wants gfp_t... yes
checking whether percpu_counter_add_batch() is defined... yes
checking whether is inside percpu_ref.data... yes
checking whether CPU hotplug APIs exist... yes
checking whether generic_fillattr requires struct user_namespace*... yes
checking whether iops->mknod() takes struct user_namespace*... yes
checking whether iops->symlink() takes struct user_namespace*... yes
checking whether bio_max_segs() exists... yes
checking whether signal_stop() exists... yes
checking whether kernel_siginfo_t tyepedef exists... yes
checking whether struct kobj_type.default_groups exists... yes
checking whether set_special_state() exists... yes
checking whether standalone <linux/stdarg.h> exists... yes
checking whether folio_wait_bit() exists... yes
checking whether add_disk() returns int... yes
checking whether kthread_complete_and_exit() is available... yes
checking whether dequeue_signal() takes 4 arguments... yes
checking whether ZERO_PAGE() is GPL-only... no
checking whether __copy_from_user_inatomic is available... yes
checking os distribution... 
checking default package type... rpm
checking default init directory... ${prefix}/etc/init.d
checking default init script type and shell... lsb:/bin/sh
checking default nfs server init script... nfs
checking default init config directory... /etc/default
checking whether initramfs-tools is available... no
checking whether rpm is available... no
checking whether rpmbuild is available... no
checking whether spec files are available... yes (rpm/generic/*.spec.in)
checking whether dpkg is available... no
checking whether dpkg-buildpackage is available... no
checking whether alien is available... no
checking whether assertion support will be enabled... no
checking whether debuginfo support will be forced... no
checking whether basic kmem accounting is enabled... no
checking whether detailed kmem tracking is enabled... no
checking whether FreeBSD kernel INVARIANTS checks are enabled... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cmd/Makefile
config.status: creating cmd/arc_summary/Makefile
config.status: creating cmd/arcstat/Makefile
config.status: creating cmd/dbufstat/Makefile
config.status: creating cmd/fsck_zfs/Makefile
config.status: creating cmd/mount_zfs/Makefile
config.status: creating cmd/raidz_test/Makefile
config.status: creating cmd/vdev_id/Makefile
config.status: creating cmd/zdb/Makefile
config.status: creating cmd/zed/Makefile
config.status: creating cmd/zed/zed.d/Makefile
config.status: creating cmd/zfs/Makefile
config.status: creating cmd/zfs_ids_to_path/Makefile
config.status: creating cmd/zgenhostid/Makefile
config.status: creating cmd/zhack/Makefile
config.status: creating cmd/zinject/Makefile
config.status: creating cmd/zpool/Makefile
config.status: creating cmd/zstream/Makefile
config.status: creating cmd/ztest/Makefile
config.status: creating cmd/zvol_id/Makefile
config.status: creating cmd/zvol_wait/Makefile
config.status: creating cmd/zpool_influxdb/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/bash_completion.d/Makefile
config.status: creating contrib/bpftrace/Makefile
config.status: creating contrib/dracut/02zfsexpandknowledge/Makefile
config.status: creating contrib/dracut/90zfs/Makefile
config.status: creating contrib/dracut/Makefile
config.status: creating contrib/initramfs/Makefile
config.status: creating contrib/initramfs/conf.d/Makefile
config.status: creating contrib/initramfs/conf-hooks.d/Makefile
config.status: creating contrib/initramfs/hooks/Makefile
config.status: creating contrib/initramfs/scripts/Makefile
config.status: creating contrib/initramfs/scripts/local-top/Makefile
config.status: creating contrib/pam_zfs_key/Makefile
config.status: creating contrib/pyzfs/Makefile
config.status: creating contrib/pyzfs/setup.py
config.status: creating contrib/zcp/Makefile
config.status: creating etc/Makefile
config.status: creating etc/default/Makefile
config.status: creating etc/init.d/Makefile
config.status: creating etc/modules-load.d/Makefile
config.status: creating etc/sudoers.d/Makefile
config.status: creating etc/systemd/Makefile
config.status: creating etc/systemd/system-generators/Makefile
config.status: creating etc/systemd/system/Makefile
config.status: creating etc/zfs/Makefile
config.status: creating include/Makefile
config.status: creating include/os/Makefile
config.status: creating include/os/freebsd/Makefile
config.status: creating include/os/freebsd/linux/Makefile
config.status: creating include/os/freebsd/spl/Makefile
config.status: creating include/os/freebsd/spl/acl/Makefile
config.status: creating include/os/freebsd/spl/rpc/Makefile
config.status: creating include/os/freebsd/spl/sys/Makefile
config.status: creating include/os/freebsd/zfs/Makefile
config.status: creating include/os/freebsd/zfs/sys/Makefile
config.status: creating include/os/linux/Makefile
config.status: creating include/os/linux/kernel/Makefile
config.status: creating include/os/linux/kernel/linux/Makefile
config.status: creating include/os/linux/spl/Makefile
config.status: creating include/os/linux/spl/rpc/Makefile
config.status: creating include/os/linux/spl/sys/Makefile
config.status: creating include/os/linux/zfs/Makefile
config.status: creating include/os/linux/zfs/sys/Makefile
config.status: creating include/sys/Makefile
config.status: creating include/sys/crypto/Makefile
config.status: creating include/sys/fm/Makefile
config.status: creating include/sys/fm/fs/Makefile
config.status: creating include/sys/fs/Makefile
config.status: creating include/sys/lua/Makefile
config.status: creating include/sys/sysevent/Makefile
config.status: creating include/sys/zstd/Makefile
config.status: creating lib/Makefile
config.status: creating lib/libavl/Makefile
config.status: creating lib/libefi/Makefile
config.status: creating lib/libicp/Makefile
config.status: creating lib/libnvpair/Makefile
config.status: creating lib/libshare/Makefile
config.status: creating lib/libspl/Makefile
config.status: creating lib/libspl/include/Makefile
config.status: creating lib/libspl/include/ia32/Makefile
config.status: creating lib/libspl/include/ia32/sys/Makefile
config.status: creating lib/libspl/include/os/Makefile
config.status: creating lib/libspl/include/os/freebsd/Makefile
config.status: creating lib/libspl/include/os/freebsd/sys/Makefile
config.status: creating lib/libspl/include/os/linux/Makefile
config.status: creating lib/libspl/include/os/linux/sys/Makefile
config.status: creating lib/libspl/include/rpc/Makefile
config.status: creating lib/libspl/include/sys/Makefile
config.status: creating lib/libspl/include/sys/dktp/Makefile
config.status: creating lib/libspl/include/util/Makefile
config.status: creating lib/libtpool/Makefile
config.status: creating lib/libunicode/Makefile
config.status: creating lib/libuutil/Makefile
config.status: creating lib/libzfs/Makefile
config.status: creating lib/libzfs/libzfs.pc
config.status: creating lib/libzfsbootenv/Makefile
config.status: creating lib/libzfsbootenv/libzfsbootenv.pc
config.status: creating lib/libzfs_core/Makefile
config.status: creating lib/libzfs_core/libzfs_core.pc
config.status: creating lib/libzpool/Makefile
config.status: creating lib/libzstd/Makefile
config.status: creating lib/libzutil/Makefile
config.status: creating man/Makefile
config.status: creating module/Kbuild
config.status: creating module/Makefile
config.status: creating module/avl/Makefile
config.status: creating module/icp/Makefile
config.status: creating module/lua/Makefile
config.status: creating module/nvpair/Makefile
config.status: creating module/os/linux/spl/Makefile
config.status: creating module/os/linux/zfs/Makefile
config.status: creating module/spl/Makefile
config.status: creating module/unicode/Makefile
config.status: creating module/zcommon/Makefile
config.status: creating module/zfs/Makefile
config.status: creating module/zstd/Makefile
config.status: creating rpm/Makefile
config.status: creating rpm/generic/Makefile
config.status: creating rpm/generic/zfs-dkms.spec
config.status: creating rpm/generic/zfs-kmod.spec
config.status: creating rpm/generic/zfs.spec
config.status: creating rpm/redhat/Makefile
config.status: creating rpm/redhat/zfs-dkms.spec
config.status: creating rpm/redhat/zfs-kmod.spec
config.status: creating rpm/redhat/zfs.spec
config.status: creating scripts/Makefile
config.status: creating tests/Makefile
config.status: creating tests/runfiles/Makefile
config.status: creating tests/test-runner/Makefile
config.status: creating tests/test-runner/bin/Makefile
config.status: creating tests/test-runner/include/Makefile
config.status: creating tests/test-runner/man/Makefile
config.status: creating tests/zfs-tests/Makefile
config.status: creating tests/zfs-tests/callbacks/Makefile
config.status: creating tests/zfs-tests/cmd/Makefile
config.status: creating tests/zfs-tests/cmd/badsend/Makefile
config.status: creating tests/zfs-tests/cmd/btree_test/Makefile
config.status: creating tests/zfs-tests/cmd/chg_usr_exec/Makefile
config.status: creating tests/zfs-tests/cmd/devname2devid/Makefile
config.status: creating tests/zfs-tests/cmd/draid/Makefile
config.status: creating tests/zfs-tests/cmd/dir_rd_update/Makefile
config.status: creating tests/zfs-tests/cmd/file_check/Makefile
config.status: creating tests/zfs-tests/cmd/file_trunc/Makefile
config.status: creating tests/zfs-tests/cmd/file_write/Makefile
config.status: creating tests/zfs-tests/cmd/get_diff/Makefile
config.status: creating tests/zfs-tests/cmd/largest_file/Makefile
config.status: creating tests/zfs-tests/cmd/libzfs_input_check/Makefile
config.status: creating tests/zfs-tests/cmd/mkbusy/Makefile
config.status: creating tests/zfs-tests/cmd/mkfile/Makefile
config.status: creating tests/zfs-tests/cmd/mkfiles/Makefile
config.status: creating tests/zfs-tests/cmd/mktree/Makefile
config.status: creating tests/zfs-tests/cmd/mmap_exec/Makefile
config.status: creating tests/zfs-tests/cmd/mmap_libaio/Makefile
config.status: creating tests/zfs-tests/cmd/mmap_seek/Makefile
config.status: creating tests/zfs-tests/cmd/mmapwrite/Makefile
config.status: creating tests/zfs-tests/cmd/nvlist_to_lua/Makefile
config.status: creating tests/zfs-tests/cmd/randfree_file/Makefile
config.status: creating tests/zfs-tests/cmd/randwritecomp/Makefile
config.status: creating tests/zfs-tests/cmd/readmmap/Makefile
config.status: creating tests/zfs-tests/cmd/rename_dir/Makefile
config.status: creating tests/zfs-tests/cmd/rm_lnkcnt_zero_file/Makefile
config.status: creating tests/zfs-tests/cmd/send_doall/Makefile
config.status: creating tests/zfs-tests/cmd/stride_dd/Makefile
config.status: creating tests/zfs-tests/cmd/threadsappend/Makefile
config.status: creating tests/zfs-tests/cmd/user_ns_exec/Makefile
config.status: creating tests/zfs-tests/cmd/xattrtest/Makefile
config.status: creating tests/zfs-tests/include/Makefile
config.status: creating tests/zfs-tests/tests/Makefile
config.status: creating tests/zfs-tests/tests/functional/Makefile
config.status: creating tests/zfs-tests/tests/functional/acl/Makefile
config.status: creating tests/zfs-tests/tests/functional/acl/off/Makefile
config.status: creating tests/zfs-tests/tests/functional/acl/posix/Makefile
config.status: creating tests/zfs-tests/tests/functional/acl/posix-sa/Makefile
config.status: creating tests/zfs-tests/tests/functional/alloc_class/Makefile
config.status: creating tests/zfs-tests/tests/functional/arc/Makefile
config.status: creating tests/zfs-tests/tests/functional/atime/Makefile
config.status: creating tests/zfs-tests/tests/functional/bootfs/Makefile
config.status: creating tests/zfs-tests/tests/functional/btree/Makefile
config.status: creating tests/zfs-tests/tests/functional/cache/Makefile
config.status: creating tests/zfs-tests/tests/functional/cachefile/Makefile
config.status: creating tests/zfs-tests/tests/functional/casenorm/Makefile
config.status: creating tests/zfs-tests/tests/functional/channel_program/Makefile
config.status: creating tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile
config.status: creating tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile
config.status: creating tests/zfs-tests/tests/functional/chattr/Makefile
config.status: creating tests/zfs-tests/tests/functional/checksum/Makefile
config.status: creating tests/zfs-tests/tests/functional/clean_mirror/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zdb/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_change-key/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_clone/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_copies/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_create/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_diff/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_inherit/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_jail/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_program/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_property/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_receive/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_rename/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_reservation/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_rollback/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_send/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_set/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_share/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_sysfs/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_unshare/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zfs_wait/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_attach/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_create/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_destroy/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_detach/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_events/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_expand/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_export/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_get/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_history/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_import/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_initialize/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_offline/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_online/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_replace/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_resilver/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_set/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_split/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_status/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_sync/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_trim/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_wait/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_user/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_user/misc/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_user/zfs_list/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_user/zpool_iostat/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_user/zpool_list/Makefile
config.status: creating tests/zfs-tests/tests/functional/cli_user/zpool_status/Makefile
config.status: creating tests/zfs-tests/tests/functional/compression/Makefile
config.status: creating tests/zfs-tests/tests/functional/cp_files/Makefile
config.status: creating tests/zfs-tests/tests/functional/crtime/Makefile
config.status: creating tests/zfs-tests/tests/functional/ctime/Makefile
config.status: creating tests/zfs-tests/tests/functional/deadman/Makefile
config.status: creating tests/zfs-tests/tests/functional/delegate/Makefile
config.status: creating tests/zfs-tests/tests/functional/devices/Makefile
config.status: creating tests/zfs-tests/tests/functional/events/Makefile
config.status: creating tests/zfs-tests/tests/functional/exec/Makefile
config.status: creating tests/zfs-tests/tests/functional/fallocate/Makefile
config.status: creating tests/zfs-tests/tests/functional/fault/Makefile
config.status: creating tests/zfs-tests/tests/functional/features/Makefile
config.status: creating tests/zfs-tests/tests/functional/features/async_destroy/Makefile
config.status: creating tests/zfs-tests/tests/functional/features/large_dnode/Makefile
config.status: creating tests/zfs-tests/tests/functional/grow/Makefile
config.status: creating tests/zfs-tests/tests/functional/history/Makefile
config.status: creating tests/zfs-tests/tests/functional/hkdf/Makefile
config.status: creating tests/zfs-tests/tests/functional/inheritance/Makefile
config.status: creating tests/zfs-tests/tests/functional/inuse/Makefile
config.status: creating tests/zfs-tests/tests/functional/io/Makefile
config.status: creating tests/zfs-tests/tests/functional/l2arc/Makefile
config.status: creating tests/zfs-tests/tests/functional/large_files/Makefile
config.status: creating tests/zfs-tests/tests/functional/largest_pool/Makefile
config.status: creating tests/zfs-tests/tests/functional/libzfs/Makefile
config.status: creating tests/zfs-tests/tests/functional/limits/Makefile
config.status: creating tests/zfs-tests/tests/functional/link_count/Makefile
config.status: creating tests/zfs-tests/tests/functional/log_spacemap/Makefile
config.status: creating tests/zfs-tests/tests/functional/migration/Makefile
config.status: creating tests/zfs-tests/tests/functional/mmap/Makefile
config.status: creating tests/zfs-tests/tests/functional/mmp/Makefile
config.status: creating tests/zfs-tests/tests/functional/mount/Makefile
config.status: creating tests/zfs-tests/tests/functional/mv_files/Makefile
config.status: creating tests/zfs-tests/tests/functional/nestedfs/Makefile
config.status: creating tests/zfs-tests/tests/functional/no_space/Makefile
config.status: creating tests/zfs-tests/tests/functional/nopwrite/Makefile
config.status: creating tests/zfs-tests/tests/functional/online_offline/Makefile
config.status: creating tests/zfs-tests/tests/functional/pam/Makefile
config.status: creating tests/zfs-tests/tests/functional/pool_checkpoint/Makefile
config.status: creating tests/zfs-tests/tests/functional/pool_names/Makefile
config.status: creating tests/zfs-tests/tests/functional/poolversion/Makefile
config.status: creating tests/zfs-tests/tests/functional/privilege/Makefile
config.status: creating tests/zfs-tests/tests/functional/procfs/Makefile
config.status: creating tests/zfs-tests/tests/functional/projectquota/Makefile
config.status: creating tests/zfs-tests/tests/functional/pyzfs/Makefile
config.status: creating tests/zfs-tests/tests/functional/quota/Makefile
config.status: creating tests/zfs-tests/tests/functional/raidz/Makefile
config.status: creating tests/zfs-tests/tests/functional/redacted_send/Makefile
config.status: creating tests/zfs-tests/tests/functional/redundancy/Makefile
config.status: creating tests/zfs-tests/tests/functional/refquota/Makefile
config.status: creating tests/zfs-tests/tests/functional/refreserv/Makefile
config.status: creating tests/zfs-tests/tests/functional/removal/Makefile
config.status: creating tests/zfs-tests/tests/functional/rename_dirs/Makefile
config.status: creating tests/zfs-tests/tests/functional/replacement/Makefile
config.status: creating tests/zfs-tests/tests/functional/reservation/Makefile
config.status: creating tests/zfs-tests/tests/functional/rootpool/Makefile
config.status: creating tests/zfs-tests/tests/functional/rsend/Makefile
config.status: creating tests/zfs-tests/tests/functional/scrub_mirror/Makefile
config.status: creating tests/zfs-tests/tests/functional/simd/Makefile
config.status: creating tests/zfs-tests/tests/functional/slog/Makefile
config.status: creating tests/zfs-tests/tests/functional/snapshot/Makefile
config.status: creating tests/zfs-tests/tests/functional/snapused/Makefile
config.status: creating tests/zfs-tests/tests/functional/sparse/Makefile
config.status: creating tests/zfs-tests/tests/functional/suid/Makefile
config.status: creating tests/zfs-tests/tests/functional/threadsappend/Makefile
config.status: creating tests/zfs-tests/tests/functional/tmpfile/Makefile
config.status: creating tests/zfs-tests/tests/functional/trim/Makefile
config.status: creating tests/zfs-tests/tests/functional/truncate/Makefile
config.status: creating tests/zfs-tests/tests/functional/upgrade/Makefile
config.status: creating tests/zfs-tests/tests/functional/user_namespace/Makefile
config.status: creating tests/zfs-tests/tests/functional/userquota/Makefile
config.status: creating tests/zfs-tests/tests/functional/vdev_zaps/Makefile
config.status: creating tests/zfs-tests/tests/functional/write_dirs/Makefile
config.status: creating tests/zfs-tests/tests/functional/xattr/Makefile
config.status: creating tests/zfs-tests/tests/functional/zpool_influxdb/Makefile
config.status: creating tests/zfs-tests/tests/functional/zvol/Makefile
config.status: creating tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/Makefile
config.status: creating tests/zfs-tests/tests/functional/zvol/zvol_cli/Makefile
config.status: creating tests/zfs-tests/tests/functional/zvol/zvol_misc/Makefile
config.status: creating tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile
config.status: creating tests/zfs-tests/tests/perf/Makefile
config.status: creating tests/zfs-tests/tests/perf/fio/Makefile
config.status: creating tests/zfs-tests/tests/perf/regression/Makefile
config.status: creating tests/zfs-tests/tests/perf/scripts/Makefile
config.status: creating tests/zfs-tests/tests/stress/Makefile
config.status: creating udev/Makefile
config.status: creating udev/rules.d/Makefile
config.status: creating zfs.release
config.status: creating zfs_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
configurePhase completed in 46 seconds
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j8 -l8 SHELL=/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/bash O=\$\(buildRoot\) CC=/nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc HOSTCC=/nix/store/ag2bpk0lzjvj409znklrz5krkpc5imzs-gcc-wrapper-11.3.0/bin/cc ARCH=x86_64
  GEN      gitrev
make  all-recursive
make[1]: Entering directory '/build/source'
Making all in include
make[2]: Entering directory '/build/source/include'
Making all in sys
make[3]: Entering directory '/build/source/include/sys'
Making all in fm
make[4]: Entering directory '/build/source/include/sys/fm'
Making all in fs
make[5]: Entering directory '/build/source/include/sys/fm/fs'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/source/include/sys/fm/fs'
make[5]: Entering directory '/build/source/include/sys/fm'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/build/source/include/sys/fm'
make[4]: Leaving directory '/build/source/include/sys/fm'
Making all in fs
make[4]: Entering directory '/build/source/include/sys/fs'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/source/include/sys/fs'
Making all in crypto
make[4]: Entering directory '/build/source/include/sys/crypto'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/source/include/sys/crypto'
Making all in lua
make[4]: Entering directory '/build/source/include/sys/lua'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/source/include/sys/lua'
Making all in sysevent
make[4]: Entering directory '/build/source/include/sys/sysevent'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/source/include/sys/sysevent'
Making all in zstd
make[4]: Entering directory '/build/source/include/sys/zstd'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/source/include/sys/zstd'
make[4]: Entering directory '/build/source/include/sys'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/source/include/sys'
make[3]: Leaving directory '/build/source/include/sys'
Making all in os
make[3]: Entering directory '/build/source/include/os'
Making all in linux
make[4]: Entering directory '/build/source/include/os/linux'
Making all in kernel
make[5]: Entering directory '/build/source/include/os/linux/kernel'
Making all in linux
make[6]: Entering directory '/build/source/include/os/linux/kernel/linux'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/build/source/include/os/linux/kernel/linux'
make[6]: Entering directory '/build/source/include/os/linux/kernel'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/build/source/include/os/linux/kernel'
make[5]: Leaving directory '/build/source/include/os/linux/kernel'
Making all in spl
make[5]: Entering directory '/build/source/include/os/linux/spl'
Making all in rpc
make[6]: Entering directory '/build/source/include/os/linux/spl/rpc'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/build/source/include/os/linux/spl/rpc'
Making all in sys
make[6]: Entering directory '/build/source/include/os/linux/spl/sys'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/build/source/include/os/linux/spl/sys'
make[6]: Entering directory '/build/source/include/os/linux/spl'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/build/source/include/os/linux/spl'
make[5]: Leaving directory '/build/source/include/os/linux/spl'
Making all in zfs
make[5]: Entering directory '/build/source/include/os/linux/zfs'
Making all in sys
make[6]: Entering directory '/build/source/include/os/linux/zfs/sys'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/build/source/include/os/linux/zfs/sys'
make[6]: Entering directory '/build/source/include/os/linux/zfs'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/build/source/include/os/linux/zfs'
make[5]: Leaving directory '/build/source/include/os/linux/zfs'
make[5]: Entering directory '/build/source/include/os/linux'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/build/source/include/os/linux'
make[4]: Leaving directory '/build/source/include/os/linux'
make[4]: Entering directory '/build/source/include/os'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/source/include/os'
make[3]: Leaving directory '/build/source/include/os'
make[3]: Entering directory '/build/source/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/source/include'
make[2]: Leaving directory '/build/source/include'
Making all in rpm
make[2]: Entering directory '/build/source/rpm'
Making all in generic
make[3]: Entering directory '/build/source/rpm/generic'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/source/rpm/generic'
Making all in redhat
make[3]: Entering directory '/build/source/rpm/redhat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/source/rpm/redhat'
make[3]: Entering directory '/build/source/rpm'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/source/rpm'
make[2]: Leaving directory '/build/source/rpm'
Making all in module
make[2]: Entering directory '/build/source/module'
list='icp lua zstd'; for td in $list; do make -C $td; done
make[3]: Entering directory '/build/source/module/icp'
mkdir -p api core spi io os algs algs/aes algs/edonr algs/modes algs/sha1 algs/sha2 algs/skein asm-x86_64 asm-x86_64/aes asm-x86_64/modes asm-x86_64/sha1 asm-x86_64/sha2 asm-i386 asm-generic
make[3]: Leaving directory '/build/source/module/icp'
make[3]: Entering directory '/build/source/module/lua'
mkdir -p setjmp
make[3]: Leaving directory '/build/source/module/lua'
make[3]: Entering directory '/build/source/module/zstd'
mkdir -p lib
make[3]: Leaving directory '/build/source/module/zstd'
make -C /nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/build  \
	  \
	M="$PWD"  O=/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/build CONFIG_ZFS=m modules
make[3]: Entering directory '/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/build'
  CC [M]  /build/source/module/avl/avl.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-atomic.o
  CC [M]  /build/source/module/nvpair/nvpair.o
  CC [M]  /build/source/module/lua/lapi.o
  CC [M]  /build/source/module/icp/illumos-crypto.o
  CC [M]  /build/source/module/unicode/u8_textprep.o
  CC [M]  /build/source/module/zcommon/cityhash.o
  CC [M]  /build/source/module/zfs/abd.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-condvar.o
  LD [M]  /build/source/module/avl/zavl.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-cred.o
  CC [M]  /build/source/module/icp/api/kcf_cipher.o
  CC [M]  /build/source/module/zcommon/zfeature_common.o
  CC [M]  /build/source/module/icp/api/kcf_digest.o
  CC [M]  /build/source/module/zcommon/zfs_comutil.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-err.o
  CC [M]  /build/source/module/zfs/aggsum.o
  CC [M]  /build/source/module/lua/lauxlib.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-generic.o
  CC [M]  /build/source/module/icp/api/kcf_mac.o
  CC [M]  /build/source/module/unicode/uconv.o
  CC [M]  /build/source/module/zcommon/zfs_deleg.o
  CC [M]  /build/source/module/icp/api/kcf_miscapi.o
  CC [M]  /build/source/module/nvpair/fnvpair.o
  CC [M]  /build/source/module/zfs/arc.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-kmem.o
  CC [M]  /build/source/module/lua/lbaselib.o
  CC [M]  /build/source/module/zfs/blkptr.o
  CC [M]  /build/source/module/zcommon/zfs_fletcher.o
  LD [M]  /build/source/module/unicode/zunicode.o
  CC [M]  /build/source/module/zstd/zfs_zstd.o
  CC [M]  /build/source/module/nvpair/nvpair_alloc_spl.o
  CC [M]  /build/source/module/icp/api/kcf_ctxops.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-kmem-cache.o
  CC [M]  /build/source/module/lua/lcode.o
  CC [M]  /build/source/module/nvpair/nvpair_alloc_fixed.o
  CC [M]  /build/source/module/zstd/lib/zstd.o
  CC [M]  /build/source/module/icp/core/kcf_callprov.o
  LD [M]  /build/source/module/nvpair/znvpair.o
  CC [M]  /build/source/module/zstd/zstd_sparc.o
  CC [M]  /build/source/module/icp/core/kcf_prov_tabs.o
  CC [M]  /build/source/module/zcommon/zfs_fletcher_superscalar.o
  CC [M]  /build/source/module/zcommon/zfs_fletcher_superscalar4.o
  CC [M]  /build/source/module/zcommon/zfs_namecheck.o
  CC [M]  /build/source/module/zcommon/zfs_prop.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-kstat.o
  CC [M]  /build/source/module/lua/lcompat.o
  CC [M]  /build/source/module/icp/core/kcf_sched.o
  CC [M]  /build/source/module/zcommon/zpool_prop.o
  CC [M]  /build/source/module/icp/core/kcf_mech_tabs.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-proc.o
  CC [M]  /build/source/module/zcommon/zprop_common.o
  CC [M]  /build/source/module/lua/lcorolib.o
  CC [M]  /build/source/module/zcommon/zfs_fletcher_intel.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-procfs-list.o
  CC [M]  /build/source/module/lua/lctype.o
  CC [M]  /build/source/module/icp/core/kcf_prov_lib.o
  CC [M]  /build/source/module/zcommon/zfs_fletcher_sse.o
  CC [M]  /build/source/module/icp/spi/kcf_spi.o
  CC [M]  /build/source/module/zcommon/zfs_fletcher_avx512.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-taskq.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-thread.o
  CC [M]  /build/source/module/lua/ldebug.o
  CC [M]  /build/source/module/zfs/bplist.o
  CC [M]  /build/source/module/icp/io/aes.o
  LD [M]  /build/source/module/zcommon/zcommon.o
  CC [M]  /build/source/module/icp/io/edonr_mod.o
  CC [M]  /build/source/module/icp/io/sha1_mod.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-trace.o
  CC [M]  /build/source/module/zfs/bpobj.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-tsd.o
  CC [M]  /build/source/module/lua/ldo.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-vmem.o
  CC [M]  /build/source/module/icp/io/sha2_mod.o
  CC [M]  /build/source/module/icp/io/skein_mod.o
  CC [M]  /build/source/module/icp/os/modhash.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-xdr.o
  CC [M]  /build/source/module/spl/../os/linux/spl/spl-zlib.o
  CC [M]  /build/source/module/lua/lfunc.o
  CC [M]  /build/source/module/zfs/bptree.o
  CC [M]  /build/source/module/zfs/btree.o
  CC [M]  /build/source/module/icp/os/modconf.o
  CC [M]  /build/source/module/icp/algs/modes/cbc.o
  LD [M]  /build/source/module/spl/spl.o
  CC [M]  /build/source/module/icp/algs/modes/ccm.o
  CC [M]  /build/source/module/icp/algs/modes/ctr.o
  CC [M]  /build/source/module/lua/lgc.o
  CC [M]  /build/source/module/zfs/bqueue.o
  CC [M]  /build/source/module/icp/algs/modes/ecb.o
  CC [M]  /build/source/module/icp/algs/modes/gcm_generic.o
  CC [M]  /build/source/module/icp/algs/modes/gcm.o
  CC [M]  /build/source/module/icp/algs/modes/modes.o
  CC [M]  /build/source/module/zfs/dataset_kstats.o
  CC [M]  /build/source/module/zfs/dbuf.o
  CC [M]  /build/source/module/icp/algs/aes/aes_impl_generic.o
  CC [M]  /build/source/module/icp/algs/aes/aes_impl.o
  CC [M]  /build/source/module/lua/llex.o
  CC [M]  /build/source/module/icp/algs/aes/aes_modes.o
  CC [M]  /build/source/module/zfs/dbuf_stats.o
  CC [M]  /build/source/module/icp/algs/edonr/edonr.o
  CC [M]  /build/source/module/icp/algs/sha1/sha1.o
  CC [M]  /build/source/module/lua/lmem.o
  CC [M]  /build/source/module/lua/lobject.o
  CC [M]  /build/source/module/icp/algs/sha2/sha2.o
  CC [M]  /build/source/module/zfs/ddt.o
  CC [M]  /build/source/module/icp/algs/skein/skein.o
  CC [M]  /build/source/module/lua/lopcodes.o
In file included from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/string.h:253�[m�[K,
                 from �[01m�[K/build/source/include/os/linux/spl/sys/strings.h:24�[m�[K,
                 from �[01m�[K/build/source/module/icp/algs/edonr/edonr.c:32�[m�[K:
In function '�[01m�[Kfortify_memcpy_chk�[m�[K',
    inlined from '�[01m�[KEdonRInit�[m�[K' at �[01m�[K/build/source/module/icp/algs/edonr/edonr.c:491:3�[m�[K:
�[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/fortify-string.h:328:25:�[m�[K �[01;31m�[Kerror: �[m�[Kcall to '�[01m�[K__write_overflow_field�[m�[K' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [�[01;31m�[K�]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wattribute-warning�-Werror=attribute-warning�]8;;��[m�[K]
  328 |                         �[01;31m�[K__write_overflow_field(p_size_field, size)�[m�[K;
      |                         �[01;31m�[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
cc1: all warnings being treated as errors
make[5]: *** [/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/scripts/Makefile.build:288: /build/source/module/icp/algs/edonr/edonr.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC [M]  /build/source/module/lua/lparser.o
  CC [M]  /build/source/module/lua/lstate.o
  CC [M]  /build/source/module/lua/lstring.o
make[4]: *** [/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/scripts/Makefile.build:550: /build/source/module/icp] Error 2
make[4]: *** Waiting for unfinished jobs....
  CC [M]  /build/source/module/lua/lstrlib.o
  CC [M]  /build/source/module/lua/ltable.o
  CC [M]  /build/source/module/zfs/ddt_zap.o
  CC [M]  /build/source/module/zfs/dmu.o
  CC [M]  /build/source/module/lua/ltablib.o
  CC [M]  /build/source/module/lua/ltm.o
  CC [M]  /build/source/module/lua/lvm.o
  CC [M]  /build/source/module/lua/lzio.o
  AS [M]  /build/source/module/lua/setjmp/setjmp.o
  CC [M]  /build/source/module/zfs/dmu_diff.o
  CC [M]  /build/source/module/zfs/dmu_object.o
  CC [M]  /build/source/module/zfs/dmu_objset.o
  CC [M]  /build/source/module/zfs/dmu_recv.o
  CC [M]  /build/source/module/zfs/dmu_redact.o
  CC [M]  /build/source/module/zfs/dmu_send.o
  CC [M]  /build/source/module/zfs/dmu_traverse.o
  CC [M]  /build/source/module/zfs/dmu_tx.o
  LD [M]  /build/source/module/lua/zlua.o
  CC [M]  /build/source/module/zfs/dmu_zfetch.o
  CC [M]  /build/source/module/zfs/dnode.o
  CC [M]  /build/source/module/zfs/dnode_sync.o
  CC [M]  /build/source/module/zfs/dsl_bookmark.o
  CC [M]  /build/source/module/zfs/dsl_crypt.o
  CC [M]  /build/source/module/zfs/dsl_dataset.o
  CC [M]  /build/source/module/zfs/dsl_deadlist.o
  CC [M]  /build/source/module/zfs/dsl_deleg.o
In file included from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/string.h:253�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/bitmap.h:11�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/cpumask.h:12�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/arch/x86/include/asm/cpumask.h:5�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/arch/x86/include/asm/msr.h:11�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/arch/x86/include/asm/processor.h:22�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/arch/x86/include/asm/timex.h:5�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/timex.h:67�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/time32.h:13�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/time.h:60�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/stat.h:19�[m�[K,
                 from �[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/module.h:13�[m�[K,
                 from �[01m�[K/build/source/include/os/linux/spl/sys/atomic.h:27�[m�[K,
                 from �[01m�[K/build/source/include/sys/zfs_context.h:46�[m�[K,
                 from �[01m�[K/build/source/module/zfs/dsl_bookmark.c:22�[m�[K:
In function '�[01m�[Kfortify_memset_chk�[m�[K',
    inlined from '�[01m�[Kdsl_bookmark_set_phys�[m�[K' at �[01m�[K/build/source/module/zfs/dsl_bookmark.c:384:3�[m�[K:
�[01m�[K/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/include/linux/fortify-string.h:242:25:�[m�[K �[01;31m�[Kerror: �[m�[Kcall to '�[01m�[K__write_overflow_field�[m�[K' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [�[01;31m�[K�]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wattribute-warning�-Werror=attribute-warning�]8;;��[m�[K]
  242 |                         �[01;31m�[K__write_overflow_field(p_size_field, size)�[m�[K;
      |                         �[01;31m�[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~�[m�[K
  CC [M]  /build/source/module/zfs/dsl_destroy.o
cc1: all warnings being treated as errors
make[5]: *** [/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/scripts/Makefile.build:288: /build/source/module/zfs/dsl_bookmark.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/scripts/Makefile.build:550: /build/source/module/zfs] Error 2
  LD [M]  /build/source/module/zstd/zzstd.o
make[3]: *** [/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/source/Makefile:1838: /build/source/module] Error 2
make[3]: Leaving directory '/nix/store/ihdv194y3fw10zgazid0v3fldhl12vvk-linux-5.18.6-dev/lib/modules/5.18.6/build'
make[2]: *** [Makefile:55: modules-Linux] Error 2
make[2]: Leaving directory '/build/source/module'
make[1]: *** [Makefile:930: all-recursive] Error 1
make[1]: Leaving directory '/build/source'
make: *** [Makefile:791: all] Error 2
@hmenke hmenke added the Type: Defect Incorrect behavior (e.g. crash, hang) label Jul 3, 2022
@rincebrain
Copy link
Contributor

In the interim, just...don't compile with -Werror?

@behlendorf
Copy link
Contributor

These warnings can be safely ignored and will not result in a build failure unless compiling a debug build with --enable-debug. It's largely a matter of both the 5.18 kernel and gcc 12 enabling new warnings by default. We'll get the changes to address the warnings in to the next point release at our usual cadence.

@behlendorf behlendorf added Type: Building Indicates an issue related to building binaries labels Jul 5, 2022
hmenke added a commit to hmenke/nixpkgs that referenced this issue Jul 5, 2022
To make it possible to build ZFS 2.1.5 against Linux 5.18 we have to disable
this specific error condition.  Judging from this comment [1] on the ZFS issue
tracker, upstream doesn't compile with -Werror at all, so it is safe to disable
turning this warning into an error.

[1] openzfs/zfs#13622 (comment)
@hmenke
Copy link
Author

hmenke commented Jul 5, 2022

Please keep in mind that since torvalds/linux@3fe617c -Werror is enabled by default in the kernel, so these problems will likely appear more often in the future.

@rforced
Copy link

rforced commented Aug 4, 2022

Hello,

I'm running Rocky 8.6, with the 5.18 kernel from elrepo and am getting the same error. @rincebrain mentions not to compile with -Werror. I'm not changing any of the compilation flags yet the build still fails with this problem. How do I tell dkms not to build with that flag?

@rincebrain
Copy link
Contributor

As @hmenke said, Linux decided that -Werror by default was the correct life choice, in a kernel CONFIG_XYZ option.

I believe whenever 2.1.6 gets cut it should have any of the known warnings muted to avoid this problem biting people. There will probably still be issues that only come up in configurations that are not commonly tested that get fixed in a long tail after that release, but most of the issues should be resolved by that, I would hope.

@behlendorf
Copy link
Contributor

What is being staged for 2.1.6 can found in the staging branch, https://github.com/openzfs/zfs/tree/zfs-2.1.6-staging. It'd be great if you could give it a try and verify it does in fact resolve all the build warnings.

@ryao
Copy link
Contributor

ryao commented Sep 21, 2022

We are close to a 2.1.6 release:

#13886

@hmenke It would be great if you could verify that the proposed 2.1.6 release fixes your problem.

@hmenke
Copy link
Author

hmenke commented Sep 22, 2022

@ryao I can confirm that this fixed the attribute warning build errors.

Tested with NixOS/nixpkgs@261d8d4 and

diff --git a/pkgs/os-specific/linux/zfs/default.nix b/pkgs/os-specific/linux/zfs/default.nix
index eec2d1ad04a..eb8e427a1e0 100644
--- a/pkgs/os-specific/linux/zfs/default.nix
+++ b/pkgs/os-specific/linux/zfs/default.nix
@@ -220,9 +220,10 @@ in {
     latestCompatibleLinuxPackages = linuxPackages_5_18;
 
     # this package should point to the latest release.
-    version = "2.1.5";
+    version = "2.1.6";
+    rev = "refs/pull/13886/head";
 
-    sha256 = "sha256-a9rmuPO8R8UfxdHvwjfFuYRGn97a1MPmLZRvr3l0swE=";
+    sha256 = "sha256-XEZ1A5u9eHgXLdxo+29EZYwLlEz3x6a+PDL0DDfkMJU=";
   };
 
   zfsUnstable = common {

@ryao ryao mentioned this issue Sep 22, 2022
13 tasks
@szubersk
Copy link
Contributor

szubersk commented Nov 12, 2022

@hmenke would you mind confirming if the OpenZFS zfs-2.1.6 tag compiles well under Nix? If so, this bug report could be closed.

@hmenke
Copy link
Author

hmenke commented Nov 12, 2022

@szubersk Yes, it works. See my previous comment: #13622 (comment)

@hmenke hmenke closed this as completed Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

6 participants