With the kernel upgrade, the dkms build of libafs fails: # dkms build -m libafs -v 1.6.10-1.1.mga4 Preparing kernel 3.14.41-desktop-1.mga4 for module build: (This is not compiling a kernel, just preparing kernel symbols) Storing current .config to be restored when complete Running Generic preparation routine make mrproper..... using /proc/config.gz make oldconfig..... make prepare.... Building module: cleaning build area....(bad exit status: 2) SMP=SP; eval `grep CONFIG_SMP /boot/config-3.14.41-desktop-1.mga4`; [ -n "$CONFIG_SMP" ] && SMP=MP; ./configure --with-linux-kernel-headers=/lib/modules/3.14.41-desktop-1.mga4/build; make MPS=$SMP; mv src/libafs/MODLOAD-*/libafs.ko .......................................................................................(bad exit status: 1) Error! Bad return status for module build on kernel: 3.14.41-desktop-1.mga4 (x86_64) Consult the make.log in the build directory /var/lib/dkms/libafs/1.6.10-1.1.mga4/build/ for more information. If you type make in the build directory, you get this error: ⦠CC [M] /var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP/afs_daemons.o /var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP/afs_daemons.c: In function 'afs_CheckRootVolume': /var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP/afs_daemons.c:403:24: error: 'struct dentry' has no member named 'd_alias' list_del_init(&dp->d_alias); ^ /var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP/afs_daemons.c:404:19: error: 'struct dentry' has no member named 'd_alias' list_add(&dp->d_alias, &(AFSTOV(vcp)->i_dentry)); ^ /var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP/afs_daemons.c:404:7: warning: passing argument 2 of 'list_add' from incompatible pointer type [enabled by default] list_add(&dp->d_alias, &(AFSTOV(vcp)->i_dentry)); ^ In file included from include/linux/wait.h:6:0, from /var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/afs/sysincludes.h:124, from /var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP/afs_daemons.c:19: include/linux/list.h:60:20: note: expected 'struct list_head *' but argument is of type 'struct hlist_head *' static inline void list_add(struct list_head *new, struct list_head *head) ^ scripts/Makefile.build:308: recipe for target '/var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP/afs_daemons.o' failed make[4]: *** [/var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP/afs_daemons.o] Error 1 Makefile:1276: recipe for target '_module_/var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP' failed make[3]: *** [_module_/var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP] Error 2 make[3]: Leaving directory '/usr/src/kernel-3.14.41-desktop-1.mga4' FAILURE: make exit code 2 Makefile.afs:241: recipe for target 'libafs.ko' failed make[2]: *** [libafs.ko] Error 1 make[2]: Leaving directory '/var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs/MODLOAD-3.14.41-desktop-1.mga4-MP' Makefile:138: recipe for target 'linux_compdirs' failed make[1]: *** [linux_compdirs] Error 2 make[1]: Leaving directory '/var/lib/dkms/libafs/1.6.10-1.1.mga4/build/src/libafs' Makefile:13: recipe for target 'all' failed Reproducible: Steps to Reproduce:
Source RPM: openafs-1.6.10-1.2.mga4.src.rpm => openafs-1.6.10-1.1.mga4.src.rpm
Assigning to tmb, with QA in CC.
CC: (none) => qa-bugsAssignee: bugsquad => tmb
FYI a backport of openafs 1.6.11-1 from Cauldron builds fine with that kernel.
Yep, 1.6.11 already pushed to updates_testing to cope with the d_alias change..
Advisory: ---------------------------------------- The openafs package has been updated to version 1.6.11 for compatibility with the current Mageia 4 kernel version. References: http://openafs.org/dl/openafs/1.6.11/RELNOTES-1.6.11 https://lists.openafs.org/pipermail/openafs-announce/2015/000478.html ---------------------------------------- Updated packages in core/updates_testing: ---------------------------------------- openafs-1.6.11-1.mga4 openafs-client-1.6.11-1.mga4 openafs-server-1.6.11-1.mga4 libopenafs1-1.6.11-1.mga4 libopenafs-devel-1.6.11-1.mga4 libopenafs-static-devel-1.6.11-1.mga4 dkms-libafs-1.6.11-1.mga4 openafs-doc-1.6.11-1.mga4 from openafs-1.6.11-1.mga4.src.rpm
CC: qa-bugs => tmbHardware: x86_64 => AllAssignee: tmb => qa-bugsSeverity: major => normal
Testing complete mga4 64 Sorry about that. I check gpu/broadcom/vbox dkms builds when we update kernels so I'll add this one to the list aswell. Before ------ Building module: cleaning build area....(bad exit status: 2) SMP=SP; eval `grep CONFIG_SMP /boot/config-3.14.41-desktop-1.mga4`; [ -n "$CONFIG_SMP" ] && SMP=MP; ./configure --with-linux-kernel-headers=/lib/modules/3.14.41-desktop-1.mga4/build; make MPS=$SMP; mv src/libafs/MODLOAD-*/libafs.ko ..................................................................(bad exit status: 1) Error! Bad return status for module build on kernel: 3.14.41-desktop-1.mga4 (x86_64) Consult the make.log in the build directory /var/lib/dkms/libafs/1.6.10-1.1.mga4/build/ for more information. Error! Could not locate libafs.ko.xz for module libafs in the DKMS tree. You must run a dkms build for kernel 3.14.41-desktop-1.mga4 (x86_64) first. warning: %post(dkms-libafs-1.6.10-1.1.mga4.noarch) scriptlet failed, exit status 4 ERROR: 'script' failed for dkms-libafs-1.6.10-1.1.mga4.noarch: After ----- Building module: cleaning build area....(bad exit status: 2) SMP=SP; eval `grep CONFIG_SMP /boot/config-3.14.41-desktop-1.mga4`; [ -n "$CONFIG_SMP" ] && SMP=MP; ./configure --with-linux-kernel-headers=/lib/modules/3.14.41-desktop-1.mga4/build; make MPS=$SMP; mv src/libafs/MODLOAD-*/libafs.ko .................................................................................. cleaning build area.... cleaning kernel tree (make mrproper)..... DKMS: build Completed. libafs.ko.xz: - Installation - Installing to /lib/modules/3.14.41-desktop-1.mga4/dkms/3rdparty/libafs// depmod...... DKMS: install Completed.
Whiteboard: (none) => mga4-64-ok
I notice there's still a bad exit status cleaning the build area but dkms status shows it has installed ok.
Testing complete mga4 32, as comment 5.
Whiteboard: mga4-64-ok => mga4-32-ok mga4-64-ok
Blocks: (none) => 15873
Blocks: (none) => 15614
Validating. Advisory uploaded. Please push to 4 updates Thanks
Keywords: (none) => validated_updateWhiteboard: mga4-32-ok mga4-64-ok => advisory mga4-32-ok mga4-64-okCC: (none) => sysadmin-bugs
An update for this issue has been pushed to Mageia Updates repository. http://advisories.mageia.org/MGAA-2015-0047.html
Status: NEW => RESOLVEDResolution: (none) => FIXED