<div dir="ltr">Well I am using openssl in the ports tree and also do have the line in my make.conf:<div><br></div><div>DEFAULT_VERSIONS+= ssl=openssl</div><div><br></div><div>I doubt that the error is to do with openssl.   Bengt what are the following two compile options that you've identified?</div><div><br></div><div>OPTIONS_UNSET+= GSSAPI_BASE<br>OPTIONS_SET+= GSSAPI_NONE</div><div><br></div><div>Cheers</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Jason Naughton <a href="http://M.E.Sc" target="_blank">M.E.Sc</a>, P.Eng,  Lead Engineer, <br>Electrical, Computer, and BioMedical Engineering, <span style="font-size:12.8px">Ryerson University </span></div><div>245 Church St., Toronto, Ontario, M5B 2K3         <br>Office:  (416)-979-5000 x557168   Fax:      (416)-979-5280</div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 1, 2021 at 5:44 AM Bengt Ahlgren <<a href="mailto:bengt.ahlgren@ri.se">bengt.ahlgren@ri.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Tobias, All,<br>
<br>
I regularly build kf5 and virtualbox-ose on 11.4-REL without too much<br>
hassle using:<br>
<br>
DEFAULT_VERSIONS+= ssl=openssl<br>
<br>
There are some other ports that need option tweaks in addition to this.<br>
A common one is:<br>
<br>
OPTIONS_UNSET+= GSSAPI_BASE<br>
OPTIONS_SET+= GSSAPI_NONE<br>
<br>
For git I recommend:<br>
<br>
OPTIONS_UNSET+= SEND_EMAIL<br>
<br>
But you do need to build a complete package set with poudriere so that<br>
all of them use openssl from ports!<br>
<br>
Bengt<br>
<br>
Ps. Thanks Tobias and the rest of the KDE FreeBSD team for you great<br>
work!<br>
<br>
"Tobias C. Berner" <<a href="mailto:tcberner@gmail.com" target="_blank">tcberner@gmail.com</a>> writes:<br>
<br>
> Moin moin<br>
><br>
> Unfortunately we cannot really support FreeBSD 11.x anymore for Qt --<br>
> with the switch to Qt5 5.15<br>
> we had to drop support for it, due to its outdated OpenSSL version in<br>
> base, which does not work with<br>
> qt5-networks requirements.<br>
> As qt5-declarative also depends on qt5-network, this is completely<br>
> untested, and may likely also fail<br>
> with the compiler version present in FreeBSD 11.x.<br>
><br>
> My recommendation would be to update to a more current version<br>
> FreeBSD, like for example 12.x or<br>
> the soon to be released 13.x.<br>
><br>
> mfg Tobias<br>
><br>
> On Mon, 1 Mar 2021 at 09:47, Jason Naughton <<a href="mailto:jnaughto@ryerson.ca" target="_blank">jnaughto@ryerson.ca</a>> wrote:<br>
>><br>
>> Hi all,<br>
>><br>
>> 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:<br>
>><br>
>> 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<br>
>> --- .obj/qquickglobal.o ---<br>
>> util/qquickglobal.cpp:816:17: error: no viable overloaded '='<br>
>>             dst = *srcT;<br>
>>             ~~~ ^ ~~~~~<br>
>> util/qquickglobal.cpp:828:20: note: in instantiation of function template specialization 'QQuickValueTypeProvider::typedWrite<QColorSpace>' requested here<br>
>>             return typedWrite<QColorSpace>(src, dst);<br>
>>                    ^<br>
>> /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<br>
>>     QVariant& operator=(const QVariant &other);<br>
>>               ^<br>
>> /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<br>
>>     inline QVariant &operator=(QVariant &&other) noexcept<br>
>>                      ^<br>
>> 1 error generated.<br>
>> *** [.obj/qquickglobal.o] Error code 1<br>
>><br>
>> make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src/quick<br>
>> 1 error<br>
>><br>
>> make[3]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src/quick<br>
>> *** [sub-quick-all-ordered] Error code 2<br>
>><br>
>> make[2]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src<br>
>> 1 error<br>
>><br>
>> make[2]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2/src<br>
>> *** [sub-src-all] Error code 2<br>
>><br>
>> make[1]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2<br>
>> 1 error<br>
>><br>
>> make[1]: stopped in /usr/ports/x11-toolkits/qt5-declarative/work/qtdeclarative-everywhere-src-5.15.2<br>
>> ===> Compilation failed unexpectedly.<br>
>> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to<br>
>> the maintainer.<br>
>> *** Error code 1<br>
>><br>
>><br>
>> Stop.<br>
>> make: stopped in /usr/ports/x11-toolkits/qt5-declarative<br>
>><br>
>> Any Idea how to resolve this?<br>
>><br>
>> Cheers<br>
>><br>
>> Jason Naughton <a href="http://M.E.Sc" rel="noreferrer" target="_blank">M.E.Sc</a>, P.Eng,  Lead Engineer,<br>
>> Electrical, Computer, and BioMedical Engineering, Ryerson University<br>
>> 245 Church St., Toronto, Ontario, M5B 2K3<br>
>> Office:  (416)-979-5000 x557168   Fax:      (416)-979-5280<br>
</blockquote></div>