Package: zfs-dkms
Version: 2.4.0-1
Severity: important

Hi,

zfs-dkms fails to build a module for Linux 6.19 in experimental:

/var/lib/dkms/zfs/2.4.0/build/module/os/linux/zfs/zfs_vnops_os.c: In function 
'zfs_link':
/var/lib/dkms/zfs/2.4.0/build/module/os/linux/zfs/zfs_vnops_os.c:3516:58: 
error: invalid operands to binary & (have 'struct inode_state_flags' and 'int')
 3516 |         is_tmpfile = (sip->i_nlink == 0 && (sip->i_state & I_LINKABLE));
      |                                             ~~~~~~~~~~~~ ^
      |                                                |
      |                                                struct inode_state_flags


Andreas
DKMS (dkms-3.2.2) make.log for zfs/2.4.0 for kernel 6.19-amd64 (x86_64)
Mon Jan 12 20:43:09 UTC 2026

Running the pre_build script
# command: cd /var/lib/dkms/zfs/2.4.0/build/ && 
/var/lib/dkms/zfs/2.4.0/build/configure --disable-dependency-tracking 
--prefix=/usr --with-config=kernel --with-linux=/lib/modules/6.19-amd64/source 
--with-linux-obj=/lib/modules/6.19-amd64/build --with-qat= --host= 
--enable-linux-experimental 
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... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking xargs -n works... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... x86_64-linux-gnu-gcc-15
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 x86_64-linux-gnu-gcc-15 accepts -g... yes
checking for x86_64-linux-gnu-gcc-15 option to enable C11 features... none 
needed
checking whether x86_64-linux-gnu-gcc-15 understands -c and -o together... yes
checking dependency style of x86_64-linux-gnu-gcc-15... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-linux-gnu-gcc-15... /usr/bin/x86_64-linux-gnu-ld
checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) 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 /usr/bin/x86_64-linux-gnu-ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ranlib... ranlib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking command to parse /usr/bin/nm -B output from x86_64-linux-gnu-gcc-15 
object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt 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 x86_64-linux-gnu-gcc-15 supports -fno-rtti -fno-exceptions... no
checking for x86_64-linux-gnu-gcc-15 option to produce PIC... -fPIC -DPIC
checking if x86_64-linux-gnu-gcc-15 PIC flag -fPIC -DPIC works... yes
checking if x86_64-linux-gnu-gcc-15 static flag -static works... yes
checking if x86_64-linux-gnu-gcc-15 supports -c -o file.o... yes
checking if x86_64-linux-gnu-gcc-15 supports -c -o file.o... (cached) yes
checking whether the x86_64-linux-gnu-gcc-15 linker 
(/usr/bin/x86_64-linux-gnu-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... yes
checking for gcc... (cached) x86_64-linux-gnu-gcc-15
checking whether the compiler supports GNU C... (cached) yes
checking whether x86_64-linux-gnu-gcc-15 accepts -g... (cached) yes
checking for x86_64-linux-gnu-gcc-15 option to enable C11 features... (cached) 
none needed
checking whether x86_64-linux-gnu-gcc-15 understands -c and -o together... 
(cached) yes
checking dependency style of x86_64-linux-gnu-gcc-15... (cached) none
checking whether ln -s works... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking dependency style of x86_64-linux-gnu-gcc-15... 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... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld... /usr/bin/x86_64-linux-gnu-ld -m elf_x86_64
checking if the linker (/usr/bin/x86_64-linux-gnu-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... 
lib,lib
checking zfs config... kernel
checking the number of available CPUs... 14
checking whether x86_64-linux-gnu-gcc-15 supports -Wno-clobbered... yes
checking whether x86_64-linux-gnu-gcc-15 supports -Winfinite-recursion... yes
checking whether x86_64-linux-gnu-gcc-15 supports -Winfinite-recursion... yes
checking whether x86_64-linux-gnu-gcc-15 supports -Wno-atomic-alignment... yes
checking whether x86_64-linux-gnu-gcc-15 supports -Wimplicit-fallthrough... yes
checking whether x86_64-linux-gnu-gcc-15 supports -Wframe-larger-than=<size>... 
yes
checking whether x86_64-linux-gnu-gcc-15 supports -Wno-format-truncation... yes
checking whether x86_64-linux-gnu-gcc-15 supports -Wno-format-zero-length... yes
checking whether x86_64-linux-gnu-gcc-15 supports -Wno-format-zero-length... yes
checking whether x86_64-linux-gnu-gcc-15 supports -Wformat-overflow... yes
checking whether x86_64-linux-gnu-gcc-15 supports -fno-omit-frame-pointer... yes
checking whether x86_64-linux-gnu-gcc-15 supports -fno-ipa-sra... yes
checking whether x86_64-linux-gnu-gcc-15 supports -fno-ipa-sra... yes
checking whether to build with -fsanitize=address support... no
checking whether to build with -fsanitize=undefined 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 VAES... yes
checking whether host toolchain supports VPCLMULQDQ... 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 for conflicting environment variables... done
checking for python3... python3
checking for python version... 3.13
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... 
${PYTHON_PREFIX}/lib/python3.13/site-packages
checking for python extension module directory (pyexecdir)... 
${PYTHON_EXEC_PREFIX}/lib/python3.13/site-packages
configure: Disabling pyzfs for kernel/srpm config
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 for parallel... no
checking kernel source and build directories... done
checking kernel source directory... /lib/modules/6.19-amd64/source
checking kernel build directory... /lib/modules/6.19-amd64/build
checking kernel source version... 6.19-amd64
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
checking whether objtool header is available... linux/objtool.h
checking whether /dev/zfs minor is available... 249
checking whether DECLARE_EVENT_CLASS() is available... no
checking for available kernel interfaces... done
checking whether kernel defines intptr_t... yes
checking whether access_ok() has 'type' parameter... no
checking whether compile-time stack validation (objtool) is available... yes
checking whether STACK_FRAME_NON_STANDARD is defined... yes
checking whether STACK_FRAME_NON_STANDARD asm macro is defined... yes
checking whether CONFIG_OBJTOOL_WERROR is defined... no
checking whether pde_data() is lowercase... yes
checking whether generic_fadvise() is available... yes
checking whether header linux/sched/rt.h exists... yes
checking whether usleep_range() is available... yes
checking whether __vmalloc(ptr, flags, pageflags) is available... no
checking whether timestamp_truncate() exists... yes
checking whether inode_get_ctime() exists... yes
checking whether inode_set_ctime_to_ts() exists... yes
checking whether inode_get_atime() exists... yes
checking whether inode_set_atime_to_ts() exists... yes
checking whether inode_get_mtime() exists... yes
checking whether inode_set_mtime_to_ts() exists... yes
checking whether proc_ops structure exists... yes
checking whether bops->check_events() exists... yes
checking whether bops->release() is void and takes 2 args... no
checking whether bops->release() is void and takes 1 arg... yes
checking whether bops->revalidate_disk() exists... no
checking whether bops->getgeo() takes gendisk as first arg... yes
checking whether bio_set_op_attrs is available... no
checking whether bio_set_dev() is GPL-only... yes
checking whether bio_set_dev() is a macro... no
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 bio_alloc() wants 4 args... yes
checking whether blkdev_get_by_path() exists and takes 3 args... no
checking whether blkdev_get_by_path() exists and takes 4 args... no
checking whether bdev_open_by_path() exists... no
checking whether bdev_file_open_by_path() exists... yes
checking whether blkdev_put() exists... no
checking whether blkdev_put() accepts void* as arg 2... no
checking whether bdev_release() exists... no
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... no
checking whether bdev_whole() is available... yes
checking whether bdev_nr_bytes() is available... yes
checking whether bdevname() exists... no
checking whether blkdev_get_by_path() handles ERESTARTSYS... no
checking whether blkdev_issue_discard() is available... yes
checking whether blkdev_issue_discard(flags) is available... no
checking whether __blkdev_issue_discard() is available... yes
checking whether __blkdev_issue_discard(flags) is available... no
checking whether blkdev_issue_secure_erase() is available... yes
checking whether bdev_kobj() exists... yes
checking whether part_to_dev() exists... no
checking whether disk_check_media_change() exists... yes
checking whether BLK_STS_RESV_CONFLICT is defined... yes
checking whether blk_mode_t is defined... yes
checking whether struct blk_plug is available... yes
checking whether blk_queue bdi is dynamic... no
checking whether backing_dev_info is available through queue gendisk... yes
checking whether blk_queue_update_readahead() exists... no
checking whether disk_update_readahead() exists... no
checking whether bdev_max_discard_sectors() is available... yes
checking whether bdev_max_secure_erase_sectors() is available... yes
checking whether blk_queue_max_hw_sectors() is available... no
checking whether blk_queue_max_segments() is available... no
checking whether block multiqueue hardware context is cached in struct 
request... 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 ql->discard_granularity is available... yes
checking whether inode_owner_or_capable() exists... no
checking whether inode_owner_or_capable() takes user_ns... no
checking whether inode_owner_or_capable() takes mnt_idmap... yes
checking whether super_block uses const struct xattr_handler... yes
checking whether xattr_handler->get() wants dentry and inode and flags... no
checking whether xattr_handler->set() wants dentry, inode, and mnt_idmap... yes
checking whether posix_acl_equiv_mode() wants umode_t... yes
checking whether iops->get_acl() exists... yes
checking whether iops->set_acl() with 4 args exists... yes
checking whether iops->setattr() takes mnt_idmap... yes
checking whether iops->getattr() takes mnt_idmap... yes
checking whether sops->show_options() wants dentry... yes
checking whether super_block has s_shrink... no
checking whether super_block has s_shrink pointer... yes
checking whether new var-arg register_shrinker() exists... no
checking whether shrinker_register() exists... yes
checking whether iops->mkdir() returns struct dentry*... yes
checking whether iops->lookup() passes flags... yes
checking whether iops->create() takes struct mnt_idmap*... yes
checking whether iops->permission() takes struct mnt_idmap*... yes
checking whether i_op->tmpfile() exists... yes
checking whether dops->d_automount() exists... yes
checking whether dops->d_revalidate() takes 4 args... yes
checking whether eops->commit_metadata() exists... yes
checking whether setattr_prepare() is available and accepts struct 
mnt_idmap*... yes
checking whether insert_inode_locked() is available... yes
checking whether d_obtain_alias() is available... yes
checking whether d_set_d_op() is available... no
checking whether set_default_d_op() is available... 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 SB_DYING is defined... yes
checking whether set_nlink() is available... yes
checking whether sget() wants 5 args... yes
checking whether filemap_dirty_folio exists... yes
checking whether read_folio exists... yes
checking whether migrate_folio exists... yes
checking whether migratepage exists... no
checking whether vfs_fsync() wants 2 args... yes
checking whether aops->readpages exists... no
checking whether aops->writepage exists... no
checking whether __set_page_dirty_nobuffers exists... no
checking whether fault_in_iov_iter_readable() is available... yes
checking whether iov_iter_type() is available... yes
checking whether iov_iter_get_pages2() is available... yes
checking whether iter_is_ubuf() is available... yes
checking whether iter_iov() is available... yes
checking whether generic_copy_file_range() is available... no
checking whether splice_copy_file_range() is available... yes
checking whether fops->remap_file_range() is available... yes
checking whether fops->clone_file_range() is available... no
checking whether fops->dedupe_file_range() is available... no
checking whether kmap_atomic wants 1 args... yes
checking whether kmap_local_page exists... 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... no
checking whether blk_alloc_disk() exists and takes 2 args... yes
checking whether struct queue_limits has a features field... yes
checking whether blk_cleanup_disk() exists... no
checking whether 6.3+ bdev_*_io_acct() are available... yes
checking whether kernel fpu is available... internal
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 iops->rename() takes struct mnt_idmap*... yes
checking whether totalram_pages() exists... yes
checking whether totalhigh_pages() exists... yes
checking whether is inside percpu_ref.data... yes
checking whether generic_fillattr requires struct mnt_idmap* and 
request_mask... yes
checking whether iops->mknod() takes struct mnt_idmap*... yes
checking whether iops->symlink() takes struct mnt_idmap*... yes
checking whether bio_max_segs() exists... yes
checking whether kernel_siginfo_t tyepedef exists... yes
checking whether struct kobj_type.default_groups exists... yes
checking whether standalone <linux/stdarg.h> exists... yes
checking whether strlcpy() exists... no
checking whether folio_wait_bit() exists... yes
checking whether readahead_page() exists... no
checking whether add_disk() returns int... yes
checking whether kthread_complete_and_exit() is available... yes
checking whether dequeue_signal() takes 4 arguments... no
checking whether 3-arg dequeue_signal() takes a type argument... yes
checking whether ZERO_PAGE() is GPL-only... no
checking whether __copy_from_user_inatomic is available... yes
checking whether APIs for idmapped mount are present... yes
checking whether idmapped mounts have a user namespace... yes
checking whether iattr->ia_vfsuid and iattr->ia_vfsgid exist... yes
checking whether int (*writepage_t)() takes struct folio*... no
checking whether write_cache_pages() is available... no
checking whether struct reclaim_state has reclaimed field... yes
checking whether register_sysctl_table exists... no
checking whether register_sysctl_sz exists... yes
checking whether proc_handler ctl_table arg is const... yes
checking whether copy_splice_read() exists... yes
checking whether fsync_bdev() exists... checking whether sync_blockdev() 
exists... yes
checking whether PG_error flag is available... no
checking whether page_size() is available... yes
checking whether page_mapping() is available... no
checking whether __assign_str() has one arg... no
checking whether file->f_version exists... no
checking whether pin_user_pages_unlocked() is available... yes
checking whether timer_delete_sync() is available... yes
checking whether super_block has s_wb_err... yes
checking whether sops->free_inode() exists... yes
checking whether ns_type is accessible through ns_common... yes
checking whether inode_generic_drop() exists... yes
checking whether kasan_enabled() is GPL-only... 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 whether objtool error on warning behavior is enabled... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating module/Kbuild
config.status: creating module/Makefile
config.status: creating zfs.release
config.status: creating scripts/objtool-wrapper
config.status: creating zfs_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
configure: WARNING:

        You are building OpenZFS against Linux version 6.19-amd64.

        This combination is considered EXPERIMENTAL by the OpenZFS project.
        Even if it appears to build and run correctly, there may be bugs that
        can cause SERIOUS DATA LOSS.

        YOU HAVE BEEN WARNED!

        If you choose to continue, we'd appreciate if you could report your
        results on the OpenZFS issue tracker at:

            https://github.com/openzfs/zfs/issues/new

        Your feedback will help us prepare a new OpenZFS release that supports
        this version of Linux.
                

# exit code: 0
# elapsed time: 00:04:02
----------------------------------------------------------------

Building module(s)
# command: make -j14 KERNELRELEASE=6.19-amd64
make  all-recursive
make[1]: Entering directory '/var/lib/dkms/zfs/2.4.0/build'
Making all in module
make[2]: Entering directory '/var/lib/dkms/zfs/2.4.0/build/module'
mkdir -p os/linux/spl/
mkdir -p avl/ icp/ icp/algs/aes/ icp/algs/blake3/ icp/algs/edonr/ 
icp/algs/modes/ icp/algs/sha2/ icp/algs/skein/ icp/api/ icp/asm-aarch64/blake3/ 
icp/asm-aarch64/sha2/ icp/asm-arm/sha2/ icp/asm-ppc64/blake3/ 
icp/asm-ppc64/sha2/ icp/asm-x86_64/aes/ icp/asm-x86_64/blake3/ 
icp/asm-x86_64/modes/ icp/asm-x86_64/sha2/ icp/core/ icp/io/ icp/spi/ lua/ 
lua/setjmp/ nvpair/ os/linux/zfs/ unicode/ zcommon/ zfs/ zstd/ zstd/lib/common/ 
zstd/lib/compress/ zstd/lib/decompress/
make -C /lib/modules/6.19-amd64/build CC=x86_64-linux-gnu-gcc-15 \
          \
         \
         \
         \
        M="$PWD"  O=/lib/modules/6.19-amd64/build CONFIG_ZFS=m modules
make[3]: Entering directory '/usr/src/linux-headers-6.19-amd64'
make[4]: Entering directory '/var/lib/dkms/zfs/2.4.0/build/module'
  CC [M]  os/linux/spl/spl-atomic.o
  CC [M]  os/linux/spl/spl-condvar.o
  CC [M]  os/linux/spl/spl-cred.o
  CC [M]  os/linux/spl/spl-err.o
  CC [M]  os/linux/spl/spl-generic.o
  CC [M]  os/linux/spl/spl-kmem-cache.o
  CC [M]  os/linux/spl/spl-kmem.o
  CC [M]  os/linux/spl/spl-kstat.o
  CC [M]  os/linux/spl/spl-proc.o
  CC [M]  os/linux/spl/spl-procfs-list.o
  CC [M]  os/linux/spl/spl-shrinker.o
  CC [M]  os/linux/spl/spl-taskq.o
  CC [M]  os/linux/spl/spl-thread.o
  CC [M]  os/linux/spl/spl-trace.o
  CC [M]  os/linux/spl/spl-tsd.o
  CC [M]  os/linux/spl/spl-vmem.o
  CC [M]  os/linux/spl/spl-xdr.o
  CC [M]  os/linux/spl/spl-zlib.o
  CC [M]  os/linux/spl/spl-zone.o
  CC [M]  avl/avl.o
  CC [M]  icp/algs/aes/aes_impl.o
  CC [M]  icp/algs/aes/aes_impl_generic.o
  CC [M]  icp/algs/aes/aes_modes.o
  CC [M]  icp/algs/blake3/blake3.o
  CC [M]  icp/algs/blake3/blake3_generic.o
  CC [M]  icp/algs/blake3/blake3_impl.o
  CC [M]  icp/algs/edonr/edonr.o
  CC [M]  icp/algs/modes/ccm.o
  CC [M]  icp/algs/modes/gcm.o
  CC [M]  icp/algs/modes/gcm_generic.o
  CC [M]  icp/algs/modes/modes.o
  CC [M]  icp/algs/sha2/sha2_generic.o
  CC [M]  icp/algs/sha2/sha256_impl.o
  CC [M]  icp/algs/sha2/sha512_impl.o
  CC [M]  icp/algs/skein/skein.o
  CC [M]  icp/algs/skein/skein_block.o
  CC [M]  icp/algs/skein/skein_iv.o
  CC [M]  icp/api/kcf_cipher.o
  CC [M]  icp/api/kcf_ctxops.o
  CC [M]  icp/api/kcf_mac.o
  CC [M]  icp/core/kcf_callprov.o
  CC [M]  icp/core/kcf_mech_tabs.o
  CC [M]  icp/core/kcf_prov_lib.o
  CC [M]  icp/core/kcf_prov_tabs.o
  CC [M]  icp/core/kcf_sched.o
  CC [M]  icp/illumos-crypto.o
  CC [M]  icp/io/aes.o
  CC [M]  icp/io/sha2_mod.o
  CC [M]  icp/spi/kcf_spi.o
  CC [M]  lua/lapi.o
  CC [M]  lua/lauxlib.o
  CC [M]  lua/lbaselib.o
  CC [M]  lua/lcode.o
  CC [M]  lua/lcompat.o
  CC [M]  lua/lcorolib.o
  CC [M]  lua/lctype.o
  CC [M]  lua/ldebug.o
  CC [M]  lua/ldo.o
  CC [M]  lua/lfunc.o
  CC [M]  lua/lgc.o
  CC [M]  lua/llex.o
  CC [M]  lua/lmem.o
  CC [M]  lua/lobject.o
  CC [M]  lua/lopcodes.o
  CC [M]  lua/lparser.o
  CC [M]  lua/lstate.o
  CC [M]  lua/lstring.o
  CC [M]  lua/lstrlib.o
  CC [M]  lua/ltable.o
  CC [M]  lua/ltablib.o
  CC [M]  lua/ltm.o
  CC [M]  lua/lvm.o
  CC [M]  lua/lzio.o
  AS [M]  lua/setjmp/setjmp.o
  CC [M]  nvpair/fnvpair.o
  CC [M]  nvpair/nvpair.o
  CC [M]  nvpair/nvpair_alloc_fixed.o
  CC [M]  nvpair/nvpair_alloc_spl.o
  CC [M]  unicode/u8_textprep.o
  CC [M]  zcommon/cityhash.o
  CC [M]  zcommon/simd_stat.o
  CC [M]  zcommon/zfeature_common.o
  CC [M]  zcommon/zfs_comutil.o
  CC [M]  zcommon/zfs_deleg.o
  CC [M]  zcommon/zfs_fletcher.o
  CC [M]  zcommon/zfs_fletcher_superscalar.o
  CC [M]  zcommon/zfs_fletcher_superscalar4.o
  CC [M]  zcommon/zfs_namecheck.o
  CC [M]  zcommon/zfs_prop.o
  CC [M]  zcommon/zfs_valstr.o
  CC [M]  zcommon/zpool_prop.o
  CC [M]  zcommon/zprop_common.o
  CC [M]  zstd/zfs_zstd.o
  CC [M]  zstd/zstd_sparc.o
  CC [M]  zstd/lib/common/entropy_common.o
  CC [M]  zstd/lib/common/error_private.o
  CC [M]  zstd/lib/common/fse_decompress.o
  CC [M]  zstd/lib/common/pool.o
  CC [M]  zstd/lib/common/zstd_common.o
  CC [M]  zstd/lib/compress/fse_compress.o
  CC [M]  zstd/lib/compress/hist.o
  CC [M]  zstd/lib/compress/huf_compress.o
  CC [M]  zstd/lib/compress/zstd_compress.o
  CC [M]  zstd/lib/compress/zstd_compress_literals.o
  CC [M]  zstd/lib/compress/zstd_compress_sequences.o
  CC [M]  zstd/lib/compress/zstd_compress_superblock.o
  CC [M]  zstd/lib/compress/zstd_double_fast.o
  CC [M]  zstd/lib/compress/zstd_fast.o
  CC [M]  zstd/lib/compress/zstd_lazy.o
  CC [M]  zstd/lib/compress/zstd_ldm.o
  CC [M]  zstd/lib/compress/zstd_opt.o
  CC [M]  zstd/lib/decompress/huf_decompress.o
  CC [M]  zstd/lib/decompress/zstd_ddict.o
  CC [M]  zstd/lib/decompress/zstd_decompress.o
  CC [M]  zstd/lib/decompress/zstd_decompress_block.o
  CC [M]  zfs/abd.o
  CC [M]  zfs/aggsum.o
  CC [M]  zfs/arc.o
  CC [M]  zfs/blake3_zfs.o
  CC [M]  zfs/blkptr.o
  CC [M]  zfs/bplist.o
  CC [M]  zfs/bpobj.o
  CC [M]  zfs/bptree.o
  CC [M]  zfs/bqueue.o
  CC [M]  zfs/brt.o
  CC [M]  zfs/btree.o
  CC [M]  zfs/dataset_kstats.o
  CC [M]  zfs/dbuf.o
  CC [M]  zfs/dbuf_stats.o
  CC [M]  zfs/ddt.o
  CC [M]  zfs/ddt_log.o
  CC [M]  zfs/ddt_stats.o
  CC [M]  zfs/ddt_zap.o
  CC [M]  zfs/dmu.o
  CC [M]  zfs/dmu_direct.o
  CC [M]  zfs/dmu_diff.o
  CC [M]  zfs/dmu_object.o
  CC [M]  zfs/dmu_objset.o
  CC [M]  zfs/dmu_recv.o
  CC [M]  zfs/dmu_redact.o
  CC [M]  zfs/dmu_send.o
  CC [M]  zfs/dmu_traverse.o
  CC [M]  zfs/dmu_tx.o
  CC [M]  zfs/dmu_zfetch.o
  CC [M]  zfs/dnode.o
  CC [M]  zfs/dnode_sync.o
  CC [M]  zfs/dsl_bookmark.o
  CC [M]  zfs/dsl_crypt.o
  CC [M]  zfs/dsl_dataset.o
  CC [M]  zfs/dsl_deadlist.o
  CC [M]  zfs/dsl_deleg.o
  CC [M]  zfs/dsl_destroy.o
  CC [M]  zfs/dsl_dir.o
  CC [M]  zfs/dsl_pool.o
  CC [M]  zfs/dsl_prop.o
  CC [M]  zfs/dsl_scan.o
  CC [M]  zfs/dsl_synctask.o
  CC [M]  zfs/dsl_userhold.o
  CC [M]  zfs/edonr_zfs.o
  CC [M]  zfs/fm.o
  CC [M]  zfs/gzip.o
  CC [M]  zfs/hkdf.o
  CC [M]  zfs/lz4.o
  CC [M]  zfs/lz4_zfs.o
  CC [M]  zfs/lzjb.o
  CC [M]  zfs/metaslab.o
  CC [M]  zfs/mmp.o
  CC [M]  zfs/multilist.o
  CC [M]  zfs/objlist.o
  CC [M]  zfs/pathname.o
  CC [M]  zfs/range_tree.o
  CC [M]  zfs/refcount.o
  CC [M]  zfs/rrwlock.o
  CC [M]  zfs/sa.o
  CC [M]  zfs/sha2_zfs.o
  CC [M]  zfs/skein_zfs.o
  CC [M]  zfs/spa.o
  CC [M]  zfs/spa_checkpoint.o
  CC [M]  zfs/spa_config.o
  CC [M]  zfs/spa_errlog.o
  CC [M]  zfs/spa_history.o
  CC [M]  zfs/spa_log_spacemap.o
  CC [M]  zfs/spa_misc.o
  CC [M]  zfs/spa_stats.o
  CC [M]  zfs/space_map.o
  CC [M]  zfs/space_reftree.o
  CC [M]  zfs/txg.o
  CC [M]  zfs/uberblock.o
  CC [M]  zfs/unique.o
  CC [M]  zfs/vdev.o
  CC [M]  zfs/vdev_draid.o
  CC [M]  zfs/vdev_draid_rand.o
  CC [M]  zfs/vdev_file.o
  CC [M]  zfs/vdev_indirect.o
  CC [M]  zfs/vdev_indirect_births.o
  CC [M]  zfs/vdev_indirect_mapping.o
  CC [M]  zfs/vdev_initialize.o
  CC [M]  zfs/vdev_label.o
  CC [M]  zfs/vdev_mirror.o
  CC [M]  zfs/vdev_missing.o
  CC [M]  zfs/vdev_queue.o
  CC [M]  zfs/vdev_raidz.o
  CC [M]  zfs/vdev_raidz_math.o
  CC [M]  zfs/vdev_raidz_math_scalar.o
  CC [M]  zfs/vdev_rebuild.o
  CC [M]  zfs/vdev_removal.o
  CC [M]  zfs/vdev_root.o
  CC [M]  zfs/vdev_trim.o
  CC [M]  zfs/zap.o
  CC [M]  zfs/zap_leaf.o
  CC [M]  zfs/zap_micro.o
  CC [M]  zfs/zcp.o
  CC [M]  zfs/zcp_get.o
  CC [M]  zfs/zcp_global.o
  CC [M]  zfs/zcp_iter.o
  CC [M]  zfs/zcp_set.o
  CC [M]  zfs/zcp_synctask.o
  CC [M]  zfs/zfeature.o
  CC [M]  zfs/zfs_byteswap.o
  CC [M]  zfs/zfs_chksum.o
  CC [M]  zfs/zfs_debug_common.o
  CC [M]  zfs/zfs_crrd.o
  CC [M]  zfs/zfs_fm.o
  CC [M]  zfs/zfs_fuid.o
  CC [M]  zfs/zfs_impl.o
  CC [M]  zfs/zfs_ioctl.o
  CC [M]  zfs/zfs_log.o
  CC [M]  zfs/zfs_onexit.o
  CC [M]  zfs/zfs_quota.o
  CC [M]  zfs/zfs_ratelimit.o
  CC [M]  zfs/zfs_replay.o
  CC [M]  zfs/zfs_rlock.o
  CC [M]  zfs/zfs_sa.o
  CC [M]  zfs/zfs_vnops.o
  CC [M]  zfs/zfs_znode.o
  CC [M]  zfs/zil.o
  CC [M]  zfs/zio.o
  CC [M]  zfs/zio_checksum.o
  CC [M]  zfs/zio_compress.o
  CC [M]  zfs/zio_inject.o
  CC [M]  zfs/zle.o
  CC [M]  zfs/zrlock.o
  CC [M]  zfs/zthr.o
  CC [M]  zfs/zvol.o
  CC [M]  os/linux/zfs/abd_os.o
  CC [M]  os/linux/zfs/arc_os.o
  CC [M]  os/linux/zfs/kasan_compat.o
  CC [M]  os/linux/zfs/mmp_os.o
  CC [M]  os/linux/zfs/policy.o
  CC [M]  os/linux/zfs/qat.o
  CC [M]  os/linux/zfs/qat_compress.o
  CC [M]  os/linux/zfs/qat_crypt.o
  CC [M]  os/linux/zfs/spa_misc_os.o
  CC [M]  os/linux/zfs/trace.o
  CC [M]  os/linux/zfs/vdev_disk.o
  CC [M]  os/linux/zfs/vdev_raidz.o
  CC [M]  os/linux/zfs/vdev_label_os.o
  CC [M]  os/linux/zfs/zfs_acl.o
  CC [M]  os/linux/zfs/zfs_ctldir.o
  CC [M]  os/linux/zfs/zfs_debug.o
  CC [M]  os/linux/zfs/zfs_dir.o
  CC [M]  os/linux/zfs/zfs_file_os.o
  CC [M]  os/linux/zfs/zfs_ioctl_os.o
  CC [M]  os/linux/zfs/zfs_racct.o
  CC [M]  os/linux/zfs/zfs_sysfs.o
  CC [M]  os/linux/zfs/zfs_uio.o
  CC [M]  os/linux/zfs/zfs_vfsops.o
  CC [M]  os/linux/zfs/zfs_vnops_os.o
  CC [M]  os/linux/zfs/zfs_znode_os.o
  CC [M]  os/linux/zfs/zio_crypt.o
  CC [M]  os/linux/zfs/zpl_ctldir.o
  CC [M]  os/linux/zfs/zpl_export.o
  CC [M]  os/linux/zfs/zpl_file.o
  CC [M]  os/linux/zfs/zpl_file_range.o
  CC [M]  os/linux/zfs/zpl_inode.o
  CC [M]  os/linux/zfs/zpl_super.o
  CC [M]  os/linux/zfs/zpl_xattr.o
  CC [M]  os/linux/zfs/zvol_os.o
  CC [M]  icp/algs/aes/aes_impl_aesni.o
/var/lib/dkms/zfs/2.4.0/build/module/os/linux/zfs/zfs_vnops_os.c: In function 
'zfs_link':
/var/lib/dkms/zfs/2.4.0/build/module/os/linux/zfs/zfs_vnops_os.c:3516:58: 
error: invalid operands to binary & (have 'struct inode_state_flags' and 'int')
 3516 |         is_tmpfile = (sip->i_nlink == 0 && (sip->i_state & I_LINKABLE));
      |                                             ~~~~~~~~~~~~ ^
      |                                                |
      |                                                struct inode_state_flags
  CC [M]  icp/algs/aes/aes_impl_x86-64.o
  CC [M]  icp/algs/modes/gcm_pclmulqdq.o
make[6]: *** [Kbuild:528: os/linux/zfs/zfs_vnops_os.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/usr/src/linux-headers-6.19-common/Makefile:2078: .] Error 2
make[4]: *** [/usr/src/linux-headers-6.19-common/Makefile:260: __sub-make] 
Error 2
make[4]: Leaving directory '/var/lib/dkms/zfs/2.4.0/build/module'
make[3]: *** [/usr/src/linux-headers-6.19-common/Makefile:260: __sub-make] 
Error 2
make[3]: Leaving directory '/usr/src/linux-headers-6.19-amd64'
make[2]: *** [Makefile:56: modules-Linux] Error 2
make[2]: Leaving directory '/var/lib/dkms/zfs/2.4.0/build/module'
make[1]: *** [Makefile:973: all-recursive] Error 1
make[1]: Leaving directory '/var/lib/dkms/zfs/2.4.0/build'
make: *** [Makefile:875: all] Error 2

# exit code: 2
# elapsed time: 00:02:59
----------------------------------------------------------------

Reply via email to