Package: crtmpserver Version: 1.0~dfsg-5.1 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-cannot-convert
This package fails to build with GCC 6. GCC 6 has not been released yet, but it's expected that GCC 6 will become the default compiler for stretch. Note that only the first error is reported; there might be more. You can find a snapshot of GCC 6 in experimental. To build with GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly. > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > [ 25%] Building CXX object > thelib/CMakeFiles/thelib.dir/src/protocols/rtmp/basertmpprotocol.cpp.o > cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/thelib" && /usr/bin/c++ > -DCreateRTCPPacket=CreateRTCPPacket_mystyle_only_once > -DFeedDataAudioMPEG4Generic=FeedDataAudioMPEG4Generic_one_by_one -DHAS_LUA > -DHAS_MEDIA_FLV -DHAS_MEDIA_MP3 -DHAS_MEDIA_MP4 -DHAS_PROTOCOL_CLI > -DHAS_PROTOCOL_HLS -DHAS_PROTOCOL_HTTP -DHAS_PROTOCOL_LIVEFLV > -DHAS_PROTOCOL_RTMP -DHAS_PROTOCOL_RTP -DHAS_PROTOCOL_TS -DHAS_PROTOCOL_VAR > -DHandleTSVideoData=HandleVideoData_version3 -DLINUX > -DLITTLE_ENDIAN_BYTE_ALIGNED -DNET_EPOLL -D_FILE_OFFSET_BITS=64 > -D__USE_FILE_OFFSET64 -Dthelib_EXPORTS -I/usr/include/lua5.1 > -I"/<<PKGBUILDDIR>>/common/include" -I"/<<PKGBUILDDIR>>/thelib/include" > -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat > -Werror=format-security -Wall -fPIC -O3 -fno-strict-aliasing -fPIC > -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/precompiled.gch/Release.c++ -include > common -Winvalid-pch -o > CMakeFiles/thelib.dir/src/protocols/rtmp/basertmpprotocol.cpp.o -c > "/<<PKGBUILDDIR>>/thelib/src/p > rotocols/rtmp/basertmpprotocol.cpp" > In file included from > /<<PKGBUILDDIR>>/thelib/include/streaming/baseinfilestream.h:25:0, > from > /<<PKGBUILDDIR>>/thelib/include/protocols/rtmp/streaming/infilertmpstream.h:25, > from > /<<PKGBUILDDIR>>/thelib/src/protocols/rtmp/basertmpprotocol.cpp:31: > /<<PKGBUILDDIR>>/thelib/include/mediaformats/mediaframe.h:40:17: warning: > invalid suffix on literal; C++11 requires a space between literal and string > macro [-Wliteral-suffix] > return format("s: %"PRIx64"; l: %"PRIx64"; t: %hhu; dt: %.2f; kf: %hhu; > at: %.2f; bh: %hhu", > ^ > > /<<PKGBUILDDIR>>/thelib/include/mediaformats/mediaframe.h:40:29: warning: > invalid suffix on literal; C++11 requires a space between literal and string > macro [-Wliteral-suffix] > return format("s: %"PRIx64"; l: %"PRIx64"; t: %hhu; dt: %.2f; kf: %hhu; > at: %.2f; bh: %hhu", > ^ > > /<<PKGBUILDDIR>>/thelib/src/protocols/rtmp/basertmpprotocol.cpp:225:9: > warning: invalid suffix on literal; C++11 requires a space between literal > and string macro [-Wliteral-suffix] > FATAL("Invalid channel id in reset message: %"PRIu32, channelId); > ^ > > /<<PKGBUILDDIR>>/thelib/src/protocols/rtmp/basertmpprotocol.cpp:467:9: > warning: invalid suffix on literal; C++11 requires a space between literal > and string macro [-Wliteral-suffix] > FATAL("Try to play a stream over a non neutral stream: id: %u; type: > %"PRIu64, > ^ > > /<<PKGBUILDDIR>>/thelib/src/protocols/rtmp/basertmpprotocol.cpp:722:13: > warning: invalid suffix on literal; C++11 requires a space between literal > and string macro [-Wliteral-suffix] > FATAL("The server doesn't support stream ids bigger than %"PRIu32, > ^ > > /<<PKGBUILDDIR>>/thelib/src/protocols/rtmp/basertmpprotocol.cpp:754:13: > warning: invalid suffix on literal; C++11 requires a space between literal > and string macro [-Wliteral-suffix] > FATAL("The server doesn't support stream ids bigger than %"PRIu32, > ^ > > /<<PKGBUILDDIR>>/thelib/src/protocols/rtmp/basertmpprotocol.cpp: In member > function 'BaseStream* BaseRTMPProtocol::GetRTMPStream(uint32_t)': > /<<PKGBUILDDIR>>/thelib/src/protocols/rtmp/basertmpprotocol.cpp:345:10: > error: cannot convert 'bool' to 'BaseStream*' in return > return false; > ^~~~~ > > thelib/CMakeFiles/thelib.dir/build.make:1025: recipe for target > 'thelib/CMakeFiles/thelib.dir/src/protocols/rtmp/basertmpprotocol.cpp.o' > failed > make[3]: *** > [thelib/CMakeFiles/thelib.dir/src/protocols/rtmp/basertmpprotocol.cpp.o] > Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' > CMakeFiles/Makefile2:178: recipe for target > 'thelib/CMakeFiles/thelib.dir/all' failed > make[2]: *** [thelib/CMakeFiles/thelib.dir/all] Error 2 > make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' > Makefile:130: recipe for target 'all' failed -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise