[Debian-med-packaging] Bug#984280: oscar: ftbfs with GCC-11
Matthias Klose
doko at debian.org
Wed Mar 3 16:16:21 GMT 2021
Package: src:oscar
Version: 1.2.0-1
Severity: normal
Tags: sid bookworm
User: debian-gcc at 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/oscar_1.2.0-1_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.
[...]
../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:8996:91: warning: ‘QTextStream& QTextStreamFunctions::hex(QTextStream&)’ is deprecated: Use Qt::hex [-Wdeprecated-declarations]
8996 | qWarning() << chunk->m_path << "@" << chunk->m_filepos << "block CRC calc" << hex << chunk->calcCrc << "!= stored" << hex << chunk->storedCrc;
| ^~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here
277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s);
| ^~~
../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:8996:131: warning: ‘QTextStream& QTextStreamFunctions::hex(QTextStream&)’ is deprecated: Use Qt::hex [-Wdeprecated-declarations]
8996 | qWarning() << chunk->m_path << "@" << chunk->m_filepos << "block CRC calc" << hex << chunk->calcCrc << "!= stored" << hex << chunk->storedCrc;
| ^~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here
277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s);
| ^~~
../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:8996:131: warning: ‘QTextStream& QTextStreamFunctions::hex(QTextStream&)’ is deprecated: Use Qt::hex [-Wdeprecated-declarations]
8996 | qWarning() << chunk->m_path << "@" << chunk->m_filepos << "block CRC calc" << hex << chunk->calcCrc << "!= stored" << hex << chunk->storedCrc;
| ^~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here
277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s);
| ^~~
../../oscar/SleepLib/loader_plugins/prs1_loader.cpp: In member function ‘bool PRS1DataChunk::ReadHeader(QFile&)’:
../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:9044:50: warning: ‘QTextStream& QTextStreamFunctions::hex(QTextStream&)’ is deprecated: Use Qt::hex [-Wdeprecated-declarations]
9044 | qWarning() << this->m_path << "@" << hex << this->m_filepos << "blocksize 0, skipping remainder of file";
| ^~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here
277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s);
| ^~~
../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:9044:50: warning: ‘QTextStream& QTextStreamFunctions::hex(QTextStream&)’ is deprecated: Use Qt::hex [-Wdeprecated-declarations]
9044 | qWarning() << this->m_path << "@" << hex << this->m_filepos << "blocksize 0, skipping remainder of file";
| ^~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here
277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s);
| ^~~
../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:9049:54: warning: ‘QTextStream& QTextStreamFunctions::hex(QTextStream&)’ is deprecated: Use Qt::hex [-Wdeprecated-declarations]
9049 | qWarning() << this->m_path << "@" << hex << this->m_filepos << "corrupt PRS1 header, skipping remainder of file";
| ^~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here
277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s);
| ^~~
../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:9049:54: warning: ‘QTextStream& QTextStreamFunctions::hex(QTextStream&)’ is deprecated: Use Qt::hex [-Wdeprecated-declarations]
9049 | qWarning() << this->m_path << "@" << hex << this->m_filepos << "corrupt PRS1 header, skipping remainder of file";
| ^~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:49,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
from ../../oscar/SleepLib/loader_plugins/prs1_loader.cpp:17:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here
277 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::hex") QTextStream &hex(QTextStream &s);
| ^~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>/_build/oscar'
make[1]: *** [Makefile:47: sub-oscar-make_first-ordered] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/_build'
dh_auto_build: error: cd _build && make -j4 returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list