Re: QT5-DECLARATIVE FreeBSD compile issues
Jason Naughton writes: > Well I am using openssl in the ports tree and also do have the line in my > make.conf: > > DEFAULT_VERSIONS+= ssl=openssl > > I doubt that the error is to do with openssl. Bengt what are the > following two compile options that you've identified? > > OPTIONS_UNSET+= GSSAPI_BASE > OPTIONS_SET+= GSSAPI_NONE I do not know the details, but GSSAPI in base is incompatible with openssl from ports. I agree that your error has nothing to do with openssl. I just wanted to say that it is possible to build QT5 etc on 11.4, provided that you tweak some options. Bengt > 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 > > > On Mon, Mar 1, 2021 at 5:44 AM Bengt Ahlgren wrote: > >> Hi Tobias, All, >> >> I regularly build kf5 and virtualbox-ose on 11.4-REL without too much >> hassle using: >> >> DEFAULT_VERSIONS+= ssl=openssl >> >> There are some other ports that need option tweaks in addition to this. >> A common one is: >> >> OPTIONS_UNSET+= GSSAPI_BASE >> OPTIONS_SET+= GSSAPI_NONE >> >> For git I recommend: >> >> OPTIONS_UNSET+= SEND_EMAIL >> >> But you do need to build a complete package set with poudriere so that >> all of them use openssl from ports! >> >> Bengt >> >> Ps. Thanks Tobias and the rest of the KDE FreeBSD team for you great >> work! >> >> "Tobias C. Berner" writes: >> >> > Moin moin >> > >> > Unfortunately we cannot really support FreeBSD 11.x anymore for Qt -- >> > with the switch to Qt5 5.15 >> > we had to drop support for it, due to its outdated OpenSSL version in >> > base, which does not work with >> > qt5-networks requirements. >> > As qt5-declarative also depends on qt5-network, this is completely >> > untested, and may likely also fail >> > with the compiler version present in FreeBSD 11.x. >> > >> > My recommendation would be to update to a more current version >> > FreeBSD, like for example 12.x or >> > the soon to be released 13.x. >> > >> > mfg Tobias >> > >> > On Mon, 1 Mar 2021 at 09:47, Jason Naughton wrote: >> >> >> >> 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=0x05 >> -DQT_DEPRECATED_WARNINGS_SINCE=0x06 -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' >> requested here >> >> return typedWrite(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
Re: QT5-DECLARATIVE FreeBSD compile issues
I pushed the server from 11.4 to 12.2. Virtualbox-ose is now fully operational. So you can close the bug report as I’m operational with 12.2. 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 > On Mar 1, 2021, at 13:57, Tobias C. Berner wrote: > > On Mon, 1 Mar 2021 at 17:49, Jason Naughton wrote: >> >> Well I am using openssl in the ports tree and also do have the line in my >> make.conf: >> >> DEFAULT_VERSIONS+= ssl=openssl >> >> I doubt that the error is to do with openssl. Bengt what are the following >> two compile options that you've identified? > I was not implying it had anything to do with openssl -- what I meant > is, that in the default FreeBSD ports configuration > qt5-network blocks qt5-declarative from building (due to openssl), > and it is therefore untested by the build cluster and > kde@, and therefore possibly broken [patches welcome] . > > mfg Tobias > > >> >> OPTIONS_UNSET+= GSSAPI_BASE >> OPTIONS_SET+= GSSAPI_NONE >> >> 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 >> >> >>> On Mon, Mar 1, 2021 at 5:44 AM Bengt Ahlgren wrote: >>> >>> Hi Tobias, All, >>> >>> I regularly build kf5 and virtualbox-ose on 11.4-REL without too much >>> hassle using: >>> >>> DEFAULT_VERSIONS+= ssl=openssl >>> >>> There are some other ports that need option tweaks in addition to this. >>> A common one is: >>> >>> OPTIONS_UNSET+= GSSAPI_BASE >>> OPTIONS_SET+= GSSAPI_NONE >>> >>> For git I recommend: >>> >>> OPTIONS_UNSET+= SEND_EMAIL >>> >>> But you do need to build a complete package set with poudriere so that >>> all of them use openssl from ports! >>> >>> Bengt >>> >>> Ps. Thanks Tobias and the rest of the KDE FreeBSD team for you great >>> work! >>> >>> "Tobias C. Berner" writes: >>> Moin moin Unfortunately we cannot really support FreeBSD 11.x anymore for Qt -- with the switch to Qt5 5.15 we had to drop support for it, due to its outdated OpenSSL version in base, which does not work with qt5-networks requirements. As qt5-declarative also depends on qt5-network, this is completely untested, and may likely also fail with the compiler version present in FreeBSD 11.x. My recommendation would be to update to a more current version FreeBSD, like for example 12.x or the soon to be released 13.x. mfg Tobias On Mon, 1 Mar 2021 at 09:47, Jason Naughton wrote: > > 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=0x05 > -DQT_DEPRECATED_WARNINGS_SINCE=0x06 -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/qquickglo
Re: QT5-DECLARATIVE FreeBSD compile issues
On Monday, 1 March 2021 10:03:56 CET Tobias C. Berner wrote: While Tobias correctly points out that 11.x is not really on our (KDE@) support-list anymore even if it is supported by the FreeBSD project, the problem in your compile lies elsewhere: > > -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 Here you are mixing Qt 5.14 and Qt 5.15, and *that* is definitely not supported. This happens when building ports in a dirty environment, or with some tools that don't update parts in the right order. We generally recommend building with poudriere, because that *does* do things cleanly. (Getting Qt and KDE to build while an existing version is installed is really tricky, since you need *some* -I /usr/local/include to get other dependencies, but as soon as you do that you run the risk of also getting the old-installed Qt and KDE headers as well -- so best to do it cleanly) > > 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' > > requested here> > > return typedWrite(src, dst); [ade] signature.asc Description: This is a digitally signed message part.
Re: QT5-DECLARATIVE FreeBSD compile issues
On Mon, 1 Mar 2021 at 17:49, Jason Naughton wrote: > > Well I am using openssl in the ports tree and also do have the line in my > make.conf: > > DEFAULT_VERSIONS+= ssl=openssl > > I doubt that the error is to do with openssl. Bengt what are the following > two compile options that you've identified? I was not implying it had anything to do with openssl -- what I meant is, that in the default FreeBSD ports configuration qt5-network blocks qt5-declarative from building (due to openssl), and it is therefore untested by the build cluster and kde@, and therefore possibly broken [patches welcome] . mfg Tobias > > OPTIONS_UNSET+= GSSAPI_BASE > OPTIONS_SET+= GSSAPI_NONE > > 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 > > > On Mon, Mar 1, 2021 at 5:44 AM Bengt Ahlgren wrote: >> >> Hi Tobias, All, >> >> I regularly build kf5 and virtualbox-ose on 11.4-REL without too much >> hassle using: >> >> DEFAULT_VERSIONS+= ssl=openssl >> >> There are some other ports that need option tweaks in addition to this. >> A common one is: >> >> OPTIONS_UNSET+= GSSAPI_BASE >> OPTIONS_SET+= GSSAPI_NONE >> >> For git I recommend: >> >> OPTIONS_UNSET+= SEND_EMAIL >> >> But you do need to build a complete package set with poudriere so that >> all of them use openssl from ports! >> >> Bengt >> >> Ps. Thanks Tobias and the rest of the KDE FreeBSD team for you great >> work! >> >> "Tobias C. Berner" writes: >> >> > Moin moin >> > >> > Unfortunately we cannot really support FreeBSD 11.x anymore for Qt -- >> > with the switch to Qt5 5.15 >> > we had to drop support for it, due to its outdated OpenSSL version in >> > base, which does not work with >> > qt5-networks requirements. >> > As qt5-declarative also depends on qt5-network, this is completely >> > untested, and may likely also fail >> > with the compiler version present in FreeBSD 11.x. >> > >> > My recommendation would be to update to a more current version >> > FreeBSD, like for example 12.x or >> > the soon to be released 13.x. >> > >> > mfg Tobias >> > >> > On Mon, 1 Mar 2021 at 09:47, Jason Naughton wrote: >> >> >> >> 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=0x05 >> >> -DQT_DEPRECATED_WARNINGS_SINCE=0x06 -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' >> >> requested here >> >> return typedWrite(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
Re: QT5-DECLARATIVE FreeBSD compile issues
Well I am using openssl in the ports tree and also do have the line in my make.conf: DEFAULT_VERSIONS+= ssl=openssl I doubt that the error is to do with openssl. Bengt what are the following two compile options that you've identified? OPTIONS_UNSET+= GSSAPI_BASE OPTIONS_SET+= GSSAPI_NONE 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 On Mon, Mar 1, 2021 at 5:44 AM Bengt Ahlgren wrote: > Hi Tobias, All, > > I regularly build kf5 and virtualbox-ose on 11.4-REL without too much > hassle using: > > DEFAULT_VERSIONS+= ssl=openssl > > There are some other ports that need option tweaks in addition to this. > A common one is: > > OPTIONS_UNSET+= GSSAPI_BASE > OPTIONS_SET+= GSSAPI_NONE > > For git I recommend: > > OPTIONS_UNSET+= SEND_EMAIL > > But you do need to build a complete package set with poudriere so that > all of them use openssl from ports! > > Bengt > > Ps. Thanks Tobias and the rest of the KDE FreeBSD team for you great > work! > > "Tobias C. Berner" writes: > > > Moin moin > > > > Unfortunately we cannot really support FreeBSD 11.x anymore for Qt -- > > with the switch to Qt5 5.15 > > we had to drop support for it, due to its outdated OpenSSL version in > > base, which does not work with > > qt5-networks requirements. > > As qt5-declarative also depends on qt5-network, this is completely > > untested, and may likely also fail > > with the compiler version present in FreeBSD 11.x. > > > > My recommendation would be to update to a more current version > > FreeBSD, like for example 12.x or > > the soon to be released 13.x. > > > > mfg Tobias > > > > On Mon, 1 Mar 2021 at 09:47, Jason Naughton wrote: > >> > >> 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=0x05 > -DQT_DEPRECATED_WARNINGS_SINCE=0x06 -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' > requested here > >> return typedWrite(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-toolki
Re: QT5-DECLARATIVE FreeBSD compile issues
Hi Tobias, All, I regularly build kf5 and virtualbox-ose on 11.4-REL without too much hassle using: DEFAULT_VERSIONS+= ssl=openssl There are some other ports that need option tweaks in addition to this. A common one is: OPTIONS_UNSET+= GSSAPI_BASE OPTIONS_SET+= GSSAPI_NONE For git I recommend: OPTIONS_UNSET+= SEND_EMAIL But you do need to build a complete package set with poudriere so that all of them use openssl from ports! Bengt Ps. Thanks Tobias and the rest of the KDE FreeBSD team for you great work! "Tobias C. Berner" writes: > Moin moin > > Unfortunately we cannot really support FreeBSD 11.x anymore for Qt -- > with the switch to Qt5 5.15 > we had to drop support for it, due to its outdated OpenSSL version in > base, which does not work with > qt5-networks requirements. > As qt5-declarative also depends on qt5-network, this is completely > untested, and may likely also fail > with the compiler version present in FreeBSD 11.x. > > My recommendation would be to update to a more current version > FreeBSD, like for example 12.x or > the soon to be released 13.x. > > mfg Tobias > > On Mon, 1 Mar 2021 at 09:47, Jason Naughton wrote: >> >> 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=0x05 >> -DQT_DEPRECATED_WARNINGS_SINCE=0x06 -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' requested >> here >> return typedWrite(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:
Re: QT5-DECLARATIVE FreeBSD compile issues
Moin moin Unfortunately we cannot really support FreeBSD 11.x anymore for Qt -- with the switch to Qt5 5.15 we had to drop support for it, due to its outdated OpenSSL version in base, which does not work with qt5-networks requirements. As qt5-declarative also depends on qt5-network, this is completely untested, and may likely also fail with the compiler version present in FreeBSD 11.x. My recommendation would be to update to a more current version FreeBSD, like for example 12.x or the soon to be released 13.x. mfg Tobias On Mon, 1 Mar 2021 at 09:47, Jason Naughton wrote: > > 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=0x05 > -DQT_DEPRECATED_WARNINGS_SINCE=0x06 -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' requested > here > return typedWrite(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
Re: QT5-DECLARATIVE FreeBSD compile issues
On 01/03/2021 01:12, Jason Naughton wrote: … Any Idea how to resolve this? MAKE_JOBS_UNSAFE=yes – have you tried it?
QT5-DECLARATIVE FreeBSD compile issues
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=0x05 -DQT_DEPRECATED_WARNINGS_SINCE=0x06 -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' requested here return typedWrite(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