Bug 22678 - dkms-vhba fail to build module
Summary: dkms-vhba fail to build module
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2018-03-01 16:52 CET by katnatek
Modified: 2019-05-19 13:28 CEST (History)
7 users (show)

See Also:
Source RPM: dkms-vhba
CVE:
Status comment:


Attachments
make log (1.15 KB, text/plain)
2018-03-01 16:54 CET, katnatek
Details
make.log (10.76 KB, text/plain)
2019-05-11 22:23 CEST, Alfred Kretschmer
Details
make.log kernel 5.1.2 (594 bytes, text/plain)
2019-05-15 10:26 CEST, Alfred Kretschmer
Details
make.log kernel 5.1.1 (594 bytes, text/plain)
2019-05-15 10:27 CEST, Alfred Kretschmer
Details
make.log kernel 4.14.119 (606 bytes, text/plain)
2019-05-17 10:25 CEST, Frank Schneider
Details

Description katnatek 2018-03-01 16:52:49 CET
Description of problem:

try to use kde-cdemu but the dkms-vhba fail to build the module

Creating symlink /var/lib/dkms/vhba/20161009-1.mga6/source ->
                 /usr/src/vhba-20161009-1.mga6

DKMS: add Completed.

Preparing kernel 4.14.20-server-1.mga6 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....
make -j2 KERNELRELEASE=4.14.20-server-1.mga6 KDIR=/lib/modules/4.14.20-server-1.mga6/build......(bad exit status: 2)

Error! Bad return status for module build on kernel: 4.14.20-server-1.mga6 (i586)
Consult the make.log in the build directory
/var/lib/dkms/vhba/20161009-1.mga6/build/ for more information.
Comment 1 katnatek 2018-03-01 16:54:55 CET
Created attachment 10011 [details]
make log
Comment 2 Marja Van Waes 2018-03-01 18:05:43 CET
Assigning to the registered maintainer.

Assignee: bugsquad => anssi.hannula
CC: (none) => marja11

Comment 3 katnatek 2018-03-07 19:59:41 CET
I need to do more test, i backport the cauldron version for this and all related to cdemu packages and at less the dkms-vhba module build

Creating symlink /var/lib/dkms/vhba/20170610-1.mga6/source ->
                 /usr/src/vhba-20170610-1.mga6

DKMS: add Completed.

Preparing kernel 4.14.20-server-1.mga6 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.....
make -j2 KERNELRELEASE=4.14.20-server-1.mga6 KDIR=/lib/modules/4.14.20-server-1.mga6/build.......
cleaning build area....
cleaning kernel tree (make mrproper).........

DKMS: build Completed.

vhba.ko.xz:
 - Installation
   - Installing to /lib/modules/4.14.20-server-1.mga6/dkms/vhba/

depmod...............

DKMS: install Completed.
Comment 4 katnatek 2018-03-08 22:37:58 CET
Test with the kde-cdemu and cdemu-daemon backported from cauldron, works fine

SRPMS used
 libmirage-3.1.0-1.mga7.src.rpm
 cdemu-client-3.1.0-1.mga7.src.rpm
 cdemu-daemon-3.1.0-1.mga7.src.rpm
 gcdemu-3.1.0-1.mga7.src.rpm
 kde-cdemu-0.7.3-1.mga7.src.rpm
 dkms-vhba-20170610-1.mga7.src.rpm
Comment 5 Alfred Kretschmer 2019-05-11 22:23:30 CEST
Created attachment 10988 [details]
make.log

CC: (none) => alfred.kretschmer

Comment 6 Alfred Kretschmer 2019-05-11 22:25:13 CEST
dkms-vhba does not build in Mageia7.
Comment 7 katnatek 2019-05-14 19:37:52 CEST
(In reply to Alfred Kretschmer from comment #6)
> dkms-vhba does not build in Mageia7.

Maybe need update to vhba-module-20190410
Comment 8 katnatek 2019-05-14 21:32:13 CEST
upstream made same recommendation https://sourceforge.net/p/cdemu/bugs/115/?limit=25#8437
Comment 9 David GEIGER 2019-05-15 06:41:50 CEST
Done! vhba-module was updated to latest 20190410 release.

CC: (none) => geiger.david68210

Comment 10 Alfred Kretschmer 2019-05-15 09:56:33 CEST
vhba-kernel-module sussesfully built in Mageia7 x86_64 for kernels 5.1.1-desktop-1.mga7 and 5.1.2-desktop-1.mga7.
Comment 11 Alfred Kretschmer 2019-05-15 10:26:37 CEST
Created attachment 10994 [details]
make.log kernel 5.1.2
Comment 12 Alfred Kretschmer 2019-05-15 10:27:14 CEST
Created attachment 10995 [details]
make.log kernel 5.1.1
Comment 13 David GEIGER 2019-05-16 17:39:44 CEST
So should be fixed for mga6 with dkms-vhba-20170610-1.mga6 in Core/Updates_testing repo!

Please test it, thanks in advance!
Comment 14 Frank Schneider 2019-05-17 10:21:37 CEST
vhba-kernel-module sussesfully built in Mageia6 x86_64 for kernel 4.14.119-desktop-1.mga6.

CC: (none) => neue_chance

Comment 15 Frank Schneider 2019-05-17 10:25:15 CEST
Created attachment 11002 [details]
make.log kernel 4.14.119
Comment 16 David GEIGER 2019-05-17 14:54:50 CEST
Assigning to QA now,


Advisory:
========================
Our current dkms-vhba-20161009 package doesn't build anymore.
So this update fixes this build issue against kernel 4.14+ series.

========================

Packages in 6/core/updates_testing:
========================
dkms-vhba-20170610-1.mga6.noarch.rpm

Source RPM: 
========================
dkms-vhba-20170610-1.mga6.src.rpm

Assignee: anssi.hannula => qa-bugs

Comment 17 Len Lawrence 2019-05-18 19:22:06 CEST
mga6, x86_64

Installed the 20161009 version and confirmed the problem:

Building module:
cleaning build area....
make -j8 KERNELRELEASE=4.14.116-desktop-1.mga6 KDIR=/lib/modules/4.14.116-desktop-1.mga6/build....(bad exit status: 2)

Error! Bad return status for module build on kernel: 4.14.116-desktop-1.mga6 (x86_64)

Updated the package from testing:

DKMS: build Completed.

vhba.ko.xz:
 - Installation
   - Installing to /lib/modules/4.14.116-desktop-1.mga6/dkms/vhba/

depmod.....

DKMS: install Completed.

------------------------------
Deleting module version: 20161009-1.mga6

Whiteboard: (none) => MGA6-64-OK
CC: (none) => tarazed25

Comment 18 Dave Hodgins 2019-05-19 09:43:19 CEST
Advisory committed to svn. Validating the update.

Keywords: (none) => advisory, validated_update
CC: (none) => davidwhodgins, sysadmin-bugs

Comment 19 Mageia Robot 2019-05-19 13:28:38 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0036.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.