Package: r8168-dkms
Version: 8.046.00-1
Severity: normal

r8168-dkms will not compile against the kernel in backports
(5.5.0-0.bpo.2-amd64
#1 SMP Debian 5.5.17-1~bpo10+1 (2020-04-23) x86_64 GNU/Linux)

/var/lib/dkms/r8168/8.046.00/build/r8168_n.c:60:10: fatal error:
linux/pci-aspm.h: No such file or directory
 #include <linux/pci-aspm.h>

I think due to linux/pci-aspm.h merged into linux/pci.h in this patch
https://lore.kernel.org/linux-acpi/20190827095620.11213-1...@linux.com/

linux/pci-aspm.h exists in stable kernel from main repo
(linux-headers-4.19.0-8-common)
so I think this would only affect the kernel in backports.

Version 8.048.02-1 of r8168-dkms in Debian testing will compile and install
correctly.

================= make.log ===================

DKMS make.log for r8168-8.046.00 for kernel 5.5.0-0.bpo.2-amd64 (x86_64)
Fri  8 May 23:18:51 BST 2020
make: Entering directory '/usr/src/linux-headers-5.5.0-0.bpo.2-amd64'
  AR      /var/lib/dkms/r8168/8.046.00/build/built-in.a
  CC [M]  /var/lib/dkms/r8168/8.046.00/build/r8168_n.o
  CC [M]  /var/lib/dkms/r8168/8.046.00/build/r8168_asf.o
  CC [M]  /var/lib/dkms/r8168/8.046.00/build/rtl_eeprom.o
  CC [M]  /var/lib/dkms/r8168/8.046.00/build/rtltool.o
/var/lib/dkms/r8168/8.046.00/build/r8168_n.c:60:10: fatal error:
linux/pci-aspm.h: No such file or directory
 #include <linux/pci-aspm.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: ***
[/usr/src/linux-headers-5.5.0-0.bpo.2-common/scripts/Makefile.build:271:
/var/lib/dkms/r8168/8.046.00/build/r8168_n.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/usr/src/linux-headers-5.5.0-0.bpo.2-common/Makefile:1707:
/var/lib/dkms/r8168/8.046.00/build] Error 2
make: *** [/usr/src/linux-headers-5.5.0-0.bpo.2-common/Makefile:179:
sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-5.5.0-0.bpo.2-amd64'


-- System Information:
Debian Release: 10.3
 APT prefers stable-updates
 APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.0-0.bpo.2-amd64 (SMP w/6 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages r8168-dkms depends on:
ii  dkms  2.6.1-4

r8168-dkms recommends no packages.

r8168-dkms suggests no packages.

-- no debconf information

Reply via email to