[Debichem-devel] Bug#1031104: minexpert2: FTBFS (error: ‘QMouseEvent::QMouseEvent?=(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)=?UTF-8?Q?’ is deprecated)

Santiago Vila sanvila at debian.org
Sat Feb 11 20:03:11 GMT 2023


Package: src:minexpert2
Version: 8.6.2-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in bookworm, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary-indep
PATH: /<<PKGBUILDDIR>>/doc/user-manual/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
dh binary-indep
    dh_update_autotools_config -i
    dh_autoreconf -i
    debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PATH: /<<PKGBUILDDIR>>/doc/user-manual/scripts:/<<PKGBUILDDIR>>/doc/user-manual/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
mkdir -p debian/build
mkdir -p debian/tmp
cd debian/build && cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_USER_MANUAL=1 -DCMAKE_INSTALL_PREFIX=/usr ../..
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done

[...]

[ 71%] Building CXX object src/CMakeFiles/minexpert2.dir/gui/BasePlotCompositeWidget.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/debian/build/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/debian/build/src/minexpert2_autogen/include -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>> -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtXml -isystem /usr/include/x86_64-linux-gnu/qt6/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt6/QtPrintSupport -isystem /usr/include/IsoSpec++ -isystem /usr/include/pappsomspp -isystem /usr/include/QuaZip-Qt6-1.4 -isystem /usr/include/QuaZip-Qt6-1.4/quazip -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore5Compat -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -O3 -DNDEBUG   -Wno-unknown-pragmas -Wall -pedantic -Wextra -Werror -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/minexpert2.dir/gui/BasePlotCompositeWidget.cpp.o -MF CMakeFiles/minexpert2.dir/gui/BasePlotCompositeWidget.cpp.o.d -o CMakeFiles/minexpert2.dir/gui/BasePlotCompositeWidget.cpp.o -c /<<PKGBUILDDIR>>/src/gui/BasePlotCompositeWidget.cpp
[ 72%] Building CXX object src/CMakeFiles/minexpert2.dir/gui/BaseTracePlotCompositeWidget.cpp.o
cd /<<PKGBUILDDIR>>/debian/build/src && /usr/bin/c++ -DQT_CORE5COMPAT_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -I/<<PKGBUILDDIR>>/debian/build/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/debian/build/src/minexpert2_autogen/include -I/<<PKGBUILDDIR>>/debian/build -I/<<PKGBUILDDIR>> -isystem /usr/include/x86_64-linux-gnu/qt6/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt6 -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt6/QtGui -isystem /usr/include/x86_64-linux-gnu/qt6/QtXml -isystem /usr/include/x86_64-linux-gnu/qt6/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt6/QtPrintSupport -isystem /usr/include/IsoSpec++ -isystem /usr/include/pappsomspp -isystem /usr/include/QuaZip-Qt6-1.4 -isystem /usr/include/QuaZip-Qt6-1.4/quazip -isystem /usr/include/x86_64-linux-gnu/qt6/QtCore5Compat -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fopenmp -O3 -DNDEBUG   -Wno-unknown-pragmas -Wall -pedantic -Wextra -Werror -fPIC -std=gnu++17 -MD -MT src/CMakeFiles/minexpert2.dir/gui/BaseTracePlotCompositeWidget.cpp.o -MF CMakeFiles/minexpert2.dir/gui/BaseTracePlotCompositeWidget.cpp.o.d -o CMakeFiles/minexpert2.dir/gui/BaseTracePlotCompositeWidget.cpp.o -c /<<PKGBUILDDIR>>/src/gui/BaseTracePlotCompositeWidget.cpp
/<<PKGBUILDDIR>>/src/gui/BaseTracePlotCompositeWidget.cpp: In member function ‘virtual void msxps::minexpert::BaseTracePlotCompositeWidget::plotWidgetKeyReleaseEvent(const pappso::BasePlotContext&)’:
/<<PKGBUILDDIR>>/src/gui/BaseTracePlotCompositeWidget.cpp:812:70: error: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Werror=deprecated-declarations]
   812 |                                                        Qt::NoModifier);
       |                                                                      ^
In file included from /usr/include/x86_64-linux-gnu/qt6/QtGui/QPaintEvent:1,
                  from /usr/include/qcustomplot.h:56,
                  from /usr/include/pappsomspp/widget/plotwidget/basetraceplotwidget.h:41,
                  from /<<PKGBUILDDIR>>/src/gui/BaseTracePlotCompositeWidget.hpp:47,
                  from /<<PKGBUILDDIR>>/src/gui/BaseTracePlotCompositeWidget.cpp:51:
/usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:193:5: note: declared here
   193 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
       |     ^~~~~~~~~~~
/<<PKGBUILDDIR>>/src/gui/BaseTracePlotCompositeWidget.cpp:819:57: error: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Werror=deprecated-declarations]
   819 |                                           Qt::NoModifier);
       |                                                         ^
/usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:193:5: note: declared here
   193 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
       |     ^~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[4]: *** [src/CMakeFiles/minexpert2.dir/build.make:1043: src/CMakeFiles/minexpert2.dir/gui/BaseTracePlotCompositeWidget.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[3]: *** [CMakeFiles/Makefile2:135: src/CMakeFiles/minexpert2.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[2]: *** [Makefile:139: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[1]: *** [debian/rules:40: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: binary-indep] Error 2
dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

See also the recent build on arm64:

https://buildd.debian.org/status/package.php?p=minexpert2

--------------------------------------------------------------------------------

About the archive rebuild: The build was made using virtual machines
from Hetzner, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages (plus
debhelper).

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the Debichem-devel mailing list