Bug#1075223: linphone: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:34:54 BST 2024
Package: src:linphone
Version: 5.2.0-4.3
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/linphone_5.2.0-4.3_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 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-14/porting_to.html
[...]
[ 11%] Building CXX object coreapi/CMakeFiles/linphone-coreapi.dir/proxy.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/coreapi && /usr/bin/c++ -DBCTBX_LOG_DOMAIN=\"liblinphone\" -DBCTBX_STATIC -DCXX_WRAPPER_ENABLED -DHAVE_CONFIG_H -DJPEG_ENABLED -DLDAP_ENABLED -DLDAP_LIBS_DYNAMIC -DLINPHONE_EXPORTS -DQRCODE_ENABLED -DUSE_BELLESIP -DVCARD_ENABLED -DVIDEO_ENABLED -I/<<PKGBUILDDIR>>/coreapi -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/coreapi -I/usr/include/belle-sip -I/usr/include/OpenGL -I/usr/include/xsd -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPACKAGE_SOUND_DIR="\"/usr/share/sounds/linphone\"" -DPACKAGE_RING_DIR="\"/usr/share/sounds/linphone/rings\"" -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -Wall -Wconversion -Werror=return-type -Winit-self -Wno-error=deprecated-declarations -Wpointer-arith -Wuninitialized -Wunused -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -Wno-error=suggest-override -MD -MT coreapi/CMakeFiles/linphone-coreapi.dir/proxy.c.o -MF CMakeFiles/linphone-coreapi.dir/proxy.c.o.d -o CMakeFiles/linphone-coreapi.dir/proxy.c.o -c /<<PKGBUILDDIR>>/coreapi/proxy.c
/<<PKGBUILDDIR>>/coreapi/misc.c: In function ‘void linphone_core_update_allocated_audio_bandwidth(LinphoneCore*)’:
/<<PKGBUILDDIR>>/coreapi/misc.c:74:48: warning: ‘const bctbx_list_t* linphone_core_get_audio_codecs(const LinphoneCore*)’ is deprecated [-Wdeprecated-declarations]
74 | for(elem=linphone_core_get_audio_codecs(lc);elem!=NULL;elem=elem->next){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /<<PKGBUILDDIR>>/src/conference/conference.h:27,
from /<<PKGBUILDDIR>>/src/conference/session/call-session.h:26,
from /<<PKGBUILDDIR>>/src/conference/session/streams.h:29,
from /<<PKGBUILDDIR>>/include/linphone/utils/utils.h:36,
from /<<PKGBUILDDIR>>/src/core/core-p.h:26,
from /<<PKGBUILDDIR>>/coreapi/misc.c:25:
/<<PKGBUILDDIR>>/include/linphone/core.h:7015:57: note: declared here
7015 | LINPHONE_PUBLIC LINPHONE_DEPRECATED const bctbx_list_t *linphone_core_get_audio_codecs(const LinphoneCore *core);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/coreapi/misc.c: In function ‘int get_unique_transport(LinphoneCore*, LinphoneTransportType*, int*)’:
/<<PKGBUILDDIR>>/coreapi/misc.c:531:41: warning: ‘LinphoneStatus linphone_core_get_sip_transports(LinphoneCore*, LinphoneSipTransports*)’ is deprecated [-Wdeprecated-declarations]
531 | linphone_core_get_sip_transports(lc,&tp);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/<<PKGBUILDDIR>>/include/linphone/core.h:7286:52: note: declared here
7286 | LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus linphone_core_get_sip_transports(LinphoneCore *core, LinphoneSipTransports *transports);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/coreapi/misc.c: In function ‘void linphone_core_migrate_proxy_config(LinphoneCore*, LinphoneTransportType)’:
/<<PKGBUILDDIR>>/coreapi/misc.c:553:66: warning: ‘const char* linphone_proxy_config_get_route(const LinphoneProxyConfig*)’ is deprecated [-Wdeprecated-declarations]
553 | const char *route=linphone_proxy_config_get_route(cfg);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from /<<PKGBUILDDIR>>/include/linphone/core.h:61:
/<<PKGBUILDDIR>>/include/linphone/proxy_config.h:766:49: note: declared here
766 | LINPHONE_PUBLIC LINPHONE_DEPRECATED const char *linphone_proxy_config_get_route(const LinphoneProxyConfig *proxy_config);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/coreapi/misc.c:568:56: warning: ‘LinphoneStatus linphone_proxy_config_set_route(LinphoneProxyConfig*, const char*)’ is deprecated [-Wdeprecated-declarations]
568 | linphone_proxy_config_set_route(cfg,tmp);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/<<PKGBUILDDIR>>/include/linphone/proxy_config.h:759:52: note: declared here
759 | LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus linphone_proxy_config_set_route(LinphoneProxyConfig *proxy_config, const char *route);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/coreapi/misc.c: In function ‘LinphoneStatus linphone_core_migrate_to_multi_transport(LinphoneCore*)’:
/<<PKGBUILDDIR>>/coreapi/misc.c:589:57: warning: ‘LinphoneStatus linphone_core_set_sip_transports(LinphoneCore*, const LinphoneSipTransports*)’ is deprecated [-Wdeprecated-declarations]
589 | linphone_core_set_sip_transports(lc,&newtp);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/<<PKGBUILDDIR>>/include/linphone/core.h:7273:52: note: declared here
7273 | LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus linphone_core_set_sip_transports(LinphoneCore *core, const LinphoneSipTransports *transports);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/coreapi/misc.c: In function ‘bool_t linphone_core_file_format_supported(LinphoneCore*, const char*)’:
/<<PKGBUILDDIR>>/coreapi/misc.c:937:70: warning: ‘const char** linphone_core_get_supported_file_formats(LinphoneCore*)’ is deprecated [-Wdeprecated-declarations]
937 | const char **formats=linphone_core_get_supported_file_formats(lc);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/<<PKGBUILDDIR>>/coreapi/misc.c:914:15: note: declared here
914 | const char ** linphone_core_get_supported_file_formats(LinphoneCore *core){
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[4]: *** [coreapi/CMakeFiles/linphone-coreapi.dir/build.make:485: coreapi/CMakeFiles/linphone-coreapi.dir/lpconfig.c.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/coreapi/player.c: In function ‘void on_eof(void*, MSFilter*, unsigned int, void*)’:
/<<PKGBUILDDIR>>/coreapi/player.c:184:79: warning: ‘LinphonePlayerCbs* linphone_player_get_callbacks(const LinphonePlayer*)’ is deprecated [-Wdeprecated-declarations]
184 | LinphonePlayerCbs *cbs = linphone_player_get_callbacks(player);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/<<PKGBUILDDIR>>/coreapi/player.c:60:21: note: declared here
60 | LinphonePlayerCbs * linphone_player_get_callbacks(const LinphonePlayer *player) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:350: coreapi/CMakeFiles/linphone-coreapi.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:139: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:77: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:50: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-voip-maintainers
mailing list