I've tried this out with 5.4-rc1, rc7 and rc8 from the same PPA on focal
and it works for me. Perhaps you are using a version of GCC on an older
release that won't build against those kernel headers.
cking@focal-amd64-efi:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
Codename: focal
cking@focal-amd64-efi:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.2.1-19ubuntu1'
--with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs
--enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr
--with-gcc-major-version-only --program-suffix=-9
--program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib
--with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch
--disable-werror --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic
--enable-offload-targets=nvptx-none,hsa --without-cuda-driver
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 9.2.1 20191109 (Ubuntu 9.2.1-19ubuntu1)
cking@focal-amd64-efi:~$ sudo apt-get install fwts-efi-runtime-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfdt1 libfwts1 libfwtsacpica1 libfwtsiasl1
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed
fwts-efi-runtime-dkms
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/13.4 kB of archives.
After this operation, 103 kB of additional disk space will be used.
Selecting previously unselected package fwts-efi-runtime-dkms.
(Reading database ... 258496 files and directories currently installed.)
Preparing to unpack .../fwts-efi-runtime-dkms_19.11.00-0ubuntu1_amd64.deb ...
Unpacking fwts-efi-runtime-dkms (19.11.00-0ubuntu1) ...
Setting up fwts-efi-runtime-dkms (19.11.00-0ubuntu1) ...
Loading new fwts-efi-runtime-dkms-19.11.00 DKMS files...
Building for 5.4.0-5-generic 5.4.0-050400rc8-generic
Building initial module for 5.4.0-5-generic
Secure Boot not enabled on this system.
Done.
efi_runtime.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-5-generic/updates/dkms/
depmod...
DKMS: install completed.
Building initial module for 5.4.0-050400rc8-generic
Secure Boot not enabled on this system.
Done.
efi_runtime.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-050400rc8-generic/updates/dkms/
depmod...
DKMS: install completed.
cking@focal-amd64-efi:~$ ls /var/lib/initramfs-tools | sudo xargs -n1
/usr/lib/dkms/dkms_autoinstaller start
* dkms: running auto installation service for kernel 5.2.0-8-generic
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
KVER=5.2.0-8-generic make....
Signing module:
-
/var/lib/dkms/fwts-efi-runtime-dkms/19.11.00/5.2.0-8-generic/x86_64/module/efi_runtime.ko
Secure Boot not enabled on this system.
cleaning build area...
DKMS: build completed.
efi_runtime.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.2.0-8-generic/updates/dkms/
depmod.....
DKMS: install completed.
[ OK ]
* dkms: running auto installation service for kernel 5.3.0-18-generic
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
KVER=5.3.0-18-generic make....
Signing module:
-
/var/lib/dkms/fwts-efi-runtime-dkms/19.11.00/5.3.0-18-generic/x86_64/module/efi_runtime.ko
Secure Boot not enabled on this system.
cleaning build area...
DKMS: build completed.
efi_runtime.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.3.0-18-generic/updates/dkms/
depmod.....
DKMS: install completed.
[ OK ]
* dkms: running auto installation service for kernel 5.4.0-050400rc1-generic
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
KVER=5.4.0-050400rc1-generic make....
Signing module:
-
/var/lib/dkms/fwts-efi-runtime-dkms/19.11.00/5.4.0-050400rc1-generic/x86_64/module/efi_runtime.ko
Secure Boot not enabled on this system.
cleaning build area...
DKMS: build completed.
efi_runtime.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-050400rc1-generic/updates/dkms/
depmod...
DKMS: install completed.
[ OK ]
* dkms: running auto installation service for kernel 5.4.0-050400rc7-generic
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
KVER=5.4.0-050400rc7-generic make....
Signing module:
-
/var/lib/dkms/fwts-efi-runtime-dkms/19.11.00/5.4.0-050400rc7-generic/x86_64/module/efi_runtime.ko
Secure Boot not enabled on this system.
cleaning build area...
DKMS: build completed.
efi_runtime.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.4.0-050400rc7-generic/updates/dkms/
depmod....
DKMS: install completed.
[ OK ]
* dkms: running auto installation service for kernel 5.4.0-050400rc8-generic
[ OK ]
* dkms: running auto installation service for kernel 5.4.0-5-generic
[ OK ]
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1853090
Title:
failed to build DKMS fwts-efi-runtime-dkms/19.11.00 against v5.4-rc1
and on: numerous compile errors
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/1853090/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs