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

spl-dkms, zfs-dkms build scripts fails on Fedora 23/24 with kernel-4.7.2 #5064

Closed
hesdago opened this issue Sep 3, 2016 · 6 comments
Closed
Labels
Type: Building Indicates an issue related to building binaries
Milestone

Comments

@hesdago
Copy link

hesdago commented Sep 3, 2016

After latest kernel update for Fedora 23 (kernel-4.7.2-101.fc23.x86_64), the spl and zfs modules built by DKMS will fail.

~  dnf history info 200
Transaction ID : 200
Begin time     : Sat Sep  3 15:14:04 2016
Begin rpmdb    : 1055:8598f6cd53c636e6a7b66967c1fc6a7655aaa621
End time       :            15:20:38 2016 (6 minutes)
End rpmdb      : 1055:ebf6bbde62028aa56b7460399718308e31c560b7
User           : dago <dago>
Return-Code    : Success
Command Line   : update
Transaction performed with:
    Installed     dnf-1.1.10-1.fc23.noarch        @updates
    Installed     rpm-4.13.0-0.rc1.13.fc23.x86_64 @updates
Packages Altered:
    Upgraded glibc-2.22-17.fc23.i686                    @updates
    Upgraded glibc-2.22-17.fc23.x86_64                  @updates
    Upgrade        2.22-18.fc23.i686                    @updates
    Upgrade        2.22-18.fc23.x86_64                  @updates
    Upgraded glibc-common-2.22-17.fc23.x86_64           @updates
    Upgrade               2.22-18.fc23.x86_64           @updates
    Upgraded glibc-devel-2.22-17.fc23.x86_64            @updates
    Upgrade              2.22-18.fc23.x86_64            @updates
    Upgraded glibc-headers-2.22-17.fc23.x86_64          @updates
    Upgrade                2.22-18.fc23.x86_64          @updates
    Erase    kernel-4.6.5-200.fc23.x86_64               @updates
    Install  kernel-4.7.2-101.fc23.x86_64               @updates
    Erase    kernel-core-4.6.5-200.fc23.x86_64          @updates
    Install  kernel-core-4.7.2-101.fc23.x86_64          @updates
    Erase    kernel-devel-4.6.5-200.fc23.x86_64         @updates
    Install  kernel-devel-4.7.2-101.fc23.x86_64         @updates
    Upgraded kernel-headers-4.6.7-200.fc23.x86_64       @updates
    Upgrade                 4.7.2-101.fc23.x86_64       @updates
    Erase    kernel-modules-4.6.5-200.fc23.x86_64       @updates
    Install  kernel-modules-4.7.2-101.fc23.x86_64       @updates
    Erase    kernel-modules-extra-4.6.5-200.fc23.x86_64 @updates
    Install  kernel-modules-extra-4.7.2-101.fc23.x86_64 @updates
    Upgraded systemd-222-14.fc23.x86_64                 @updates
    Upgrade          222-16.fc23.x86_64                 @updates
    Upgraded systemd-compat-libs-222-14.fc23.x86_64     @updates
    Upgrade                      222-16.fc23.x86_64     @updates
    Upgraded systemd-libs-222-14.fc23.x86_64            @updates
    Upgrade               222-16.fc23.x86_64            @updates
Scriptlet output:
   1 dkms: removing: spl 0.6.5.7 (4.6.5-200.fc23.x86_64) (x86_64)
   2 
   3 -------- Uninstall Beginning --------
   4 Module:  spl
   5 Version: 0.6.5.7
   6 Kernel:  4.6.5-200.fc23.x86_64 (x86_64)
   7 -------------------------------------
   8 
   9 Status: Before uninstall, this module version was ACTIVE on this kernel.
  10 Removing any linked weak-modules
  11 
  12 spl.ko:
  13  - Uninstallation
  14    - Deleting from: /lib/modules/4.6.5-200.fc23.x86_64/extra/
  15  - Original module
  16    - No original module was found for this module on this kernel.
  17    - Use the dkms install command to reinstall any previous module version.
  18 
  19 
  20 splat.ko:
  21  - Uninstallation
  22    - Deleting from: /lib/modules/4.6.5-200.fc23.x86_64/extra/
  23  - Original module
  24    - No original module was found for this module on this kernel.
  25    - Use the dkms install command to reinstall any previous module version.
  26 
  27 depmod...
  28 
  29 DKMS: uninstall completed.
  30 dkms: removing: zfs 0.6.5.7 (4.6.5-200.fc23.x86_64) (x86_64)
  31 
  32 -------- Uninstall Beginning --------
  33 Module:  zfs
  34 Version: 0.6.5.7
  35 Kernel:  4.6.5-200.fc23.x86_64 (x86_64)
  36 -------------------------------------
  37 
  38 Status: Before uninstall, this module version was ACTIVE on this kernel.
  39 Removing any linked weak-modules
  40 
  41 zavl.ko:
  42  - Uninstallation
  43    - Deleting from: /lib/modules/4.6.5-200.fc23.x86_64/extra/
  44  - Original module
  45    - No original module was found for this module on this kernel.
  46    - Use the dkms install command to reinstall any previous module version.
  47 
  48 
  49 znvpair.ko:
  50  - Uninstallation
  51    - Deleting from: /lib/modules/4.6.5-200.fc23.x86_64/extra/
  52  - Original module
  53    - No original module was found for this module on this kernel.
  54    - Use the dkms install command to reinstall any previous module version.
  55 
  56 
  57 zunicode.ko:
  58  - Uninstallation
  59    - Deleting from: /lib/modules/4.6.5-200.fc23.x86_64/extra/
  60  - Original module
  61    - No original module was found for this module on this kernel.
  62    - Use the dkms install command to reinstall any previous module version.
  63 
  64 
  65 zcommon.ko:
  66  - Uninstallation
  67    - Deleting from: /lib/modules/4.6.5-200.fc23.x86_64/extra/
  68  - Original module
  69    - No original module was found for this module on this kernel.
  70    - Use the dkms install command to reinstall any previous module version.
  71 
  72 
  73 zfs.ko:
  74  - Uninstallation
  75    - Deleting from: /lib/modules/4.6.5-200.fc23.x86_64/extra/
  76  - Original module
  77    - No original module was found for this module on this kernel.
  78    - Use the dkms install command to reinstall any previous module version.
  79 
  80 
  81 zpios.ko:
  82  - Uninstallation
  83    - Deleting from: /lib/modules/4.6.5-200.fc23.x86_64/extra/
  84  - Original module
  85    - No original module was found for this module on this kernel.
  86    - Use the dkms install command to reinstall any previous module version.
  87 
  88 depmod...
  89 
  90 DKMS: uninstall completed.
  91 warning: file /lib/modules/4.6.5-200.fc23.x86_64/updates: remove failed: No such file or directory
  92 Error! Bad return status for module build on kernel: 4.7.2-101.fc23.x86_64 (x86_64)
  93 Consult /var/lib/dkms/spl/0.6.5.7/build/make.log for more information.
  94 configure: error: 
  95    *** Please make sure the kmod spl devel <kernel> package for your
  96    *** distribution is installed then try again.  If that fails you
  97    *** can specify the location of the spl objects with the
  98    *** '--with-spl-obj=PATH' option.
  99 Error! Bad return status for module build on kernel: 4.7.2-101.fc23.x86_64 (x86_64)
 100 Consult /var/lib/dkms/zfs/0.6.5.7/build/make.log for more information.

/var/lib/dkms/spl/0.6.5.7/build/make.log

