[SailfishDevel] Build with sailfish latest on mer-obs fails, QVariant, double (?)

Kimmo Lindholm Kimmo.Lindholm at eke.fi
Thu Jan 8 09:20:27 UTC 2015

My toholed daemon is built on mer-obs, succesfully built previously during October.
Now the repo has propably been updated to latest sailfish release, and build fails strangely. (Rebuilt for some reason 6th Jan)

That include file trace doesn't help at all.

build-log says this for error:
(Complete log here https://build.merproject.org/package/live_build_log/home:kimmoli:tohs/toholed-daemon/sailfish_latest_armv7hl/armv8el )

[   62s] In file included from /usr/include/qt5/QtCore/qvariantanimation.h:48:0,
[   62s]                  from /usr/include/qt5/QtCore/qpropertyanimation.h:45,
[   62s]                  from /usr/include/qt5/QtCore/QtCore:8,
[   62s]                  from /usr/include/qt5/QtDBus/QtDBusDepends:2,
[   62s]                  from /usr/include/qt5/QtDBus/QtDBus:3,
[   62s]                  from src/toholed.cpp:19:
[   62s] /usr/include/qt5/QtCore/qvariant.h: In static member function 'static QPair<QVariant, QVariant> QtPrivate::QVariantValueHelperInterface<QPair<QVariant, QVariant> >::invoke(const QVariant&)':
[   62s] /usr/include/qt5/QtCore/qvariant.h:789:62: error: no matching function for call to 'QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl(double)'
[   62s] /usr/include/qt5/QtCore/qvariant.h:789:62: note: candidates are:
[   62s] /usr/include/qt5/QtCore/qmetatype.h:1247:5: note: QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl()
[   62s] /usr/include/qt5/QtCore/qmetatype.h:1247:5: note:   candidate expects 0 arguments, 1 provided
[   62s] /usr/include/qt5/QtCore/qmetatype.h:1236:23: note: template<class T> QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl(const T*)
[   62s] /usr/include/qt5/QtCore/qmetatype.h:1215:7: note: QtMetaTypePrivate::QPairVariantInterfaceImpl::QPairVariantInterfaceImpl(const QtMetaTypePrivate::QPairVariantInterfaceImpl&)
[   62s] /usr/include/qt5/QtCore/qmetatype.h:1215:7: note:   no known conversion for argument 1 from 'double' to 'const QtMetaTypePrivate::QPairVariantInterfaceImpl&'
[   62s] /usr/include/qt5/QtCore/qvariant.h:791:62: error: request for member 'first' in '3.14158999999999988261834005243144929409027099609e+0', which is of non-class type 'double'
[   62s] /usr/include/qt5/QtCore/qvariant.h:796:62: error: request for member 'second' in '3.14158999999999988261834005243144929409027099609e+0', which is of non-class type 'double'
[   62s] make: *** [toholed.o] Error 1
[   62s] make: *** Waiting for unfinished jobs....
[   64s] error: Bad exit status from /var/tmp/rpm-tmp.oWhNJy (%build)
[   64s]
[   64s]
[   64s] RPM build errors:
[   64s]     Bad exit status from /var/tmp/rpm-tmp.oWhNJy (%build)

Sources are in my bitbucket

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150108/6a2ec265/attachment.html>

More information about the Devel mailing list