[Pkg-zfsonlinux-devel] Bug#851513: Build fails with Linux kernel 4.9.0

Nicolas Braud-Santoni nicolas at braud-santoni.eu
Tue Jan 31 16:44:29 UTC 2017


Package: zfs-dkms
Version: 0.6.5.8-3
Followup-For: Bug #851513

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Confirmed not working in stretch.

See attached make.log


- -- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zfs-dkms depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  dkms                   2.3-2
ii  lsb-release            9.20161125
ii  spl-dkms               0.6.5.8-3

Versions of packages zfs-dkms recommends:
pn  zfs-zed         <none>
ii  zfsutils-linux  0.6.5.8-3

zfs-dkms suggests no packages.

- -- debconf information:
* zfs-dkms/note-incompatible-licenses:
  zfs-dkms/stop-build-for-32bit-kernel: true
  zfs-dkms/stop-build-for-unknown-kernel: true

-----BEGIN PGP SIGNATURE-----

iQJNBAEBCgA3FiEEiWEbFKE2h/s1SpJPnU+IAQz+GeMFAliQvtYZHG5pY29sYXNA
YnJhdWQtc2FudG9uaS5ldQAKCRCdT4gBDP4Z43UID/9nsoTM9YLXQSvfQmnLmOdT
0MF+7JB98jJZ6ZwmdY5Ub+n7jSLUefNGcpSgi5+5Howu0vv1xPX261jjCHzzJne9
AvkUepTWPiwEP+b38mHAQyPJ5AHF38fBtqX37kZwHc+RtyzFiqcV3F/MDezRqCCN
fEFornUBASISeaZ8fHmE9pTG2RkCKQAVytLQqStvTUZ7l536jQCWdpccOigJ1OcS
2vNu+PJiKgNXXR6hhxjFc0Nv2dNDZanQVms/dSubLgQ38w6cUjMDS/ON4IesGXYD
Sl7H9up3x8vPW4vQFhsSkX9EnskE8MG+owPuxsF3qsbxK6l0TKHtkLHaStoJl2ou
amb6ivHjhj/x6kfGE2AI0pbjm6Kmf72thu2KcZXkpAWQqnnxA6TDQur/59zCSlxm
WT87qBc8tRbrzrKY/gNeGMQbVjC9+QWm81tglXaBnLv/dQWANXRQ1WDMAP2LnXwG
vZ5w9DZUpsZLsDgOP631/KhTIaa9IC79etdyaqTpfZAfo9H3L693iOPrHOAzIZTl
uC+4zZE2yBCYOE5bFIDg8xOkO889VhyYMv8mNxwd3RTcLEZDw06CWMLkzQcRBnOk
L0HpYz6gYOgHvZTs9SM7C9yCjnY12OtimZwR5wzOs1wyxtmCse1PPWhWGa4Jf5KO
aWQrK6pC1I1R4ZsDKiCJUA==
=l9wm
-----END PGP SIGNATURE-----
-------------- next part --------------
DKMS make.log for zfs-0.6.5.8 for kernel 4.9.0-1-amd64 (x86_64)
Tue Jan 31 13:44:17 CET 2017
make  all-recursive
make[1]: Entering directory '/var/lib/dkms/zfs/0.6.5.8/build'
Making all in module
make[2]: Entering directory '/var/lib/dkms/zfs/0.6.5.8/build/module'
make -C /lib/modules/4.9.0-1-amd64/build SUBDIRS=`pwd`  O=/lib/modules/4.9.0-1-amd64/build CONFIG_ZFS=m modules
make[3]: Entering directory '/usr/src/linux-headers-4.9.0-1-amd64'
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/avl/avl.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/nvpair/nvpair.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/unicode/u8_textprep.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zcommon/zfs_deleg.o
/var/lib/dkms/zfs/0.6.5.8/build/module/avl/avl.c: In function ?avl_add?:
/var/lib/dkms/zfs/0.6.5.8/build/module/avl/avl.c:647:2: warning: ?where? may be used uninitialized in this function [-Wmaybe-uninitialized]
  avl_insert(tree, new_node, where);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  LD [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/avl/zavl.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/arc.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zcommon/zfs_prop.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/nvpair/fnvpair.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zcommon/zprop_common.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/unicode/uconv.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/nvpair/nvpair_alloc_spl.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/nvpair/nvpair_alloc_fixed.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zcommon/zfs_namecheck.o
  LD [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/unicode/zunicode.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zcommon/zfs_comutil.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/blkptr.o
  LD [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/nvpair/znvpair.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zpios/pios.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/bplist.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zcommon/zfs_fletcher.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zcommon/zfs_uio.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/bpobj.o
  LD [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zpios/zpios.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dbuf.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zcommon/zpool_prop.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dbuf_stats.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/bptree.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/ddt.o
  LD [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zcommon/zcommon.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/ddt_zap.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dmu.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dmu_diff.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dmu_object.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dmu_objset.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dmu_send.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dmu_traverse.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dmu_tx.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dmu_zfetch.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dnode.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dnode_sync.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dsl_dataset.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dsl_deadlist.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dsl_deleg.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dsl_bookmark.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dsl_dir.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dsl_pool.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dsl_prop.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dsl_scan.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/dsl_synctask.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/fm.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/gzip.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/lzjb.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/lz4.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/metaslab.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/multilist.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/range_tree.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/refcount.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/rrwlock.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/sa.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/sha256.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/spa.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/spa_boot.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/spa_config.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/spa_errlog.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/spa_history.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/spa_misc.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/spa_stats.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/space_map.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/space_reftree.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/txg.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/trace.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/uberblock.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/unique.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/vdev.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/vdev_cache.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/vdev_disk.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/vdev_file.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/vdev_label.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/vdev_mirror.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/vdev_missing.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/vdev_queue.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/vdev_raidz.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/vdev_root.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zap.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zap_leaf.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zap_micro.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfeature.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfeature_common.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_acl.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_byteswap.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_ctldir.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_debug.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_dir.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_fm.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_fuid.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_ioctl.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_log.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_onexit.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_replay.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_sa.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_rlock.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_vfsops.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_vnops.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zfs_znode.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zil.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zio.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zio_checksum.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zio_compress.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zio_inject.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zle.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_ctldir.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_export.o
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_ctldir.c:408:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .rename  = zpl_snapdir_rename,
             ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_ctldir.c:408:13: note: (near initialization for ?zpl_ops_snapdir.rename?)
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_file.o
  CC [M]  /var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.o
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:298: recipe for target '/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_ctldir.o' failed
make[7]: *** [/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_ctldir.o] Error 1
make[7]: *** Waiting for unfinished jobs....
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_file.c:841:2: error: unknown field ?aio_fsync? specified in initializer
  .aio_fsync = zpl_aio_fsync,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_file.c:841:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .aio_fsync = zpl_aio_fsync,
               ^~~~~~~~~~~~~
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_file.c:841:15: note: (near initialization for ?zpl_file_operations.fasync?)
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:298: recipe for target '/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_file.o' failed
make[7]: *** [/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_file.o] Error 1
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:652:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .rename  = zpl_rename,
             ^~~~~~~~~~
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:652:13: note: (near initialization for ?zpl_inode_operations.rename?)
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:655:2: error: unknown field ?setxattr? specified in initializer
  .setxattr = generic_setxattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:655:14: error: ?generic_setxattr? undeclared here (not in a function)
  .setxattr = generic_setxattr,
              ^~~~~~~~~~~~~~~~
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:656:2: error: unknown field ?getxattr? specified in initializer
  .getxattr = generic_getxattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:656:14: error: ?generic_getxattr? undeclared here (not in a function)
  .getxattr = generic_getxattr,
              ^~~~~~~~~~~~~~~~
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:657:2: error: unknown field ?removexattr? specified in initializer
  .removexattr = generic_removexattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:657:17: error: ?generic_removexattr? undeclared here (not in a function)
  .removexattr = generic_removexattr,
                 ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:685:13: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .rename  = zpl_rename,
             ^~~~~~~~~~
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:685:13: note: (near initialization for ?zpl_dir_inode_operations.rename?)
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:688:2: error: unknown field ?setxattr? specified in initializer
  .setxattr = generic_setxattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:689:2: error: unknown field ?getxattr? specified in initializer
  .getxattr = generic_getxattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:690:2: error: unknown field ?removexattr? specified in initializer
  .removexattr = generic_removexattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:715:2: error: unknown field ?setxattr? specified in initializer
  .setxattr = generic_setxattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:716:2: error: unknown field ?getxattr? specified in initializer
  .getxattr = generic_getxattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:717:2: error: unknown field ?removexattr? specified in initializer
  .removexattr = generic_removexattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:724:2: error: unknown field ?setxattr? specified in initializer
  .setxattr = generic_setxattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:725:2: error: unknown field ?getxattr? specified in initializer
  .getxattr = generic_getxattr,
  ^
/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.c:726:2: error: unknown field ?removexattr? specified in initializer
  .removexattr = generic_removexattr,
  ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:298: recipe for target '/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.o' failed
make[7]: *** [/var/lib/dkms/zfs/0.6.5.8/build/module/zfs/zpl_inode.o] Error 1
/usr/src/linux-headers-4.9.0-1-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/zfs/0.6.5.8/build/module/zfs' failed
make[6]: *** [/var/lib/dkms/zfs/0.6.5.8/build/module/zfs] Error 2
/usr/src/linux-headers-4.9.0-1-common/Makefile:1507: recipe for target '_module_/var/lib/dkms/zfs/0.6.5.8/build/module' failed
make[5]: *** [_module_/var/lib/dkms/zfs/0.6.5.8/build/module] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[4]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-4.9.0-1-amd64'
Makefile:16: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: Leaving directory '/var/lib/dkms/zfs/0.6.5.8/build/module'
Makefile:683: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/lib/dkms/zfs/0.6.5.8/build'
Makefile:556: recipe for target 'all' failed
make: *** [all] Error 2


More information about the Pkg-zfsonlinux-devel mailing list