[Bug 267217] math/vtk9 build breaks if pieces of QT6 installed, attempts to use it for qml portion of build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Oct 2022 03:54:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267217 Bug ID: 267217 Summary: math/vtk9 build breaks if pieces of QT6 installed, attempts to use it for qml portion of build Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: alt2600@icloud.com Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Created attachment 237474 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237474&action=edit git-disable-qt6-unbreak-qml.diff for some reason build is trying to partially build this against QT6 by default, cmake is awesome. Things should get continually interesting as the seeming transition to QT6 gets underway. added CMAKE_ON+= CMAKE_DISABLE_FIND_PACKAGE_Qt6 similar to what is done on devel/qtcreator to block cmake from building qml against qt6, but instead seemingly using the qt5 we told it to use. I assume it built qml against qt5 only because the same number of ninja steps are present before and after my patch. But it now builds and installs on my live system. 13.1p2 amd64 see patch [ 94% 9115/9659] : && /usr/bin/c++ -fPIC -O2 -pipe -march=westmere -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -march=westmere -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fstack-protector-strong -shared -o lib/qml/VTK.9.1/libqmlvtkplugin.so GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/qmlvtkplugin_autogen/mocs_compilation.cpp.o GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/QQmlVTKPlugin.cxx.o -Wl,-rpath,/usr/ports/math/vtk9/work/.build/lib:/usr/local/lib/qt6:/usr/local/lib: lib/libvtkGUISupportQtQuick-9.1.so.9.1.0 lib/libvtkGUISupportQt-9.1.so.9.1.0 /usr/local/lib/qt6/libQt6OpenGLWidgets.so.6.4.0 /usr/local/lib/qt6/libQt6OpenGL.so.6.4.0 /usr/local/lib/qt6/libQt6Widgets.so.6.4.0 /usr/local/lib/qt6/libQt6Gui.so.6.4.0 /usr/local/lib/libGLX.so /usr/local/lib/libOpenGL.so /usr/local/lib/qt6/libQt6Core.so.6.4.0 /usr/local/lib/qt6/libQt6Quick.so.6.4.0 /usr/local/lib/qt6/libQt6QmlModels.so.6.4.0 /usr/local/lib/qt6/libQt6Qml.so.6.4.0 /usr/local/lib/qt6/libQt6Network.so.6.4.0 /usr/local/lib/qt6/libQt6OpenGL.so.6.4.0 /usr/local/lib/qt6/libQt6Gui.so.6.4.0 /usr/local/lib/libGLX.so /usr/local/lib/libOpenGL.so /usr/local/lib/qt6/libQt6Core.so.6.4.0 -pthread lib/libvtkRenderingOpenGL2-9.1.so.9.1.0 lib/libvtkRenderingUI-9.1.so.9.1.0 /usr/local/lib/libX11.so lib/libvtkglew-9.1.so.9.1.0 /usr/local/lib/libGLX.so /usr/local/lib/libOpenGL.so /usr/local/lib/libX11.so lib/libvtkInteractionWidgets-9.1.so.9.1.0 lib/libvtkRenderingContext2D-9.1.so.9.1.0 lib/libvtkRenderingCore-9.1.so.9.1.0 lib/libvtkFiltersSources-9.1.so.9.1.0 lib/libvtkFiltersGeneral-9.1.so.9.1.0 lib/libvtkFiltersCore-9.1.so.9.1.0 lib/libvtkCommonExecutionModel-9.1.so.9.1.0 lib/libvtkCommonDataModel-9.1.so.9.1.0 lib/libvtkCommonTransforms-9.1.so.9.1.0 lib/libvtkCommonMisc-9.1.so.9.1.0 lib/libvtkCommonMath-9.1.so.9.1.0 lib/libvtkCommonCore-9.1.so.9.1.0 lib/libvtksys-9.1.so.9.1.0 /usr/lib/libexecinfo.so -lpthread lib/libvtkkissfft-9.1.so.9.1.0 -Wl,-rpath-link,/usr/local/lib/qt6:/usr/ports/math/vtk9/work/.build/lib:/usr/local/lib && cd /usr/ports/math/vtk9/work/.build/GUISupport/QtQuick/qml && /usr/local/lib/qt5/bin/qmlplugindump -output /usr/ports/math/vtk9/work/.build/lib/qml/VTK.9.1/plugins.qmltypes VTK 9.1 /usr/ports/math/vtk9/work/.build/lib/qml FAILED: lib/qml/VTK.9.1/libqmlvtkplugin.so lib/qml/VTK.9.1/plugins.qmltypes /usr/ports/math/vtk9/work/.build/lib/qml/VTK.9.1/plugins.qmltypes : && /usr/bin/c++ -fPIC -O2 -pipe -march=westmere -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -march=westmere -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fstack-protector-strong -shared -o lib/qml/VTK.9.1/libqmlvtkplugin.so GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/qmlvtkplugin_autogen/mocs_compilation.cpp.o GUISupport/QtQuick/qml/CMakeFiles/qmlvtkplugin.dir/QQmlVTKPlugin.cxx.o -Wl,-rpath,/usr/ports/math/vtk9/work/.build/lib:/usr/local/lib/qt6:/usr/local/lib: lib/libvtkGUISupportQtQuick-9.1.so.9.1.0 lib/libvtkGUISupportQt-9.1.so.9.1.0 /usr/local/lib/qt6/libQt6OpenGLWidgets.so.6.4.0 /usr/local/lib/qt6/libQt6OpenGL.so.6.4.0 /usr/local/lib/qt6/libQt6Widgets.so.6.4.0 /usr/local/lib/qt6/libQt6Gui.so.6.4.0 /usr/local/lib/libGLX.so /usr/local/lib/libOpenGL.so /usr/local/lib/qt6/libQt6Core.so.6.4.0 /usr/local/lib/qt6/libQt6Quick.so.6.4.0 /usr/local/lib/qt6/libQt6QmlModels.so.6.4.0 /usr/local/lib/qt6/libQt6Qml.so.6.4.0 /usr/local/lib/qt6/libQt6Network.so.6.4.0 /usr/local/lib/qt6/libQt6OpenGL.so.6.4.0 /usr/local/lib/qt6/libQt6Gui.so.6.4.0 /usr/local/lib/libGLX.so /usr/local/lib/libOpenGL.so /usr/local/lib/qt6/libQt6Core.so.6.4.0 -pthread lib/libvtkRenderingOpenGL2-9.1.so.9.1.0 lib/libvtkRenderingUI-9.1.so.9.1.0 /usr/local/lib/libX11.so lib/libvtkglew-9.1.so.9.1.0 /usr/local/lib/libGLX.so /usr/local/lib/libOpenGL.so /usr/local/lib/libX11.so lib/libvtkInteractionWidgets-9.1.so.9.1.0 lib/libvtkRenderingContext2D-9.1.so.9.1.0 lib/libvtkRenderingCore-9.1.so.9.1.0 lib/libvtkFiltersSources-9.1.so.9.1.0 lib/libvtkFiltersGeneral-9.1.so.9.1.0 lib/libvtkFiltersCore-9.1.so.9.1.0 lib/libvtkCommonExecutionModel-9.1.so.9.1.0 lib/libvtkCommonDataModel-9.1.so.9.1.0 lib/libvtkCommonTransforms-9.1.so.9.1.0 lib/libvtkCommonMisc-9.1.so.9.1.0 lib/libvtkCommonMath-9.1.so.9.1.0 lib/libvtkCommonCore-9.1.so.9.1.0 lib/libvtksys-9.1.so.9.1.0 /usr/lib/libexecinfo.so -lpthread lib/libvtkkissfft-9.1.so.9.1.0 -Wl,-rpath-link,/usr/local/lib/qt6:/usr/ports/math/vtk9/work/.build/lib:/usr/local/lib && cd /usr/ports/math/vtk9/work/.build/GUISupport/QtQuick/qml && /usr/local/lib/qt5/bin/qmlplugindump -output /usr/ports/math/vtk9/work/.build/lib/qml/VTK.9.1/plugins.qmltypes VTK 9.1 /usr/ports/math/vtk9/work/.build/lib/qml QQmlComponent: Component is not ready -- You are receiving this mail because: You are the assignee for the bug.