Bug 231173 - www/qt5-webengine fails to build
Summary: www/qt5-webengine fails to build
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-05 13:25 UTC by Roman Bogorodskiy
Modified: 2018-09-06 19:42 UTC (History)
3 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Bogorodskiy freebsd_committer freebsd_triage 2018-09-05 13:25:21 UTC
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.
Comment 1 Roman Bogorodskiy freebsd_committer freebsd_triage 2018-09-05 17:26:07 UTC
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
Comment 2 Jason E. Hale freebsd_committer freebsd_triage 2018-09-05 20:54:48 UTC
Probably related to bug #230756. Libevent was supposedly fixed in r478104.
Comment 3 Nathan 2018-09-05 23:55:14 UTC
(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
Comment 4 Nathan 2018-09-06 00:03:39 UTC
(In reply to Nathan from comment #3)
weird, can't find anything in source that references it
Comment 5 Jason E. Hale freebsd_committer freebsd_triage 2018-09-06 00:11:09 UTC
(In reply to Nathan from comment #4)
https://svnweb.freebsd.org/base?view=revision&revision=338059
Comment 6 Roman Bogorodskiy freebsd_committer freebsd_triage 2018-09-06 04:15:23 UTC
(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.
Comment 7 Roman Bogorodskiy freebsd_committer freebsd_triage 2018-09-06 17:17:49 UTC
(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.
Comment 8 Tobias C. Berner freebsd_committer freebsd_triage 2018-09-06 19:42:19 UTC
No worries :)