<div dir="ltr"><div>Hi,</div><div><br></div><div>I'm not sure what details people would need to help solve the following, so I'll just post the problem, then follow up with whatever additional info is requested.</div><div><br></div><div>Everything builds find under Bullseye, but I'm getting make errors when trying to build FS v1.10.12 in a Docker container, based on Bookworm, as follows:</div><div><br></div><div>FINAL DOCKER OUTPUT</div><div>-----------------------------------</div><div><br></div><div> 25 |     RUN mv BTL/GW/modules.conf /freeswitch/modules.conf &&\<br>  26 |         ./configure --enable-core-pgsql-support --with-java=/usr/lib/jvm/java-8-openjdk-amd64 --enable-optimization<br>  27 | >>> RUN make -j 10 && make install<br>  28 |     RUN git clone <a href="https://github.com/xadhoom/mod_bcg729.git">https://github.com/xadhoom/mod_bcg729.git</a> &&\<br>  29 |         sed -ie 's/FS_INCLUDES=\/usr\/include\/freeswitch/FS_INCLUDES=\/usr\/local\/freeswitch\/include\/freeswitch/g' /freeswitch/mod_bcg729/Makefile &&\<br>--------------------<br>ERROR: failed to solve: process "/bin/sh -c make -j 10 && make install" did not complete successfully: exit code: 2<br></div><div><br></div><div>FINAL MAKE OUTPUT</div><div>-------------------------------</div><div><br></div><div>48.97 cc1: all warnings being treated as errors<br>48.98 make[1]: *** [Makefile:2654: src/libfreeswitch_la-switch_stun.lo] Error 1<br>48.98 make[1]: *** Waiting for unfinished jobs....<br>50.15 In function 'get_prefixed_str',<br>50.15     inlined from 'get_prefixed_str' at src/switch_ivr.c:3896:20,<br>50.15     inlined from 'switch_ivr_set_user_xml' at src/switch_ivr.c:3943:3:<br>50.15 src/switch_ivr.c:3912:17: error: 'memcpy' forming offset [13, 1023] is out of the bounds [0, 13] [-Werror=array-bounds]<br>50.15  3912 |                 memcpy(buffer + prefix_size, str, buffer_size - prefix_size - 1);<br>50.15       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>50.45 cc1: all warnings being treated as errors<br>50.46 make[1]: *** [Makefile:2640: src/libfreeswitch_la-switch_ivr.lo] Error 1<br>61.93 make[1]: Leaving directory '/freeswitch'<br>61.93 make: *** [Makefile:1438: all] Error 2<br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>I'm guessing this may be due to some kind of stricter make rules in Bookworm, but I've now idea how/where i'd manage these (I thought it was all controlled through makefile)</div><div><br></div>Thanks, in advance.<br><div><br></div><div>Andy</div></div></div></div></div>