Article 4VSKG errors while building all-deps plasma from sources

errors while building all-deps plasma from sources

by
nobodino
from LinuxQuestions.org on (#4VSKG)
I try to build all-deps in plasma from source, on slackware64-current and 2 packages failed to build. Here are the errors:
------------------
qt-gstreamer errors:
-------------------------------
[ 13%] Built target QtGStreamer_autogen
[ 13%] Building CXX object src/QGst/CMakeFiles/QtGStreamer.dir/caps.cpp.o
In file included from /usr/include/gstreamer-1.0/gst/gstbuffer.h:30,
from /usr/include/gstreamer-1.0/gst/gstpad.h:70,
from /usr/include/gstreamer-1.0/gst/gstelement.h:87,
from /usr/include/gstreamer-1.0/gst/gstbin.h:27,
from /usr/include/gstreamer-1.0/gst/gst.h:35,
from /tmp/qt-gstreamer-1.2.0/src/QGst/caps.cpp:22:
/tmp/qt-gstreamer-1.2.0/src/QGst/caps.cpp: In member function 'void QGst::Caps::append(const CapsPtr&)':
/usr/include/gstreamer-1.0/gst/gstminiobject.h:33:65: error: invalid cast from type 'const CapsPtr' {aka 'const QGlib::RefPointer<QGst::Caps>'} to type 'GstMiniObject*' {aka '_GstMiniObject*'}
33 | #define GST_MINI_OBJECT_CAST(obj) ((GstMiniObject*)(obj))
| ^
/usr/include/gstreamer-1.0/gst/gstcaps.h:35:47: note: in definition of macro 'GST_CAPS_CAST'
35 | #define GST_CAPS_CAST(obj) ((GstCaps*)(obj))
| ^~~
/usr/include/gstreamer-1.0/gst/gstcaps.h:249:29: note: in expansion of macro 'GST_CAPS'
249 | #define gst_caps_copy(caps) GST_CAPS (gst_mini_object_copy (GST_MINI_OBJECT_CAST (caps)))
| ^~~~~~~~
/usr/include/gstreamer-1.0/gst/gstcaps.h:249:61: note: in expansion of macro 'GST_MINI_OBJECT_CAST'
249 | #define gst_caps_copy(caps) GST_CAPS (gst_mini_object_copy (GST_MINI_OBJECT_CAST (caps)))
| ^~~~~~~~~~~~~~~~~~~~
/tmp/qt-gstreamer-1.2.0/src/QGst/caps.cpp:57:40: note: in expansion of macro 'gst_caps_copy'
57 | gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2));
| ^~~~~~~~~~~~~
make[2]: *** [src/QGst/CMakeFiles/QtGStreamer.dir/build.make:132: src/QGst/CMakeFiles/QtGStreamer.dir/caps.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:523: src/QGst/CMakeFiles/QtGStreamer.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
qt-gstreamer failed to build.
------------------------------
grantlee errors
------------------------------
/usr/include/qt5/QtCore/qvariant.h:779:141: required from here
/usr/include/qt5/QtCore/qmetatype.h:1160:20: error: 'const class QVariant' has no member named 'second'
1160 | return it->second;
| ~~~~^~~~~~
In file included from /usr/include/qt5/QtCore/qvariant.h:47,
from /usr/include/qt5/QtCore/qlocale.h:43,
from /usr/include/qt5/QtCore/QLocale:1,
from /tmp/grantlee-5.1.0/templates/lib/abstractlocalizer.h:26,
from /tmp/grantlee-5.1.0/templates/lib/context.h:24,
from /tmp/grantlee-5.1.0/templates/lib/node.h:26,
from /tmp/grantlee-5.1.0/templates/lib/template.h:26,
from /tmp/grantlee-5.1.0/templates/lib/engine.h:24,
from /tmp/grantlee-5.1.0/build/templates/lib/Grantlee_Templates_autogen/EWIEGA46WW/moc_engine.cpp:10,
from /tmp/grantlee-5.1.0/build/templates/lib/Grantlee_Templates_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qmap.h: In instantiation of 'void QMapNode<Key, T>::destroySubTree() [with Key = QString; T = QVariant]':
/usr/include/qt5/QtCore/qmap.h:248:13: required from 'void QMapData<Key, T>::destroy() [with Key = QString; T = QVariant]'
/usr/include/qt5/QtCore/qmap.h:339:43: required from 'QMap<K, V>::~QMap() [with Key = QString; T = QVariant]'
/usr/include/qt5/QtCore/qvariant.h:826:29: required from here
/usr/include/qt5/QtCore/qmap.h:127:34: error: 'callDestructorIfNecessary' was not declared in this scope
127 | callDestructorIfNecessary(key);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/qt5/QtCore/qmap.h:128:34: error: 'callDestructorIfNecessary' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
128 | callDestructorIfNecessary(value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
make[2]: *** [templates/lib/CMakeFiles/Grantlee_Templates.dir/build.make:63: templates/lib/CMakeFiles/Grantlee_Templates.dir/Grantlee_Templates_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:374: templates/lib/CMakeFiles/Grantlee_Templates.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
grantlee failed to build.
--------------------------------
There is also extra-cmakes-modules which appears twice, once in all-deps and once in kde/frameworks but not with the same version: 5.32.0 and 5.64.0, is the first version wrong and be replaced by the one in the framework?latest?d=yIl2AUoC8zA latest?i=uP4gOCWwniA:4yu4MdSe-YY:F7zBnMy latest?i=uP4gOCWwniA:4yu4MdSe-YY:V_sGLiP latest?d=qj6IDK7rITs latest?i=uP4gOCWwniA:4yu4MdSe-YY:gIN9vFwuP4gOCWwniA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments