Bug#1028368: dahdi-dkms fails to install after arrival of 6.1.0-1 kernel

mc36 mc36 at freemail.hu
Tue Jan 10 03:50:37 GMT 2023


Package: dahdi-dkms
Version: 1:2.11.1.0.20170917~dfsg-8
Severity: normal

Dear Maintainer,

as title says....

thanks,
cs

mc36 at noti:~$ sudo apt install dahdi-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libecj-java libtonezone2.0 linux-headers-6.0.0-5-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  dahdi-linux
The following NEW packages will be installed:
  dahdi-dkms dahdi-linux
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/859 kB of archives.
After this operation, 6,213 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package dahdi-dkms.
(Reading database ... 801204 files and directories currently installed.)
Preparing to unpack .../dahdi-dkms_1%3a2.11.1.0.20170917~dfsg-8_all.deb ...
Unpacking dahdi-dkms (1:2.11.1.0.20170917~dfsg-8) ...
Selecting previously unselected package dahdi-linux.
Preparing to unpack .../dahdi-linux_1%3a2.11.1.0.20170917~dfsg-8_all.deb ...
Unpacking dahdi-linux (1:2.11.1.0.20170917~dfsg-8) ...
Setting up dahdi-dkms (1:2.11.1.0.20170917~dfsg-8) ...
Loading new dahdi-2.11.1.0.20170917~dfsg-8 DKMS files...
Building for 6.1.0-1-amd64
Building initial module for 6.1.0-1-amd64
Error! Bad return status for module build on kernel: 6.1.0-1-amd64 (x86_64)
Consult /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/make.log for more
information.
dpkg: error processing package dahdi-dkms (--configure):
 installed dahdi-dkms package post-installation script subprocess returned
error exit status 10
dpkg: dependency problems prevent configuration of dahdi-linux:
 dahdi-linux depends on dahdi-dkms | dahdi-source; however:
  Package dahdi-dkms is not configured yet.
  Package dahdi-source is not installed.

dpkg: error processing package dahdi-linux (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dahdi-dkms
 dahdi-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
mc36 at noti:~$ cat /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/make.log
DKMS make.log for dahdi-2.11.1.0.20170917~dfsg-8 for kernel 6.1.0-1-amd64
(x86_64)
Tue Jan 10 04:47:05 AM CET 2023
make -C /lib/modules/6.1.0-1-amd64/build
KBUILD_EXTMOD=/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi
DAHDI_INCLUDE=/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/include
DAHDI_MODULES_EXTRA="dahdi_dummy.o dahdi_echocan_oslec.o " HOTPLUG_FIRMWARE=yes
modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-1-amd64'
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/apilib/bt/octapi_bt0.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/apilib/largmath/octapi_largmath.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/apilib/llman/octapi_llman.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/oct612x-user.o
  LD [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/oct612x/oct612x.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wct4xxp/base.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wct4xxp/vpm450m.o
  LD [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wct4xxp/wct4xxp.o
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.o
In file included from /usr/src/linux-
headers-6.1.0-1-common/include/linux/string.h:253,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/bitmap.h:11,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/cpumask.h:12,
                 from /usr/src/linux-
headers-6.1.0-1-common/arch/x86/include/asm/cpumask.h:5,
                 from /usr/src/linux-
headers-6.1.0-1-common/arch/x86/include/asm/msr.h:11,
                 from /usr/src/linux-
headers-6.1.0-1-common/arch/x86/include/asm/processor.h:22,
                 from /usr/src/linux-
headers-6.1.0-1-common/arch/x86/include/asm/timex.h:5,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/timex.h:67,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/time32.h:13,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/time.h:60,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/stat.h:19,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/module.h:13,
                 from
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:24:
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:
In function ‘wctc4xxp_net_register’:
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:678:22:
warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier
from pointer target type [-Wdiscarded-qualifiers]
  678 |         memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
      |                ~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.1.0-1-common/include/linux/fortify-string.h:469:27:
note: in definition of macro ‘__fortify_memcpy_chk’
  469 |         __underlying_##op(p, q, __fortify_size);
\
      |                           ^
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:678:9:
note: in expansion of macro ‘memcpy’
  678 |         memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
      |         ^~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:678:22:
note: expected ‘void *’ but argument is of type ‘const unsigned char *’
  678 |         memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
      |                ~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.1.0-1-common/include/linux/fortify-string.h:469:27:
note: in definition of macro ‘__fortify_memcpy_chk’
  469 |         __underlying_##op(p, q, __fortify_size);
\
      |                           ^
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:678:9:
note: in expansion of macro ‘memcpy’
  678 |         memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
      |         ^~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:697:9:
error: too many arguments to function ‘netif_napi_add’
  697 |         netif_napi_add(netdev, &wc->napi, &wctc4xxp_poll, 64);
      |         ^~~~~~~~~~~~~~
In file included from /usr/src/linux-
headers-6.1.0-1-common/include/net/inet_sock.h:19,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/udp.h:16,
                 from
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:38:
/usr/src/linux-headers-6.1.0-1-common/include/linux/netdevice.h:2569:1: note:
declared here
 2569 | netif_napi_add(struct net_device *dev, struct napi_struct *napi,
      | ^~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-6.1.0-1-common/scripts/Makefile.build:255:
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.o]
Error 1
make[2]: *** [/usr/src/linux-headers-6.1.0-1-common/scripts/Makefile.build:505:
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp]
Error 2
make[1]: *** [/usr/src/linux-headers-6.1.0-1-common/Makefile:2017:
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-1-amd64'
make: *** [Makefile:74: modules] Error 2
make -C /lib/modules/6.1.0-1-amd64/build
KBUILD_EXTMOD=/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi
DAHDI_INCLUDE=/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/include
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-1-amd64'
  CC [M]
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.o
In file included from /usr/src/linux-
headers-6.1.0-1-common/include/linux/string.h:253,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/bitmap.h:11,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/cpumask.h:12,
                 from /usr/src/linux-
headers-6.1.0-1-common/arch/x86/include/asm/cpumask.h:5,
                 from /usr/src/linux-
headers-6.1.0-1-common/arch/x86/include/asm/msr.h:11,
                 from /usr/src/linux-
headers-6.1.0-1-common/arch/x86/include/asm/processor.h:22,
                 from /usr/src/linux-
headers-6.1.0-1-common/arch/x86/include/asm/timex.h:5,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/timex.h:67,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/time32.h:13,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/time.h:60,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/stat.h:19,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/module.h:13,
                 from
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:24:
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:
In function ‘wctc4xxp_net_register’:
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:678:22:
warning: passing argument 1 of ‘__builtin_memcpy’ discards ‘const’ qualifier
from pointer target type [-Wdiscarded-qualifiers]
  678 |         memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
      |                ~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.1.0-1-common/include/linux/fortify-string.h:469:27:
note: in definition of macro ‘__fortify_memcpy_chk’
  469 |         __underlying_##op(p, q, __fortify_size);
\
      |                           ^
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:678:9:
note: in expansion of macro ‘memcpy’
  678 |         memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
      |         ^~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:678:22:
note: expected ‘void *’ but argument is of type ‘const unsigned char *’
  678 |         memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
      |                ~~~~~~^~~~~~~~~~
/usr/src/linux-headers-6.1.0-1-common/include/linux/fortify-string.h:469:27:
note: in definition of macro ‘__fortify_memcpy_chk’
  469 |         __underlying_##op(p, q, __fortify_size);
\
      |                           ^
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:678:9:
note: in expansion of macro ‘memcpy’
  678 |         memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
      |         ^~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:697:9:
error: too many arguments to function ‘netif_napi_add’
  697 |         netif_napi_add(netdev, &wc->napi, &wctc4xxp_poll, 64);
      |         ^~~~~~~~~~~~~~
In file included from /usr/src/linux-
headers-6.1.0-1-common/include/net/inet_sock.h:19,
                 from /usr/src/linux-
headers-6.1.0-1-common/include/linux/udp.h:16,
                 from
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.c:38:
/usr/src/linux-headers-6.1.0-1-common/include/linux/netdevice.h:2569:1: note:
declared here
 2569 | netif_napi_add(struct net_device *dev, struct napi_struct *napi,
      | ^~~~~~~~~~~~~~
make[3]: *** [/usr/src/linux-headers-6.1.0-1-common/scripts/Makefile.build:255:
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp/base.o]
Error 1
make[2]: *** [/usr/src/linux-headers-6.1.0-1-common/scripts/Makefile.build:505:
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi/wctc4xxp]
Error 2
make[1]: *** [/usr/src/linux-headers-6.1.0-1-common/Makefile:2017:
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-8/build/drivers/dahdi] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-1-amd64'
make: *** [Makefile:74: modules] Error 2
mc36 at noti:~$


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dahdi-dkms depends on:
ii  dkms       3.0.9-1
ii  dpkg-dev   1.21.17
ii  gawk       1:5.1.0-1
ii  gcc        4:12.2.0-3
ii  libc6-dev  2.36-8
ii  make       4.3-4.1

Versions of packages dahdi-dkms recommends:
iu  dahdi-linux  1:2.11.1.0.20170917~dfsg-8

dahdi-dkms suggests no packages.

-- no debconf information


More information about the Pkg-voip-maintainers mailing list