[Pkg-kde-extras] Bug#1013015: projecteur: ftbfs with GCC-12

Matthias Klose doko at debian.org
Thu Jun 16 13:12:29 BST 2022


Package: src:projecteur
Version: 0.9.2-1
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/projecteur_0.9.2-1_unstable_gcc12.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.

[...]
      |                       ^~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:36,
                 from /usr/include/c++/12/memory:76,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/projecteur_autogen/UVLADIE3JM/moc_aboutdlg.cpp:9,
                 from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/projecteur_autogen/mocs_compilation.cpp:2:
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<input_event, 12>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
In file included from /<<PKGBUILDDIR>>/src/device.cc:2:
/<<PKGBUILDDIR>>/src/device.h: In instantiation of ‘struct InputBuffer<12>’:
/<<PKGBUILDDIR>>/src/device.h:175:19:   required from here
/<<PKGBUILDDIR>>/src/device.h:116:23: error: ‘InputBuffer<Size, T>::data_’ has incomplete type
  116 |   std::array<T, Size> data_;
      |                       ^~~~~
In file included from /usr/include/c++/12/bits/unique_ptr.h:36,
                 from /usr/include/c++/12/memory:76,
                 from /<<PKGBUILDDIR>>/src/device.h:6:
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<input_event, 12>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
In file included from /<<PKGBUILDDIR>>/src/devicescan.h:4,
                 from /<<PKGBUILDDIR>>/src/spotlight.h:10,
                 from /<<PKGBUILDDIR>>/src/projecteurapp.h:3,
                 from /<<PKGBUILDDIR>>/src/main.cc:2:
/<<PKGBUILDDIR>>/src/device.h: In instantiation of ‘struct InputBuffer<12>’:
/<<PKGBUILDDIR>>/src/device.h:175:19:   required from here
/<<PKGBUILDDIR>>/src/device.h:116:23: error: ‘InputBuffer<Size, T>::data_’ has incomplete type
  116 |   std::array<T, Size> data_;
      |                       ^~~~~
In file included from /usr/include/c++/12/functional:54,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
                 from /<<PKGBUILDDIR>>/src/spotlight.h:4:
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<input_event, 12>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
In file included from /<<PKGBUILDDIR>>/src/device-vibration.cc:4:
/<<PKGBUILDDIR>>/src/device.h: In instantiation of ‘struct InputBuffer<12>’:
/<<PKGBUILDDIR>>/src/device.h:175:19:   required from here
/<<PKGBUILDDIR>>/src/device.h:116:23: error: ‘InputBuffer<Size, T>::data_’ has incomplete type
  116 |   std::array<T, Size> data_;
      |                       ^~~~~
In file included from /usr/include/c++/12/functional:54,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qshareddata.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1,
                 from /<<PKGBUILDDIR>>/src/device-vibration.h:4,
                 from /<<PKGBUILDDIR>>/src/device-vibration.cc:2:
/usr/include/c++/12/tuple:1595:45: note: declaration of ‘struct std::array<input_event, 12>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
make[3]: *** [CMakeFiles/projecteur.dir/build.make:107: CMakeFiles/projecteur.dir/projecteur_autogen/mocs_compilation.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/projecteur.dir/build.make:177: CMakeFiles/projecteur.dir/src/device.cc.o] Error 1
make[3]: *** [CMakeFiles/projecteur.dir/build.make:121: CMakeFiles/projecteur.dir/src/main.cc.o] Error 1
make[3]: *** [CMakeFiles/projecteur.dir/build.make:191: CMakeFiles/projecteur.dir/src/device-vibration.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:146: CMakeFiles/projecteur.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: 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:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-kde-extras mailing list