[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906624: kexi: FTBFS in buster/sid (no type named 'type' in 'struct std::enable_if<false, QMetaObject::Connection>')



Package: src:kexi
Version: 1:3.1.0-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with kf5
   dh_update_autotools_config -i
   dh_autoreconf -i
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -Skf5 -- -DBUILD_TESTING=OFF -DKEXI_QTGUI_RUNTIME_AVAILABLE=OFF
	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 -DBUILD_TESTING=OFF -DKEXI_QTGUI_RUNTIME_AVAILABLE=OFF ..
-- Kexi version "3.1.0" (3.1.0), distribution version "3.1"
-- 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

[... snipped ...]

/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = const char*; Func2 = const char*]':
/<<PKGBUILDDIR>>/src/main/startup/KexiNewProjectAssistant.cpp:499:63:   required from here
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:269:13: error: no type named 'type' in 'struct std::enable_if<false, QMetaObject::Connection>'
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:300:13: note: candidate: 'template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)'
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot)
             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:300:13: note:   template argument deduction/substitution failed:
/<<PKGBUILDDIR>>/src/main/startup/KexiNewProjectAssistant.cpp:499:63: note:   candidate expects 3 arguments, 4 provided
                         this, SLOT(overwriteActionTriggered()));
                                                               ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:64,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1,
                 from /usr/include/KDb3/KDbMessageHandler.h:26,
                 from /usr/include/KDb3/KDbMessageHandler:1,
                 from /<<PKGBUILDDIR>>/src/main/startup/KexiAssistantMessageHandler.h:23,
                 from /<<PKGBUILDDIR>>/src/main/startup/KexiNewProjectAssistant.h:25,
                 from /<<PKGBUILDDIR>>/src/main/startup/KexiNewProjectAssistant.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:308:13: note: candidate: 'template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)'
             connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,
             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:308:13: 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 typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = const char*; Func2 = const char*]':
/<<PKGBUILDDIR>>/src/main/startup/KexiNewProjectAssistant.cpp:499:63:   required from here
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:308:13: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer<const char*>'
/<<PKGBUILDDIR>>/src/main/startup/KexiNewProjectAssistant.cpp:501:36: error: invalid use of incomplete type 'class QAction'
             m_messageWidgetActionNo->setText(KStandardGuiItem::no().text());
                                    ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QWidget:1,
                 from /usr/include/KDb3/KDbMessageHandler.h:29,
                 from /usr/include/KDb3/KDbMessageHandler:1,
                 from /<<PKGBUILDDIR>>/src/main/startup/KexiAssistantMessageHandler.h:23,
                 from /<<PKGBUILDDIR>>/src/main/startup/KexiNewProjectAssistant.h:25,
                 from /<<PKGBUILDDIR>>/src/main/startup/KexiNewProjectAssistant.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:68:7: note: forward declaration of 'class QAction'
 class QAction;
       ^~~~~~~
make[3]: *** [src/main/CMakeFiles/keximain.dir/build.make:173: src/main/CMakeFiles/keximain.dir/startup/KexiNewProjectAssistant.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:2000: src/main/CMakeFiles/keximain.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:133: all] Error 2
make[1]: 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: *** [debian/rules:18: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/kexi.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: