Open kismetro opened 1 year ago
Hi @kismetro
the problem seems to be the filenames:
len("cloud_kubernetes_security_containersecurity_logging_containersecurity_logging.dir\Release\cloud_ku.F6248728.tlog\cloud_kubernetes_security_c ontainersecurity_logging_containersecurity_logging.lastbuildstate")
206
The Conan part in the cache is only taking 50 chars, if we include the user home folder, or 32 without it:
len("C:/Users/kismetro/.conan2/p/t/googlbaf5bd4a0314f/b")
50
len(".conan2/p/t/googlbaf5bd4a0314f/b")
32
It seems unfeasible to reduce that length, it is the minimum necessary to avoid path collisions. You could shorten a couple of characters by defining a shorter CONAN_HOME, but I don't think it is the best approach. Instead trying to shorten cloud_kubernetes_security_containersecurity_logging_containersecurity_logging
with the repeated identifiers seems the way to go.
Oh, I have just realized, this happens inside the grpc
recipe :(
Need to check with the team, about what could be done with this recipe.
yes, it caused by grpc recipe, 1.50.1. I don`t know that previous version also has same issues. But, this max can not be handled by user. So, It must be checked and fixed by grpc recipe side. Changing conan home is not a perfect solution in general.
Environment details
Steps to reproduce
my root path name length seems not to be long. however, it seems that conan cache folder causes long file name and path.
Logs