Hi all, I'm attempting to compile virtualbox-ose on FreeBSD 11.4 but it fails to compile due to a dependency on qt5-declarative. I'm compiling 5.15.2 The compile stops at:
c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wdate-time -Winconsistent-missing-override -pthread -fPIC -DQT_NO_LINKED_LIST -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_ACCESSIBILITY -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QUICK_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I../../include -I../../include/QtQuick -I../../include/QtQuick/5.15.2 -I../../include/QtQuick/5.15.2/QtQuick -I.tracegen -I../../include/QtQmlModels/5.15.2 -I../../include/QtQmlModels/5.15.2/QtQmlModels -I../../include/QtQml/5.15.2 -I../../include/QtQml/5.15.2/QtQml -I../../include/QtQmlModels -I../../include/QtQml -I/usr/local/include/qt5/QtGui/5.14.2 -I/usr/local/include/qt5/QtGui/5.14.2/QtGui -I/usr/local/include/qt5/QtCore/5.15.2 -I/usr/local/include/qt5/QtCore/5.15.2/QtCore -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I.moc -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/qsgrenderer.o scenegraph/coreapi/qsgrenderer.cpp --- .obj/qquickglobal.o --- util/qquickglobal.cpp:816:17: error: no viable overloaded '=' dst = *srcT; ~~~ ^ ~~~~~ util/qquickglobal.cpp:828:20: note: in instantiation of function template specialization 'QQuickValueTypeProvider::typedWrite<QColorSpace>' requested here return typedWrite<QColorSpace>(src, dst); ^ /usr/local/include/qt5/QtCore/qvariant.h:275:15: note: candidate function not viable: no known conversion from 'const QColorSpace' to 'const QVariant' for 1st argument QVariant& operator=(const QVariant &other); ^ /usr/local/include/qt5/QtCore/qvariant.h:278:22: note: candidate function not viable: no known conversion from 'const QColorSpace' to 'QVariant' for 1st argument inline QVariant &operator=(QVariant &&other) noexcept ^ 1 error generated. *** [.obj/qquickglobal.o] Error code 1 make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src/quick 1 error make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src/quick *** [sub-quick-all-ordered] Error code 2 make[2]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src 1 error make[2]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src *** [sub-src-all] Error code 2 make[1]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2 1 error make[1]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/x11-toolkits/qt5-declarative Any Idea how to resolve this? Cheers Jason Naughton M.E.Sc, P.Eng, Lead Engineer, Electrical, Computer, and BioMedical Engineering, Ryerson University 245 Church St., Toronto, Ontario, M5B 2K3 Office: (416)-979-5000 x557168 Fax: (416)-979-5280