DKMS make.log for spl-0.6.5.7 for kernel 4.7.2-101.fc23.x86_64 (x86_64)
Sat Sep  3 15:15:30 EEST 2016
make  all-recursive
make[1]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build'
Making all in include
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include'
Making all in fs
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/fs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/fs'
Making all in linux
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/linux'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/linux'
Making all in rpc
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/rpc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/rpc'
Making all in sharefs
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sharefs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sharefs'
Making all in sys
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys'
Making all in fm
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/fm'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/fm'
Making all in fs
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/fs'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/fs'
Making all in sysevent
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/sysevent'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/sysevent'
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys'
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys'
Making all in util
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/util'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/util'
Making all in vm
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/vm'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/vm'
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include'
make[2]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include'
Making all in rpm
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/rpm'
Making all in generic
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/rpm/generic'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/rpm/generic'
Making all in redhat
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/rpm/redhat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/rpm/redhat'
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/rpm'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/rpm'
make[2]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/rpm'
Making all in module
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/module'
make -C /lib/modules/4.7.2-101.fc23.x86_64/build SUBDIRS=`pwd`  CONFIG_SPL=m modules
make[3]: Entering directory '/usr/src/kernels/4.7.2-101.fc23.x86_64'
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-proc.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-ctl.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-kmem.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-kmem-cache.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-taskq.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-kmem.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-random.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vmem.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-mutex.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-thread.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-taskq.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-rwlock.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-condvar.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-err.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-kobj.o
In file included from /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:31:0:
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c: In function ‘spl_kern_path_locked’:
/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:79:45: error: ‘struct inode’ has no member named ‘i_mutex’
 #define spl_inode_lock(ip)  mutex_lock(&(ip)->i_mutex)
                                             ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:356:2: note: in expansion of macro ‘spl_inode_lock’
  spl_inode_lock(parent.dentry->d_inode);
  ^
/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:80:49: error: ‘struct inode’ has no member named ‘i_mutex’
 #define spl_inode_unlock(ip)  mutex_unlock(&(ip)->i_mutex)
                                                 ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:360:3: note: in expansion of macro ‘spl_inode_unlock’
   spl_inode_unlock(parent.dentry->d_inode);
   ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c: In function ‘vn_remove’:
/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:80:49: error: ‘struct inode’ has no member named ‘i_mutex’
 #define spl_inode_unlock(ip)  mutex_unlock(&(ip)->i_mutex)
                                                 ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:408:2: note: in expansion of macro ‘spl_inode_unlock’
  spl_inode_unlock(parent.dentry->d_inode);
  ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c: In function ‘vn_rename’:
/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:80:49: error: ‘struct inode’ has no member named ‘i_mutex’
 #define spl_inode_unlock(ip)  mutex_unlock(&(ip)->i_mutex)
                                                 ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:438:2: note: in expansion of macro ‘spl_inode_unlock’
  spl_inode_unlock(old_parent.dentry->d_inode);
  ^
/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:80:49: error: ‘struct inode’ has no member named ‘i_mutex’
 #define spl_inode_unlock(ip)  mutex_unlock(&(ip)->i_mutex)
                                                 ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:446:2: note: in expansion of macro ‘spl_inode_unlock’
  spl_inode_unlock(new_parent.dentry->d_inode);
  ^
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-generic.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-atomic.o
scripts/Makefile.build:289: recipe for target '/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.o' failed
make[5]: *** [/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-thread.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-rwlock.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-time.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-vnode.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-kobj.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-atomic.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-list.o
scripts/Makefile.build:440: recipe for target '/var/lib/dkms/spl/0.6.5.7/build/module/spl' failed
make[4]: *** [/var/lib/dkms/spl/0.6.5.7/build/module/spl] Error 2
make[4]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-generic.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-cred.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-zlib.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-linux.o
  LD [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat.o
Makefile:1461: recipe for target '_module_/var/lib/dkms/spl/0.6.5.7/build/module' failed
make[3]: *** [_module_/var/lib/dkms/spl/0.6.5.7/build/module] Error 2
make[3]: Leaving directory '/usr/src/kernels/4.7.2-101.fc23.x86_64'
Makefile:11: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/module'
Makefile:588: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build'
Makefile:469: recipe for target 'all' failed
make: *** [all] Error 2

/var/lib/dkms/zfs/0.6.5.7/build/make.log

DKMS make.log for zfs-0.6.5.7 for kernel 4.7.2-101.fc23.x86_64 (x86_64)
Sat Sep  3 15:20:36 EEST 2016
make: *** No targets specified and no makefile found.  Stop.

Same issue on a fresh Fedora 23 install once upgraded to latest kernel.
Same issue on a fresh Fedora 24 install with kernel version 4.7.2-201.fc24

[root@fedora24 ~]# dnf update
Fedora 24 - x86_64                                                                                                                                                                 5.5 MB/s |  47 MB     00:08    
ZFS on Linux for Fedora 24                                                                                                                                                          32 kB/s |  16 kB     00:00    
Fedora 24 - x86_64 - Updates                                                                                                                                                        16 MB/s |  15 MB     00:00    
Last metadata expiration check: 0:00:03 ago on Sat Sep  3 21:04:12 2016.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                               Arch                                          Version                                                  Repository                                      Size
===================================================================================================================================================================================================================
Installing:
 kernel                                                x86_64                                        4.7.2-201.fc24                                           updates                                         73 k
 kernel-core                                           x86_64                                        4.7.2-201.fc24                                           updates                                         19 M
 kernel-devel                                          x86_64                                        4.7.2-201.fc24                                           updates                                         11 M
 kernel-modules                                        x86_64                                        4.7.2-201.fc24                                           updates                                         22 M
Upgrading:
 kernel-headers                                        x86_64                                        4.7.2-201.fc24                                           updates                                        1.0 M

Transaction Summary
===================================================================================================================================================================================================================
Install  4 Packages
Upgrade  1 Package

Total download size: 53 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): kernel-4.7.2-201.fc24.x86_64.rpm                                                                                                                                            134 kB/s |  73 kB     00:00    
(2/5): kernel-headers-4.6.7-300.fc24_4.7.2-201.fc24.x86_64.drpm                                                                                                                    300 kB/s | 192 kB     00:00    
(3/5): kernel-devel-4.6.7-300.fc24_4.7.2-201.fc24.x86_64.drpm                                                                                                                      1.7 MB/s | 2.9 MB     00:01    
[DRPM] kernel-headers-4.6.7-300.fc24_4.7.2-201.fc24.x86_64.drpm: done                                                                                                                                             
(4/5): kernel-modules-4.7.2-201.fc24.x86_64.rpm                                                                                                                                    8.7 MB/s |  22 MB     00:02    
(5/5): kernel-core-4.7.2-201.fc24.x86_64.rpm                                                                                                                                       6.0 MB/s |  19 MB     00:03    
[DRPM] kernel-devel-4.6.7-300.fc24_4.7.2-201.fc24.x86_64.drpm: done                                                                                                                                               
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              5.4 MB/s |  44 MB     00:08     
Delta RPMs reduced 52.7 MB of updates to 44.1 MB (16.1% saved)
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : kernel-core-4.7.2-201.fc24.x86_64                                                                                                                                                              1/6 
  Installing  : kernel-modules-4.7.2-201.fc24.x86_64                                                                                                                                                           2/6 
  Installing  : kernel-4.7.2-201.fc24.x86_64                                                                                                                                                                   3/6 
  Upgrading   : kernel-headers-4.7.2-201.fc24.x86_64                                                                                                                                                           4/6 
  Installing  : kernel-devel-4.7.2-201.fc24.x86_64                                                                                                                                                             5/6 
  Cleanup     : kernel-headers-4.6.7-300.fc24.x86_64                                                                                                                                                           6/6 
Error! Bad return status for module build on kernel: 4.7.2-201.fc24.x86_64 (x86_64)
Consult /var/lib/dkms/spl/0.6.5.7/build/make.log for more information.
configure: error: 
    *** Please make sure the kmod spl devel <kernel> package for your
    *** distribution is installed then try again.  If that fails you
    *** can specify the location of the spl objects with the
    *** '--with-spl-obj=PATH' option.
Error! Bad return status for module build on kernel: 4.7.2-201.fc24.x86_64 (x86_64)
Consult /var/lib/dkms/zfs/0.6.5.7/build/make.log for more information.
  Verifying   : kernel-4.7.2-201.fc24.x86_64                                                                                                                                                                   1/6 
  Verifying   : kernel-core-4.7.2-201.fc24.x86_64                                                                                                                                                              2/6 
  Verifying   : kernel-modules-4.7.2-201.fc24.x86_64                                                                                                                                                           3/6 
  Verifying   : kernel-devel-4.7.2-201.fc24.x86_64                                                                                                                                                             4/6 
  Verifying   : kernel-headers-4.7.2-201.fc24.x86_64                                                                                                                                                           5/6 
  Verifying   : kernel-headers-4.6.7-300.fc24.x86_64                                                                                                                                                           6/6 

Installed:
  kernel.x86_64 4.7.2-201.fc24                   kernel-core.x86_64 4.7.2-201.fc24                   kernel-devel.x86_64 4.7.2-201.fc24                   kernel-modules.x86_64 4.7.2-201.fc24                  

Upgraded:
  kernel-headers.x86_64 4.7.2-201.fc24                                                                                                                                                                             

Complete!
[root@fedora24 ~]# cat /var/lib/dkms/spl/0.6.5.7/build/make.log
DKMS make.log for spl-0.6.5.7 for kernel 4.7.2-201.fc24.x86_64 (x86_64)
Sat Sep  3 21:05:52 EEST 2016
make  all-recursive
make[1]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build'
Making all in include
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include'
Making all in fs
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/fs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/fs'
Making all in linux
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/linux'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/linux'
Making all in rpc
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/rpc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/rpc'
Making all in sharefs
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sharefs'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sharefs'
Making all in sys
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys'
Making all in fm
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/fm'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/fm'
Making all in fs
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/fs'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/fs'
Making all in sysevent
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/sysevent'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys/sysevent'
make[4]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys'
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/sys'
Making all in util
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/util'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/util'
Making all in vm
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include/vm'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include/vm'
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include'
make[2]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/include'
Making all in rpm
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/rpm'
Making all in generic
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/rpm/generic'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/rpm/generic'
Making all in redhat
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/rpm/redhat'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/rpm/redhat'
make[3]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/rpm'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/rpm'
make[2]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/rpm'
Making all in module
make[2]: Entering directory '/var/lib/dkms/spl/0.6.5.7/build/module'
make -C /lib/modules/4.7.2-201.fc24.x86_64/build SUBDIRS=`pwd`  CONFIG_SPL=m modules
make[3]: Entering directory '/usr/src/kernels/4.7.2-201.fc24.x86_64'
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-proc.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-ctl.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-kmem.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-kmem.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-kmem-cache.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-taskq.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vmem.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-thread.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-taskq.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-random.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-rwlock.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-mutex.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.o
In file included from /var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:31:0:
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c: In function ‘spl_kern_path_locked’:
/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:79:45: error: ‘struct inode’ has no member named ‘i_mutex’; did you mean ‘i_mode’?
 #define spl_inode_lock(ip)  mutex_lock(&(ip)->i_mutex)
                                             ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:356:2: note: in expansion of macro ‘spl_inode_lock’
  spl_inode_lock(parent.dentry->d_inode);
  ^~~~~~~~~~~~~~
/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:80:49: error: ‘struct inode’ has no member named ‘i_mutex’; did you mean ‘i_mode’?
 #define spl_inode_unlock(ip)  mutex_unlock(&(ip)->i_mutex)
                                                 ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:360:3: note: in expansion of macro ‘spl_inode_unlock’
   spl_inode_unlock(parent.dentry->d_inode);
   ^~~~~~~~~~~~~~~~
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c: In function ‘vn_remove’:
/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:80:49: error: ‘struct inode’ has no member named ‘i_mutex’; did you mean ‘i_mode’?
 #define spl_inode_unlock(ip)  mutex_unlock(&(ip)->i_mutex)
                                                 ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:408:2: note: in expansion of macro ‘spl_inode_unlock’
  spl_inode_unlock(parent.dentry->d_inode);
  ^~~~~~~~~~~~~~~~
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c: In function ‘vn_rename’:
/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:80:49: error: ‘struct inode’ has no member named ‘i_mutex’; did you mean ‘i_mode’?
 #define spl_inode_unlock(ip)  mutex_unlock(&(ip)->i_mutex)
                                                 ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:438:2: note: in expansion of macro ‘spl_inode_unlock’
  spl_inode_unlock(old_parent.dentry->d_inode);
  ^~~~~~~~~~~~~~~~
/var/lib/dkms/spl/0.6.5.7/build/include/linux/file_compat.h:80:49: error: ‘struct inode’ has no member named ‘i_mutex’; did you mean ‘i_mode’?
 #define spl_inode_unlock(ip)  mutex_unlock(&(ip)->i_mutex)
                                                 ^
/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.c:446:2: note: in expansion of macro ‘spl_inode_unlock’
  spl_inode_unlock(new_parent.dentry->d_inode);
  ^~~~~~~~~~~~~~~~
scripts/Makefile.build:289: recipe for target '/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.o' failed
make[5]: *** [/var/lib/dkms/spl/0.6.5.7/build/module/spl/spl-vnode.o] Error 1
scripts/Makefile.build:440: recipe for target '/var/lib/dkms/spl/0.6.5.7/build/module/spl' failed
make[4]: *** [/var/lib/dkms/spl/0.6.5.7/build/module/spl] Error 2
make[4]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-condvar.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-thread.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-rwlock.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-time.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-vnode.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-kobj.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-atomic.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-list.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-generic.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-cred.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-zlib.o
  CC [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat-linux.o
  LD [M]  /var/lib/dkms/spl/0.6.5.7/build/module/splat/splat.o
Makefile:1461: recipe for target '_module_/var/lib/dkms/spl/0.6.5.7/build/module' failed
make[3]: *** [_module_/var/lib/dkms/spl/0.6.5.7/build/module] Error 2
make[3]: Leaving directory '/usr/src/kernels/4.7.2-201.fc24.x86_64'
Makefile:11: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build/module'
Makefile:588: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/lib/dkms/spl/0.6.5.7/build'
Makefile:469: recipe for target 'all' failed
make: *** [all] Error 2
[root@fedora24 ~]# cat /var/lib/dkms/zfs/0.6.5.7/build/make.log
DKMS make.log for zfs-0.6.5.7 for kernel 4.7.2-201.fc24.x86_64 (x86_64)
Sat Sep  3 21:10:57 EEST 2016
make: *** No targets specified and no makefile found.  Stop.

Please let me know if this needs to be reported to the Fedora bug list as well.

@hesdago hesdago changed the title spl-dkms, zfs-dkms build scripts fails on Fedora 23 with kernel-4.7.2-101.fc23.x86_64 spl-dkms, zfs-dkms build scripts fails on Fedora 23/24 with kernel-4.7.2 Sep 3, 2016
@stapler117
Copy link

Commenting to confirm this behavior

@error10
Copy link

error10 commented Sep 3, 2016

Just ran into this myself and was preparing to report it.

@ironMann
Copy link
Contributor

ironMann commented Sep 4, 2016

This is kernel 4.7 api change. Fix is in spl master, and it will be part of 0.6.5.8 release.

@fffmmm
Copy link

fffmmm commented Sep 5, 2016

Eagerly awaiting 0.6.5.8, as this issue also affects CentOS 7.2 with 4.7.2-1.el7.elrepo.x86_64 ML kernel.

@svde
Copy link

svde commented Sep 5, 2016

Any chance to release something before 0.6.5.8, to fix this issue?

@behlendorf behlendorf added this to the 0.6.5.8 milestone Sep 6, 2016
@behlendorf behlendorf added the Type: Building Indicates an issue related to building binaries label Sep 6, 2016
@behlendorf
Copy link
Contributor

behlendorf commented Sep 13, 2016

Closing. The 0.6.5.8 release has been tagged and supports the latest kernel.

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
Projects
None yet
Development

No branches or pull requests

7 participants