-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version solving fails on custom git component in linux (IDFGH-12200) (PACMAN-815) #56
Comments
@SlowTypist I've tried to reproduce the problem on macOS, but I faced another one (related to symlinks). So we will investigate both soon and keep this issue updated. Build log:
|
@SlowTypist I tried to reproduce the problem as well on WSL Ubuntu and got a similar result as mentioned above. I investigated the issue and after cloning the specified repository and updating submodules, I found out that the symlink on the path Could you check, whether this is the case in your environment as well? |
@XDanielPaul Unfortunately we cannot simply use symlink itself for calculation of hashsum instead of real file because it will break some existing components in the registry. However, it should be safe to just ignore missing files while calculating the hash. |
I agree, we cannot use the symlink itself for the calculation, but as far as I know Component Manager takes care of symbolic links in git repositories with |
Fixed in a4f7a84 now an error message is printed if the path is broken: |
Answers checklist.
IDF version.
v5.3-dev-2087-g5f42493573
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Compiling with no errors
What is the actual behavior?
I have a custom component here https://github.com/SlowTypist/mongoose-esp-idf
When trying to build project in Windows everything is fine, in linux though I get error.
I have a feeling the problem is the submodules of the component are not updated recursively.
Steps to reproduce.
Create new project, in idf_component.yml add this
test_component:
git: git@github.com:SlowTypist/mongoose-esp-idf.git
run build.
Build or installation Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: