[Pkg-zfsonlinux-devel] Bug#915886: zfs-dkms: module FTBFS for 4.18.0-3-amd64: NR_FILE_PAGES in either node_stat_item or zone_stat_item: NOT FOUND
Andreas Beckmann
anbe at debian.org
Fri Dec 7 15:58:52 GMT 2018
Package: zfs-dkms
Version: 0.7.12-1
Severity: serious
Hi,
# dkms build -k 4.18.0-3-amd64 zfs/0.7.12
Kernel preparation unnecessary for this kernel. Skipping...
Running the pre_build script:
checking for gawk... no
checking for mawk... mawk
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 build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/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/ld option to reload object files... -r
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 ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/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 dependency style of gcc... none
checking whether to build with code coverage support... no
checking zfs author... OpenZFS on Linux
checking zfs license... CDDL
checking zfs config... kernel
checking for -Wno-unused-but-set-variable support... yes
checking for -Wno-bool-compare support... yes
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 for target asm dir... asm-x86_64
checking kernel source directory... /lib/modules/4.18.0-3-amd64/source
checking kernel build directory... /lib/modules/4.18.0-3-amd64/build
checking kernel source version... 4.18.0-3-amd64
checking kernel file name for module symbols... Module.symvers
checking spl source directory... /usr/src/spl-0.7.12
checking spl build directory... /var/lib/dkms/spl/0.7.12/4.18.0-3-amd64/x86_64
checking spl source version... 0.7.12-1
checking spl file name for module symbols... Module.symvers
checking whether modules can be built... yes
checking for compile-time stack validation (objtool)... yes
checking whether kernel was built with 16K or larger stacks... yes
checking whether kernel was built with CONFIG_DEBUG_LOCK_ALLOC... no
checking whether DECLARE_EVENT_CLASS() is available... no
checking whether current->bio_tail exists... no
checking whether current->bio_list exists... yes
checking whether super_block->s_user_ns exists... yes
checking whether submit_bio() wants 1 arg... yes
checking whether bops->check_events() exists... yes
checking whether bops->release() is void... void
checking whether kernel defines fmode_t... yes
checking whether blkdev_get() wants 3 args... yes
checking whether blkdev_get_by_path() is available... yes
checking whether open_bdev_exclusive() is available... no
checking whether lookup_bdev() wants 1 arg... yes
checking whether invalidate_bdev() wants 1 arg... yes
checking whether bdev_logical_block_size() is available... yes
checking whether bdev_physical_block_size() is available... yes
checking whether bio has bi_iter... yes
checking whether BIO_RW_FAILFAST_* are defined... no
checking whether bio_set_dev() exists... yes
checking whether REQ_FAILFAST_MASK 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_end_io_t wants 1 arg... yes
checking whether bio->bi_status exists... yes
checking whether BIO_RW_BARRIER is defined... no
checking whether BIO_RW_DISCARD is defined... no
checking whether blk_queue bdi is dynamic... yes
checking whether blk_queue_flag_clear() exists... yes
checking whether blk_queue_flag_set() 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 the BIO_RW_UNPLUG enum is available... no
checking whether struct blk_plug is available... yes
checking whether get_disk_and_module() is available... yes
checking whether get_disk_ro() is available... yes
checking whether get_gendisk() is available... yes
checking whether bio_set_op_attrs is available... yes
checking whether generic_readlink is global... no
checking whether ql->discard_granularity is available... yes
checking whether super_block uses const struct xattr_handler... yes
checking whether xattr_handler has name... yes
checking whether xattr_handler->get() wants both dentry and inode... yes
checking whether xattr_handler->set() wants both dentry and inode... yes
checking whether xattr_handler->list() wants simple... yes
checking whether inode_owner_or_capable() exists... yes
checking whether posix_acl_from_xattr() needs user_ns... yes
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... no
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->permission() exists... yes
checking whether iops->permission() wants nameidata... no
checking whether iops->check_acl() exists... no
checking whether iops->check_acl() wants flags... no
checking whether iops->get_acl() exists... yes
checking whether iops->set_acl() exists... yes
checking whether iops->getattr() takes a path... yes
checking whether iops->getattr() takes a vfsmount... no
checking whether inode_set_flags() exists... yes
checking whether inode_set_iversion() exists... yes
checking whether uncached_acl_sentinel() 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... range
checking whether sops->evict_inode() exists... yes
checking whether sops->dirty_inode() wants flags... yes
checking whether sops->nr_cached_objects() exists... no
checking whether sops->free_cached_objects() exists... no
checking whether fops->fallocate() exists... yes
checking whether iops->fallocate() exists... no
checking whether fops->aio_fsync() exists... no
checking whether iops->create()/mkdir()/mknod() take umode_t... yes
checking whether iops->lookup() passes nameidata... no
checking whether iops->create() passes nameidata... no
checking whether iops->get_link() passes delayed... yes
checking whether i_op->tmpfile() exists... yes
checking whether iops->truncate_range() exists... no
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... 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 truncate_setsize() is available... yes
checking whether security_inode_init_security wants 6 args... no
checking whether security_inode_init_security wants callback... yes
checking whether fst->mount() exists... yes
checking whether super_block has s_shrink... no
checking whether shrink_control has nid... yes
checking whether super_block has s_instances list_head... no
checking whether super_block has s_d_op... yes
checking whether super_setup_bdi_name() exists... yes
checking whether set_nlink() is available... yes
checking whether elevator_change() is available... no
checking whether sget() wants 5 args... yes
checking whether lseek_execute() is available... no
checking whether fops->iterate_shared() is available... yes
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 kmap_atomic wants 1 args... yes
checking whether follow_down_one() is available... yes
checking whether make_request_fn() returns int... no
checking whether make_request_fn() returns void... no
checking whether make_request_fn() returns blk_qc_t... yes
checking whether 3 arg generic IO accounting symbols are available... no
checking whether 4 arg generic IO accounting symbols are available... yes
checking whether asm/fpu/api.h exists... yes
checking whether i_(uid|gid)_(read|write) exist... yes
checking whether module_param_call() is hardened... yes
checking whether iops->rename() wants flags... yes
checking whether generic_setxattr() exists... no
checking whether current_time() exists... yes
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... no
checking whether enum node_stat_item contains NR_INACTIVE_ANON... no
checking whether enum node_stat_item contains NR_INACTIVE_FILE... no
checking whether enum node_stat_item contains NR_SLAB_RECLAIMABLE... no
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 enum zone_stat_item contains NR_SLAB_RECLAIMABLE... no
checking global_page_state enums are sane... no
NR_FILE_PAGES in either node_stat_item or zone_stat_item: NOT FOUND
configure needs updating, see: config/kernel-global_page_state.m4
configure: error: in `/var/lib/dkms/zfs/0.7.12/build':
configure: error: SHUT 'ER DOWN CLANCY, SHE'S PUMPIN' MUD!
See `config.log' for more details
Building module:
cleaning build area...(bad exit status: 2)
make -j112 KERNELRELEASE=4.18.0-3-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.18.0-3-amd64 (x86_64)
Consult /var/lib/dkms/zfs/0.7.12/build/make.log for more information.
# cat /var/lib/dkms/zfs/0.7.12/build/make.log
DKMS make.log for zfs-0.7.12 for kernel 4.18.0-3-amd64 (x86_64)
Fri Dec 7 15:48:18 UTC 2018
make: *** No targets specified and no makefile found. Stop.
config.log is attached.
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.gz
Type: application/gzip
Size: 22492 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-zfsonlinux-devel/attachments/20181207/f7c6c68c/attachment.gz>
More information about the Pkg-zfsonlinux-devel
mailing list