<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 ?</div><div><br></div><div>Best regards<br></div></div>