[DRBD-user] drbd-9.0.23-1: make kmp-rpm fails for SLES 15 SP2

Rob van der Wal rob.vanderwal at surf.nl
Thu Jul 23 15:01:23 CEST 2020


Hi,

After updating from SLES15 SP1 to SLES15 SP2 the "make kmp-rpm" fails with:
.....
calling /usr/lib/rpm/brp-suse.d/brp-99-compress-vmlinux
calling /usr/lib/rpm/brp-suse.d/brp-99-pesign
No buildservice signing certificate
Creating /home/drbdusr/rpmbuild/OTHER/drbd-kernel.cpio.rsasign
53043 blocks
Processing files: drbd-kernel-9.0.23-1.x86_64
warning: File listed twice: /lib/modules/5.3.18-22-default/updates/drbd.ko
warning: File listed twice: 
/lib/modules/5.3.18-22-default/updates/drbd_transport_tcp.ko
awk: cmd. line:4: (FILENAME=- FNR=1) warning: gensub: third argument `' 
treated as 1
awk: cmd. line:4: (FILENAME=- FNR=2) warning: gensub: third argument `' 
treated as 1
awk: cmd. line:4: (FILENAME=- FNR=3) warning: gensub: third argument `' 
treated as 1
awk: cmd. line:4: (FILENAME=- FNR=4) warning: gensub: third argument `' 
treated as 1
awk: cmd. line:4: (FILENAME=- FNR=5) warning: gensub: third argument `' 
treated as 1
.....
Processing files: drbd-kmp-default-9.0.23_k5.3.18_22-1.x86_64
Processing files: drbd-kmp-preempt-9.0.23_k5.3.18_22-1.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/home/drbdusr/rpmbuild/BUILDROOT/drbd-kernel-9.0.23-1.x86_64
error: Installed (but unpackaged) file(s) found:
    /lib/modules/5.3.18-22-preempt/updates/drbd.ko
    /lib/modules/5.3.18-22-preempt/updates/drbd_transport_tcp.ko


RPM build errors:
     File listed twice: /lib/modules/5.3.18-22-default/updates/drbd.ko
     File listed twice: 
/lib/modules/5.3.18-22-default/updates/drbd_transport_tcp.ko
     Installed (but unpackaged) file(s) found:
    /lib/modules/5.3.18-22-preempt/updates/drbd.ko
    /lib/modules/5.3.18-22-preempt/updates/drbd_transport_tcp.ko
make: *** [Makefile:273: kmp-rpm] Error 1
.....

Any ideas? The kernel is 5.3.18-22-default.

Rob







More information about the drbd-user mailing list