Bug#1075118: kodi-pvr-teleboy: ftbfs with GCC-14
Package: src:kodi-pvr-teleboy
Version: 20.3.4+ds-1
Severity: important
Tags: sid trixie
User: debian-gcc@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/kodi-pvr-teleboy_20.3.4+ds-1_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
[...]
[ 7%] Building C object lib/sqlite/CMakeFiles/sqlite.dir/sqlite3.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib/sqlite && /usr/bin/cc -DBUILD_KODI_ADDON -D_GNU_SOURCE -I/usr/include/kodi -I/<<PKGBUILDDIR>>/lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT lib/sqlite/CMakeFiles/sqlite.dir/sqlite3.c.o -MF CMakeFiles/sqlite.dir/sqlite3.c.o.d -o CMakeFiles/sqlite.dir/sqlite3.c.o -c /<<PKGBUILDDIR>>/lib/sqlite/sqlite3.c
/<<PKGBUILDDIR>>/lib/sqlite/sqlite3.c: In function ‘sqlite3SelectNew’:
/<<PKGBUILDDIR>>/lib/sqlite/sqlite3.c:128048:10: warning: function may return address of local variable [-Wreturn-local-addr]
128048 | return pNew;
| ^~~~
/<<PKGBUILDDIR>>/lib/sqlite/sqlite3.c:128008:10: note: declared here
128008 | Select standin;
| ^~~~~~~
[ 14%] Linking C static library libsqlite.a
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib/sqlite && /usr/bin/cmake -P CMakeFiles/sqlite.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib/sqlite && /usr/bin/cmake -E cmake_link_script CMakeFiles/sqlite.dir/link.txt --verbose=1
/usr/bin/ar qc libsqlite.a CMakeFiles/sqlite.dir/sqlite3.c.o
/usr/bin/ranlib libsqlite.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 14%] Built target sqlite
make -f CMakeFiles/pvr.teleboy.dir/build.make CMakeFiles/pvr.teleboy.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/pvr.teleboy.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/pvr.teleboy.dir/build.make CMakeFiles/pvr.teleboy.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 21%] Building CXX object CMakeFiles/pvr.teleboy.dir/src/Session.cpp.o
[ 28%] Building CXX object CMakeFiles/pvr.teleboy.dir/src/sql/SQLConnection.cpp.o
[ 35%] Building CXX object CMakeFiles/pvr.teleboy.dir/src/TeleBoy.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_PVR_USED -DBUILD_KODI_ADDON -Dpvr_teleboy_EXPORTS -I/usr/include/kodi -I/<<PKGBUILDDIR>>/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DTELEBOY_VERSION=20.3.4 -DKODI_VERSION=20.5.0 -std=c++17 -fPIC -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT CMakeFiles/pvr.teleboy.dir/src/Session.cpp.o -MF CMakeFiles/pvr.teleboy.dir/src/Session.cpp.o.d -o CMakeFiles/pvr.teleboy.dir/src/Session.cpp.o -c /<<PKGBUILDDIR>>/src/Session.cpp
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_PVR_USED -DBUILD_KODI_ADDON -Dpvr_teleboy_EXPORTS -I/usr/include/kodi -I/<<PKGBUILDDIR>>/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DTELEBOY_VERSION=20.3.4 -DKODI_VERSION=20.5.0 -std=c++17 -fPIC -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT CMakeFiles/pvr.teleboy.dir/src/sql/SQLConnection.cpp.o -MF CMakeFiles/pvr.teleboy.dir/src/sql/SQLConnection.cpp.o.d -o CMakeFiles/pvr.teleboy.dir/src/sql/SQLConnection.cpp.o -c /<<PKGBUILDDIR>>/src/sql/SQLConnection.cpp
[ 42%] Building CXX object CMakeFiles/pvr.teleboy.dir/src/sql/ParameterDB.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_PVR_USED -DBUILD_KODI_ADDON -Dpvr_teleboy_EXPORTS -I/usr/include/kodi -I/<<PKGBUILDDIR>>/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DTELEBOY_VERSION=20.3.4 -DKODI_VERSION=20.5.0 -std=c++17 -fPIC -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT CMakeFiles/pvr.teleboy.dir/src/TeleBoy.cpp.o -MF CMakeFiles/pvr.teleboy.dir/src/TeleBoy.cpp.o.d -o CMakeFiles/pvr.teleboy.dir/src/TeleBoy.cpp.o -c /<<PKGBUILDDIR>>/src/TeleBoy.cpp
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_PVR_USED -DBUILD_KODI_ADDON -Dpvr_teleboy_EXPORTS -I/usr/include/kodi -I/<<PKGBUILDDIR>>/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DTELEBOY_VERSION=20.3.4 -DKODI_VERSION=20.5.0 -std=c++17 -fPIC -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT CMakeFiles/pvr.teleboy.dir/src/sql/ParameterDB.cpp.o -MF CMakeFiles/pvr.teleboy.dir/src/sql/ParameterDB.cpp.o.d -o CMakeFiles/pvr.teleboy.dir/src/sql/ParameterDB.cpp.o -c /<<PKGBUILDDIR>>/src/sql/ParameterDB.cpp
[ 50%] Building CXX object CMakeFiles/pvr.teleboy.dir/src/Utils.cpp.o
[ 57%] Building CXX object CMakeFiles/pvr.teleboy.dir/src/categories.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_PVR_USED -DBUILD_KODI_ADDON -Dpvr_teleboy_EXPORTS -I/usr/include/kodi -I/<<PKGBUILDDIR>>/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DTELEBOY_VERSION=20.3.4 -DKODI_VERSION=20.5.0 -std=c++17 -fPIC -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT CMakeFiles/pvr.teleboy.dir/src/Utils.cpp.o -MF CMakeFiles/pvr.teleboy.dir/src/Utils.cpp.o.d -o CMakeFiles/pvr.teleboy.dir/src/Utils.cpp.o -c /<<PKGBUILDDIR>>/src/Utils.cpp
[ 71%] Building CXX object CMakeFiles/pvr.teleboy.dir/src/UpdateThread.cpp.o
[ 71%] Building CXX object CMakeFiles/pvr.teleboy.dir/src/md5.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_PVR_USED -DBUILD_KODI_ADDON -Dpvr_teleboy_EXPORTS -I/usr/include/kodi -I/<<PKGBUILDDIR>>/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DTELEBOY_VERSION=20.3.4 -DKODI_VERSION=20.5.0 -std=c++17 -fPIC -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT CMakeFiles/pvr.teleboy.dir/src/categories.cpp.o -MF CMakeFiles/pvr.teleboy.dir/src/categories.cpp.o.d -o CMakeFiles/pvr.teleboy.dir/src/categories.cpp.o -c /<<PKGBUILDDIR>>/src/categories.cpp
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_PVR_USED -DBUILD_KODI_ADDON -Dpvr_teleboy_EXPORTS -I/usr/include/kodi -I/<<PKGBUILDDIR>>/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DTELEBOY_VERSION=20.3.4 -DKODI_VERSION=20.5.0 -std=c++17 -fPIC -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT CMakeFiles/pvr.teleboy.dir/src/md5.cpp.o -MF CMakeFiles/pvr.teleboy.dir/src/md5.cpp.o.d -o CMakeFiles/pvr.teleboy.dir/src/md5.cpp.o -c /<<PKGBUILDDIR>>/src/md5.cpp
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_PVR_USED -DBUILD_KODI_ADDON -Dpvr_teleboy_EXPORTS -I/usr/include/kodi -I/<<PKGBUILDDIR>>/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DTELEBOY_VERSION=20.3.4 -DKODI_VERSION=20.5.0 -std=c++17 -fPIC -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT CMakeFiles/pvr.teleboy.dir/src/UpdateThread.cpp.o -MF CMakeFiles/pvr.teleboy.dir/src/UpdateThread.cpp.o.d -o CMakeFiles/pvr.teleboy.dir/src/UpdateThread.cpp.o -c /<<PKGBUILDDIR>>/src/UpdateThread.cpp
[ 78%] Building CXX object CMakeFiles/pvr.teleboy.dir/src/http/Curl.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED -DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_INSTANCE_VERSION_PVR_USED -DBUILD_KODI_ADDON -Dpvr_teleboy_EXPORTS -I/usr/include/kodi -I/<<PKGBUILDDIR>>/lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DTELEBOY_VERSION=20.3.4 -DKODI_VERSION=20.5.0 -std=c++17 -fPIC -DTARGET_POSIX -DTARGET_LINUX -D_GNU_SOURCE -DHAVE_LINUX_UDMABUF=1 -DHAVE_LINUX_DMA_HEAP=1 -DHAVE_LINUX_DMA_BUF=1 -DHAVE_MKOSTEMP=1 -DHAVE_LINUX_MEMFD=1 -DHAVE_STATX=1 -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -MD -MT CMakeFiles/pvr.teleboy.dir/src/http/Curl.cpp.o -MF CMakeFiles/pvr.teleboy.dir/src/http/Curl.cpp.o.d -o CMakeFiles/pvr.teleboy.dir/src/http/Curl.cpp.o -c /<<PKGBUILDDIR>>/src/http/Curl.cpp
In file included from /<<PKGBUILDDIR>>/src/TeleBoy.h:5,
from /<<PKGBUILDDIR>>/src/UpdateThread.cpp:3:
/usr/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
/usr/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~~^~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/TeleBoy.h:5,
from /<<PKGBUILDDIR>>/src/TeleBoy.cpp:1:
/usr/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
/usr/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~~^~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/TeleBoy.h:5,
from /<<PKGBUILDDIR>>/src/Session.cpp:4:
/usr/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
/usr/include/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
| ~~~~~~~^~~~~~~~~~~~
make[3]: *** [CMakeFiles/pvr.teleboy.dir/build.make:135: CMakeFiles/pvr.teleboy.dir/src/UpdateThread.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/pvr.teleboy.dir/build.make:107: CMakeFiles/pvr.teleboy.dir/src/Session.cpp.o] Error 1
make[3]: *** [CMakeFiles/pvr.teleboy.dir/build.make:121: CMakeFiles/pvr.teleboy.dir/src/TeleBoy.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:130: CMakeFiles/pvr.teleboy.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: 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: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: