<div dir="ltr">I have tested master build on Debian 10 x86_64<br>No issues.<div>Could you try gcc  8.3.0-7.<br>Related <a href="https://freeswitch.org/jira/browse/FS-11345">FS-11345</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 9, 2019 at 10:40 PM Mike Jerris <<a href="mailto:mike@freeswitch.org">mike@freeswitch.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">1.8 does not (and will likely not ever) support Debian 10.  I have a branch going where we are working on that and it is close to ready. The plan is to have it ready to get some real community testing as of the next major release that we will do around ClueCon.  We generally add and remove new platform support at the major release breaks.<div><br></div><div>Mike<br><div><br><blockquote type="cite"><div>On Jul 9, 2019, at 4:16 AM, Jose Figueroa <<a href="mailto:josen.figueroa@unixmexico.org" target="_blank">josen.figueroa@unixmexico.org</a>> wrote:</div><br class="gmail-m_-5809958665528363331Apple-interchange-newline"><div><div dir="ltr"><div>Hello,</div><div><br></div><div>Today I was trying to compile v1.8 branch using Debian 10 but I'm getting this error on the make process:</div><div><br></div><div>>>> Log:</div><div><br></div><div>/usr/src/freeswitch$ make<br>config.status: creating Makefile<br>config.status: creating include/apr.h<br>config.status: creating build/<a href="http://apr_rules.mk/" target="_blank">apr_rules.mk</a><br>config.status: creating build/pkg/pkginfo<br>config.status: creating apr-1-config<br>config.status: WARNING:  '<a href="http://apr-config.in/" target="_blank">apr-config.in</a>' seems to ignore the --datarootdir setting<br>config.status: creating apr.pc<br>config.status: creating test/Makefile<br>config.status: creating test/internal/Makefile<br>config.status: creating include/arch/unix/apr_private.h<br>config.status: executing libtool commands<br>rm: cannot remove 'libtoolT': No such file or directory<br>config.status: executing default commands<br>config.status: include/apr.h is unchanged<br>config.status: include/arch/unix/apr_private.h is unchanged<br>make[1]: Entering directory '/usr/src/freeswitch/libs/apr'<br>make[2]: Entering directory '/usr/src/freeswitch/libs/apr'<br>make[2]: Nothing to be done for 'local-all'.<br>make[2]: Leaving directory '/usr/src/freeswitch/libs/apr'<br>make[1]: Leaving directory '/usr/src/freeswitch/libs/apr'<br>make[1]: Entering directory '/usr/src/freeswitch/libs/apr-util'<br>Making all in xml/expat<br>make[2]: Entering directory '/usr/src/freeswitch/libs/apr-util/xml/expat'<br>make[3]: Entering directory '/usr/src/freeswitch/libs/apr-util/xml/expat/lib'<br>/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I.. -I/usr/src/freeswitch/libs/apr-util/xml/expat/lib  -g -O2 -c xmlparse.c<br>libtool: compile:  gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I.. -I/usr/src/freeswitch/libs/apr-util/xml/expat/lib -g -O2 -c xmlparse.c  -fPIC -DPIC -o xmlparse.o<br>/bin/bash ../libtool --mode=link  gcc -version-info 1:0:1 -g -O2  -o <a href="http://libexpat.la/" target="_blank">libexpat.la</a> -rpath /usr/local/freeswitch/lib  xmlparse.lo xmltok.lo xmlrole.lo<br>libtool: link: rm -fr  .libs/libexpat.a .libs/<a href="http://libexpat.la/" target="_blank">libexpat.la</a> .libs/libexpat.lai<br>libtool: link: ar cru .libs/libexpat.a  xmlparse.o xmltok.o xmlrole.o<br>ar: `u' modifier ignored since `D' is the default (see `U')<br>libtool: link: ranlib .libs/libexpat.a<br>libtool: link: ( cd ".libs" && rm -f "<a href="http://libexpat.la/" target="_blank">libexpat.la</a>" && ln -s "../<a href="http://libexpat.la/" target="_blank">libexpat.la</a>" "<a href="http://libexpat.la/" target="_blank">libexpat.la</a>" )<br>make[3]: Leaving directory '/usr/src/freeswitch/libs/apr-util/xml/expat/lib'<br>make[2]: Leaving directory '/usr/src/freeswitch/libs/apr-util/xml/expat'<br>make[2]: Entering directory '/usr/src/freeswitch/libs/apr-util'<br>make[2]: Nothing to be done for 'local-all'.<br>make[2]: Leaving directory '/usr/src/freeswitch/libs/apr-util'<br>make[1]: Leaving directory '/usr/src/freeswitch/libs/apr-util'<br>touch /usr/src/freeswitch/src/include/switch.h<br>make[1]: Entering directory '/usr/src/freeswitch/libs/srtp'<br>make[1]: Leaving directory '/usr/src/freeswitch/libs/srtp'<br>make  all-recursive<br>make[1]: Entering directory '/usr/src/freeswitch'<br>  CC       src/libfreeswitch_la-switch_apr.lo<br>  CC       src/libfreeswitch_la-switch_buffer.lo<br>  CC       src/libfreeswitch_la-switch_caller.lo<br>  CC       src/libfreeswitch_la-switch_channel.lo<br>  CC       src/libfreeswitch_la-switch_console.lo<br>  CC       src/libfreeswitch_la-switch_mprintf.lo<br>  CC       src/libfreeswitch_la-switch_core_media_bug.lo<br>  CC       src/libfreeswitch_la-switch_core_timer.lo<br>  CC       src/libfreeswitch_la-switch_core_asr.lo<br>  CC       src/libfreeswitch_la-switch_core_event_hook.lo<br>  CC       src/libfreeswitch_la-switch_core_speech.lo<br>  CC       src/libfreeswitch_la-switch_core_memory.lo<br>  CC       src/libfreeswitch_la-switch_core_codec.lo<br>  CC       src/libfreeswitch_la-switch_core_file.lo<br>  CC       src/libfreeswitch_la-switch_core_cert.lo<br>  CC       src/libfreeswitch_la-switch_core_hash.lo<br>  CC       src/libfreeswitch_la-switch_core_sqldb.lo<br>src/switch_core_sqldb.c: In function ‘switch_cache_db_status’:<br>src/switch_core_sqldb.c:3773:4: error: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]<br>    strncpy(cleankey_str, dbh->name, strlen(dbh->name));<br>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>cc1: all warnings being treated as errors<br>make[1]: *** [Makefile:2398: src/libfreeswitch_la-switch_core_sqldb.lo] Error 1<br>make[1]: Leaving directory '/usr/src/freeswitch'<br>make: *** [Makefile:1413: all] Error 2</div><div><br></div><div><<< log Ends</div><div><br></div><div>GCC:</div><div>$ gcc -v<br>Using built-in specs.<br>COLLECT_GCC=gcc<br>COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper<br>OFFLOAD_TARGET_NAMES=nvptx-none<br>OFFLOAD_TARGET_DEFAULT=1<br>Target: x86_64-linux-gnu<br>Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=<a>file:///usr/share/doc/gcc-8/README.Bugs</a> --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>Thread model: posix<br>gcc version 8.3.0 (Debian 8.3.0-6) <br></div><div><br></div><div><br></div><div>CC:</div><div>$ cc -v<br>Using built-in specs.<br>COLLECT_GCC=cc<br>COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper<br>OFFLOAD_TARGET_NAMES=nvptx-none<br>OFFLOAD_TARGET_DEFAULT=1<br>Target: x86_64-linux-gnu<br>Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=<a>file:///usr/share/doc/gcc-8/README.Bugs</a> --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>Thread model: posix<br>gcc version 8.3.0 (Debian 8.3.0-6) <br></div><div><br></div></div></div></blockquote></div><br></div></div>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>