Bug#925775: mediastreamer2: ftbfs with GCC-9

Matthias Klose doko at debian.org
Wed Mar 27 19:47:03 GMT 2019


Package: src:mediastreamer2
Version: 1:2.16.1-4
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-9

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/mediastreamer2_2.16.1-4_unstable_gcc9.log
The last lines of the build log are at the end of this report.

To build with GCC 9, either set CC=gcc-9 CXX=g++-9 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-9/porting_to.html

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
    inlined from 'detector_process' at /<<PKGBUILDDIR>>/src/audiofilters/tonedetector.c:176:8:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 8 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [src/CMakeFiles/mediastreamer_voip-static.dir/build.make:287: src/CMakeFiles/mediastreamer_voip-static.dir/audiofilters/tonedetector.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 24%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/audiomixer.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/audiomixer.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/audiomixer.c
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:458: src/CMakeFiles/mediastreamer_voip-static.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 24%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/chanadapt.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/chanadapt.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/chanadapt.c
[ 24%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/devices.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/devices.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/devices.c
[ 25%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/dtmfgen.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/dtmfgen.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/dtmfgen.c
[ 25%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/equalizer.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/equalizer.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/equalizer.c
[ 26%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/flowcontrol.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/flowcontrol.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/flowcontrol.c
[ 26%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/g711.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/g711.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/g711.c
[ 27%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/genericplc.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/genericplc.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/genericplc.c
[ 27%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/msgenericplc.c.o
[ 28%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/l16.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/msgenericplc.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/msgenericplc.c
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/l16.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/l16.c
[ 28%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/msfileplayer.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/msfileplayer.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/msfileplayer.c
[ 28%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/msfilerec.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/msfilerec.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/msfilerec.c
[ 29%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/asyncrw.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/asyncrw.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/asyncrw.c
[ 29%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/msg722.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/msg722.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/msg722.c
[ 30%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/msvaddtx.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/msvaddtx.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/msvaddtx.c
[ 30%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/msvolume.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/msvolume.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/msvolume.c
[ 31%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/tonedetector.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/tonedetector.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/tonedetector.c
[ 31%] Building C object src/CMakeFiles/mediastreamer_voip.dir/audiofilters/ulaw.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/audiofilters/ulaw.c.o   -c /<<PKGBUILDDIR>>/src/audiofilters/ulaw.c
[ 32%] Building C object src/CMakeFiles/mediastreamer_voip.dir/crypto/dtls_srtp.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DMS2_EXPORTS -DMS2_FILTERS -DMS2_INTERNAL -DMS2_STATIC -DORTP_STATIC -DVIDEO_ENABLED -D_TRUE_TIME -Dmediastreamer_voip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src/audiofilters -I/<<PKGBUILDDIR>>/src/utils -I/<<PKGBUILDDIR>>/src/voip -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/usr/include/x86_64-linux-gnu -isystem /usr/include/libxml2  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC    -Wall -Wuninitialized -Wno-format-truncation -Werror -Wextra -Wno-unused-parameter -fno-strict-aliasing -Wno-missing-field-initializers -Wdeclaration-after-statement -Wstrict-prototypes -Wno-error=strict-prototypes -o CMakeFiles/mediastreamer_voip.dir/crypto/dtls_srtp.c.o   -c /<<PKGBUILDDIR>>/src/crypto/dtls_srtp.c
In file included from /usr/include/string.h:494,
                 from /usr/include/bctoolbox/port.h:38,
                 from /<<PKGBUILDDIR>>/include/mediastreamer2/mscommon.h:22,
                 from /<<PKGBUILDDIR>>/include/mediastreamer2/msfilter.h:23,
                 from /<<PKGBUILDDIR>>/include/mediastreamer2/mstonedetector.h:24,
                 from /<<PKGBUILDDIR>>/src/audiofilters/tonedetector.c:25:
In function 'strncpy',
    inlined from 'detector_process' at /<<PKGBUILDDIR>>/src/audiofilters/tonedetector.c:176:8:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 8 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [src/CMakeFiles/mediastreamer_voip.dir/build.make:287: src/CMakeFiles/mediastreamer_voip.dir/audiofilters/tonedetector.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:316: src/CMakeFiles/mediastreamer_voip.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:155: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:11: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Pkg-voip-maintainers mailing list