There is a bug in build_rts.py at line 273.
This line content is os.path.relpath(dest, os.getcwd())).
This code works only when the bb-runtimes sources are located on the same drive letter than the GNAT arm compiler.
In my case, I work in the z drive while the compiler is installed in the c drive.
I get the following error :
Traceback (most recent call last):
File "build_rts.py", line 277, in <module>
main()
File "build_rts.py", line 273, in main
os.path.relpath(dest, os.getcwd()))
File "c:\python38\lib\ntpath.py", line 703, in relpath
raise ValueError("path is on mount %r, start on mount %r" % (
ValueError: path is on mount 'c:', start on mount 'Z:'
Please note that this error happens at the very end of the script while printing a successful message. So this has no impact on the build process.
One simple solution is to replace
print("runtimes successfully installed in %s" %
os.path.relpath(dest, os.getcwd()))
with
print("runtimes successfully installed in %s" % dest)
There is a bug in
build_rts.py
at line 273. This line content isos.path.relpath(dest, os.getcwd()))
. This code works only when thebb-runtimes
sources are located on the same drive letter than the GNAT arm compiler. In my case, I work in the z drive while the compiler is installed in the c drive. I get the following error :Please note that this error happens at the very end of the script while printing a successful message. So this has no impact on the build process.
One simple solution is to replace
with