Building qt5-webengine-5.9.5_5 fails with: --- .obj/ui_delegates_manager.o --- c++ -B/usr/local/bin -c -O2 -pipe -fstack-protector -fno-strict-aliasing -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wdate-time -pthread -fPIC -DQT_BUILD_WEBENGINE_LIB -DE NABLE_SPELLCHECK -DENABLE_PDF -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_WEBENGINE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECA TED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/src/webengi ne -I. -I/wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/src/webengine -I/wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/src/webengine/api -I/wrkdirs/usr/port s/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/src/core -I/wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/src/core/api -I/wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/include -I/wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/include/QtWebEngine -I../../include -I../../include/QtWebEngine -I/wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/include/QtWebEngine/5.9.5 -I/wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/include/QtWebEngine/5.9.5/QtWebEngine -I/wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/include/QtWebEngineCore -I../../include/QtWebEngineCore -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtQuick -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtWebChannel -I/usr/local/include/qt5/QtQml -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtPositioning -I/usr/local/include/qt5/QtCore -I/usr/local/include/qt5/QtQuick/5.10.1 -I/usr/local/include/qt5/QtQuick/5.10.1/QtQuick -I/usr/local/include/qt5/QtGui/5.10.1 -I/usr/local/include/qt5/QtGui/5.10.1/QtGui -I/usr/local/include/qt5/QtQml/5.10.1 -I/usr/local/include/qt5/QtQml/5.10.1/QtQml -I/usr/local/include/qt5/QtCore/5.10.1 -I/usr/local/include/qt5/QtCore/5.10.1/QtCore -I.moc -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/ui_delegates_manager.o /wrkdirs/usr/ports/www/qt5-webengine/work/qtwebengine-opensource-src-5.9.5/src/webengine/ui_delegates_manager.cpp --- sub-tools-qwebengine_convert_dict-make_first --- /usr/local/lib/libevent.so: undefined reference to `arc4random_addrandom' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [../../../bin/qwebengine_convert_dict] Error code 1 Versiono of libevent is: libevent-2.1.8_1 Attaching full log from poudriere.
Apparently the log file is too large, so I've uploaded it here: https://people.freebsd.org/~novel/misc/qt5-webengine-5.9.5_5.log
Probably related to bug #230756. Libevent was supposedly fixed in r478104.
(In reply to Jason E. Hale from comment #2) Seems arc4random was removed by openbsd at some point so that no longer exists anymore; reason why there is the error; as it isn't defined anymore
(In reply to Nathan from comment #3) weird, can't find anything in source that references it
(In reply to Nathan from comment #4) https://svnweb.freebsd.org/base?view=revision&revision=338059
(In reply to Jason E. Hale from comment #2) > Probably related to bug #230756. Libevent was supposedly fixed in r478104. Hm, looks like I still have the older revision, I'll update and try rebuilding.
(In reply to Roman Bogorodskiy from comment #6) > Hm, looks like I still have the older revision, I'll update and try rebuilding. Updating helped, sorry for the noise.
No worries :)