YES i do use Ubuntu 20-04.
ubuntu no issues nor my yocto SDK toolchain .
my end all ok , i go google it i found out it is your NXP Fslbuild.py got issues it is DOS type of cos cnt use under Ubuntu / UNIX lah. see below:
dos is "\n\r"
unix is "\n" only left \r so error come out .
(Example :
$ cat test.py
#!/usr/bin/env python3
print("ok")
$ ./test.py
/usr/bin/env: ‘python3\r’: No such file or directory
$ dos2unix test.py
dos2unix: converting file test.py to Unix format ...
$ ./test.py
ok)
i try it comments out line #1 Shebang line in your file Fslbuild.py , then ok but again line #32 got "\r" again and also many .py file all DOS TYPe in your release. i cnt do all manual jobs like this lah , see
the Shebang line
#!/usr/bin/env python3
===================
mx8@imx8-VirtualBox:/media/sf_shared/gtec-demo-framework$ FslBuild.py --Variants [WindowSystem=wayland]
/usr/bin/env: ‘python3\r’: No such file or directory
imx8@imx8-VirtualBox:/media/sf_shared/gtec-demo-framework$ FslBuild.py --Variants [WindowSystem=wayland]
/usr/bin/env: ‘python3\r’: No such file or directory
imx8@imx8-VirtualBox:/media/sf_shared/gtec-demo-framework$ FslBuild.py --Variants [WindowSystem=wayland]
/media/sf_shared/gtec-demo-framework/.Config/FslBuild.py: line 32: $'\r': command not found
from: can't read /var/mail/FslBuildGen
/media/sf_shared/gtec-demo-framework/.Config/FslBuild.py: line 34: syntax error near unexpected token `$'\r''
/media/sf_shared/gtec-demo-framework/.Config/FslBuild.py: line 34: `PythonVersio'Check.CheckVersion()
imx8@imx8-VirtualBox:/media/sf_shared/gtec-demo-framework$
============
like this then how i cnt goto modify all your .py file , pls advices me n how you guys to improve out a good release version pls.
FYI i git clone that
…
just now ?
joseph zhou jian hui
Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore