Package: src:kodi-pvr-waipu
Version: 20.11.0+ds-1
Severity: important
Tags: sid trixie
User: debian-...@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-waipu_20.11.0+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

[...]
--  - Added API usage definition: ADDON_GLOBAL_VERSION_FILESYSTEM_USED 
(Version: "1.1.8", Min. Version: "1.1.7")
--  - Added API usage definition: ADDON_GLOBAL_VERSION_NETWORK_USED (Version: 
"1.0.4", Min. Version: "1.0.0")
--  - Added API usage definition: ADDON_GLOBAL_VERSION_TOOLS_USED (Version: 
"1.0.4", Min. Version: "1.0.0")
--  - Added API usage definition: ADDON_INSTANCE_VERSION_PVR_USED (Version: 
"8.2.0", Min. Version: "8.2.0")
-- Configuring done (2.3s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_LOCALSTATEDIR
    CMAKE_INSTALL_RUNSTATEDIR
    CMAKE_INSTALL_SYSCONFDIR
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build
        cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install 
--strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu 
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f CMakeFiles/pvr.waipu.dir/build.make CMakeFiles/pvr.waipu.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.waipu.dir/DependInfo.cmake 
"--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f CMakeFiles/pvr.waipu.dir/build.make CMakeFiles/pvr.waipu.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 12%] Building CXX object CMakeFiles/pvr.waipu.dir/src/Utils.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_GUI_USED 
-DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_GLOBAL_VERSION_NETWORK_USED 
-DADDON_GLOBAL_VERSION_TOOLS_USED -DADDON_INSTANCE_VERSION_PVR_USED 
-DBUILD_KODI_ADDON -DIPTV_VERSION=20.11.0 -Dpvr_waipu_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -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.waipu.dir/src/Utils.cpp.o -MF 
CMakeFiles/pvr.waipu.dir/src/Utils.cpp.o.d -o 
CMakeFiles/pvr.waipu.dir/src/Utils.cpp.o -c /<<PKGBUILDDIR>>/src/Utils.cpp
[ 50%] Building CXX object CMakeFiles/pvr.waipu.dir/src/JWT.cpp.o
[ 50%] Building CXX object CMakeFiles/pvr.waipu.dir/src/HLSAllowlist.cpp.o
[ 50%] Building CXX object CMakeFiles/pvr.waipu.dir/src/Curl.cpp.o
[ 62%] Building CXX object CMakeFiles/pvr.waipu.dir/src/WaipuData.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_GUI_USED 
-DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_GLOBAL_VERSION_NETWORK_USED 
-DADDON_GLOBAL_VERSION_TOOLS_USED -DADDON_INSTANCE_VERSION_PVR_USED 
-DBUILD_KODI_ADDON -DIPTV_VERSION=20.11.0 -Dpvr_waipu_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -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.waipu.dir/src/JWT.cpp.o -MF 
CMakeFiles/pvr.waipu.dir/src/JWT.cpp.o.d -o 
CMakeFiles/pvr.waipu.dir/src/JWT.cpp.o -c /<<PKGBUILDDIR>>/src/JWT.cpp
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_GUI_USED 
-DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_GLOBAL_VERSION_NETWORK_USED 
-DADDON_GLOBAL_VERSION_TOOLS_USED -DADDON_INSTANCE_VERSION_PVR_USED 
-DBUILD_KODI_ADDON -DIPTV_VERSION=20.11.0 -Dpvr_waipu_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -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.waipu.dir/src/HLSAllowlist.cpp.o -MF 
CMakeFiles/pvr.waipu.dir/src/HLSAllowlist.cpp.o.d -o 
CMakeFiles/pvr.waipu.dir/src/HLSAllowlist.cpp.o -c 
/<<PKGBUILDDIR>>/src/HLSAllowlist.cpp
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_GUI_USED 
-DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_GLOBAL_VERSION_NETWORK_USED 
-DADDON_GLOBAL_VERSION_TOOLS_USED -DADDON_INSTANCE_VERSION_PVR_USED 
-DBUILD_KODI_ADDON -DIPTV_VERSION=20.11.0 -Dpvr_waipu_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -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.waipu.dir/src/Curl.cpp.o -MF 
CMakeFiles/pvr.waipu.dir/src/Curl.cpp.o.d -o 
CMakeFiles/pvr.waipu.dir/src/Curl.cpp.o -c /<<PKGBUILDDIR>>/src/Curl.cpp
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_GUI_USED 
-DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_GLOBAL_VERSION_NETWORK_USED 
-DADDON_GLOBAL_VERSION_TOOLS_USED -DADDON_INSTANCE_VERSION_PVR_USED 
-DBUILD_KODI_ADDON -DIPTV_VERSION=20.11.0 -Dpvr_waipu_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -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.waipu.dir/src/WaipuData.cpp.o -MF 
CMakeFiles/pvr.waipu.dir/src/WaipuData.cpp.o.d -o 
CMakeFiles/pvr.waipu.dir/src/WaipuData.cpp.o -c 
/<<PKGBUILDDIR>>/src/WaipuData.cpp
[ 87%] Building CXX object CMakeFiles/pvr.waipu.dir/src/Base64.cpp.o
[ 87%] Building CXX object CMakeFiles/pvr.waipu.dir/src/categories.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_GUI_USED 
-DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_GLOBAL_VERSION_NETWORK_USED 
-DADDON_GLOBAL_VERSION_TOOLS_USED -DADDON_INSTANCE_VERSION_PVR_USED 
-DBUILD_KODI_ADDON -DIPTV_VERSION=20.11.0 -Dpvr_waipu_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -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.waipu.dir/src/categories.cpp.o -MF 
CMakeFiles/pvr.waipu.dir/src/categories.cpp.o.d -o 
CMakeFiles/pvr.waipu.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_GUI_USED 
-DADDON_GLOBAL_VERSION_MAIN_USED -DADDON_GLOBAL_VERSION_NETWORK_USED 
-DADDON_GLOBAL_VERSION_TOOLS_USED -DADDON_INSTANCE_VERSION_PVR_USED 
-DBUILD_KODI_ADDON -DIPTV_VERSION=20.11.0 -Dpvr_waipu_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -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.waipu.dir/src/Base64.cpp.o -MF 
CMakeFiles/pvr.waipu.dir/src/Base64.cpp.o.d -o 
CMakeFiles/pvr.waipu.dir/src/Base64.cpp.o -c /<<PKGBUILDDIR>>/src/Base64.cpp
In file included from /<<PKGBUILDDIR>>/src/JWT.h:23,
                 from /<<PKGBUILDDIR>>/src/JWT.cpp:22:
/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/JWT.h:23,
                 from /<<PKGBUILDDIR>>/src/WaipuData.h:25,
                 from /<<PKGBUILDDIR>>/src/WaipuData.cpp:22:
/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.waipu.dir/build.make:135: 
CMakeFiles/pvr.waipu.dir/src/JWT.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/pvr.waipu.dir/build.make:163: 
CMakeFiles/pvr.waipu.dir/src/WaipuData.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:113: CMakeFiles/pvr.waipu.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 via email to