=> Building audio/espeak Started : Monday, 22 JUL 2019 at 01:19:09 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.6-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.6-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for espeak-1.48.04_6: DOCS=on: Build and/or install documentation ====> Options available for the radio AUDIO_SYSTEM: you can only select none or one of them PORTAUDIO=on: PortAudio library support PULSEAUDIO=off: PulseAudio sound server support RUNTIME=off: Sound interface selected at runtime ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/audio/espeak XDG_CONFIG_HOME=/construction/audio/espeak HOME=/construction/audio/espeak TMPDIR="/tmp" PATH=/construction/audio/espeak/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- AUDIO="portaudio" XDG_DATA_HOME=/construction/audio/espeak XDG_CONFIG_HOME=/construction/audio/espeak HOME=/construction/audio/espeak TMPDIR="/tmp" PATH=/construction/audio/espeak/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/audio/espeak/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/espeak" EXAMPLESDIR="share/examples/espeak" DATADIR="share/espeak" WWWDIR="www/espeak" ETCDIR="etc/espeak" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/espeak DOCSDIR=/usr/local/share/doc/espeak EXAMPLESDIR=/usr/local/share/examples/espeak WWWDIR=/usr/local/www/espeak ETCDIR=/usr/local/etc/espeak -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.6 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500601 OSVERSION=9999999 OSREL=5.6 _OSRELEASE=5.6-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> espeak-1.48.04_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> espeak-1.48.04_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of espeak-1.48.04_6 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by espeak-1.48.04_6 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by espeak-1.48.04_6 for building => SHA256 Checksum OK for espeak-1.48.04-source.zip. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv3 accepted by the user ===> Fetching all distfiles required by espeak-1.48.04_6 for building ===> Extracting for espeak-1.48.04_6 => SHA256 Checksum OK for espeak-1.48.04-source.zip. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for espeak-1.48.04_6 ===> Applying ports patches for espeak-1.48.04_6 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> espeak-1.48.04_6 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.20.1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.20.1: .......... done Extracting gmake-4.2.1_3: .......... done ===> espeak-1.48.04_6 depends on executable: gmake - found ===> Returning to build of espeak-1.48.04_6 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> espeak-1.48.04_6 depends on shared library: libportaudio.so - not found ===> Installing existing package /packages/All/portaudio-19.6.0_3,1.txz Installing portaudio-19.6.0_3,1... Extracting portaudio-19.6.0_3,1: .......... done ===> espeak-1.48.04_6 depends on shared library: libportaudio.so - found (/usr/local/lib/libportaudio.so) ===> Returning to build of espeak-1.48.04_6 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for espeak-1.48.04_6 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for espeak-1.48.04_6 gmake[1]: Entering directory '/construction/audio/espeak/espeak-1.48.04-source/src' c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions speak.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions compiledict.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions dictionary.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions intonation.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions readclause.cpp speak.cpp: In function 'void DisplayVoices(FILE*, char*)': speak.cpp:208:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for(j=0; j < sizeof(buf); j++) ~~^~~~~~~~~~~~~ intonation.cpp: In function 'void CalcPitches(Translator*, int)': intonation.cpp:1118:7: warning: variable 'group_tone_emph' set but not used [-Wunused-but-set-variable] int group_tone_emph; ^~~~~~~~~~~~~~~ dictionary.cpp: In function 'const char* GetTranslatedPhonemeString(int)': dictionary.cpp:767:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if((phon_out_ix + len) >= phon_out_size) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ dictionary.cpp: In function 'void SetWordStress(Translator*, char*, unsigned int*, int, int)': dictionary.cpp:1207:6: warning: variable 'post_tonic' set but not used [-Wunused-but-set-variable] int post_tonic; // currently not used ^~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions setlengths.cpp readclause.cpp: In function 'const char* LookupCharName(Translator*, int, int)': readclause.cpp:812:16: warning: '%s' directive writing up to 59 bytes into a region of size 52 [-Wformat-overflow=] sprintf(buf,"[\002_^_%s %s _^_%s]]","en",phonemes2,WordToString2(tr->translator_name)); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ readclause.cpp:812:11: note: 'sprintf' output between 15 and 78 bytes into a destination of size 60 sprintf(buf,"[\002_^_%s %s _^_%s]]","en",phonemes2,WordToString2(tr->translator_name)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readclause.cpp:819:16: warning: '%s' directive writing up to 59 bytes into a region of size 58 [-Wformat-overflow=] sprintf(buf,"[\002%s]] ",phonemes2); ^~~~~~~~~~~~ ~~~~~~~~~ readclause.cpp:819:11: note: 'sprintf' output between 6 and 65 bytes into a destination of size 60 sprintf(buf,"[\002%s]] ",phonemes2); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions numbers.cpp numbers.cpp: In function 'int LookupThousands(Translator*, int, int, int, char*)': numbers.cpp:1342:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if(!found_value & (number_control & 1)) ^~~~~~~~~~~~ numbers.cpp:1339:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%do",value,thousandplex); ^~~~~~~~~ numbers.cpp:1339:20: note: directive argument in the range [-2147483647, 2147483647] numbers.cpp:1339:12: note: 'sprintf' output between 6 and 25 bytes into a destination of size 12 sprintf(string,"_%dM%do",value,thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1345:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%de",value,thousandplex); ^~~~~~~~~ numbers.cpp:1345:20: note: directive argument in the range [-2147483647, 2147483647] numbers.cpp:1345:12: note: 'sprintf' output between 6 and 25 bytes into a destination of size 12 sprintf(string,"_%dM%de",value,thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1351:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%dx",value,thousandplex); ^~~~~~~~~ numbers.cpp:1351:20: note: directive argument in the range [-2147483647, 2147483647] numbers.cpp:1351:12: note: 'sprintf' output between 6 and 25 bytes into a destination of size 12 sprintf(string,"_%dM%dx",value,thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1357:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%d",value,thousandplex); ^~~~~~~~ numbers.cpp:1357:19: note: directive argument in the range [-2147483647, 2147483647] numbers.cpp:1357:11: note: 'sprintf' output between 5 and 24 bytes into a destination of size 12 sprintf(string,"_%dM%d",value,thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1375:20: warning: 'o' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%do",M_Variant(value), thousandplex); ^~~~~~~~ numbers.cpp:1375:12: note: 'sprintf' output 4 or more bytes (assuming 14) into a destination of size 12 sprintf(string,"_%s%do",M_Variant(value), thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1381:20: warning: 'e' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%de",M_Variant(value), thousandplex); ^~~~~~~~ numbers.cpp:1381:12: note: 'sprintf' output 4 or more bytes (assuming 14) into a destination of size 12 sprintf(string,"_%s%de",M_Variant(value), thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1387:20: warning: 'x' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%dx",M_Variant(value), thousandplex); ^~~~~~~~ numbers.cpp:1387:12: note: 'sprintf' output 4 or more bytes (assuming 14) into a destination of size 12 sprintf(string,"_%s%dx",M_Variant(value), thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1393:19: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%s%d",M_Variant(value), thousandplex); ^~~~~~~ numbers.cpp:1393:11: note: 'sprintf' output 3 or more bytes (assuming 13) into a destination of size 12 sprintf(string,"_%s%d",M_Variant(value), thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1399:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(string,"_0M%d", thousandplex-1); ^~~~~~~ numbers.cpp:1399:21: note: directive argument in the range [3, 2147483646] numbers.cpp:1399:13: note: 'sprintf' output between 5 and 14 bytes into a destination of size 12 sprintf(string,"_0M%d", thousandplex-1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp: In function 'int LookupNum2(Translator*, int, int, int, char*)': numbers.cpp:1496:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%d%cx",value,ord_type); // LANG=hu, special word for 1. 2. when there are no higher digits ^~~~~~~~ numbers.cpp:1496:13: note: 'sprintf' output between 5 and 13 bytes into a destination of size 12 sprintf(string,"_%d%cx",value,ord_type); // LANG=hu, special word for 1. 2. when there are no higher digits ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1483:20: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%dfx",value); ^~~~~~~ numbers.cpp:1483:12: note: 'sprintf' output between 5 and 13 bytes into a destination of size 12 sprintf(string,"_%dfx",value); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions synth_mbrola.cpp numbers.cpp: In function 'int LookupNum3(Translator*, int, char*, int, int, int)': numbers.cpp:1818:26: warning: '%s' directive writing up to 19 bytes into a region of size between 0 and 49 [-Wformat-overflow=] sprintf(ph_thousands,"%s%c%s%c",ph_digits,phonEND_WORD,ph_10T,phonEND_WORD); ^~~~~~~~~~ ~~~~~~ numbers.cpp:1818:12: note: 'sprintf' output between 3 and 71 bytes into a destination of size 50 sprintf(ph_thousands,"%s%c%s%c",ph_digits,phonEND_WORD,ph_10T,phonEND_WORD); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1816:26: warning: '%s' directive writing up to 49 bytes into a region of size between 30 and 49 [-Wformat-overflow=] sprintf(ph_thousands,"%s%c%s%c",ph_10T,phonEND_WORD,ph_digits,phonEND_WORD); // say "thousands" before its number, not after ^~~~~~~~~~ ~~~~~~~~~ numbers.cpp:1816:12: note: 'sprintf' output between 3 and 71 bytes into a destination of size 50 sprintf(ph_thousands,"%s%c%s%c",ph_10T,phonEND_WORD,ph_digits,phonEND_WORD); // say "thousands" before its number, not after ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1843:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string, "_%dCo", hundreds); ^~~~~~~ numbers.cpp:1843:12: note: 'sprintf' output between 5 and 13 bytes into a destination of size 12 sprintf(string, "_%dCo", hundreds); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1843:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string, "_%dCo", hundreds); ^~~~~~~ numbers.cpp:1843:12: note: 'sprintf' output between 5 and 13 bytes into a destination of size 12 sprintf(string, "_%dCo", hundreds); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1869:22: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%dC0",hundreds); ^~~~~~~ numbers.cpp:1869:14: note: 'sprintf' output between 5 and 13 bytes into a destination of size 12 sprintf(string,"_%dC0",hundreds); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1901:16: warning: '%s' directive writing up to 49 bytes into a region of size between 40 and 100 [-Wformat-overflow=] sprintf(buf1,"%s%s%s%s",ph_thousands,ph_thousand_and,ph_digits,ph_100); ^~~~~~~~~~ ~~~~~~~~~ numbers.cpp:1901:10: note: 'sprintf' output between 1 and 129 bytes into a destination of size 100 sprintf(buf1,"%s%s%s%s",ph_thousands,ph_thousand_and,ph_digits,ph_100); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions synthdata.cpp synthdata.cpp: In function 'int LoadPhData(int*)': synthdata.cpp:169:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(srate != NULL) ^~ synthdata.cpp:171:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return(result); ^~~~~~ numbers.cpp: In function 'int TranslateLetter(Translator*, char*, char*, int)': numbers.cpp:985:19: warning: '%s' directive writing up to 29 bytes into a region of size between 0 and 79 [-Wformat-overflow=] sprintf(ph_buf2,"%c%s%s%s",0xff,ph_alphabet,capital,ph_buf); // the 0xff marker will be removed or replaced in SetSpellingStress() ^~~~~~~~~~ ~~~~~~~ numbers.cpp:985:10: note: 'sprintf' output between 2 and 189 bytes into a destination of size 80 sprintf(ph_buf2,"%c%s%s%s",0xff,ph_alphabet,capital,ph_buf); // the 0xff marker will be removed or replaced in SetSpellingStress() ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:983:19: warning: '%s' directive writing up to 79 bytes into a region of size between 0 and 79 [-Wformat-overflow=] sprintf(ph_buf2,"%c%s%s%s",0xff,ph_alphabet,ph_buf,capital); ^~~~~~~~~~ ~~~~~~ numbers.cpp:983:10: note: 'sprintf' output between 2 and 189 bytes into a destination of size 80 sprintf(ph_buf2,"%c%s%s%s",0xff,ph_alphabet,ph_buf,capital); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compiledict.cpp: In function 'int CompileDictionary(const char*, const char*, FILE*, char*, int)': compiledict.cpp:1934:19: warning: 'rules.txt' directive writing 9 bytes into a region of size between 6 and 205 [-Wformat-overflow=] sprintf(fname_in,"%srules.txt",path); ^~~~~~~~~~~~~ compiledict.cpp:1934:9: note: 'sprintf' output between 10 and 209 bytes into a destination of size 205 sprintf(fname_in,"%srules.txt",path); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions synthesize.cpp numbers.cpp: In function 'int TranslateNumber_1(Translator*, char*, char*, unsigned int*, WORD_TAB*, int)': numbers.cpp:2114:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_x#%s",suffix); ^~~~~~~ numbers.cpp:2114:13: note: 'sprintf' output between 4 and 33 bytes into a destination of size 32 sprintf(string,"_x#%s",suffix); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions translate.cpp In function 'void strncpy0(char*, const char*, int)', inlined from 'int LookupDictList(Translator*, char**, char*, unsigned int*, int, WORD_TAB*)' at dictionary.cpp:3498:12: dictionary.cpp:88:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 20 equals destination size [-Wstringop-truncation] strncpy(to,from,size); ~~~~~~~^~~~~~~~~~~~~~ In function 'void strncpy0(char*, const char*, int)', inlined from 'int Lookup(Translator*, const char*, char*)' at dictionary.cpp:3602:11: dictionary.cpp:88:9: warning: 'char* strncpy(char*, const char*, size_t)' forming offset 81 is out of the bounds [0, 80] of object 'text' with type 'char [80]' [-Warray-bounds] strncpy(to,from,size); ~~~~~~~^~~~~~~~~~~~~~ dictionary.cpp: In function 'int Lookup(Translator*, const char*, char*)': dictionary.cpp:3591:7: note: 'text' declared here char text[80]; ^~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions mbrowrap.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions tr_languages.cpp tr_languages.cpp:201:43: warning: narrowing conversion of '194' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8 ^ tr_languages.cpp:201:43: warning: overflow in conversion from 'int' to 'char' changes value from '194' to ''\37777777702'' [-Woverflow] tr_languages.cpp:201:43: warning: narrowing conversion of '186' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] tr_languages.cpp:201:43: warning: overflow in conversion from 'int' to 'char' changes value from '186' to ''\37777777672'' [-Woverflow] translate.cpp: In function 'int TranslateWord(Translator*, char*, int, WORD_TAB*, char*)': translate.cpp:1525:50: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 1 and 200 [-Wformat-truncation=] snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ^~~~~~~~ ~~~~~~~~~~~~~~~ translate.cpp:1525:11: note: 'snprintf' output between 1 and 598 bytes into a destination of size 200 snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ translate.cpp:1499:51: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 1 and 200 [-Wformat-truncation=] snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ^~~~~~~~ ~~~~~~~~~~~~~~~ translate.cpp:1499:12: note: 'snprintf' output between 1 and 598 bytes into a destination of size 200 snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions voices.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions wavegen.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions phonemelist.cpp voices.cpp: In function 'int SetVoiceScores(espeak_VOICE*, espeak_VOICE**, int)': voices.cpp:1416:16: warning: '%s' directive writing up to 79 bytes into a region of size between 73 and 232 [-Wformat-overflow=] sprintf(buf, "%s/voices/%s", path_home, language); ^~~~~~~~~~~~~~ ~~~~~~~~ voices.cpp:1416:10: note: 'sprintf' output between 9 and 247 bytes into a destination of size 240 sprintf(buf, "%s/voices/%s", path_home, language); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions klatt.cpp voices.cpp: In function 'voice_t* LoadVoice(const char*, int)': voices.cpp:631:15: warning: '%s' directive writing up to 39 bytes into a region of size between 19 and 190 [-Wformat-overflow=] sprintf(buf,"%s%s",path_voices,voicename); // first, look in the main voices directory ^~~~~~ ~~~~~~~~~ voices.cpp:631:10: note: 'sprintf' output between 1 and 211 bytes into a destination of size 190 sprintf(buf,"%s%s",path_voices,voicename); // first, look in the main voices directory ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp:650:17: warning: '%s' directive writing up to 39 bytes into a region of size between 12 and 185 [-Wformat-overflow=] sprintf(buf,"%s%s%c%s", path_voices,voice_dir,PATHSEP,voicename); ^~~~~~~~~~ ~~~~~~~~~ voices.cpp:650:12: note: 'sprintf' output between 6 and 218 bytes into a destination of size 190 sprintf(buf,"%s%s%c%s", path_voices,voice_dir,PATHSEP,voicename); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp:655:18: warning: '%s' directive writing up to 39 bytes into a region of size between 14 and 185 [-Wformat-overflow=] sprintf(buf,"%stest%c%s",path_voices,PATHSEP,voicename); ^~~~~~~~~~~~ ~~~~~~~~~ voices.cpp:655:13: note: 'sprintf' output between 6 and 216 bytes into a destination of size 190 sprintf(buf,"%stest%c%s",path_voices,PATHSEP,voicename); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions sonic.cpp c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions speak_lib.cpp -o x_speak_lib.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions compiledict.cpp -o x_compiledict.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions dictionary.cpp -o x_dictionary.o In file included from speak_lib.cpp:48: debug.h:19:21: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define SHOW(format,...) ^~~ dictionary.cpp: In function 'const char* GetTranslatedPhonemeString(int)': dictionary.cpp:767:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if((phon_out_ix + len) >= phon_out_size) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ dictionary.cpp: In function 'void SetWordStress(Translator*, char*, unsigned int*, int, int)': dictionary.cpp:1207:6: warning: variable 'post_tonic' set but not used [-Wunused-but-set-variable] int post_tonic; // currently not used ^~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions intonation.cpp -o x_intonation.o intonation.cpp: In function 'void CalcPitches(Translator*, int)': intonation.cpp:1118:7: warning: variable 'group_tone_emph' set but not used [-Wunused-but-set-variable] int group_tone_emph; ^~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions readclause.cpp -o x_readclause.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions setlengths.cpp -o x_setlengths.o readclause.cpp: In function 'const char* LookupCharName(Translator*, int, int)': readclause.cpp:812:16: warning: '%s' directive writing up to 59 bytes into a region of size 52 [-Wformat-overflow=] sprintf(buf,"[\002_^_%s %s _^_%s]]","en",phonemes2,WordToString2(tr->translator_name)); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ readclause.cpp:812:11: note: 'sprintf' output between 15 and 78 bytes into a destination of size 60 sprintf(buf,"[\002_^_%s %s _^_%s]]","en",phonemes2,WordToString2(tr->translator_name)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readclause.cpp:819:16: warning: '%s' directive writing up to 59 bytes into a region of size 58 [-Wformat-overflow=] sprintf(buf,"[\002%s]] ",phonemes2); ^~~~~~~~~~~~ ~~~~~~~~~ readclause.cpp:819:11: note: 'sprintf' output between 6 and 65 bytes into a destination of size 60 sprintf(buf,"[\002%s]] ",phonemes2); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions numbers.cpp -o x_numbers.o numbers.cpp: In function 'int LookupThousands(Translator*, int, int, int, char*)': numbers.cpp:1342:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if(!found_value & (number_control & 1)) ^~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions synth_mbrola.cpp -o x_synth_mbrola.o numbers.cpp:1339:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%do",value,thousandplex); ^~~~~~~~~ numbers.cpp:1339:20: note: directive argument in the range [-2147483647, 2147483647] numbers.cpp:1339:12: note: 'sprintf' output between 6 and 25 bytes into a destination of size 12 sprintf(string,"_%dM%do",value,thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1345:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%de",value,thousandplex); ^~~~~~~~~ numbers.cpp:1345:20: note: directive argument in the range [-2147483647, 2147483647] numbers.cpp:1345:12: note: 'sprintf' output between 6 and 25 bytes into a destination of size 12 sprintf(string,"_%dM%de",value,thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1351:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%dx",value,thousandplex); ^~~~~~~~~ numbers.cpp:1351:20: note: directive argument in the range [-2147483647, 2147483647] numbers.cpp:1351:12: note: 'sprintf' output between 6 and 25 bytes into a destination of size 12 sprintf(string,"_%dM%dx",value,thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1357:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%d",value,thousandplex); ^~~~~~~~ numbers.cpp:1357:19: note: directive argument in the range [-2147483647, 2147483647] numbers.cpp:1357:11: note: 'sprintf' output between 5 and 24 bytes into a destination of size 12 sprintf(string,"_%dM%d",value,thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1375:20: warning: 'o' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%do",M_Variant(value), thousandplex); ^~~~~~~~ numbers.cpp:1375:12: note: 'sprintf' output 4 or more bytes (assuming 14) into a destination of size 12 sprintf(string,"_%s%do",M_Variant(value), thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1381:20: warning: 'e' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%de",M_Variant(value), thousandplex); ^~~~~~~~ numbers.cpp:1381:12: note: 'sprintf' output 4 or more bytes (assuming 14) into a destination of size 12 sprintf(string,"_%s%de",M_Variant(value), thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1387:20: warning: 'x' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%dx",M_Variant(value), thousandplex); ^~~~~~~~ numbers.cpp:1387:12: note: 'sprintf' output 4 or more bytes (assuming 14) into a destination of size 12 sprintf(string,"_%s%dx",M_Variant(value), thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1393:19: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%s%d",M_Variant(value), thousandplex); ^~~~~~~ numbers.cpp:1393:11: note: 'sprintf' output 3 or more bytes (assuming 13) into a destination of size 12 sprintf(string,"_%s%d",M_Variant(value), thousandplex); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1399:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(string,"_0M%d", thousandplex-1); ^~~~~~~ numbers.cpp:1399:21: note: directive argument in the range [3, 2147483646] numbers.cpp:1399:13: note: 'sprintf' output between 5 and 14 bytes into a destination of size 12 sprintf(string,"_0M%d", thousandplex-1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp: In function 'int LookupNum2(Translator*, int, int, int, char*)': numbers.cpp:1496:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%d%cx",value,ord_type); // LANG=hu, special word for 1. 2. when there are no higher digits ^~~~~~~~ numbers.cpp:1496:13: note: 'sprintf' output between 5 and 13 bytes into a destination of size 12 sprintf(string,"_%d%cx",value,ord_type); // LANG=hu, special word for 1. 2. when there are no higher digits ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1483:20: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%dfx",value); ^~~~~~~ numbers.cpp:1483:12: note: 'sprintf' output between 5 and 13 bytes into a destination of size 12 sprintf(string,"_%dfx",value); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ numbers.cpp: In function 'int LookupNum3(Translator*, int, char*, int, int, int)': numbers.cpp:1818:26: warning: '%s' directive writing up to 19 bytes into a region of size between 0 and 49 [-Wformat-overflow=] sprintf(ph_thousands,"%s%c%s%c",ph_digits,phonEND_WORD,ph_10T,phonEND_WORD); ^~~~~~~~~~ ~~~~~~ numbers.cpp:1818:12: note: 'sprintf' output between 3 and 71 bytes into a destination of size 50 sprintf(ph_thousands,"%s%c%s%c",ph_digits,phonEND_WORD,ph_10T,phonEND_WORD); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1816:26: warning: '%s' directive writing up to 49 bytes into a region of size between 30 and 49 [-Wformat-overflow=] sprintf(ph_thousands,"%s%c%s%c",ph_10T,phonEND_WORD,ph_digits,phonEND_WORD); // say "thousands" before its number, not after ^~~~~~~~~~ ~~~~~~~~~ numbers.cpp:1816:12: note: 'sprintf' output between 3 and 71 bytes into a destination of size 50 sprintf(ph_thousands,"%s%c%s%c",ph_10T,phonEND_WORD,ph_digits,phonEND_WORD); // say "thousands" before its number, not after ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1843:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string, "_%dCo", hundreds); ^~~~~~~ numbers.cpp:1843:12: note: 'sprintf' output between 5 and 13 bytes into a destination of size 12 sprintf(string, "_%dCo", hundreds); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1843:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string, "_%dCo", hundreds); ^~~~~~~ numbers.cpp:1843:12: note: 'sprintf' output between 5 and 13 bytes into a destination of size 12 sprintf(string, "_%dCo", hundreds); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1869:22: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%dC0",hundreds); ^~~~~~~ numbers.cpp:1869:14: note: 'sprintf' output between 5 and 13 bytes into a destination of size 12 sprintf(string,"_%dC0",hundreds); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1901:16: warning: '%s' directive writing up to 49 bytes into a region of size between 40 and 100 [-Wformat-overflow=] sprintf(buf1,"%s%s%s%s",ph_thousands,ph_thousand_and,ph_digits,ph_100); ^~~~~~~~~~ ~~~~~~~~~ numbers.cpp:1901:10: note: 'sprintf' output between 1 and 129 bytes into a destination of size 100 sprintf(buf1,"%s%s%s%s",ph_thousands,ph_thousand_and,ph_digits,ph_100); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions synthdata.cpp -o x_synthdata.o numbers.cpp: In function 'int TranslateLetter(Translator*, char*, char*, int)': numbers.cpp:985:19: warning: '%s' directive writing up to 29 bytes into a region of size between 0 and 79 [-Wformat-overflow=] sprintf(ph_buf2,"%c%s%s%s",0xff,ph_alphabet,capital,ph_buf); // the 0xff marker will be removed or replaced in SetSpellingStress() ^~~~~~~~~~ ~~~~~~~ numbers.cpp:985:10: note: 'sprintf' output between 2 and 189 bytes into a destination of size 80 sprintf(ph_buf2,"%c%s%s%s",0xff,ph_alphabet,capital,ph_buf); // the 0xff marker will be removed or replaced in SetSpellingStress() ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:983:19: warning: '%s' directive writing up to 79 bytes into a region of size between 0 and 79 [-Wformat-overflow=] sprintf(ph_buf2,"%c%s%s%s",0xff,ph_alphabet,ph_buf,capital); ^~~~~~~~~~ ~~~~~~ numbers.cpp:983:10: note: 'sprintf' output between 2 and 189 bytes into a destination of size 80 sprintf(ph_buf2,"%c%s%s%s",0xff,ph_alphabet,ph_buf,capital); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ synthdata.cpp: In function 'int LoadPhData(int*)': synthdata.cpp:169:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(srate != NULL) ^~ synthdata.cpp:171:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return(result); ^~~~~~ In function 'void strncpy0(char*, const char*, int)', inlined from 'int LookupDictList(Translator*, char**, char*, unsigned int*, int, WORD_TAB*)' at dictionary.cpp:3498:12: dictionary.cpp:88:9: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 20 equals destination size [-Wstringop-truncation] strncpy(to,from,size); ~~~~~~~^~~~~~~~~~~~~~ In function 'void strncpy0(char*, const char*, int)', inlined from 'int Lookup(Translator*, const char*, char*)' at dictionary.cpp:3602:11: dictionary.cpp:88:9: warning: 'char* strncpy(char*, const char*, size_t)' forming offset 81 is out of the bounds [0, 80] of object 'text' with type 'char [80]' [-Warray-bounds] strncpy(to,from,size); ~~~~~~~^~~~~~~~~~~~~~ dictionary.cpp: In function 'int Lookup(Translator*, const char*, char*)': dictionary.cpp:3591:7: note: 'text' declared here char text[80]; ^~~~ compiledict.cpp: In function 'int CompileDictionary(const char*, const char*, FILE*, char*, int)': compiledict.cpp:1934:19: warning: 'rules.txt' directive writing 9 bytes into a region of size between 6 and 205 [-Wformat-overflow=] sprintf(fname_in,"%srules.txt",path); ^~~~~~~~~~~~~ compiledict.cpp:1934:9: note: 'sprintf' output between 10 and 209 bytes into a destination of size 205 sprintf(fname_in,"%srules.txt",path); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions synthesize.cpp -o x_synthesize.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions translate.cpp -o x_translate.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions mbrowrap.cpp -o x_mbrowrap.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions tr_languages.cpp -o x_tr_languages.o tr_languages.cpp:201:43: warning: narrowing conversion of '194' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8 ^ tr_languages.cpp:201:43: warning: overflow in conversion from 'int' to 'char' changes value from '194' to ''\37777777702'' [-Woverflow] tr_languages.cpp:201:43: warning: narrowing conversion of '186' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] tr_languages.cpp:201:43: warning: overflow in conversion from 'int' to 'char' changes value from '186' to ''\37777777672'' [-Woverflow] translate.cpp: In function 'int TranslateWord(Translator*, char*, int, WORD_TAB*, char*)': translate.cpp:1525:50: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 1 and 200 [-Wformat-truncation=] snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ^~~~~~~~ ~~~~~~~~~~~~~~~ translate.cpp:1525:11: note: 'snprintf' output between 1 and 598 bytes into a destination of size 200 snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ translate.cpp:1499:51: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 1 and 200 [-Wformat-truncation=] snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ^~~~~~~~ ~~~~~~~~~~~~~~~ translate.cpp:1499:12: note: 'snprintf' output between 1 and 598 bytes into a destination of size 200 snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions voices.cpp -o x_voices.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions wavegen.cpp -o x_wavegen.o voices.cpp: In function 'int SetVoiceScores(espeak_VOICE*, espeak_VOICE**, int)': voices.cpp:1416:16: warning: '%s' directive writing up to 79 bytes into a region of size between 73 and 232 [-Wformat-overflow=] sprintf(buf, "%s/voices/%s", path_home, language); ^~~~~~~~~~~~~~ ~~~~~~~~ voices.cpp:1416:10: note: 'sprintf' output between 9 and 247 bytes into a destination of size 240 sprintf(buf, "%s/voices/%s", path_home, language); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp: In function 'voice_t* LoadVoice(const char*, int)': voices.cpp:631:15: warning: '%s' directive writing up to 39 bytes into a region of size between 19 and 190 [-Wformat-overflow=] sprintf(buf,"%s%s",path_voices,voicename); // first, look in the main voices directory ^~~~~~ ~~~~~~~~~ voices.cpp:631:10: note: 'sprintf' output between 1 and 211 bytes into a destination of size 190 sprintf(buf,"%s%s",path_voices,voicename); // first, look in the main voices directory ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp:650:17: warning: '%s' directive writing up to 39 bytes into a region of size between 12 and 185 [-Wformat-overflow=] sprintf(buf,"%s%s%c%s", path_voices,voice_dir,PATHSEP,voicename); ^~~~~~~~~~ ~~~~~~~~~ voices.cpp:650:12: note: 'sprintf' output between 6 and 218 bytes into a destination of size 190 sprintf(buf,"%s%s%c%s", path_voices,voice_dir,PATHSEP,voicename); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp:655:18: warning: '%s' directive writing up to 39 bytes into a region of size between 14 and 185 [-Wformat-overflow=] sprintf(buf,"%stest%c%s",path_voices,PATHSEP,voicename); ^~~~~~~~~~~~ ~~~~~~~~~ voices.cpp:655:13: note: 'sprintf' output between 6 and 216 bytes into a destination of size 190 sprintf(buf,"%stest%c%s",path_voices,PATHSEP,voicename); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp: In function 'int TranslateNumber_1(Translator*, char*, char*, unsigned int*, WORD_TAB*, int)': numbers.cpp:2114:21: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_x#%s",suffix); ^~~~~~~ numbers.cpp:2114:13: note: 'sprintf' output between 4 and 33 bytes into a destination of size 32 sprintf(string,"_x#%s",suffix); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions phonemelist.cpp -o x_phonemelist.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions espeak_command.cpp -o x_espeak_command.o In file included from espeak_command.cpp:30: debug.h:19:21: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define SHOW(format,...) ^~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions event.cpp -o x_event.o In file included from event.cpp:41: debug.h:19:21: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define SHOW(format,...) ^~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions fifo.cpp -o x_fifo.o In file included from fifo.cpp:42: debug.h:19:21: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define SHOW(format,...) ^~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions wave.cpp -o x_wave.o In file included from wave.cpp:41: debug.h:19:21: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define SHOW(format,...) ^~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions debug.cpp -o x_debug.o In file included from debug.cpp:4: debug.h:19:21: warning: anonymous variadic macros were introduced in C++11 [-Wvariadic-macros] #define SHOW(format,...) ^~~ c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions klatt.cpp -o x_klatt.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions sonic.cpp -o x_sonic.o c++ -pipe -O2 -fno-strict-aliasing -I/usr/local/include -std=gnu++98 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/local/share/espeak/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions espeak.cpp espeak.cpp: In function 'void DisplayVoices(FILE*, char*)': espeak.cpp:176:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for(j=0; j < sizeof(buf); j++) ~~^~~~~~~~~~~~~ In function 'void strncpy0(char*, const char*, int)', inlined from 'int main(int, char**)' at espeak.cpp:117:6: espeak.cpp:121:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 40 equals destination size [-Wstringop-truncation] strncpy(dest,source,size); ~~~~~~~^~~~~~~~~~~~~~~~~~ In function 'void strncpy0(char*, const char*, int)', inlined from 'int main(int, char**)' at espeak.cpp:117:6: espeak.cpp:121:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-truncation] strncpy(dest,source,size); ~~~~~~~^~~~~~~~~~~~~~~~~~ In function 'void strncpy0(char*, const char*, int)', inlined from 'int main(int, char**)' at espeak.cpp:117:6: espeak.cpp:121:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 40 equals destination size [-Wstringop-truncation] strncpy(dest,source,size); ~~~~~~~^~~~~~~~~~~~~~~~~~ In function 'void strncpy0(char*, const char*, int)', inlined from 'int main(int, char**)' at espeak.cpp:117:6: espeak.cpp:121:10: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 200 equals destination size [-Wstringop-truncation] strncpy(dest,source,size); ~~~~~~~^~~~~~~~~~~~~~~~~~ c++ -o speak speak.o compiledict.o dictionary.o intonation.o readclause.o setlengths.o numbers.o synth_mbrola.o synthdata.o synthesize.o translate.o mbrowrap.o tr_languages.o voices.o wavegen.o phonemelist.o klatt.o sonic.o -lstdc++ -L/usr/local/lib -lportaudio -lpthread c++ -shared -Wl,-soname,libespeak.so.1 -o libespeak.so \ x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o x_sonic.o -lstdc++ -L/usr/local/lib -lportaudio -lpthread ar cqs libespeak.a x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o x_sonic.o mv libespeak.so libespeak.so.1.1.48 /bin/ln -sf libespeak.so.1.1.48 libespeak.so.1 /bin/ln -sf libespeak.so.1 libespeak.so c++ -o espeak espeak.o -lstdc++ -L . -lespeak -lpthread gmake[1]: Leaving directory '/construction/audio/espeak/espeak-1.48.04-source/src' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for espeak-1.48.04_6 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/audio/espeak/espeak-1.48.04-source/src' # Create directories #rm -rf /construction/audio/espeak/stage/usr/local/share/espeak/espeak-data mkdir -p /construction/audio/espeak/stage/usr/local/bin mkdir -p /construction/audio/espeak/stage/usr/local/lib mkdir -p /construction/audio/espeak/stage/usr/local/include/espeak mkdir -p /construction/audio/espeak/stage/usr/local/share/espeak/espeak-data # Install espeak executable install -m 755 espeak /construction/audio/espeak/stage/usr/local/bin # Install shared library install -m 755 libespeak.so.1.1.48 /construction/audio/espeak/stage/usr/local/lib # Install static library install -m 755 libespeak.a /construction/audio/espeak/stage/usr/local/lib /bin/ln -sf libespeak.so.1.1.48 /construction/audio/espeak/stage/usr/local/lib/libespeak.so.1 /bin/ln -sf libespeak.so.1 /construction/audio/espeak/stage/usr/local/lib/libespeak.so # Install development headers install -pm 644 speak_lib.h /construction/audio/espeak/stage/usr/local/include/espeak # Install data files cp -pRf ../espeak-data/* /construction/audio/espeak/stage/usr/local/share/espeak/espeak-data gmake[1]: Leaving directory '/construction/audio/espeak/espeak-1.48.04-source/src' /bin/mkdir -p /construction/audio/espeak/stage/usr/local/share/doc/espeak cd /construction/audio/espeak/espeak-1.48.04-source/docs && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /construction/audio/espeak/stage/usr/local/share/doc/espeak /usr/bin/strip /construction/audio/espeak/stage/usr/local/bin/espeak /usr/bin/strip /construction/audio/espeak/stage/usr/local/lib/libespeak.so* ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for espeak-1.48.04_6 file sizes/checksums [297]: ... done packing files [297]: ... done packing directories [2]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Monday, 22 JUL 2019 at 01:19:33 UTC Duration: 00:00:24