Bug#1012316: dahdi-dkms: fails to build modules for Linux 5.17

Andreas Beckmann anbe at debian.org
Fri Jun 3 21:23:00 BST 2022


Package: dahdi-dkms
Version: 1:2.11.1.0.20170917~dfsg-7.5
Severity: serious

DKMS make.log for dahdi-2.11.1.0.20170917~dfsg-7.5 for kernel 5.17.0-3-amd64 (x86_64)
Fri Jun  3 20:10:19 UTC 2022
make -C /lib/modules/5.17.0-3-amd64/build KBUILD_EXTMOD=/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/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-5.17.0-3-amd64'
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/apilib/bt/octapi_bt0.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/apilib/largmath/octapi_largmath.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/apilib/llman/octapi_llman.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/oct612x-user.o
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/oct612x/oct612x.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wct4xxp/base.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wct4xxp/vpm450m.o
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wct4xxp/wct4xxp.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wctc4xxp/base.o
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wctc4xxp/base.c: In function 'wctc4xxp_net_register':
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wctc4xxp/base.c:678:22: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  678 |         memcpy(netdev->dev_addr, our_mac, sizeof(our_mac));
      |                ~~~~~~^~~~~~~~~~
In file included from /usr/src/linux-headers-5.17.0-3-common/include/linux/string.h:253,
                 from /usr/src/linux-headers-5.17.0-3-common/include/linux/bitmap.h:11,
                 from /usr/src/linux-headers-5.17.0-3-common/include/linux/cpumask.h:12,
                 from /usr/src/linux-headers-5.17.0-3-common/arch/x86/include/asm/cpumask.h:5,
                 from /usr/src/linux-headers-5.17.0-3-common/arch/x86/include/asm/msr.h:11,
                 from /usr/src/linux-headers-5.17.0-3-common/arch/x86/include/asm/processor.h:22,
                 from /usr/src/linux-headers-5.17.0-3-common/arch/x86/include/asm/timex.h:5,
                 from /usr/src/linux-headers-5.17.0-3-common/include/linux/timex.h:65,
                 from /usr/src/linux-headers-5.17.0-3-common/include/linux/time32.h:13,
                 from /usr/src/linux-headers-5.17.0-3-common/include/linux/time.h:60,
                 from /usr/src/linux-headers-5.17.0-3-common/include/linux/stat.h:19,
                 from /usr/src/linux-headers-5.17.0-3-common/include/linux/module.h:13,
                 from /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wctc4xxp/base.c:24:
/usr/src/linux-headers-5.17.0-3-common/include/linux/fortify-string.h:212:37: note: expected 'void *' but argument is of type 'const unsigned char *'
  212 | __FORTIFY_INLINE void *memcpy(void *p, const void *q, __kernel_size_t size)
      |                               ~~~~~~^
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wctc4xxp/wctc4xxp.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wctdm24xxp/base.o
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wctdm24xxp/base.c: In function 'wctdm_check_battery_lost':
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/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~dfsg-7.5/build/drivers/dahdi/wctdm24xxp/base.c:1984:9: note: here
 1984 |         case BATTERY_PRESENT:
      |         ^~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wctdm24xxp/base.c: In function 'wctdm_check_battery_present':
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/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~dfsg-7.5/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~dfsg-7.5/build/drivers/dahdi/wctdm24xxp/xhfc.o
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wctdm24xxp/wctdm24xxp.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wcte12xp/base.o
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wcte12xp/base.c: In function 't1xxp_set_linemode':
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/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~dfsg-7.5/build/drivers/dahdi/wcte12xp/base.c:2142:9: note: here
 2142 |         default:
      |         ^~~~~~~
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wcte12xp/wcte12xp.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/voicebus/voicebus.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/voicebus/GpakCust.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/voicebus/GpakApi.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/voicebus/voicebus_net.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/voicebus/vpmoct.o
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/voicebus/dahdi_voicebus.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wcb4xxp/base.o
  LD [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/wcb4xxp/wcb4xxp.o
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.o
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c: In function 'xbus_read_proc_open':
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:1841:50: error: implicit declaration of function 'PDE_DATA'; did you mean 'NODE_DATA'? [-Werror=implicit-function-declaration]
 1841 |         return single_open(file, xbus_proc_show, PDE_DATA(inode));
      |                                                  ^~~~~~~~
      |                                                  NODE_DATA
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:1841:50: warning: passing argument 3 of 'single_open' makes pointer from integer without a cast [-Wint-conversion]
 1841 |         return single_open(file, xbus_proc_show, PDE_DATA(inode));
      |                                                  ^~~~~~~~~~~~~~~
      |                                                  |
      |                                                  int
In file included from /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:29:
/usr/src/linux-headers-5.17.0-3-common/include/linux/seq_file.h:165:68: note: expected 'void *' but argument is of type 'int'
  165 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
      |                                                                    ^~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c: In function 'proc_xbus_command_open':
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:1938:28: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1938 |         file->private_data = PDE_DATA(inode);
      |                            ^
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c: In function 'xpp_proc_read_open':
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:1972:54: warning: passing argument 3 of 'single_open' makes pointer from integer without a cast [-Wint-conversion]
 1972 |         return single_open(file, xpp_proc_read_show, PDE_DATA(inode));
      |                                                      ^~~~~~~~~~~~~~~
      |                                                      |
      |                                                      int
In file included from /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:29:
/usr/src/linux-headers-5.17.0-3-common/include/linux/seq_file.h:165:68: note: expected 'void *' but argument is of type 'int'
  165 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
      |                                                                    ^~~~~~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.17.0-3-common/scripts/Makefile.build:293: /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.17.0-3-common/scripts/Makefile.build:555: /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp] Error 2
