Bug#907230: kmail-account-wizard: FTBFS with Qt 5.11
Package: src:kmail-account-wizard
Version: 4:17.12.3-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-arch
/usr/bin/make -f debian/rules dhmk_run_configure_commands DHMK_TARGET="configure"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_testdir # [-a]
dh_auto_configure '--buildsystem=kf5' --parallel # [-a]
cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_BUILD_TYPE=Debian -DCMAKE_INSTALL_SYSCONFDIR=/etc -DKDE_INSTALL_USE_QT_SYS_PATHS=ON ..
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
[... snipped ...]
static bool disconnect(const QObject *sender, const char *signal,
^~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:337:17: note: no known conversion for argument 1 from 'QAction*' to 'const QObject*'
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:339:17: note: candidate: 'static bool QObject::disconnect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&)'
static bool disconnect(const QObject *sender, const QMetaMethod &signal,
^~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:339:17: note: no known conversion for argument 1 from 'QAction*' to 'const QObject*'
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:341:17: note: candidate: 'bool QObject::disconnect(const char*, const QObject*, const char*) const'
inline bool disconnect(const char *signal = nullptr,
^~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:341:17: note: candidate expects 3 arguments, 4 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:344:17: note: candidate: 'bool QObject::disconnect(const QObject*, const char*) const'
inline bool disconnect(const QObject *receiver, const char *member = nullptr) const
^~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:344:17: note: candidate expects 2 arguments, 4 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:346:17: note: candidate: 'static bool QObject::disconnect(const QMetaObject::Connection&)'
static bool disconnect(const QMetaObject::Connection &);
^~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:346:17: note: candidate expects 1 argument, 4 provided
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:353:24: note: candidate: 'template<class Func1, class Func2> static bool QObject::disconnect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2)'
static inline bool disconnect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
^~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:353:24: note: template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static bool QObject::disconnect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2) [with Func1 = int; Func2 = int]':
/<<PKGBUILDDIR>>/src/dialog.cpp:112:77: required from here
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:353:24: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer<int>'
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:370:24: note: candidate: 'template<class Func1> static bool QObject::disconnect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, void**)'
static inline bool disconnect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
^~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:370:24: note: template argument deduction/substitution failed:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h: In substitution of 'template<class Func1> static bool QObject::disconnect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, void**) [with Func1 = int]':
/<<PKGBUILDDIR>>/src/dialog.cpp:112:77: required from here
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:370:24: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer<int>'
/<<PKGBUILDDIR>>/src/dialog.cpp:113:70: error: incomplete type 'QAction' used in nested name specifier
connect(helpMenu->action(KHelpMenu::menuHelpContents), &QAction::triggered, this, &Dialog::slotOpenHelp);
^~~~~~~~~
make[4]: *** [src/CMakeFiles/accountwizard.dir/build.make:103: src/CMakeFiles/accountwizard.dir/dialog.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:1300: src/CMakeFiles/accountwizard.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:144: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [/usr/share/pkg-kde-tools/qt-kde-team/3/dhmk.mk:97: pre_build-arch_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/pkg-kde-tools/qt-kde-team/3/dhmk.mk:112: debian/dhmk_build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/kmail-account-wizard.html
where you can get a full build log if you need it.
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.
Reply to: