Comment 9 for bug 1837893

$ sudo dkms build openafs/1.8.0pre5 -k 4.15.0-70-generic

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...(bad exit status: 2)
(./configure --disable-linux-syscall-probing --with-linux-kernel-packaging --with-linux-kernel-headers=/lib/modules/4.15.0-70-generic/build && make && mv src/libafs/MODLOAD-*/openafs.ko .)........................................................................................................................................................
Signing module:
 - /var/lib/dkms/openafs/1.8.0pre5/4.15.0-70-generic/x86_64/module/openafs.ko
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
cleaning build area...

DKMS: build completed.
$