[Bug 261519] graphics/opencv: fix build with VTK option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Jan 2022 16:22:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261519 Bug ID: 261519 Summary: graphics/opencv: fix build with VTK option Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: tcberner@freebsd.org Reporter: osidorkin@gmail.com Flags: maintainer-feedback?(tcberner@freebsd.org) Assignee: tcberner@freebsd.org Flags: maintainer-feedback? Created attachment 231391 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231391&action=edit Attempt to fix deps and plist of graphics/opencv port Enable VTK in grapics/opencv port option and try to build it with poudriere. It will fail: CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:14 (message): The imported target "Qt5::Core" references the file "/usr/local/lib/qt5/bin/qmake" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake" but not all the files it references. Call Stack (most recent call first): /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:9 (_qt5_Core_check_file_exists) /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:232 (include) /usr/local/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:99 (find_package) /usr/local/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:99 (find_package) /usr/local/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package) /usr/local/lib/cmake/vtk-9.1/VTK-vtk-module-find-packages.cmake:115 (find_package) /usr/local/lib/cmake/vtk-9.1/vtk-config.cmake:150 (include) cmake/OpenCVDetectVTK.cmake:2 (find_package) CMakeLists.txt:815 (include) -- Configuring incomplete, errors occurred! See also "/wrkdirs/usr/ports/graphics/opencv/work/.build/CMakeFiles/CMakeOutput.log". *** Error code 1 1) Some plist entries were lost during opencv update to 4.5.5 - restore them 2) Add qmake and moc to the list of dependencies (fixes poudriere builds, however probably there is a better place to put the dependencies) -- You are receiving this mail because: You are the assignee for the bug.