Closed hakan-demirli closed 1 year ago
The solution is to apply dos2unix to all files before compiling.
find /path -type f -print0 | xargs -0 dos2unix --
Nope. The line endings were correct in the repo. My git preferences were wonky. Git automatically converts line endings if autocrlf = true
is set in preferences. That was the case for me.
Changing my gitpereferences fixed it.
[core]
autocrlf = false
eol = lf
Related: https://github.com/RTimothyEdwards/open_pdks/issues/334
OS: Ubuntu 20.04.03 Docker version 20.10.21, build baeda1f Steps Followed:
The error:
If I edit the docker file and add
--reject --whitespace=fix
to the git command. The error evolves into this: