You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this version of libepoxy fails during the package_info() step with the following error:
ERROR: libepoxy/1.5.10: required component package 'egl::' not in dependencies
This only happens when both opengl/system and egl/system are being used simultaneously. The error disappears when either one of the dependencies is removed from either self.requires() or self.cpp_info.requires.
The error does not occur when self.cpp_info.requires is left unset entirely.
The text was updated successfully, but these errors were encountered:
valgur
changed the title
cpp_info.requires fails when the same replacement is used multiple times in [replace_requires]
[bug] cpp_info.requires fails when the same replacement is used multiple times in [replace_requires]Nov 13, 2024
The added_req != new_req check is necessary for replace_requires like xorg/system: xorg/1.8.10, which don't change the ref name and evaluate to the same d dictionary item. These would otherwise get incorrectly removed by del d[new_req].
I already started to work on it the other day, see develop2...memsharded:conan:fix/replace_requires_multiple (I think it was a couple of days ago), but I am out of office in a conference and I didn't have the time to report here.
I'll try to move it forward for next release, I'll try to summarize work after the weekend.
Describe the bug
Conan: 2.9.2
OS: Linux
When using the following
[replace_requires]
in the host profile (for cross-compilation, since system libs are not available there):this version of
libepoxy
fails during thepackage_info()
step with the following error:This only happens when both
opengl/system
andegl/system
are being used simultaneously. The error disappears when either one of the dependencies is removed from eitherself.requires()
orself.cpp_info.requires
.The error does not occur when
self.cpp_info.requires
is left unset entirely.How to reproduce it
Here's a minimal example:
and a sample profile:
The text was updated successfully, but these errors were encountered: