[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1071559: linux-headers-6.8.9-amd64: error creating r8125 module with dkms



Package: linux-headers-6.8.9-amd64
Version: 6.8.9-1
Severity: normal
X-Debbugs-Cc: tecnosegugio@gmail.com

Dear Maintainer,

   * What led up to the situation?

I'm working on Debian sid, amd64.
Was installing the linux-image-6.8.9-amd64 and it's fellow linux-
headers-6.8.9-headers.
At modules creation with dkms I got an error building module r8125 (package
r8125-dkms)

   * What exactly did you do (or not do) that was effective (or ineffective)?

Just installed linux-image-amd64 and linux-headers-amd64 packages with apt.

   * What was the outcome of this action?

I got this error (log of building module):
----------------------------------------------------------
DKMS make.log for r8125-9.011.00 for kernel 6.8.9-amd64 (x86_64)
mar 21 mag 2024, 10:21:51, CEST
make: ingresso nella directory «/usr/src/linux-headers-6.8.9-amd64»
  CC [M]  /var/lib/dkms/r8125/9.011.00/build/r8125_n.o
  CC [M]  /var/lib/dkms/r8125/9.011.00/build/rtl_eeprom.o
  CC [M]  /var/lib/dkms/r8125/9.011.00/build/rtltool.o
/var/lib/dkms/r8125/9.011.00/build/rtl_eeprom.c:96:5: warning: no previous
prototype for ‘rtl8125_eeprom_cmd_done’ [-Wmissing-prototypes]
   96 | int rtl8125_eeprom_cmd_done(struct rtl8125_private *tp)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/r8125/9.011.00/build/r8125_n.c:2396:6: warning: no previous
prototype for ‘ClearEthPhyOcpBit’ [-Wmissing-prototypes]
 2396 | void ClearEthPhyOcpBit(struct rtl8125_private *tp, u16 addr, u16 mask)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/r8125/9.011.00/build/r8125_n.c:2405:6: warning: no previous
prototype for ‘SetEthPhyOcpBit’ [-Wmissing-prototypes]
 2405 | void SetEthPhyOcpBit(struct rtl8125_private *tp,  u16 addr, u16 mask)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/r8125/9.011.00/build/r8125_n.c: In function
‘rtl8125_get_drvinfo’:
/var/lib/dkms/r8125/9.011.00/build/r8125_n.c:4794:17: error: implicit
declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-
function-declaration]
 4794 |                 strlcpy(info->fw_version, rtl_fw->version,
      |                 ^~~~~~~
      |                 strscpy
/var/lib/dkms/r8125/9.011.00/build/r8125_n.c: At top level:
/var/lib/dkms/r8125/9.011.00/build/r8125_n.c:13349:1: warning: no previous
prototype for ‘rtl8125_enable_msix’ [-Wmissing-prototypes]
13349 | rtl8125_enable_msix(struct rtl8125_private *tp)
      | ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/r8125/9.011.00/build/r8125_n.c:13377:6: warning: no previous
prototype for ‘rtl8125_dump_msix_tbl’ [-Wmissing-prototypes]
13377 | void rtl8125_dump_msix_tbl(struct rtl8125_private *tp)
      |      ^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.8.9-common/scripts/Makefile.build:248:
/var/lib/dkms/r8125/9.011.00/build/r8125_n.o] Errore 1
make[1]: *** [/usr/src/linux-headers-6.8.9-common/Makefile:1946:
/var/lib/dkms/r8125/9.011.00/build] Errore 2
make: *** [/usr/src/linux-headers-6.8.9-common/Makefile:252: __sub-make] Errore
2
make: uscita dalla directory «/usr/src/linux-headers-6.8.9-amd64»
----------------------------------------------------------

   * What outcome did you expect instead?

Kernel module r8125 built.
Using kernel linux-image-6.7.12-amd64 and headers linux-headers-6.7.12-amd64
the module r8125 is built without errors.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.8.9-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-headers-6.8.9-amd64 depends on:
ii  gcc-13                      13.2.0-25
ii  linux-headers-6.8.9-common  6.8.9-1
ii  linux-image-6.8.9-amd64     6.8.9-1
ii  linux-kbuild-6.8.9          6.8.9-1

linux-headers-6.8.9-amd64 recommends no packages.

linux-headers-6.8.9-amd64 suggests no packages.

-- no debconf information

Reply to: