Bug#906452: belle-sip: FTBFS in buster/sid
Santiago Vila
sanvila at debian.org
Fri Aug 17 20:20:38 BST 2018
Package: src:belle-sip
Version: 1.6.3-3
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-arch
dh build-arch --buildsystem=cmake --no-parallel
dh_update_autotools_config -a -O--buildsystem=cmake
dh_autoreconf -a -O--buildsystem=cmake
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
[... snipped ...]
make -f src/CMakeFiles/bellesip.dir/build.make src/CMakeFiles/bellesip.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 3%] Building C object src/CMakeFiles/bellesip.dir/auth_event.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBELLESIP_EXPORTS -DBELLESIP_STATIC -DHAVE_CONFIG_H -Dbellesip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu99 -Wall -Wuninitialized -Wno-error=deprecated-declarations -Wno-error=pragmas -Werror -Wextra -Wno-unused-parameter -Wno-error=unknown-pragmas -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wno-missing-field-initializers -Wno-error=unused-result -Wno-strict-prototypes -Wno-error=sign-compare -o CMakeFiles/bellesip.dir/auth_event.c.o -c /<<PKGBUILDDIR>>/src/auth_event.c
[ 4%] Building C object src/CMakeFiles/bellesip.dir/auth_helper.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBELLESIP_EXPORTS -DBELLESIP_STATIC -DHAVE_CONFIG_H -Dbellesip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu99 -Wall -Wuninitialized -Wno-error=deprecated-declarations -Wno-error=pragmas -Werror -Wextra -Wno-unused-parameter -Wno-error=unknown-pragmas -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wno-missing-field-initializers -Wno-error=unused-result -Wno-strict-prototypes -Wno-error=sign-compare -o CMakeFiles/bellesip.dir/auth_helper.c.o -c /<<PKGBUILDDIR>>/src/auth_helper.c
[ 5%] Building C object src/CMakeFiles/bellesip.dir/belle_sdp_impl.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_STATIC -DBELLESIP_EXPORTS -DBELLESIP_STATIC -DHAVE_CONFIG_H -Dbellesip_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -std=gnu99 -Wall -Wuninitialized -Wno-error=deprecated-declarations -Wno-error=pragmas -Werror -Wextra -Wno-unused-parameter -Wno-error=unknown-pragmas -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wno-missing-field-initializers -Wno-error=unused-result -Wno-strict-prototypes -Wno-error=sign-compare -o CMakeFiles/bellesip.dir/belle_sdp_impl.c.o -c /<<PKGBUILDDIR>>/src/belle_sdp_impl.c
/<<PKGBUILDDIR>>/src/belle_sdp_impl.c: In function 'belle_sdp_media_description_append_values_from_mime_parameter':
/<<PKGBUILDDIR>>/src/belle_sdp_impl.c:1057:35: error: '__builtin___snprintf_chk' output may be truncated before the last format character [-Werror=format-truncation=]
snprintf(ptime,sizeof(ptime),"%i",current_ptime);
^
In file included from /usr/include/stdio.h:862,
from /<<PKGBUILDDIR>>/include/belle-sip/utils.h:23,
from /<<PKGBUILDDIR>>/include/belle-sip/object.h:23,
from /<<PKGBUILDDIR>>/include/belle-sip/types.h:22,
from /<<PKGBUILDDIR>>/include/belle-sip/belle-sip.h:21,
from /<<PKGBUILDDIR>>/src/belle_sdp_impl.c:18:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/belle_sdp_impl.c:1066:43: error: '__builtin___snprintf_chk' output may be truncated before the last format character [-Werror=format-truncation=]
snprintf(max_ptime,sizeof(max_ptime),"%i",current_max_ptime);
^
In file included from /usr/include/stdio.h:862,
from /<<PKGBUILDDIR>>/include/belle-sip/utils.h:23,
from /<<PKGBUILDDIR>>/include/belle-sip/object.h:23,
from /<<PKGBUILDDIR>>/include/belle-sip/types.h:22,
from /<<PKGBUILDDIR>>/include/belle-sip/belle-sip.h:21,
from /<<PKGBUILDDIR>>/src/belle_sdp_impl.c:18:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [src/CMakeFiles/bellesip.dir/build.make:118: src/CMakeFiles/bellesip.dir/belle_sdp_impl.c.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:109: src/CMakeFiles/bellesip.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 -j1 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:15: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/belle-sip.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.
Thanks.
More information about the Pkg-voip-maintainers
mailing list