Bug#1071575: dahdi-dkms: module fails to build for Linux 6.8.9: error: implicit declaration of function 'strlcpy'

Andreas Beckmann anbe at debian.org
Tue May 21 13:57:47 BST 2024


Package: dahdi-dkms
Version: 1:3.1.0+git20230717~dfsg-5
Severity: serious

DKMS make.log for dahdi-3.1.0+git20230717 for kernel 6.8.9-amd64 (x86_64)
Sun May 19 19:55:53 UTC 2024
make -C /lib/modules/6.8.9-amd64/build KBUILD_EXTMOD=/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/3.1.0+git20230717/build/include DAHDI_MODULES_EXTRA="dahdi_dummy.o dahdi_echocan_oslec.o " HOTPLUG_FIRMWARE=yes m
odules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-6.8.9-amd64'
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/icE1usb/icE1usb.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/apilib/bt/octapi_bt0.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/apilib/largmath/octapi_largmath.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/apilib/llman/octapi_llman.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/oct612x-user.o
  LD [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/oct612x/oct612x.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wct4xxp/base.o
In file included from /usr/src/linux-headers-6.8.9-common/include/linux/srcu.h:21,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/notifier.h:16,
                 from /usr/src/linux-headers-6.8.9-common/arch/x86/include/asm/uprobes.h:13,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/uprobes.h:49,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/mm_types.h:16,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/mmzone.h:22,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/gfp.h:7,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/umh.h:4,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/kmod.h:9,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/module.h:17,
                 from /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wct4xxp/base.c:32:
/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wct4xxp/base.c: In function 'free_wc':
/usr/src/linux-headers-6.8.9-common/include/linux/workqueue.h:625:9: warning: call to '__warn_flushing_systemwide_wq' declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  625 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wct4xxp/base.c:2016:9: note: in expansion of macro 'flush_scheduled_work'
 2016 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wct4xxp/vpm450m.o
  LD [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wct4xxp/wct4xxp.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wctc4xxp/base.o
  LD [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wctc4xxp/wctc4xxp.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wctdm24xxp/base.o
In file included from /usr/src/linux-headers-6.8.9-common/include/linux/srcu.h:21,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/notifier.h:16,
                 from /usr/src/linux-headers-6.8.9-common/arch/x86/include/asm/uprobes.h:13,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/uprobes.h:49,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/mm_types.h:16,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/mmzone.h:22,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/gfp.h:7,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/umh.h:4,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/kmod.h:9,
                 from /usr/src/linux-headers-6.8.9-common/include/linux/module.h:17,
                 from /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wctdm24xxp/base.c:43:
/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wctdm24xxp/base.c: In function 'wctdm_remove_one':
/usr/src/linux-headers-6.8.9-common/include/linux/workqueue.h:625:9: warning: call to '__warn_flushing_systemwide_wq' declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  625 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wctdm24xxp/base.c:5999:9: note: in expansion of macro 'flush_scheduled_work'
 5999 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.8.9-common/include/linux/workqueue.h:625:9: warning: call to '__warn_flushing_systemwide_wq' declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  625 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wctdm24xxp/base.c:5999:9: note: in expansion of macro 'flush_scheduled_work'
 5999 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.8.9-common/include/linux/workqueue.h:625:9: warning: call to '__warn_flushing_systemwide_wq' declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  625 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wctdm24xxp/base.c:5999:9: note: in expansion of macro 'flush_scheduled_work'
 5999 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wctdm24xxp/xhfc.o
  LD [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wctdm24xxp/wctdm24xxp.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wcte12xp/base.o
  LD [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wcte12xp/wcte12xp.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/voicebus/voicebus.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/voicebus/GpakCust.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/voicebus/GpakApi.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/voicebus/voicebus_net.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/voicebus/vpmoct.o
  LD [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/voicebus/dahdi_voicebus.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wcb4xxp/base.o
  LD [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/wcb4xxp/wcb4xxp.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/xbus-core.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/xbus-sysfs.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/xbus-pcm.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/xframe_queue.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/xpp_dahdi.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/xproto.o
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/card_global.o
/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/card_global.c: In function 'parse_chip_command':
/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/card_global.c:344:9: error: implicit declaration of function 'strlcpy'; did you mean 'strscpy'? [-Werror=implicit-function-declaration]
  344 |         strlcpy(buf, cmdline, MAX_PROC_WRITE);  /* Save a copy */
      |         ^~~~~~~
      |         strscpy
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-6.8.9-common/scripts/Makefile.build:248: /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/card_global.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.8.9-common/scripts/Makefile.build:486: /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp] Error 2
make[2]: *** [/usr/src/linux-headers-6.8.9-common/Makefile:1946: /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi] Error 2
make[1]: *** [/usr/src/linux-headers-6.8.9-common/Makefile:252: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.9-amd64'
make: *** [Makefile:74: modules] Error 2
make -C /lib/modules/6.8.9-amd64/build KBUILD_EXTMOD=/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/dahdi/3.1.0+git20230717/build/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-6.8.9-amd64'
  CC [M]  /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/card_global.o
/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/card_global.c: In function 'parse_chip_command':
/var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/card_global.c:344:9: error: implicit declaration of function 'strlcpy'; did you mean 'strscpy'? [-Werror=implicit-function-declaration]
  344 |         strlcpy(buf, cmdline, MAX_PROC_WRITE);  /* Save a copy */
      |         ^~~~~~~
      |         strscpy
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-6.8.9-common/scripts/Makefile.build:248: /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp/card_global.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.8.9-common/scripts/Makefile.build:486: /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi/xpp] Error 2
make[2]: *** [/usr/src/linux-headers-6.8.9-common/Makefile:1946: /var/lib/dkms/dahdi/3.1.0+git20230717/build/drivers/dahdi] Error 2
make[1]: *** [/usr/src/linux-headers-6.8.9-common/Makefile:252: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.9-amd64'
make: *** [Makefile:74: modules] Error 2


Andreas



More information about the Pkg-voip-maintainers mailing list