--- Begin Message ---
Package: src:qsstv
Version: 9.4.4-3
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.
The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/qsstv_9.4.4-3_unstable_gcc11.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
from drmrx/sourcedecoder.h:4,
from drmrx/sourcedecoder.cpp:22:
/usr/include/c++/11/cstddef:69:14: note: candidates are: ‘enum class std::byte’
69 | enum class byte : unsigned char {};
| ^~~~
In file included from drmrx/sourcedecoder.h:14,
from drmrx/sourcedecoder.cpp:22:
./appdefs.h:23:23: note: ‘typedef unsigned char byte’
23 | typedef unsigned char byte;
| ^~~~
In file included from drmrx/sourcedecoder.cpp:28:
utils/reedsolomoncoder.h:28:19: error: ‘byte’ has not been declared
28 | void distribute(byte *src, byte *dst, int rows, int cols, int reverse);
| ^~~~
utils/reedsolomoncoder.h:28:30: error: reference to ‘byte’ is ambiguous
28 | void distribute(byte *src, byte *dst, int rows, int cols, int reverse);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:46,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
from drmrx/sourcedecoder.h:4,
from drmrx/sourcedecoder.cpp:22:
/usr/include/c++/11/cstddef:69:14: note: candidates are: ‘enum class std::byte’
69 | enum class byte : unsigned char {};
| ^~~~
In file included from drmrx/sourcedecoder.h:14,
from drmrx/sourcedecoder.cpp:22:
./appdefs.h:23:23: note: ‘typedef unsigned char byte’
23 | typedef unsigned char byte;
| ^~~~
In file included from drmrx/sourcedecoder.cpp:28:
utils/reedsolomoncoder.h:28:30: error: ‘byte’ has not been declared
28 | void distribute(byte *src, byte *dst, int rows, int cols, int reverse);
| ^~~~
drmrx/sourcedecoder.cpp: In member function ‘bool sourceDecoder::storeBSR(transportBlock*, bool)’:
drmrx/sourcedecoder.cpp:787:41: warning: ‘QByteArray& QByteArray::append(const QString&)’ is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit() [-Wdeprecated-declarations]
787 | tb->baBSR.append(tb->fileName+"\n");
| ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
from drmrx/sourcedecoder.h:4,
from drmrx/sourcedecoder.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1507:20: note: declared here
1507 | inline QByteArray &QByteArray::append(const QString &s)
| ^~~~~~~~~~
drmrx/sourcedecoder.cpp:790:28: warning: ‘QByteArray& QByteArray::append(const QString&)’ is deprecated: Use QString's toUtf8(), toLatin1() or toLocal8Bit() [-Wdeprecated-declarations]
790 | tb->baBSR.append(temp);
| ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
from drmrx/sourcedecoder.h:4,
from drmrx/sourcedecoder.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1507:20: note: declared here
1507 | inline QByteArray &QByteArray::append(const QString &s)
| ^~~~~~~~~~
g++ -c -pipe -g -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -Wno-implicit-fallthrough -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iconfig -Iutils -Isound -Iwidgets -Idsp -Idispatch -Ilogbook -Imainwidgets -Irig -Isstv -Ivideocapt -Idrmrx -Idrmtx -Ixmlrpc -Ieditor -I/usr/include/openjpeg-2.4 -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o SymbolInterleaver.o drmtx/common/interleaver/SymbolInterleaver.cpp
make[2]: *** [Makefile:3482: sourcedecoder.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>/qsstv'
make[1]: *** [Makefile:47: sub-qsstv-make_first-ordered] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---