Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2022 16:22:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261519] graphics/opencv: fix build with VTK option
Message-ID:  <bug-261519-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261519

            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=3D231391&action=
=3Dedit
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)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261519-7788>