make[1]: *** [/usr/src/linux-headers-5.17.0-3-common/Makefile:1855: /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.17.0-3-amd64'
make: *** [Makefile:74: modules] Error 2
make -C /lib/modules/5.17.0-3-amd64/build KBUILD_EXTMOD=/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-5.17.0-3-amd64'
  CC [M]  /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.o
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c: In function 'xbus_read_proc_open':
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:1841:50: error: implicit declaration of function 'PDE_DATA'; did you mean 'NODE_DATA'? [-Werror=implicit-function-declaration]
 1841 |         return single_open(file, xbus_proc_show, PDE_DATA(inode));
      |                                                  ^~~~~~~~
      |                                                  NODE_DATA
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:1841:50: warning: passing argument 3 of 'single_open' makes pointer from integer without a cast [-Wint-conversion]
 1841 |         return single_open(file, xbus_proc_show, PDE_DATA(inode));
      |                                                  ^~~~~~~~~~~~~~~
      |                                                  |
      |                                                  int
In file included from /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:29:
/usr/src/linux-headers-5.17.0-3-common/include/linux/seq_file.h:165:68: note: expected 'void *' but argument is of type 'int'
  165 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
      |                                                                    ^~~~~~
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c: In function 'proc_xbus_command_open':
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:1938:28: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1938 |         file->private_data = PDE_DATA(inode);
      |                            ^
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c: In function 'xpp_proc_read_open':
/var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:1972:54: warning: passing argument 3 of 'single_open' makes pointer from integer without a cast [-Wint-conversion]
 1972 |         return single_open(file, xpp_proc_read_show, PDE_DATA(inode));
      |                                                      ^~~~~~~~~~~~~~~
      |                                                      |
      |                                                      int
In file included from /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.c:29:
/usr/src/linux-headers-5.17.0-3-common/include/linux/seq_file.h:165:68: note: expected 'void *' but argument is of type 'int'
  165 | int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
      |                                                                    ^~~~~~
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.17.0-3-common/scripts/Makefile.build:293: /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp/xbus-core.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.17.0-3-common/scripts/Makefile.build:555: /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi/xpp] Error 2
make[1]: *** [/usr/src/linux-headers-5.17.0-3-common/Makefile:1855: /var/lib/dkms/dahdi/2.11.1.0.20170917~dfsg-7.5/build/drivers/dahdi] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.17.0-3-amd64'
make: *** [Makefile:74: modules] Error 2


Andreas



More information about the Pkg-voip-maintainers mailing list