[Just FYI: https://bugzilla.suse.com/show_bug.cgi?id=1186900] Hi, some changes to the packaging infra not too long ago result in failed builds of certain kernel module packages, eg: https://build.opensuse.org/package/live_build_log/security:forensics/lime-km... Here's a typical failing sequence: [ 45s] + for flavor in default [ 45s] + cp -a src obj-default [ 45s] + pushd obj-default [ 45s] ~/rpmbuild/BUILD/lime-1.9+git.20200809T155235.fa37b69/obj-default ~/rpmbuild/BUILD/lime-1.9+git.20200809T155235.fa37b69 [ 45s] ++ make -si -C /usr/src/linux-obj/x86_64/default ARCH=x86 kernelrelease [ 46s] + kver=5.12.9-1-default [ 46s] + make -j4 KVER=5.12.9-1-default KDIR=/usr/src/linux-obj/x86_64/default modules [ 46s] make -C /lib/modules/5.12.9-1-default/build M="/home/abuild/rpmbuild/BUILD/lime-1.9+git.20200809T155235.fa37b69/obj-default" modules [ 46s] make[1]: *** /lib/modules/5.12.9-1-default/build: No such file or directory. Stop. The reason is some wrong (packaged) symlinks in the kernel-$flavor-devel package. After co/building the package, chroot into the build env_ abuild@xrated:~> cd /lib/modules/5.12.9-1-default/ abuild@host:/lib/modules/5.12.9-1-default> l total 0 drwxr-xr-x 2 root root 33 Jun 5 16:01 ./ drwxr-xr-x 3 root root 30 Jun 5 16:01 ../ lrwxrwxrwx 1 root root 50 Jun 3 23:57 build -> ../../../usr/src/linux-5.12.9-1-obj/x86_64/default lrwxrwxrwx 1 root root 31 Jun 3 23:57 source -> ../../../usr/src/linux-5.12.9-1 abuild@xrated:/lib/modules/5.12.9-1-default> abuild@xrated:/lib/modules/5.12.9-1-default> l ../../.. total 68 drwxr-xr-x 14 root root 169 Jun 5 16:01 ./ drwxr-xr-x 21 root root 4096 Jun 5 16:01 ../ drwxr-xr-x 3 root root 21 Jun 5 16:01 X11R6/ dr-xr-xr-x 2 root root 12288 Jun 5 16:01 bin/ drwxr-xr-x 8 root root 175 Jun 5 16:01 etc/ dr-xr-xr-x 34 root root 8192 Jun 5 16:01 include/ dr-xr-xr-x 24 root root 4096 Jun 5 16:01 lib/ dr-xr-xr-x 18 root root 16384 Jun 5 16:01 lib64/ drwxr-xr-x 9 root root 136 Jun 5 16:01 libexec/ drwxr-xr-x 11 root root 118 May 25 07:58 local/ dr-xr-xr-x 2 root root 4096 Jun 5 16:01 sbin/ dr-xr-xr-x 43 root root 4096 Jun 5 16:01 share/ drwxr-xr-x 6 root root 100 Jun 5 16:01 src/ drwxr-xr-x 5 root root 43 May 25 07:58 x86_64-suse-linux/ The build and source symlinks either miss another ../ or usr/ needs to go. Best regards, Pete