-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[opencv4[qt]] build failure with latest commit version 0ab1a9e #11138
Comments
I was able to reproduce your issue. There might be a circular reference inside features for qt5 CONTROL file @Neumann-A; this should be reproducible easily with an empty port, just depending on "qt5" . |
Found in cmake\OpenCVFindLibsGUI.cmake:
Depending on only qt5-base seems correct if you ask me |
Yes I just completed a build and it seems ok. Do you have time in any case to investigate circular dependency problems when a port file depends on |
Since depending on the metaport
That seems like a bug which needs to be resolved in vcpkg sources. |
This also breaks on macOS as well. |
And confirmed that changing the dependency for the |
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install opencv4[qt] --recurse
Failure logs
Computing installation plan...
The following packages will be rebuilt:
The following packages will be built and installed:
opencv4[core,dnn,jpeg,opengl,png,qt,tiff,webp]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/3: qt5:x86-windows
Removing package qt5:x86-windows...
Removing package qt5:x86-windows... done
Elapsed time for package qt5:x86-windows: 10.5 ms
Starting package 2/3: qt5:x86-windows
Building package qt5[activeqt,core,declarative,essentials,imageformats,multimedia,networkauth,quickcontrols2,svg,tools]:x86-windows...
-- Performing post-build validation
-- Performing post-build validation done
Building package qt5[activeqt,core,declarative,essentials,imageformats,multimedia,networkauth,quickcontrols2,svg,tools]:x86-windows... done
Installing package qt5[activeqt,core,declarative,essentials,imageformats,multimedia,networkauth,quickcontrols2,svg,tools]:x86-windows...
Installing package qt5[activeqt,core,declarative,essentials,imageformats,multimedia,networkauth,quickcontrols2,svg,tools]:x86-windows... done
Elapsed time for package qt5:x86-windows: 12.33 s
Starting package 3/3: opencv4:x86-windows
Building package opencv4[core,dnn,jpeg,opengl,png,qt,tiff,webp]:x86-windows...
Error: Building package opencv4:x86-windows failed with: CASCADED_DUE_TO_MISSING_DEPENDENCIES
Please ensure you're using the latest portfiles with
.\vcpkg update
, thensubmit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: opencv4:x86-windows
Vcpkg version: 2020.02.04-nohash-external
Additionally, attach any relevant sections from the log files above.
Additional context
I removed all the qt5 stuff, and rebuilt from scratch, the same error.
The text was updated successfully, but these errors were encountered: