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
Thanks for your report. It seems the new PkgConfigDeps is not playing well with the legacy "private" requirement attribute, that has been replaced by visible=False in Conan 2.0, and by not processing it it is producing some errors.
I don't know how difficult this could be to fix, but lets give it a try.
@memsharded
Many thanks for looking into this. Unfortunately due to some legacy recipes, I cannot immediately switch to Conan 2.0 (although I'm moving this way). I've done some debugging and can say that the problem occurs when the graph contains a "skipped" node:
It's not possible to access cpp_info attribute for such a node (AttributeError("'NoneType' object has no attribute 'includedirs'") will be raised), so maybe this isn't only specific to PkgConfigDeps? Maybe "skipped" dependencies should not be included in dependencies.direct_host values? (currently, they are). AttributeError exception is raised here:
Environment details
Steps to reproduce
Unpack the attached archive and run
build.bat
. BTW, Conan 2 doesn't suffer from that.test_case.zip
Logs
The text was updated successfully, but these errors were encountered: