Bug#906969: cb2bib: FTBFS in buster/sid (no type named 'Object')

Santiago Vila sanvila at debian.org
Wed Aug 22 20:04:16 BST 2018


Package: src:cb2bib
Version: 1.9.7-2
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --parallel
   dh_update_autotools_config -a -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p /<<PKGBUILDDIR>>/debian/build && \
cp -rpf c2bscripts  c2btools  cb2bib.pro  cb2bib.rc data src testPDFImport xpdf /<<PKGBUILDDIR>>/debian/build && \
cd /<<PKGBUILDDIR>>/debian/build && \
qtchooser -run-tool=qmake -qt=5 ../../
Info: creating stash file /<<PKGBUILDDIR>>/debian/build/.qmake.stash
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
convert src/icons/cb2bib.png -resize 32x32 debian/cb2bib.xpm

[... snipped ...]

/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:228:43: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer<const char*>'
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:260:13: note: candidate: 'template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), 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:260:13: note:   template argument deduction/substitution failed:
../../../src/findDialog.cpp:47:80: note:   candidate expects 3 arguments, 4 provided
     connect(findPreviousAction, SIGNAL(triggered()), this, SLOT(findPrevious()));
                                                                                ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:51,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVariant:1,
                 from ./ui_findDialog.h:12,
                 from ../../../src/findDialog.h:12,
                 from ../../../src/findDialog.cpp:9:
/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*]':
../../../src/findDialog.cpp:47:80:   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:
../../../src/findDialog.cpp:47:80: note:   candidate expects 3 arguments, 4 provided
     connect(findPreviousAction, SIGNAL(triggered()), this, SLOT(findPrevious()));
                                                                                ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:51,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVariant:1,
                 from ./ui_findDialog.h:12,
                 from ../../../src/findDialog.h:12,
                 from ../../../src/findDialog.cpp:9:
/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*]':
../../../src/findDialog.cpp:47:80:   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[3]: *** [Makefile:1978: findDialog.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/src'
make[2]: *** [Makefile:71: sub-src-make_first] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build'
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: 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/cb2bib.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.



More information about the debian-science-maintainers mailing list