<div dir="ltr"><div dir="ltr">On Tue, Feb 18, 2020 at 8:16 AM Olivier <<a href="mailto:oza.4h07@gmail.com">oza.4h07@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>For the very first time, I tried the command bellow on a newly build Debian Buster box on which I successfully built Asterisk 17.2.0 before. I got :</div><div><br></div><div># contrib/scripts/install_prereq install-unpackaged<br>*** Installing NBS (Network Broadcast Sound) ***<br>A    nbs-trunk/LICENSE<br>A    nbs-trunk/nbsclient.c<br>A    nbs-trunk/nbsd.c<br>A    nbs-trunk/nbs.h<br>A    nbs-trunk/nbscat.c<br>A    nbs-trunk/Makefile<br>A    nbs-trunk/nbscat8k<br>A    nbs-trunk/xmms-nbs-1.2.10.patch<br>A    nbs-trunk/xmms-nbs-orig.patch<br>Révision 15 extraite.<br>cc -g -Wall -O2 -D_NBS_PRIVATE -Wmissing-prototypes -Werror -Wno-pointer-sign -D_REENTRANT   -c -o nbsd.o nbsd.c<br>nbsd.c: In function ‘handle_network’:<br>nbsd.c:453:5: error: ‘strncpy’ output may be truncated copying 79 bytes from a string of length 79 [-Werror=stringop-truncation]<br>     strncpy(ns->name, si->streamname, sizeof(ns->name) - 1);<br>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>nbsd.c:454:5: error: ‘strncpy’ output may be truncated copying 15 bytes from a string of length 15 [-Werror=stringop-truncation]<br>     strncpy(ns->app, si->appname, sizeof(ns->app) - 1);<br>     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>In function ‘audio_acquire’,<br>    inlined from ‘merge_stream’ at nbsd.c:276:9,<br>    inlined from ‘timing_ready’ at nbsd.c:566:10:<br>nbsd.c:221:4: error: ‘strncpy’ output may be truncated copying 79 bytes from a string of length 79 [-Werror=stringop-truncation]<br>    strncpy(ih.i.streamname, ns->name, sizeof(ih.i.streamname) - 1);<br>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>nbsd.c:222:4: error: ‘strncpy’ output may be truncated copying 15 bytes from a string of length 15 [-Werror=stringop-truncation]<br>    strncpy(ih.i.appname, ns->app, sizeof(ih.i.appname) - 1);<br>    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>cc1: all warnings being treated as errors<br>make: *** [<commande interne>: nbsd.o] Error 1<br></div><div><br></div><div>Thoughts ?</div><div>Suggestions ?<br></div></div></blockquote><div><br></div><div>It is highly unlikely that you need chan_nbs so the easiest option is to edit the install_prereq script and remove that portion. I'd suggest filing an issue[1] so this doesn't get lost. As well generally install-unpackaged isn't usually needed.</div></div><div><br></div>[1] <a href="https://issues.asterisk.org/jira">https://issues.asterisk.org/jira</a><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>