[pkg-xtuple-maintainers] Bug#907762: postbooks: FTBFS with Qt 5.11

Santiago Vila sanvila at debian.org
Sat Sep 1 16:19:22 BST 2018


Package: src:postbooks
Version: 4.11.3-1
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --builddirectory=. --parallel
   dh_update_autotools_config -a -O--builddirectory=. -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# FIXME: find will not fail on error!
find . -name '*.ts' -exec lrelease {} \;
Updating './share/dict/xTuple.ja.qm'...
    Generated 12957 translation(s) (10490 finished and 2467 unfinished)
    Ignored 8016 untranslated source text(s)
Updating './share/dict/xTuple.fr_ca.qm'...
    Generated 17547 translation(s) (15814 finished and 1733 unfinished)
    Ignored 3424 untranslated source text(s)
Updating './share/dict/xTuple.et_ee.qm'...

[... snipped ...]

             ^~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:260:13: note:   template argument deduction/substitution failed:
adjustmentTrans.cpp:34:89: note:   candidate expects 3 arguments, 4 provided
   connect(_adjustmentTypeGroupInt,SIGNAL(buttonClicked(int)), this, SLOT(sPopulateQty()));
                                                                                         ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1,
                 from guiclient.h:14,
                 from adjustmentTrans.h:14,
                 from adjustmentTrans.cpp:11:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:269:13: note: candidate: '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)'
             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:269: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<(((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*]':
adjustmentTrans.cpp:34:89:   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:
adjustmentTrans.cpp:34:89: note:   candidate expects 3 arguments, 4 provided
   connect(_adjustmentTypeGroupInt,SIGNAL(buttonClicked(int)), this, SLOT(sPopulateQty()));
                                                                                         ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1,
                 from guiclient.h:14,
                 from adjustmentTrans.h:14,
                 from adjustmentTrans.cpp:11:
/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*]':
adjustmentTrans.cpp:34:89:   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*>'
make[2]: *** [Makefile:45914: tmp/obj/adjustmentTrans.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/guiclient'
make[1]: *** [Makefile:221: sub-guiclient-make_first-ordered] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:20: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

The above error also happens here:

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

where you can get a full build log if you need it.

Thanks.



More information about the pkg-xtuple-maintainers mailing list