Skip to content

[vcpkg-tool] Regression: Wrong error on non existent dependency  #30298

@Neumann-A

Description

@Neumann-A

Error:
D:\a\_work\1\s\src\vcpkg\build.cpp(1254): unreachable code was reached

Debug error before that:

[DEBUG] Trying to hash E:\all\vcpkg\buildtrees\coin\x64-win-llvm.vcpkg_abi_info.txt
[DEBUG] E:\all\vcpkg\buildtrees\coin\x64-win-llvm.vcpkg_abi_info.txt has hash 74280e381298f5e4a7e3002cba9fc474df99e3d1a4762275e2a3199467f1adb7
[DEBUG] Failed to find dependency abi for %s -> %sfreecad:x64-win-llvmmatplotlib:x64-win-llvm

old output (tool from 23/03/02):

[DEBUG] 1013: cmd_execute_and_stream_data() returned 0 after     9903 us
Error: Cannot resolve a minimum constraint for dependency matplotlib from freecad:x64-win-llvm.
The dependency was not found in the baseline, indicating that the package did not exist at that time. This may be fixed by providing an explicit override version via the "overrides" field or by updating the baseline.
See `vcpkg help versioning` for more information.
[DEBUG] D:\a\_work\1\s\src\vcpkg\install.cpp(1155):

Reproducer:
Create a manifest with

  "dependencies": [
    "does-not-exists"
]

(in the above case matplotlib does not exist. The real port name would have been matplotlib-cpp )

Metadata

Metadata

Assignees

Labels

category:tool-updateThe issue is with build tool or build script, which requires update or should be executed correctly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions