[Home]

Summary:DAHTOOL-00087: Error compiling dahdi-tools-3.1.0
Reporter:Wanderley Grecco Teixeira (wanderley)Labels:
Date Opened:2020-10-17 14:42:35Date Closed:
Priority:MajorRegression?
Status:Triage/NewComponents:General
Versions:3.0.0 Frequency of
Occurrence
Related
Issues:
Environment:Linux Debian 10.6, kernel 4.19.0-11-amd64, gcc version 8.3.0 (Debian 8.3.0-6) dahdi-tools-3.1.0Attachments:
Description:root@greco:/usr/src/dahdi-tools-3.1.0# make
make  all-recursive
make[1]: Entering directory '/usr/src/dahdi-tools-3.1.0'
Making all in xpp
make[2]: Entering directory '/usr/src/dahdi-tools-3.1.0/xpp'
Making all in perl_modules
make[3]: Entering directory '/usr/src/dahdi-tools-3.1.0/xpp/perl_modules'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/src/dahdi-tools-3.1.0/xpp/perl_modules'
Making all in oct612x
make[3]: Entering directory '/usr/src/dahdi-tools-3.1.0/xpp/oct612x'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/src/dahdi-tools-3.1.0/xpp/oct612x'
Making all in xtalk
make[3]: Entering directory '/usr/src/dahdi-tools-3.1.0/xpp/xtalk'
 CC       libxtalk_la-xusb_libusb.lo
xusb_libusb.c: In function ‘xusb_find_bypath’:
xusb_libusb.c:500:41: error: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4093 [-Werror=format-truncation=]
   snprintf(devpath_tail, PATH_MAX, "%3s/%3s",
                                        ^
xusb_libusb.c:500:4: note: ‘snprintf’ output between 8 and 8194 bytes into a destination of size 4096
   snprintf(devpath_tail, PATH_MAX, "%3s/%3s",
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    dev->bus->dirname, dev->filename);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:679: libxtalk_la-xusb_libusb.lo] Error 1
make[3]: Leaving directory '/usr/src/dahdi-tools-3.1.0/xpp/xtalk'
make[2]: *** [Makefile:1061: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/dahdi-tools-3.1.0/xpp'
make[1]: *** [Makefile:1136: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/dahdi-tools-3.1.0'
make: *** [Makefile:679: all] Error 2
root@greco:/usr/src/dahdi-tools-3.1.0#
Comments: