https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245614
--- Comment #9 from John Hein <[email protected]> --- (In reply to Rainer Hurling from comment #8) The 'unable to find library -lasound' is a different problem than the original problem. So that's a separate issue. libasound is installed by alsa-libs which is required by qt5-multimedia which is required by qt5-speech if the FLITE option is on. So, Oliver could investigate why libasound is missing (e.g., no alsa-libs installed for some reason). But for the original problem, getting qt5-speech to look in WRKDIR before LOCALBASE is probably the best long term answer. I don't have a patch suggestion for that, but someone with more qmake-based ports experience might. By the way, other qt5 ports probably have a similar problem where currently installed versions of the port pollute the build of a new version of the port. For example, after I got past the qt5-speech-5.13.2 pollution affecting the build of qt5-speech-5.14.2 (by removing qt5-speech-5.13.2 which was built with an older qmake, so that could be part of the problem), I got this failure with qt5-webengine: /usr/local/bin/ld: .obj/qquickwebenginedownloaditem.o: in function `QQuickWebEngineDownloadItem::setDownloadDirectory(QString const&)': qquickwebenginedownloaditem.cpp:(.text+0xa82): undefined reference to `QtWebEngineCore::ProfileAdapter::determineDownloadPath(QString const&, QString const&, long const&)' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineViewPrivate::navigationRequested(int, QUrl const&, int&, bool)': qquickwebengineview.cpp:(.text+0xe92): undefined reference to `QtWebEngineCore::WebContentsAdapter::findTextHelper()' /usr/local/bin/ld: qquickwebengineview.cpp:(.text+0xe9a): undefined reference to `QtWebEngineCore::FindTextHelper::isFindTextInProgress() const' /usr/local/bin/ld: qquickwebengineview.cpp:(.text+0xea7): undefined reference to `QtWebEngineCore::WebContentsAdapter::findTextHelper()' /usr/local/bin/ld: qquickwebengineview.cpp:(.text+0xeaf): undefined reference to `QtWebEngineCore::FindTextHelper::stopFinding()' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineViewPrivate::initializationFinished()': qquickwebengineview.cpp:(.text+0x2e39): undefined reference to `QtWebEngineCore::WebContentsAdapter::setVisible(bool)' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineView::goBack()': qquickwebengineview.cpp:(.text+0x34ce): undefined reference to `QtWebEngineCore::WebContentsAdapter::navigateBack()' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineView::goForward()': qquickwebengineview.cpp:(.text+0x34ee): undefined reference to `QtWebEngineCore::WebContentsAdapter::navigateForward()' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineView::recentlyAudible() const': qquickwebengineview.cpp:(.text+0x45fe): undefined reference to `QtWebEngineCore::WebContentsAdapter::recentlyAudible() const' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineView::findText(QString const&, QFlags<QQuickWebEngineView::FindFlag>, QJSValue const&)': qquickwebengineview.cpp:(.text+0x488a): undefined reference to `QtWebEngineCore::WebContentsAdapter::findTextHelper()' /usr/local/bin/ld: qquickwebengineview.cpp:(.text+0x48af): undefined reference to `QtWebEngineCore::FindTextHelper::startFinding(QString const&, bool, bool, QJSValue const&)' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineView::itemChange(QQuickItem::ItemChange, QQuickItem::ItemChangeData const&)': qquickwebengineview.cpp:(.text+0x4ef1): undefined reference to `QtWebEngineCore::WebContentsAdapter::setVisible(bool)' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineView::triggerWebAction(QQuickWebEngineView::WebAction)': qquickwebengineview.cpp:(.text+0x5426): undefined reference to `QtWebEngineCore::WebContentsAdapter::navigateBack()' /usr/local/bin/ld: qquickwebengineview.cpp:(.text+0x5491): undefined reference to `QtWebEngineCore::WebContentsAdapter::navigateForward()' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineView::lifecycleState() const': qquickwebengineview.cpp:(.text+0x759e): undefined reference to `QtWebEngineCore::WebContentsAdapter::lifecycleState() const' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineView::setLifecycleState(QQuickWebEngineView::LifecycleState)': qquickwebengineview.cpp:(.text+0x75be): undefined reference to `QtWebEngineCore::WebContentsAdapter::setLifecycleState(QtWebEngineCore::WebContentsAdapterClient::LifecycleState)' /usr/local/bin/ld: .obj/qquickwebengineview.o: in function `QQuickWebEngineView::recommendedState() const': qquickwebengineview.cpp:(.text+0x75de): undefined reference to `QtWebEngineCore::WebContentsAdapter::recommendedState() const' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [../../lib/libQt5WebEngine.so.5.14.0] Error code 1 make[5]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/webengine I will probably open that as a separate bug. -- You are receiving this mail because: You are the assignee for the bug.
