conan-io / hooks

Official Conan client hooks
MIT License
33 stars 46 forks source link

KB-H009: fails with symlinks #243

Open timblechmann opened 4 years ago

timblechmann commented 4 years ago

KB-H009 raises an error when encountering symlink:

[HOOK - conan-center.py] pre_export(): ERROR: [RECIPE FOLDER SIZE (KB-H009)] Exception raised from hook: [Errno 2] No such file or directory: '/some/path' (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H009)
uilianries commented 4 years ago

Could you provide a real example? We have packages which use symlink for libraries, so it should be not an error, your case seems be unusual.

timblechmann commented 4 years ago

i've seen this with a rather large codebase, which unfortunately i cannot share. but it includes framework bundles that include symlinks for versions for example.

let me see if i can somehow reduce it

uilianries commented 4 years ago

conan-center hook is used for Conan Center Index, if you are using internally, maybe it's not a big problem.