[Pkg-auth-maintainers] Bug#1037909: yubioath-desktop: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:33:13 BST 2023


Package: src:yubioath-desktop
Version: 5.1.0-1
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
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/yubioath-desktop_5.1.0-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

[...]
      |        ^
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:34:24: error: invalid types ‘int[int]’ for array subscript
   34 |     row[i] = 0xFF - row[i];
      |                        ^
QZXing/zxing/zxing/InvertedLuminanceSource.cpp: At global scope:
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:39:17: error: ‘byte’ is not a member of ‘zxing’
   39 | ArrayRef<zxing::byte> InvertedLuminanceSource::getMatrix() const {
      |                 ^~~~
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:39:17: error: ‘byte’ is not a member of ‘zxing’
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:39:21: error: template argument 1 is invalid
   39 | ArrayRef<zxing::byte> InvertedLuminanceSource::getMatrix() const {
      |                     ^
QZXing/zxing/zxing/InvertedLuminanceSource.cpp: In member function ‘virtual int zxing::InvertedLuminanceSource::getMatrix() const’:
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:40:19: error: ‘byte’ is not a member of ‘zxing’
   40 |   ArrayRef<zxing::byte> matrix = delegate->getMatrix();
      |                   ^~~~
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:40:19: error: ‘byte’ is not a member of ‘zxing’
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:40:23: error: template argument 1 is invalid
   40 |   ArrayRef<zxing::byte> matrix = delegate->getMatrix();
      |                       ^
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:42:19: error: ‘byte’ is not a member of ‘zxing’
   42 |   ArrayRef<zxing::byte> invertedMatrix(length);
      |                   ^~~~
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:42:19: error: ‘byte’ is not a member of ‘zxing’
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:42:23: error: template argument 1 is invalid
   42 |   ArrayRef<zxing::byte> invertedMatrix(length);
      |                       ^
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:44:19: error: invalid types ‘int[int]’ for array subscript
   44 |     invertedMatrix[i] = 0xFF - matrix[i];
      |                   ^
QZXing/zxing/zxing/InvertedLuminanceSource.cpp:44:38: error: invalid types ‘int[int]’ for array subscript
   44 |     invertedMatrix[i] = 0xFF - matrix[i];
      |                                      ^
QZXing/zxing/zxing/Result.h:37:19: error: ‘byte’ is not a member of ‘zxing’
   37 |   ArrayRef<zxing::byte> rawBytes_;
      |                   ^~~~
QZXing/zxing/zxing/Result.h:37:19: error: ‘byte’ is not a member of ‘zxing’
QZXing/zxing/zxing/Result.h:37:23: error: template argument 1 is invalid
   37 |   ArrayRef<zxing::byte> rawBytes_;
      |                       ^
QZXing/zxing/zxing/Result.h:45:26: error: ‘byte’ is not a member of ‘zxing’
   45 |          ArrayRef<zxing::byte> rawBytes,
      |                          ^~~~
QZXing/zxing/zxing/Result.h:45:26: error: ‘byte’ is not a member of ‘zxing’
QZXing/zxing/zxing/Result.h:45:30: error: template argument 1 is invalid
   45 |          ArrayRef<zxing::byte> rawBytes,
      |                              ^
QZXing/zxing/zxing/Result.h:51:19: error: ‘byte’ is not a member of ‘zxing’
   51 |   ArrayRef<zxing::byte> getRawBytes();
      |                   ^~~~
QZXing/zxing/zxing/Result.h:51:19: error: ‘byte’ is not a member of ‘zxing’
QZXing/zxing/zxing/Result.h:51:23: error: template argument 1 is invalid
   51 |   ArrayRef<zxing::byte> getRawBytes();
      |                       ^
QZXing/zxing/zxing/ResultIO.cpp:27:10: warning: ‘std::ostream& zxing::operator<<(std::ostream&, Result&)’ has not been declared within ‘zxing’
   27 | ostream& zxing::operator<<(ostream &out, Result& result) {
      |          ^~~~~
QZXing/zxing/zxing/Result.h:58:24: note: only here as a ‘friend’
   58 |   friend std::ostream& operator<<(std::ostream &out, Result& result);
      |                        ^~~~~~~~
QZXing/zxing/zxing/ResultIO.cpp: In function ‘std::ostream& zxing::operator<<(std::ostream&, Result&)’:
QZXing/zxing/zxing/ResultIO.cpp:31:35: error: base operand of ‘->’ is not a pointer
   31 |     out << "[" << result.rawBytes_->size() << " bytes]";
      |                                   ^~
make[1]: *** [Makefile:1297: InvertedLuminanceSource.o] Error 1
make[1]: *** [Makefile:1289: ResultIO.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-auth-maintainers mailing list