Bug#1037993: dahdi-dkms: module fails to build for Linux 6.3

Andreas Beckmann anbe at debian.org
Thu Jun 15 10:47:08 BST 2023


Package: dahdi-dkms
Version: 1:2.11.1.0.20170917~dfsg-8.4
Severity: serious
Tags: sid trixie
User: debian-qa at lists.debian.org
Usertags: piuparts


DKMS make.log for dahdi-2.11.1.0.20170917 for kernel 6.3.0-1-amd64 (x86_64)
Thu Jun 15 09:40:51 UTC 2023
make -C /lib/modules/6.3.0-1-amd64/build KBUILD_EXTMOD=/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/2.11.1.0.20170917/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.3.0-1-amd64'
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/apilib/bt/octapi_bt0.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/apilib/largmath/octapi_largmath.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/apilib/llman/octapi_llman.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/oct612x-user.o
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/oct612x/oct612x.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wct4xxp/base.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wct4xxp/vpm450m.o
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wct4xxp/wct4xxp.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctc4xxp/base.o
In file included from /usr/src/linux-headers-6.3.0-1-common/include/linux/string.h:254,
                 from /usr/src/linux-headers-6.3.0-1-common/include/linux/bitmap.h:11,
                 from /usr/src/linux-headers-6.3.0-1-common/include/linux/cpumask.h:12,
                 from /usr/src/linux-headers-6.3.0-1-common/arch/x86/include/asm/paravirt.h:17,
                 from /usr/src/linux-headers-6.3.0-1-common/arch/x86/include/asm/cpuid.h:62,
                 from /usr/src/linux-headers-6.3.0-1-common/arch/x86/include/asm/processor.h:19,
                 from /usr/src/linux-headers-6.3.0-1-common/arch/x86/include/asm/timex.h:5,
                 from /usr/src/linux-headers-6.3.0-1-common/include/linux/timex.h:67,
                 from /usr/src/linux-headers-6.3.0-1-common/include/linux/time32.h:13,
                 from /usr/src/linux-headers-6.3.0-1-common/include/linux/time.h:60,
                 from /usr/src/linux-headers-6.3.0-1-common/include/linux/stat.h:19,
                 from /usr/src/linux-headers-6.3.0-1-common/include/linux/module.h:13,
                 from /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctc4xxp/base.c:24:
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctc4xxp/base.c: In function 'wctc4xxp_net_register':
/var/lib/dkms/dahdi/2.11.1.0.20170917/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.3.0-1-common/include/linux/fortify-string.h:585:27: note: in definition of macro '__fortify_memcpy_chk'
  585 |         __underlying_##op(p, q, __fortify_size);                        \
      |                           ^
/var/lib/dkms/dahdi/2.11.1.0.20170917/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/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.3.0-1-common/include/linux/fortify-string.h:585:27: note: in definition of macro '__fortify_memcpy_chk'
  585 |         __underlying_##op(p, q, __fortify_size);                        \
      |                           ^
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctc4xxp/base.c:678:9: note: in expansion of macro 'memcpy'
  678 |         memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
      |         ^~~~~~
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctc4xxp/wctc4xxp.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctdm24xxp/base.o
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctdm24xxp/base.c: In function 'wctdm_check_battery_lost':
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctdm24xxp/base.c:1983:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1983 |                 mod_hooksig(wc, mod, DAHDI_RXSIG_ONHOOK);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctdm24xxp/base.c:1984:9: note: here
 1984 |         case BATTERY_PRESENT:
      |         ^~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctdm24xxp/base.c: In function 'wctdm_check_battery_present':
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctdm24xxp/base.c:2091:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2091 |                 mod_hooksig(wc, mod, DAHDI_RXSIG_OFFHOOK);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctdm24xxp/base.c:2092:9: note: here
 2092 |         case BATTERY_LOST: /* intentional drop through */
      |         ^~~~
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctdm24xxp/xhfc.o
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wctdm24xxp/wctdm24xxp.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wcte12xp/base.o
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wcte12xp/base.c: In function 't1xxp_set_linemode':
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wcte12xp/base.c:2141:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2141 |                 res = t1_software_init(wc, J1);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wcte12xp/base.c:2142:9: note: here
 2142 |         default:
      |         ^~~~~~~
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wcte12xp/wcte12xp.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/voicebus/voicebus.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/voicebus/GpakCust.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/voicebus/GpakApi.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/voicebus/voicebus_net.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/voicebus/vpmoct.o
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/voicebus/dahdi_voicebus.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wcb4xxp/base.o
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/wcb4xxp/wcb4xxp.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-core.o
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-core.c: In function 'xbus_check_unique':
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-core.c:109:13: warning: the comparison will always evaluate as 'true' for the address of 'label' will never be NULL [-Waddress]
  109 |         if (xbus->label && *(xbus->label)) {
      |             ^~~~
In file included from /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-core.c:40:
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-core.h:187:14: note: 'label' declared here
  187 |         char label[LABEL_SIZE];
      |              ^~~~~
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-sysfs.o
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-sysfs.c:500:19: 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]
  500 |         .uevent = astribank_uevent,
      |                   ^~~~~~~~~~~~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-sysfs.c:500:19: note: (near initialization for 'toplevel_bus_type.uevent')
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/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-sysfs.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.3.0-1-common/scripts/Makefile.build:499: /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp] Error 2
make[1]: *** [/usr/src/linux-headers-6.3.0-1-common/Makefile:2050: /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.3.0-1-amd64'
make: *** [Makefile:74: modules] Error 2
make -C /lib/modules/6.3.0-1-amd64/build KBUILD_EXTMOD=/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/2.11.1.0.20170917/build/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-6.3.0-1-amd64'
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-sysfs.o
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-sysfs.c:500:19: 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]
  500 |         .uevent = astribank_uevent,
      |                   ^~~~~~~~~~~~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-sysfs.c:500:19: note: (near initialization for 'toplevel_bus_type.uevent')
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/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp/xbus-sysfs.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.3.0-1-common/scripts/Makefile.build:499: /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi/xpp] Error 2
make[1]: *** [/usr/src/linux-headers-6.3.0-1-common/Makefile:2050: /var/lib/dkms/dahdi/2.11.1.0.20170917/build/drivers/dahdi] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.3.0-1-amd64'
make: *** [Makefile:74: modules] Error 2

Andreas



More information about the Pkg-voip-maintainers mailing list