Bug#1037805: openmw: ftbfs with GCC-13

Matthias Klose doko at debian.org
Wed Jun 14 10:29:34 BST 2023


Package: src:openmw
Version: 0.47.0-3
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/openmw_0.47.0-3_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

[...]
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:426:3: note: declared here
  426 | } AVPacketList;
      |   ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/videostate.cpp:176:25: warning: ‘AVPacketList’ is deprecated [-Wdeprecated-declarations]
  176 |     AVPacketList *pkt, *pkt1;
      |                         ^~~~
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:426:3: note: declared here
  426 | } AVPacketList;
      |   ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/videostate.cpp: In member function ‘void Video::VideoThread::run()’:
/<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/videostate.cpp:443:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  443 |         av_init_packet(&packetData);
      |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:512:6: note: declared here
  512 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/videostate.cpp: In member function ‘void Video::ParseThread::run()’:
/<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/videostate.cpp:511:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  511 |         av_init_packet(&packetData);
      |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:512:6: note: declared here
  512 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/videoplayer.cpp:8:
/<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/videostate.hpp:88:19: warning: ‘AVPacketList’ is deprecated [-Wdeprecated-declarations]
   88 |     AVPacketList *first_pkt, *last_pkt;
      |                   ^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:45,
                 from /<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/audiodecoder.hpp:17,
                 from /<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/audiofactory.hpp:4,
                 from /<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/videoplayer.cpp:7:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:426:3: note: declared here
  426 | } AVPacketList;
      |   ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/extern/osg-ffmpeg-videoplayer/videostate.hpp:88:31: warning: ‘AVPacketList’ is deprecated [-Wdeprecated-declarations]
   88 |     AVPacketList *first_pkt, *last_pkt;
      |                               ^~~~~~~~
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:426:3: note: declared here
  426 | } AVPacketList;
      |   ^~~~~~~~~~~~
[  1%] Linking CXX static library libosg-ffmpeg-videoplayer.a
cd /<<PKGBUILDDIR>>/build/extern/osg-ffmpeg-videoplayer && /usr/bin/cmake -P CMakeFiles/osg-ffmpeg-videoplayer.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/build/extern/osg-ffmpeg-videoplayer && /usr/bin/cmake -E cmake_link_script CMakeFiles/osg-ffmpeg-videoplayer.dir/link.txt --verbose=1
/usr/bin/ar qc libosg-ffmpeg-videoplayer.a "CMakeFiles/osg-ffmpeg-videoplayer.dir/videoplayer.cpp.o" "CMakeFiles/osg-ffmpeg-videoplayer.dir/videostate.cpp.o" "CMakeFiles/osg-ffmpeg-videoplayer.dir/audiodecoder.cpp.o"
/usr/bin/ranlib libosg-ffmpeg-videoplayer.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[  1%] Built target osg-ffmpeg-videoplayer
[  1%] Linking CXX static library liboics.a
cd /<<PKGBUILDDIR>>/build/extern/oics && /usr/bin/cmake -P CMakeFiles/oics.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/build/extern/oics && /usr/bin/cmake -E cmake_link_script CMakeFiles/oics.dir/link.txt --verbose=1
/usr/bin/ar qc liboics.a CMakeFiles/oics.dir/ICSChannel.cpp.o CMakeFiles/oics.dir/ICSControl.cpp.o CMakeFiles/oics.dir/ICSInputControlSystem.cpp.o CMakeFiles/oics.dir/ICSInputControlSystem_keyboard.cpp.o CMakeFiles/oics.dir/ICSInputControlSystem_mouse.cpp.o CMakeFiles/oics.dir/ICSInputControlSystem_joystick.cpp.o
/usr/bin/ranlib liboics.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[  1%] Built target oics
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:497: components/CMakeFiles/components.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[  2%] Linking CXX static library libosgQt.a
cd /<<PKGBUILDDIR>>/build/extern/osgQt && /usr/bin/cmake -P CMakeFiles/osgQt.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/build/extern/osgQt && /usr/bin/cmake -E cmake_link_script CMakeFiles/osgQt.dir/link.txt --verbose=1
/usr/bin/ar qc libosgQt.a CMakeFiles/osgQt.dir/GraphicsWindowQt.cpp.o
/usr/bin/ranlib libosgQt.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[  2%] Built target osgQt
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:48: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list