Bug#1071825: linux-image-6.8.9-amd64: Fails to build some module(s) during install

2024-05-25 Thread Stephen Kitt
Control: notforwarded -1
Control: forcemerge 1071293 -1

On Sat, 25 May 2024 10:54:15 +0200, Diederik de Haas 
wrote:
> On Saturday, 25 May 2024 10:18:20 CEST Bastian Blank wrote:
> > Control: reassign -1 ddcci-dkms/0.4.4-1  
> 
> Upstream has a commit for compatibility with 6.8 and I've set that at
> the 'forwarded' URL. There's no release/tag with that commit though.

As mentioned in #1071293, the upstream commit results in a non-functional
module. I don’t think it’s an appropriate fix for Debian.

Regards,

Stephen


pgpR72kdFsZDI.pgp
Description: OpenPGP digital signature


Bug#1071825: linux-image-6.8.9-amd64: Fails to build some module(s) during install

2024-05-25 Thread Diederik de Haas
Control: found -1 0.4.4-1
Control: tag -1 upstream patch
Control: forwarded -1 
https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/commit/7f851f5fb8fbcd7b3a93aaedff90b27124e17a7e

On Saturday, 25 May 2024 10:18:20 CEST Bastian Blank wrote:
> Control: reassign -1 ddcci-dkms/0.4.4-1

Upstream has a commit for compatibility with 6.8 and I've set that at
the 'forwarded' URL. There's no release/tag with that commit though.

HTH

signature.asc
Description: This is a digitally signed message part.


Bug#1071825: linux-image-6.8.9-amd64: Fails to build some module(s) during install

2024-05-25 Thread Bastian Blank
Control: reassign -1 ddcci-dkms/0.4.4-1
Control: severity -1 serious

On Sat, May 25, 2024 at 10:08:30AM +0200, Gregor Düster wrote:
> unfortunately, configuration of the latest linux-image-6.8.9-amd64
> (6.8.9-1) fails with the following error:

> Here's the content of /var/lib/dkms/ddcci/0.4.4/build/make.log:
> 
> DKMS make.log for ddcci-0.4.4 for kernel 6.8.9-amd64 (x86_64)
> Sat 25 May 09:43:08 CEST 2024
> make: Entering directory '/var/lib/dkms/ddcci/0.4.4/build'
> make -C "ddcci"
> make[1]: Entering directory '/var/lib/dkms/ddcci/0.4.4/build/ddcci'
> make -C "/lib/modules/6.8.9-amd64/build" 
> M="/var/lib/dkms/ddcci/0.4.4/build/ddcci" modules
> make[2]: Entering directory '/usr/src/linux-headers-6.8.9-amd64'
>   CC [M]  /var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.o
> /var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.c: In function ‘ddcci_detect’:
> /var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.c:1673:9: error: implicit 
> declaration of function ‘strlcpy’; did you mean ‘strscpy’? 
> [-Werror=implicit-function-declaration]
>  1673 | strlcpy(info->type, (outer_addr == DDCCI_DEFAULT_DEVICE_ADDR) 
> ? "ddcci" : "ddcci-dependent", I2C_NAME_SIZE);
>   | ^~~
>   | strscpy
> /var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.c: At top level:
> /var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.c:1831:27: error: ‘I2C_CLASS_DDC’ 
> undeclared here (not in a function); did you mean ‘I2C_CLASS_SPD’?
>  1831 | .class  = I2C_CLASS_DDC,
>   |   ^
>   |   I2C_CLASS_SPD
> cc1: some warnings being treated as errors
> make[4]: *** [/usr/src/linux-headers-6.8.9-common/scripts/Makefile.build:248: 
> /var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.o] Error 1
> make[3]: *** [/usr/src/linux-headers-6.8.9-common/Makefile:1946: 
> /var/lib/dkms/ddcci/0.4.4/build/ddcci] Error 2
> make[2]: *** [/usr/src/linux-headers-6.8.9-common/Makefile:252: __sub-make] 
> Error 2
> make[2]: Leaving directory '/usr/src/linux-headers-6.8.9-amd64'
> make[1]: *** [Makefile:38: ddcci.ko] Error 2
> make[1]: Leaving directory '/var/lib/dkms/ddcci/0.4.4/build/ddcci'
> make: *** [Makefile:28: ddcci] Error 2
> make: Leaving directory '/var/lib/dkms/ddcci/0.4.4/build'
> 
> 
> Please point out in case I did anything wrong reporting this bug, this
> is the first time I'm using reportbug.

You opened it against the wrong package.  Your ddcci module is broken
and needs to be updated to be compatible with Linux 6.8.  The package
you have opened the bug against is only the messenger.

Anyway, I fixed this for you.

Bastian

-- 
One does not thank logic.
-- Sarek, "Journey to Babel", stardate 3842.4



Bug#1071825: linux-image-6.8.9-amd64: Fails to build some module(s) during install

2024-05-25 Thread Gregor Düster
Package: src:linux
Version: 6.8.9-1
Severity: important

Dear Maintainer,

unfortunately, configuration of the latest linux-image-6.8.9-amd64
(6.8.9-1) fails with the following error:

$ sudo dpkg --configure -a
Setting up linux-image-6.8.9-amd64 (6.8.9-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.8.9-amd64.
Sign command: /lib/modules/6.8.9-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s)...(bad exit status: 2)
Failed command:
make -j8 KERNELRELEASE=6.8.9-amd64 KVER=6.8.9-amd64 -C 
/var/lib/dkms/ddcci/0.4.4/build
Error! Bad return status for module build on kernel: 6.8.9-amd64 (x86_64)
Consult /var/lib/dkms/ddcci/0.4.4/build/make.log for more information.
dkms autoinstall on 6.8.9-amd64/x86_64 failed for ddcci(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.8.9-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.8.9-amd64 (--configure):
 installed linux-image-6.8.9-amd64 package post-installation script subprocess 
returned error exit status 11
dpkg: dependency problems prevent configuration of linux-headers-6.8.9-amd64:
 linux-headers-6.8.9-amd64 depends on linux-image-6.8.9-amd64 (= 6.8.9-1) | 
linux-image-6.8.9-amd64-unsigned (= 6.8.9-1); however:
  Package linux-image-6.8.9-amd64 is not configured yet.
  Package linux-image-6.8.9-amd64-unsigned is not installed.

dpkg: error processing package linux-headers-6.8.9-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.8.9-amd64 (= 6.8.9-1); however:
  Package linux-headers-6.8.9-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.8.9-amd64 (= 6.8.9-1); however:
  Package linux-image-6.8.9-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.8.9-amd64
 linux-headers-6.8.9-amd64
 linux-headers-amd64
 linux-image-amd64

Here's the content of /var/lib/dkms/ddcci/0.4.4/build/make.log:

DKMS make.log for ddcci-0.4.4 for kernel 6.8.9-amd64 (x86_64)
Sat 25 May 09:43:08 CEST 2024
make: Entering directory '/var/lib/dkms/ddcci/0.4.4/build'
make -C "ddcci"
make[1]: Entering directory '/var/lib/dkms/ddcci/0.4.4/build/ddcci'
make -C "/lib/modules/6.8.9-amd64/build" 
M="/var/lib/dkms/ddcci/0.4.4/build/ddcci" modules
make[2]: Entering directory '/usr/src/linux-headers-6.8.9-amd64'
  CC [M]  /var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.o
/var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.c: In function ‘ddcci_detect’:
/var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.c:1673:9: error: implicit 
declaration of function ‘strlcpy’; did you mean ‘strscpy’? 
[-Werror=implicit-function-declaration]
 1673 | strlcpy(info->type, (outer_addr == DDCCI_DEFAULT_DEVICE_ADDR) ? 
"ddcci" : "ddcci-dependent", I2C_NAME_SIZE);
  | ^~~
  | strscpy
/var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.c: At top level:
/var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.c:1831:27: error: ‘I2C_CLASS_DDC’ 
undeclared here (not in a function); did you mean ‘I2C_CLASS_SPD’?
 1831 | .class  = I2C_CLASS_DDC,
  |   ^
  |   I2C_CLASS_SPD
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-6.8.9-common/scripts/Makefile.build:248: 
/var/lib/dkms/ddcci/0.4.4/build/ddcci/ddcci.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.8.9-common/Makefile:1946: 
/var/lib/dkms/ddcci/0.4.4/build/ddcci] Error 2
make[2]: *** [/usr/src/linux-headers-6.8.9-common/Makefile:252: __sub-make] 
Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.8.9-amd64'
make[1]: *** [Makefile:38: ddcci.ko] Error 2
make[1]: Leaving directory '/var/lib/dkms/ddcci/0.4.4/build/ddcci'
make: *** [Makefile:28: ddcci] Error 2
make: Leaving directory '/var/lib/dkms/ddcci/0.4.4/build'


Please point out in case I did anything wrong reporting this bug, this
is the first time I'm using reportbug.

Best regards

-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
sys_vendor: System manufacturer
product_name: System Product Name
product_version: System Version
chassis_vendor: Default string
chassis_version: Default string
bios_vendor: American Megatrends Inc.
bios_version: 2604
board_vendor: ASUSTeK COMPUTER INC.
board_name: B150-PRO D3
board_version: Rev X.0x

** PCI devices:
00:00.0