Bug#895496: mgba FTBFS with Qt 5.10

Adrian Bunk bunk at debian.org
Thu Apr 12 06:25:00 BST 2018


Source: mgba
Version: 0.5.2+dfsg1-3
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/mgba.html

...
cd /build/1st/mgba-0.5.2+dfsg1/obj-x86_64-linux-gnu/qt && /usr/bin/c++  -DBUILD_GL -DBUILD_QT_MULTIMEDIA -DBUILD_SDL -DDATADIR=\"share/mgba\" -DHAVE_CHMOD -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_UMASK -DM_CORE_GB -DM_CORE_GBA -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DUSE_CLI_DEBUGGER -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBZIP -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -D_GNU_SOURCE -I/build/1st/mgba-0.5.2+dfsg1/obj-x86_64-linux-gnu/qt -I/build/1st/mgba-0.5.2+dfsg1/src/platform/qt -I/build/1st/mgba-0.5.2+dfsg1/obj-x86_64-linux-gnu/qt/mgba-qt_autogen/include -I/build/1st/mgba-0.5.2+dfsg1/src -I/usr/include/editline -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu/ImageMagick-6 -I/usr/include/ImageMagick-6 -I/usr/lib/x86_64-linux-gnu/libzip/include -I/build/1st/mgba-0.5.2+dfsg1/third-party/lzma -I/usr/include/SDL2 -I/build/1st/mgba-0.5.2+dfsg1/src/platform/sdl -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11   -fPIC -std=gnu++11 -o CMakeFiles/mgba-qt.dir/MemoryModel.cpp.o -c /build/1st/mgba-0.5.2+dfsg1/src/platform/qt/MemoryModel.cpp
/build/1st/mgba-0.5.2+dfsg1/src/platform/qt/MemoryModel.cpp: In member function 'void QGBA::MemoryModel::setRegion(uint32_t, uint32_t, const QString&, int)':
/build/1st/mgba-0.5.2+dfsg1/src/platform/qt/MemoryModel.cpp:97:17: error: no match for 'operator=' (operand types are 'QStaticText' and 'const QString')
  m_regionName = name;
                 ^~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QStaticText:1:0,
                 from /build/1st/mgba-0.5.2+dfsg1/src/platform/qt/MemoryModel.h:12,
                 from /build/1st/mgba-0.5.2+dfsg1/src/platform/qt/MemoryModel.cpp:6:
/usr/include/x86_64-linux-gnu/qt5/QtGui/qstatictext.h:68:18: note: candidate: QStaticText& QStaticText::operator=(QStaticText&&)
     QStaticText &operator=(QStaticText &&other) Q_DECL_NOTHROW { swap(other); return *this; }
                  ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qstatictext.h:68:18: note:   no known conversion for argument 1 from 'const QString' to 'QStaticText&&'
/usr/include/x86_64-linux-gnu/qt5/QtGui/qstatictext.h:70:18: note: candidate: QStaticText& QStaticText::operator=(const QStaticText&)
     QStaticText &operator=(const QStaticText &);
                  ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtGui/qstatictext.h:70:18: note:   no known conversion for argument 1 from 'const QString' to 'const QStaticText&'
make[3]: *** [qt/CMakeFiles/mgba-qt.dir/build.make:717: qt/CMakeFiles/mgba-qt.dir/MemoryModel.cpp.o] Error 1



More information about the Pkg-games-devel mailing list