-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[darknet, openmama, gherkin-c, libevent] Conflicts when installing headers #6120
Comments
@cenit would it be OK to move |
I think it’s feasible. Let me try it upstream. It should be quick. |
Is it correct that vcpkg integrate only adds the vcpkg header base directory? In this case. Does the CI test also include an check over all headers that verifies that #incudes are reachable either from this base directory or from the local header directory? Because sometimes I need to fix paths. The problem is that this shows up only during usage. E.g in magnum port a couple of days ago (some bullet integration and Khronos headers) |
|
The following header conflics occur when trying to install these libraries in the presence of each other.
include/list.h
darknet
&openmama
include/parser.h
darknet
&gherkin-c
include/event.h
gherkin-c
&libevent
Due to user expectation, we want to preserve upstream include paths as much as possible.
However, when these file conflicts happen, a decision must be made by the
vcpkg
team on which library will be "blessed" by our CI tests.For example, in the case of
libevent
, due to it's long history, it takes precedence in claiming ownership ofinclude/event.h
.The logical solution would be to move the installation path to these packages to their own subfolders, e.g.:
include/darknet/list.h
,include/openmama/list.h
. And the easiest way to do this, would be doing this within the portfile. However, the right way would be to submit a request for these changes to be made upstream.The text was updated successfully, but these errors were encountered: