{"action":"opened","issue":{"url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/183","labels_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/183/comments","events_url":"https://api.github.com/repos/zfsonlinux/pkg-zfs/issues/183/events","html_url":"https://github.com/zfsonlinux/pkg-zfs/issues/183","id":115834072,"number":183,"title":"Ubuntu 15.10 - 4.2.0-17-generic module build fails","user":{"login":"mrBulb","id":14090308,"avatar_url":"https://avatars.githubusercontent.com/u/14090308?v=3","gravatar_id":"","url":"https://api.github.com/users/mrBulb","html_url":"https://github.com/mrBulb","followers_url":"https://api.github.com/users/mrBulb/followers","following_url":"https://api.github.com/users/mrBulb/following{/other_user}","gists_url":"https://api.github.com/users/mrBulb/gists{/gist_id}","starred_url":"https://api.github.com/users/mrBulb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrBulb/subscriptions","organizations_url":"https://api.github.com/users/mrBulb/orgs","repos_url":"https://api.github.com/users/mrBulb/repos","events_url":"https://api.github.com/users/mrBulb/events{/privacy}","received_events_url":"https://api.github.com/users/mrBulb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-09T09:01:45Z","updated_at":"2015-11-09T09:01:45Z","closed_at":null,"body":"Moved from https://github.com/zfsonlinux/spl/issues/495.\r\n\r\nHey received the following message when updated the kernel from 4.2.0-16-generic 4.2.0-17-generic via apt-get:\r\n\r\n    Running depmod.\r\n    update-initramfs: deferring update (hook will be called later)\r\n    Examining /etc/kernel/postinst.d.\r\n    run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic\r\n    run-parts: executing /etc/kernel/postinst.d/dkms 4.2.0-17-generic /boot/vmlinuz-4.2.0-17-generic\r\n    configure: error:\r\n        *** Please make sure the kmod spl devel <kernel> package for your\r\n        *** distribution is installed then try again.  If that fails you\r\n        *** can specify the location of the spl objects with the\r\n        *** '--with-spl-obj=PATH' option.\r\n    Error! Bad return status for module build on kernel: 4.2.0-17-generic (x86_64)\r\n    Consult /var/lib/dkms/zfs/0.6.5.3/build/make.log for more information.\r\n\r\nThe make log:\r\n\r\n    DKMS make.log for zfs-0.6.5.3 for kernel 4.2.0-17-generic (x86_64)\r\n    Fr 6. Nov 09:29:45 CET 2015\r\n    make  all-recursive\r\n    make[1]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build'\r\n    Making all in include\r\n    make[2]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/include'\r\n    Making all in linux\r\n    make[3]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/include/linux'\r\n    make[3]: Nothing to be done for 'all'.\r\n    make[3]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/include/linux'\r\n    Making all in sys\r\n    make[3]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys'\r\n    Making all in fm\r\n    make[4]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys/fm'\r\n    Making all in fs\r\n    make[5]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys/fm/fs'\r\n    make[5]: Nothing to be done for 'all'.\r\n    make[5]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys/fm/fs'\r\n    make[5]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys/fm'\r\n    make[5]: Nothing to be done for 'all-am'.\r\n    make[5]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys/fm'\r\n    make[4]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys/fm'\r\n    Making all in fs\r\n    make[4]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys/fs'\r\n    make[4]: Nothing to be done for 'all'.\r\n    make[4]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys/fs'\r\n    make[4]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys'\r\n    make[4]: Nothing to be done for 'all-am'.\r\n    make[4]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys'\r\n    make[3]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/include/sys'\r\n    make[3]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/include'\r\n    make[3]: Nothing to be done for 'all-am'.\r\n    make[3]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/include'\r\n    make[2]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/include'\r\n    Making all in rpm\r\n    make[2]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/rpm'\r\n    #\r\n    make[2]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/rpm'\r\n    Making all in module\r\n    make[2]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build/module'\r\n    make -C /lib/modules/4.2.0-17-generic/build SUBDIRS=`pwd`  CONFIG_ZFS=m modules\r\n    make[3]: Entering directory '/usr/src/linux-headers-4.2.0-17-generic'\r\n      CC [M]  /var/lib/dkms/zfs/0.6.5.3/build/module/avl/avl.o\r\n    /var/lib/dkms/zfs/0.6.5.3/build/module/avl/avl.c: In function ‘avl_add’:\r\n    /var/lib/dkms/zfs/0.6.5.3/build/module/avl/avl.c:647:2: warning: ‘where’ may be used uninitialized in this function [-Wmaybe-uninitialized]\r\n      avl_insert(tree, new_node, where);\r\n      ^\r\n      LD [M]  /var/lib/dkms/zfs/0.6.5.3/build/module/avl/zavl.o\r\n      CC [M]  /var/lib/dkms/zfs/0.6.5.3/build/module/nvpair/nvpair.o\r\n      ... A bunch ob objects\r\n    \r\n      Building modules, stage 2.\r\n      MODPOST 6 modules\r\n      CC      /var/lib/dkms/zfs/0.6.5.3/build/module/avl/zavl.mod.o\r\n      LD [M]  /var/lib/dkms/zfs/0.6.5.3/build/module/avl/zavl.ko\r\n      CC      /var/lib/dkms/zfs/0.6.5.3/build/module/nvpair/znvpair.mod.o\r\n      LD [M]  /var/lib/dkms/zfs/0.6.5.3/build/module/nvpair/znvpair.ko\r\n      CC      /var/lib/dkms/zfs/0.6.5.3/build/module/unicode/zunicode.mod.o\r\n      LD [M]  /var/lib/dkms/zfs/0.6.5.3/build/module/unicode/zunicode.ko\r\n      CC      /var/lib/dkms/zfs/0.6.5.3/build/module/zcommon/zcommon.mod.o\r\n      LD [M]  /var/lib/dkms/zfs/0.6.5.3/build/module/zcommon/zcommon.ko\r\n      CC      /var/lib/dkms/zfs/0.6.5.3/build/module/zfs/zfs.mod.o\r\n      LD [M]  /var/lib/dkms/zfs/0.6.5.3/build/module/zfs/zfs.ko\r\n      CC      /var/lib/dkms/zfs/0.6.5.3/build/module/zpios/zpios.mod.o\r\n      LD [M]  /var/lib/dkms/zfs/0.6.5.3/build/module/zpios/zpios.ko\r\n    make[3]: Leaving directory '/usr/src/linux-headers-4.2.0-17-generic'\r\n    make[2]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build/module'\r\n    make[2]: Entering directory '/var/lib/dkms/zfs/0.6.5.3/build'\r\n    make[2]: Nothing to be done for 'all-am'.\r\n    make[2]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build'\r\n    make[1]: Leaving directory '/var/lib/dkms/zfs/0.6.5.3/build'\r\n\r\nI'm not quite sure if it really fails or if just the compile-warning leads to a non 0 return code."}}