6.1rc2 on Rocky 9

Chris Johns chrisj at rtems.org
Thu Feb 29 21:53:04 UTC 2024


On 1/3/2024 2:43 am, Joel Sherrill wrote:
> Hi
> 
> Looks pretty good overall. This appears to be the only issue:
> 
> Testing: riscv rv64imac_spike
> BSP to Build: rv64imac
> 'distclean' finished successfully (0.011s)
> Regenerate build specification cache (needs a couple of seconds)...
> 
> real 0m25.545s
> user 2m30.639s
> sys 0m29.614s
> *** /home/joel/rtems-6.1rc2/rtems
> Exception in thread _stdout[spike]:
> Traceback (most recent call last):
>   File "/opt/rh/rh-python36/root/usr/lib64/python3.6/threading.py", line 916, in
> _bootstrap_inner
>     self.run()
>   File "/opt/rh/rh-python36/root/usr/lib64/python3.6/threading.py", line 864, in run
>     self._target(*self._args, **self._kwargs)
>   File "/home/joel/rtems-6.1rc2/tools/6/share/rtems/rtemstoolkit/execute.py",
> line 226, in _readthread
>     data = data.decode(sys.stdout.encoding)
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid
> start byte

This looks like rtems-tools needs to be updated to use the same decoder as the RSB:

https://git.rtems.org/rtems-source-builder/tree/source-builder/sb/execute.py#n185

Happy to review a patch and your ever improving python skills :)

Chris


More information about the devel mailing list