[asterisk-bugs] [JIRA] (DAHTOOL-87) Error compiling dahdi-tools-3.1.0
Keith Morgan (JIRA)
noreply at issues.asterisk.org
Mon Oct 18 10:17:49 CDT 2021
[ https://issues.asterisk.org/jira/browse/DAHTOOL-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Morgan updated DAHTOOL-87:
--------------------------------
Assignee: Duncan Patterson (was: Keith Morgan)
> Error compiling dahdi-tools-3.1.0
> ----------------------------------
>
> Key: DAHTOOL-87
> URL: https://issues.asterisk.org/jira/browse/DAHTOOL-87
> Project: DAHDI-Tools
> Issue Type: Bug
> Security Level: None
> Components: General
> Affects Versions: 3.0.0
> 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.0
> Reporter: Wanderley Grecco Teixeira
> Assignee: Duncan Patterson
> Severity: Major
>
> root at 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 at greco:/usr/src/dahdi-tools-3.1.0#
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list