Package: src:kodi-inputstream-ffmpegdirect
Version: 20.5.0+ds1-1
Severity: normal
Tags: sid trixie
User: [email protected]
Usertags: ftbfs-gcc-13

[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-13/g++-13, but succeeds to build with gcc-12/g++-12. 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/2023/05/22/logs/kodi-inputstream-ffmpegdirect_20.5.0+ds1-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html

[...]
[ 56%] Building CXX object 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/TimeshiftSegment.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED 
-DADDON_GLOBAL_VERSION_NETWORK_USED -DADDON_GLOBAL_VERSION_TOOLS_USED 
-DADDON_INSTANCE_VERSION_INPUTSTREAM_USED -DBUILD_KODI_ADDON 
-DFFMPEGDIRECT_VERSION=20.5.0 -Dinputstream_ffmpegdirect_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -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 
-std=c++17 -MD -MT 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/TimeshiftSegment.cpp.o -MF 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/TimeshiftSegment.cpp.o.d -o 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/TimeshiftSegment.cpp.o -c 
/<<PKGBUILDDIR>>/src/stream/TimeshiftSegment.
 cpp
[ 62%] Building CXX object 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/TimeshiftStream.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED 
-DADDON_GLOBAL_VERSION_NETWORK_USED -DADDON_GLOBAL_VERSION_TOOLS_USED 
-DADDON_INSTANCE_VERSION_INPUTSTREAM_USED -DBUILD_KODI_ADDON 
-DFFMPEGDIRECT_VERSION=20.5.0 -Dinputstream_ffmpegdirect_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -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 
-std=c++17 -MD -MT 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/TimeshiftStream.cpp.o -MF 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/TimeshiftStream.cpp.o.d -o 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/TimeshiftStream.cpp.o -c 
/<<PKGBUILDDIR>>/src/stream/TimeshiftStream.cpp
[ 68%] Building CXX object 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/URL.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED 
-DADDON_GLOBAL_VERSION_NETWORK_USED -DADDON_GLOBAL_VERSION_TOOLS_USED 
-DADDON_INSTANCE_VERSION_INPUTSTREAM_USED -DBUILD_KODI_ADDON 
-DFFMPEGDIRECT_VERSION=20.5.0 -Dinputstream_ffmpegdirect_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -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 
-std=c++17 -MD -MT 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/URL.cpp.o -MF 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/URL.cpp.o.d -o 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/URL.cpp.o -c 
/<<PKGBUILDDIR>>/src/stream/url/URL.cpp
[ 75%] Building CXX object 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/UrlOptions.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED 
-DADDON_GLOBAL_VERSION_NETWORK_USED -DADDON_GLOBAL_VERSION_TOOLS_USED 
-DADDON_INSTANCE_VERSION_INPUTSTREAM_USED -DBUILD_KODI_ADDON 
-DFFMPEGDIRECT_VERSION=20.5.0 -Dinputstream_ffmpegdirect_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -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 
-std=c++17 -MD -MT 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/UrlOptions.cpp.o -MF 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/UrlOptions.cpp.o.d -o 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/UrlOptions.cpp.o -c 
/<<PKGBUILDDIR>>/src/stream/url/UrlOptions.cpp
In file included from /<<PKGBUILDDIR>>/src/stream/TimeshiftStream.h:10,
                 from /<<PKGBUILDDIR>>/src/stream/TimeshiftStream.cpp:8:
/<<PKGBUILDDIR>>/src/stream/../utils/HttpProxy.h:18:40: error: ‘uint16_t’ has 
not been declared
   18 |     HttpProxy(const std::string& host, uint16_t port, const 
std::string& user, const std::string& password)
      |                                        ^~~~~~~~
/<<PKGBUILDDIR>>/src/stream/../utils/HttpProxy.h:24:5: error: ‘uint16_t’ does 
not name a type
   24 |     uint16_t GetProxyPort() const { return m_port; }
      |     ^~~~~~~~
/<<PKGBUILDDIR>>/src/stream/../utils/HttpProxy.h:11:1: note: ‘uint16_t’ is 
defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   10 | #include <string>
  +++ |+#include <cstdint>
   11 | 
/<<PKGBUILDDIR>>/src/stream/../utils/HttpProxy.h:25:23: error: ‘uint16_t’ has 
not been declared
   25 |     void SetProxyPort(uint16_t value) { m_port = value; }
      |                       ^~~~~~~~
/<<PKGBUILDDIR>>/src/stream/../utils/HttpProxy.h:35:5: error: ‘uint16_t’ does 
not name a type
   35 |     uint16_t m_port;
      |     ^~~~~~~~
/<<PKGBUILDDIR>>/src/stream/../utils/HttpProxy.h:35:5: note: ‘uint16_t’ is 
defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/src/stream/../utils/HttpProxy.h: In constructor 
‘ffmpegdirect::HttpProxy::HttpProxy(const std::string&, int, const 
std::string&, const std::string&)’:
/<<PKGBUILDDIR>>/src/stream/../utils/HttpProxy.h:19:23: error: class 
‘ffmpegdirect::HttpProxy’ does not have any field named ‘m_port’
   19 |       : m_host(host), m_port(port), m_user(user), m_password(password) 
{};
      |                       ^~~~~~
/<<PKGBUILDDIR>>/src/stream/../utils/HttpProxy.h: In member function ‘void 
ffmpegdirect::HttpProxy::SetProxyPort(int)’:
/<<PKGBUILDDIR>>/src/stream/../utils/HttpProxy.h:25:41: error: ‘m_port’ was not 
declared in this scope; did you mean ‘m_host’?
   25 |     void SetProxyPort(uint16_t value) { m_port = value; }
      |                                         ^~~~~~
      |                                         m_host
In file included from /<<PKGBUILDDIR>>/src/stream/TimeshiftSegment.cpp:8:
/<<PKGBUILDDIR>>/src/stream/TimeshiftSegment.h:27:7: warning: 
‘ffmpegdirect::TimeshiftSegment’ declared with greater visibility than the type 
of its field ‘ffmpegdirect::TimeshiftSegment::m_fileHandle’ [-Wattributes]
   27 | class TimeshiftSegment
      |       ^~~~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/stream/FFmpegStream.h:14,
                 from /<<PKGBUILDDIR>>/src/stream/TimeshiftStream.h:12:
/<<PKGBUILDDIR>>/src/stream/DemuxStream.h: At global scope:
/<<PKGBUILDDIR>>/src/stream/DemuxStream.h:36:7: warning: 
‘ffmpegdirect::DemuxStream’ declared with greater visibility than the type of 
its field ‘ffmpegdirect::DemuxStream::cryptoSession’ [-Wattributes]
   36 | class DemuxStream
      |       ^~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/stream/FFmpegStream.h:15:
/<<PKGBUILDDIR>>/src/stream/CurlInput.h:23:7: warning: 
‘ffmpegdirect::CurlInput’ declared with greater visibility than the type of its 
field ‘ffmpegdirect::CurlInput::m_pFile’ [-Wattributes]
   23 | class CurlInput
      |       ^~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/stream/TimeshiftBuffer.h:11,
                 from /<<PKGBUILDDIR>>/src/stream/TimeshiftStream.h:13:
/<<PKGBUILDDIR>>/src/stream/TimeshiftSegment.h:27:7: warning: 
‘ffmpegdirect::TimeshiftSegment’ declared with greater visibility than the type 
of its field ‘ffmpegdirect::TimeshiftSegment::m_fileHandle’ [-Wattributes]
   27 | class TimeshiftSegment
      |       ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/stream/TimeshiftBuffer.h:37:7: warning: 
‘ffmpegdirect::TimeshiftBuffer’ declared with greater visibility than the type 
of its field ‘ffmpegdirect::TimeshiftBuffer::m_segmentIndexFileHandle’ 
[-Wattributes]
   37 | class TimeshiftBuffer
      |       ^~~~~~~~~~~~~~~
[ 81%] Building CXX object 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/Variant.cpp.o
/usr/bin/c++ -DADDON_GLOBAL_VERSION_FILESYSTEM_USED 
-DADDON_GLOBAL_VERSION_GENERAL_USED -DADDON_GLOBAL_VERSION_MAIN_USED 
-DADDON_GLOBAL_VERSION_NETWORK_USED -DADDON_GLOBAL_VERSION_TOOLS_USED 
-DADDON_INSTANCE_VERSION_INPUTSTREAM_USED -DBUILD_KODI_ADDON 
-DFFMPEGDIRECT_VERSION=20.5.0 -Dinputstream_ffmpegdirect_EXPORTS  -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -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 
-std=c++17 -MD -MT 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/Variant.cpp.o -MF 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/Variant.cpp.o.d -o 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/url/Variant.cpp.o -c 
/<<PKGBUILDDIR>>/src/stream/url/Variant.cpp
make[3]: *** [CMakeFiles/inputstream.ffmpegdirect.dir/build.make:205: 
CMakeFiles/inputstream.ffmpegdirect.dir/src/stream/TimeshiftStream.cpp.o] Error 
1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:113: 
CMakeFiles/inputstream.ffmpegdirect.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