Your message dated Sat, 22 Feb 2025 02:43:45 +0100
with message-id <a30f6612-86bf-6167-0b3f-a8db85b77...@debian.org>
and subject line Re: lenovolegionlinux-dkms: module fails to build with gcc-14 
due to -Werror=incompatible-pointer-types
has caused the Debian Bug report #1083011,
regarding lenovolegionlinux-dkms:  module fails to build with gcc-14 due to 
-Werror=incompatible-pointer-types
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1083011: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083011
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: lenovolegionlinux-dkms
Version: 0.0.16+ds-1
Severity: important
Tags: upstream

Hi,

lenovolegionlinux-dkms fails to build a module for Linux 6.11 in experimental.
I haven't looked in detail, but this is probably caused by the switch
from gcc-13 to gcc-14 (and not a kernel interface change).
gcc-14 enabled -Werror=incompatible-pointer-types etc. by default.

DKMS make.log for legion-laptop-0.0.16 for kernel 6.11-amd64 (x86_64)
Sun Sep 29 21:32:22 UTC 2024
make: Entering directory '/usr/src/linux-headers-6.11-amd64'
  CC [M]  /var/lib/dkms/legion-laptop/0.0.16/build/legion-laptop.o
/var/lib/dkms/legion-laptop/0.0.16/build/legion-laptop.c:6118:19: error: 
initialization of 'void (*)(struct platform_device *)' from incompatible 
pointer type 'int (*)(struct platform_device *)' [-Wincompatible-pointer-types]
 6118 |         .remove = legion_remove,
      |                   ^~~~~~~~~~~~~
/var/lib/dkms/legion-laptop/0.0.16/build/legion-laptop.c:6118:19: note: (near 
initialization for 'legion_driver.<anonymous>.remove')
/var/lib/dkms/legion-laptop/0.0.16/build/legion-laptop.c:1787:16: warning: 
'ecram_memoryio_write' defined but not used [-Wunused-function]
 1787 | static ssize_t ecram_memoryio_write(const struct ecram_memoryio 
*ec_memoryio,
      |                ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [/usr/src/linux-headers-6.11-common/scripts/Makefile.build:249: 
/var/lib/dkms/legion-laptop/0.0.16/build/legion-laptop.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.11-common/Makefile:1951: 
/var/lib/dkms/legion-laptop/0.0.16/build] Error 2
make: *** [/usr/src/linux-headers-6.11-common/Makefile:236: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.11-amd64'


Andreas

--- End Message ---
--- Begin Message ---
Version: 0.0.18+ds-1

On Sun, 29 Sep 2024 23:40:24 +0200 Andreas Beckmann <a...@debian.org> wrote:
Package: lenovolegionlinux-dkms
Version: 0.0.16+ds-1

DKMS make.log for legion-laptop-0.0.16 for kernel 6.11-amd64 (x86_64)
Sun Sep 29 21:32:22 UTC 2024
make: Entering directory '/usr/src/linux-headers-6.11-amd64'
  CC [M]  /var/lib/dkms/legion-laptop/0.0.16/build/legion-laptop.o
/var/lib/dkms/legion-laptop/0.0.16/build/legion-laptop.c:6118:19: error: 
initialization of 'void (*)(struct platform_device *)' from incompatible 
pointer type 'int (*)(struct platform_device *)' [-Wincompatible-pointer-types]
 6118 |         .remove = legion_remove,
      |                   ^~~~~~~~~~~~~

This should have been solved by

lenovolegionlinux (0.0.18+ds-1) unstable; urgency=medium

  * New upstream releaes.
  * Fixed python3-legion-linux.install.
  * Add Make-legion_remove-return-void-and-set-remove_new.patch.

 -- Thomas Goirand <z...@debian.org>  Sat, 16 Nov 2024 15:04:48 +0100

Andreas

--- End Message ---

Reply via email to