conan: [bug] Short paths and cygwin
I apologize if this issue has already been raised before but I searched and couldnt find the exact same issue I am having.
The short version is that I am running on windows, inside a cygwin shell as is required by a third party vendor that we use for critical software (aka we cant change the directory structure of the code, the compilers or tools they are requiring). I am running into an issue in conan where when I build in cache via a conan create
command, it errors out because it reaches the path limit on windows of 260 characters.
I have tried using the conan short paths variable in both my conanfile as well as setting the global configuration to use CONAN_USER_HOME_SHORT
and CONAN_USE_ALWAYS_SHORT_PATHS
but neither seem to be working.
My thoughts are that since I am running inside a cygwin shell, conan thinks the environment is unix and does not apply short path logic. Any ideas on how to try debug this?
Environment Details (include every applicable attribute)
- Operating System+version: Windows 10 + cygwin
- Conan version: 1.20.5
- Python version: 3.6
Steps to reproduce (Include if Applicable)
- Use cygwin
- Run conan create using short_paths = True, and a very long directory structure
Logs (Executed commands with output) (Include/Attach if Applicable)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (13 by maintainers)
Thats fair but enabling it at least for “windows” platforms such as cygwin or minGW would be good 😃