Your message dated Thu, 15 Jun 2023 12:20:11 +0000
with message-id <e1q9lxt-00disj...@fasolo.debian.org>
and subject line Bug#1037974: fixed in ddcci-driver-linux 0.4.3-2
has caused the Debian Bug report #1037974,
regarding ddcci-dkms: code fails to build and package fails to install with 
Linux 6.3 headers
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.)


-- 
1037974: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037974
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ddcci-dkms
Version: 0.4.2-4
Severity: serious

When I try to install ddcci-dkms with the Linux 6.3 headers installed,
the build of the code fails and then the install of the package fails.

I think there are two problems here:

 * The code needs to be adapted to the latest Linux kernel version.
 * The package should not fail to install when the module build fails.
   This might be a problem in dkms itself, or in ddcci's integration.

I note that the combination of these issues also will break
installation of Linux 6.3 when ddcci-dkms is installed.

   $ sudo apt install ddcci-dkms 
   Reading package lists... Done
   Building dependency tree... Done
   Reading state information... Done
   The following NEW packages will be installed:
     ddcci-dkms
   0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
   Need to get 21.7 kB of archives.
   After this operation, 95.2 kB of additional disk space will be used.
   Get:1 https://deb.debian.org/debian testing/main amd64 ddcci-dkms all 
0.4.2-4 [21.7 kB]
   Fetched 21.7 kB in 1s (17.0 kB/s)     
   Retrieving bug reports... Done
   Parsing Found/Fixed information... Done
   Selecting previously unselected package ddcci-dkms.
   (Reading database ... 730615 files and directories currently installed.)
   Preparing to unpack .../ddcci-dkms_0.4.2-4_all.deb ...
   Unpacking ddcci-dkms (0.4.2-4) ...
   Setting up ddcci-dkms (0.4.2-4) ...
   Loading new ddcci-0.4.2 DKMS files...
   Building for 6.3.0-1-amd64
   Building initial module for 6.3.0-1-amd64
   Error! Bad return status for module build on kernel: 6.3.0-1-amd64 (x86_64)
   Consult /var/lib/dkms/ddcci/0.4.2/build/make.log for more information.
   dpkg: error processing package ddcci-dkms (--configure):
    installed ddcci-dkms package post-installation script subprocess returned 
error exit status 10
   Errors were encountered while processing:
    ddcci-dkms
   E: Sub-process /usr/bin/dpkg returned an error code (1)
   
   $ cat /var/lib/dkms/ddcci/0.4.2/build/make.log
   DKMS make.log for ddcci-0.4.2 for kernel 6.3.0-1-amd64 (x86_64)
   Thu 15 Jun 2023 10:23:01 AWST
   make: Entering directory '/var/lib/dkms/ddcci/0.4.2/build'
   make -C "ddcci"
   make[1]: Entering directory '/var/lib/dkms/ddcci/0.4.2/build/ddcci'
   make -C "/lib/modules/6.3.0-1-amd64/build" 
M="/var/lib/dkms/ddcci/0.4.2/build/ddcci" modules
   make[2]: Entering directory '/usr/src/linux-headers-6.3.0-1-amd64'
     CC [M]  /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.o
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1053:27: error: initialization 
of ‘int (*)(const struct device *, struct kobj_uevent_env *)’ from incompatible 
pointer type ‘int (*)(struct device *, struct kobj_uevent_env *)’ 
[-Werror=incompatible-pointer-types]
    1053 |         .uevent         = ddcci_device_uevent,
         |                           ^~~~~~~~~~~~~~~~~~~
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1053:27: note: (near 
initialization for ‘ddcci_device_type.uevent’)
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1056:27: error: initialization 
of ‘char * (*)(const struct device *, umode_t *, kuid_t *, kgid_t *)’ {aka 
‘char * (*)(const struct device *, short unsigned int *, kuid_t *, kgid_t *)’} 
from incompatible pointer type ‘char * (*)(struct device *, umode_t *, kuid_t 
*, kgid_t *)’ {aka ‘char * (*)(struct device *, short unsigned int *, kuid_t *, 
kgid_t *)’} [-Werror=incompatible-pointer-types]
    1056 |         .devnode        = ddcci_devnode
         |                           ^~~~~~~~~~~~~
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1056:27: note: (near 
initialization for ‘ddcci_device_type.devnode’)
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1062:27: error: initialization 
of ‘int (*)(const struct device *, struct kobj_uevent_env *)’ from incompatible 
pointer type ‘int (*)(struct device *, struct kobj_uevent_env *)’ 
[-Werror=incompatible-pointer-types]
    1062 |         .uevent         = ddcci_device_uevent,
         |                           ^~~~~~~~~~~~~~~~~~~
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1062:27: note: (near 
initialization for ‘ddcci_dependent_type.uevent’)
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1065:27: error: initialization 
of ‘char * (*)(const struct device *, umode_t *, kuid_t *, kgid_t *)’ {aka 
‘char * (*)(const struct device *, short unsigned int *, kuid_t *, kgid_t *)’} 
from incompatible pointer type ‘char * (*)(struct device *, umode_t *, kuid_t 
*, kgid_t *)’ {aka ‘char * (*)(struct device *, short unsigned int *, kuid_t *, 
kgid_t *)’} [-Werror=incompatible-pointer-types]
    1065 |         .devnode        = ddcci_dependent_devnode
         |                           ^~~~~~~~~~~~~~~~~~~~~~~
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1065:27: note: (near 
initialization for ‘ddcci_dependent_type.devnode’)
   In file included from 
/usr/src/linux-headers-6.3.0-1-common/include/linux/build_bug.h:5,
                    from 
/usr/src/linux-headers-6.3.0-1-common/include/linux/container_of.h:5,
                    from 
/usr/src/linux-headers-6.3.0-1-common/include/linux/list.h:5,
                    from 
/usr/src/linux-headers-6.3.0-1-common/include/linux/kobject.h:19,
                    from 
/usr/src/linux-headers-6.3.0-1-common/include/linux/cdev.h:5,
                    from /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:16:
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c: In function 
‘ddcci_register_driver’:
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1107:46: error: ‘struct 
bus_type’ has no member named ‘p’; did you mean ‘pm’?
    1107 |         if (unlikely(WARN_ON(!ddcci_bus_type.p)))
         |                                              ^
   /usr/src/linux-headers-6.3.0-1-common/include/linux/compiler.h:78:45: note: 
in definition of macro ‘unlikely’
      78 | # define unlikely(x)    __builtin_expect(!!(x), 0)
         |                                             ^
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1107:22: note: in expansion of 
macro ‘WARN_ON’
    1107 |         if (unlikely(WARN_ON(!ddcci_bus_type.p)))
         |                      ^~~~~~~
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c: At top level:
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1819:27: error: initialization 
of ‘int (*)(struct i2c_client *)’ from incompatible pointer type ‘int 
(*)(struct i2c_client *, const struct i2c_device_id *)’ 
[-Werror=incompatible-pointer-types]
    1819 |         .probe          = ddcci_probe,
         |                           ^~~~~~~~~~~
   /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1819:27: note: (near 
initialization for ‘ddcci_driver.<anonymous>.probe’)
   cc1: some warnings being treated as errors
   make[3]: *** 
[/usr/src/linux-headers-6.3.0-1-common/scripts/Makefile.build:257: 
/var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.o] Error 1
   make[2]: *** [/usr/src/linux-headers-6.3.0-1-common/Makefile:2050: 
/var/lib/dkms/ddcci/0.4.2/build/ddcci] Error 2
   make[2]: Leaving directory '/usr/src/linux-headers-6.3.0-1-amd64'
   make[1]: *** [Makefile:38: ddcci.ko] Error 2
   make[1]: Leaving directory '/var/lib/dkms/ddcci/0.4.2/build/ddcci'
   make: *** [Makefile:28: ddcci] Error 2
   make: Leaving directory '/var/lib/dkms/ddcci/0.4.2/build'

-- System Information:
Debian Release: 12.0
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ddcci-dkms depends on:
ii  dkms  3.0.10-8

ddcci-dkms recommends no packages.

ddcci-dkms suggests no packages.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

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


--- End Message ---
--- Begin Message ---
Source: ddcci-driver-linux
Source-Version: 0.4.3-2
Done: Stephen Kitt <sk...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ddcci-driver-linux, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1037...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Kitt <sk...@debian.org> (supplier of updated ddcci-driver-linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 15 Jun 2023 13:14:45 +0200
Source: ddcci-driver-linux
Architecture: source
Version: 0.4.3-2
Distribution: unstable
Urgency: medium
Maintainer: Stephen Kitt <sk...@debian.org>
Changed-By: Stephen Kitt <sk...@debian.org>
Closes: 1037974
Changes:
 ddcci-driver-linux (0.4.3-2) unstable; urgency=medium
 .
   * Add upstream candidate patches to build with versions 6.2, 6.3, and
     6.4 of the kernel. Closes: #1037974.
Checksums-Sha1:
 5bf734a27219b519f140c1aa8984d286bbc7b817 1987 ddcci-driver-linux_0.4.3-2.dsc
 f83381408b303c1fd24957cd3e84587bf92ee620 5148 
ddcci-driver-linux_0.4.3-2.debian.tar.xz
 a0a77e676dab233de04c14d7f67db29e47919bad 7095 
ddcci-driver-linux_0.4.3-2_source.buildinfo
Checksums-Sha256:
 6a942dfe3cc0db6e00559d14dc4c184614768f5de5f55948c9d842f7e8f9ea69 1987 
ddcci-driver-linux_0.4.3-2.dsc
 3fb300320cfea2f531c6469e161316856b5b1d44152fb6a5f495e551e267b3fd 5148 
ddcci-driver-linux_0.4.3-2.debian.tar.xz
 3f296e333ea1d448a72b204b671c5e965177b5191f519dbf2d15f446013cf8d7 7095 
ddcci-driver-linux_0.4.3-2_source.buildinfo
Files:
 f9618d4204acaa3f3d9d8b135c83680a 1987 kernel optional 
ddcci-driver-linux_0.4.3-2.dsc
 81644a0c73cfbb55a29bdb2d19bf3b4d 5148 kernel optional 
ddcci-driver-linux_0.4.3-2.debian.tar.xz
 1e5e0c15a8d0aeb87e9963c46dd5c98c 7095 kernel optional 
ddcci-driver-linux_0.4.3-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEnPVX/hPLkMoq7x0ggNMC9Yhtg5wFAmSK8skACgkQgNMC9Yht
g5z48A//UUhAjFR3ei70OqNaG2w1urXTxUtysRDr9mu4G6vacF4lW7PLLvzp8Vpc
VpStQNn99fSU5wKZK4EDNSaEGmqmSJK7IQM0gvg9ebkXa3nHZLg7Nx8zYVZRmoNE
lZCm941ZbLEccBB5DEI8tP3YoF+6LBS4cmOTdOCVaNwlvXlMDqZm3q1eejguagtW
1Aa6WOTmtnf2Yw62IZs6uBCWzHAVqhtcxzrCjHfOVzXR9c78ezaqJUFbPp4h0Cbw
XtybDZibxYaVVmTDGPgtRkaVUBRuiURSOQUmUQ2FSg9GjxdtKaBs96YCq1dmTRhN
cXZGntbxJkkYUw61L8ic5IKvPLJziI+sNMVuCG5yhOIYPTg5+CXF6Q2+ADUjQnCv
civRgAE9ijjesZx4x8e6GAPTuApWodUoXn1xosGKz4RfG0JRJc7OKJxJnthafWeC
tuR1XK4uNt4D6CgUJXsj0bsVTGfSu+43fLbcxhm0vnR4coyJ3sCZRmRMaNw2SV0h
U37baVDA/QbxSaU3fWI3RCNrIzg70yB6nh23c8XLxOTYBnqijHKihxZisN5ee7UD
8TbLp5JuRpfVZ7XHQP9mVPC2sU8jr7Lhn3zcNFEzFzPIWSovj+ERuk6gLYQjv8mn
9iumZl6TrQA+5fozZjwiqgHjtaDcjTOISMzRC4Ut0+2/MWQu7BM=
=uAho
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to