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
run conan create gnu-config/cci.20210814@ with 1 profile
It's worth noting that in conan-io/conan-center-index#13584, msys2 is in tool_requires of gnu-config test package if build machine is windows, and msys2 properly set tools.microsoft.bash:subsystem and tools.microsoft.bash:path in its package_info() method.
I've tested locally on Windows with conan 1.53.0 and 2 profiles, and I did not noticed any issue, so I guess it's an issue either with conan 1.52.0 or 1 profile, since c3i builds msvc binaries with 1 profile and conan 1.52.0 currently.
Logs (Executed commands with output) (Include/Attach if Applicable)
ERROR: gnu-config/cci.20210814 (test package): Error in test() method, line 23
self.run("config.guess")
ConanException: The config 'tools.microsoft.bash:subsystem' and 'tools.microsoft.bash:path' are needed to run commands in a Windows subsystem
********************************************************************************
The text was updated successfully, but these errors were encountered:
Well, it's the same issue than #11975, and fixed by #12095 in conan 1.53.0
SpaceIm
changed the title
[bug] tools.microsoft.bash:path not set in test() if injected through a tool_requires with 1 profile
[bug] tools.microsoft.bash:path not set in test() if injected through a tool_requiresOct 18, 2022
Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
conan create gnu-config/cci.20210814@
with 1 profileIt's worth noting that in conan-io/conan-center-index#13584,
msys2
is intool_requires
ofgnu-config
test package if build machine is windows, andmsys2
properly settools.microsoft.bash:subsystem
andtools.microsoft.bash:path
in itspackage_info()
method.I've tested locally on Windows with conan 1.53.0 and 2 profiles, and I did not noticed any issue, so I guess it's an issue either with conan 1.52.0 or 1 profile, since c3i builds msvc binaries with 1 profile and conan 1.52.0 currently.
Logs (Executed commands with output) (Include/Attach if Applicable)
The text was updated successfully, but these errors were encountered: