Bug#1012901: belle-sip: ftbfs with GCC-12
Matthias Klose
doko at debian.org
Thu Jun 16 13:07:50 BST 2022
Package: src:belle-sip
Version: 4.4.21+dfsg-1
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-12
[This bug is targeted to the upcoming bookworm release]
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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.
The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/belle-sip_4.4.21+dfsg-1_unstable_gcc12.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
41 | obj->timer_K=belle_sip_timeout_source_new((belle_sip_source_func_t)nict_on_timer_K,obj,cfg->T4);
| ^
/<<PKGBUILDDIR>>/src/nict.c: In function ‘nict_send_request’:
/<<PKGBUILDDIR>>/src/nict.c:144:51: warning: cast between incompatible function types from ‘int (*)(belle_sip_nict_t *)’ {aka ‘int (*)(struct belle_sip_nict *)’} to ‘int (*)(void *, unsigned int)’ [-Wcast-function-type]
144 | obj->timer_F=belle_sip_timeout_source_new((belle_sip_source_func_t)nict_on_timer_F,obj,cfg->T1*64);
| ^
/<<PKGBUILDDIR>>/src/nict.c:149:59: warning: cast between incompatible function types from ‘int (*)(belle_sip_nict_t *)’ {aka ‘int (*)(struct belle_sip_nict *)’} to ‘int (*)(void *, unsigned int)’ [-Wcast-function-type]
149 | obj->timer_E=belle_sip_timeout_source_new((belle_sip_source_func_t)nict_on_timer_E,obj,cfg->T1);
| ^
[ 29%] Building C object src/CMakeFiles/bellesip.dir/nist.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/nist.c.o -MF CMakeFiles/bellesip.dir/nist.c.o.d -o CMakeFiles/bellesip.dir/nist.c.o -c /<<PKGBUILDDIR>>/src/nist.c
/<<PKGBUILDDIR>>/src/nist.c: In function ‘nist_set_completed’:
/<<PKGBUILDDIR>>/src/nist.c:54:51: warning: cast between incompatible function types from ‘int (*)(belle_sip_nist_t *)’ {aka ‘int (*)(struct belle_sip_nist *)’} to ‘int (*)(void *, unsigned int)’ [-Wcast-function-type]
54 | obj->timer_J=belle_sip_timeout_source_new((belle_sip_source_func_t)nist_on_timer_J,obj,tval);
| ^
[ 30%] Building C object src/CMakeFiles/bellesip.dir/port.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/port.c.o -MF CMakeFiles/bellesip.dir/port.c.o.d -o CMakeFiles/bellesip.dir/port.c.o -c /<<PKGBUILDDIR>>/src/port.c
[ 31%] Building C object src/CMakeFiles/bellesip.dir/provider.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/provider.c.o -MF CMakeFiles/bellesip.dir/provider.c.o.d -o CMakeFiles/bellesip.dir/provider.c.o -c /<<PKGBUILDDIR>>/src/provider.c
[ 32%] Building C object src/CMakeFiles/bellesip.dir/refresher.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/refresher.c.o -MF CMakeFiles/bellesip.dir/refresher.c.o.d -o CMakeFiles/bellesip.dir/refresher.c.o -c /<<PKGBUILDDIR>>/src/refresher.c
[ 34%] Building C object src/CMakeFiles/bellesip.dir/siplistener.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/siplistener.c.o -MF CMakeFiles/bellesip.dir/siplistener.c.o.d -o CMakeFiles/bellesip.dir/siplistener.c.o -c /<<PKGBUILDDIR>>/src/siplistener.c
[ 35%] Building C object src/CMakeFiles/bellesip.dir/sipstack.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/sipstack.c.o -MF CMakeFiles/bellesip.dir/sipstack.c.o.d -o CMakeFiles/bellesip.dir/sipstack.c.o -c /<<PKGBUILDDIR>>/src/sipstack.c
[ 36%] Building C object src/CMakeFiles/bellesip.dir/transaction.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/transaction.c.o -MF CMakeFiles/bellesip.dir/transaction.c.o.d -o CMakeFiles/bellesip.dir/transaction.c.o -c /<<PKGBUILDDIR>>/src/transaction.c
/<<PKGBUILDDIR>>/src/transaction.c: In function ‘transaction_handle_channel_error’:
/<<PKGBUILDDIR>>/src/transaction.c:151:69: warning: cast between incompatible function types from ‘int (*)(belle_sip_transaction_t *)’ {aka ‘int (*)(struct belle_sip_transaction *)’} to ‘int (*)(void *, unsigned int)’ [-Wcast-function-type]
151 | t->call_repair_timer = belle_sip_timeout_source_new((belle_sip_source_func_t)server_transaction_on_call_repair_timer, t, 32 * timercfg->T1);
| ^
/<<PKGBUILDDIR>>/src/transaction.c:154:69: warning: cast between incompatible function types from ‘int (*)(belle_sip_transaction_t *)’ {aka ‘int (*)(struct belle_sip_transaction *)’} to ‘int (*)(void *, unsigned int)’ [-Wcast-function-type]
154 | t->call_repair_timer = belle_sip_timeout_source_new((belle_sip_source_func_t)client_transaction_on_call_repair_timer, t, 32 * timercfg->T1);
| ^
[ 37%] Building C object src/CMakeFiles/bellesip.dir/transports/stream_channel.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/transports/stream_channel.c.o -MF CMakeFiles/bellesip.dir/transports/stream_channel.c.o.d -o CMakeFiles/bellesip.dir/transports/stream_channel.c.o -c /<<PKGBUILDDIR>>/src/transports/stream_channel.c
[ 38%] Building C object src/CMakeFiles/bellesip.dir/transports/stream_listeningpoint.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/transports/stream_listeningpoint.c.o -MF CMakeFiles/bellesip.dir/transports/stream_listeningpoint.c.o.d -o CMakeFiles/bellesip.dir/transports/stream_listeningpoint.c.o -c /<<PKGBUILDDIR>>/src/transports/stream_listeningpoint.c
[ 39%] Building C object src/CMakeFiles/bellesip.dir/transports/udp_channel.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/transports/udp_channel.c.o -MF CMakeFiles/bellesip.dir/transports/udp_channel.c.o.d -o CMakeFiles/bellesip.dir/transports/udp_channel.c.o -c /<<PKGBUILDDIR>>/src/transports/udp_channel.c
[ 40%] Building C object src/CMakeFiles/bellesip.dir/transports/udp_listeningpoint.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/transports/udp_listeningpoint.c.o -MF CMakeFiles/bellesip.dir/transports/udp_listeningpoint.c.o.d -o CMakeFiles/bellesip.dir/transports/udp_listeningpoint.c.o -c /<<PKGBUILDDIR>>/src/transports/udp_listeningpoint.c
[ 41%] Building C object src/CMakeFiles/bellesip.dir/transports/tls_listeningpoint.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/transports/tls_listeningpoint.c.o -MF CMakeFiles/bellesip.dir/transports/tls_listeningpoint.c.o.d -o CMakeFiles/bellesip.dir/transports/tls_listeningpoint.c.o -c /<<PKGBUILDDIR>>/src/transports/tls_listeningpoint.c
[ 42%] Building C object src/CMakeFiles/bellesip.dir/transports/tls_channel.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc -DBCTBX_LOG_DOMAIN=\"belle-sip\" -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 -ffile-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 -Werror=vla -Wno-error=cast-function-type -Wno-missing-field-initializers -Wno-error=unused-result -Wno-error=sign-compare -MD -MT src/CMakeFiles/bellesip.dir/transports/tls_channel.c.o -MF CMakeFiles/bellesip.dir/transports/tls_channel.c.o.d -o CMakeFiles/bellesip.dir/transports/tls_channel.c.o -c /<<PKGBUILDDIR>>/src/transports/tls_channel.c
In file included from /<<PKGBUILDDIR>>/include/belle-sip/object.h:24,
from /<<PKGBUILDDIR>>/include/belle-sip/types.h:24,
from /<<PKGBUILDDIR>>/include/belle-sip/belle-sip.h:23,
from /<<PKGBUILDDIR>>/src/belle_sip_internal.h:30,
from /<<PKGBUILDDIR>>/src/transports/tls_channel.c:20:
/<<PKGBUILDDIR>>/src/transports/tls_channel.c: In function ‘belle_sip_generate_self_signed_certificate’:
/<<PKGBUILDDIR>>/include/belle-sip/utils.h:39:24: error: pointer ‘name_with_path’ used after ‘free’ [-Werror=use-after-free]
39 | #define belle_sip_free bctbx_free
/<<PKGBUILDDIR>>/src/transports/tls_channel.c:288:25: note: in expansion of macro ‘belle_sip_free’
288 | belle_sip_free(name_with_path);
| ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/transports/tls_channel.c:283:25: note: call to ‘free’ here
283 | free(name_with_path);
| ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [src/CMakeFiles/bellesip.dir/build.make:625: src/CMakeFiles/bellesip.dir/transports/tls_channel.c.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:147: src/CMakeFiles/bellesip.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
More information about the Pkg-voip-maintainers
mailing list