On 05/05/2020 07:41, Chris Johns wrote:

On 5/5/20 3:34 pm, Sebastian Huber wrote:
On 05/05/2020 07:22, Chris Johns wrote:

On 5/5/20 3:20 pm, Sebastian Huber wrote:
In a msys2 shell I get:

$ ../source-builder/sb-set-builder --prefix=/opt/rtems/5 5/rtems-sparc
error: no hosts defaults found; please add


What does `python source-builder/sb/windows.py` show?
$ python source-builder/sb/windows.py
Traceback (most recent call last):
   File "source-builder/sb/windows.py", line 192, in <module>
     pprint.pprint(load())
   File "source-builder/sb/windows.py", line 64, in load
     raise error.general('invalid POSIX python for Windows')
error.general: error: invalid POSIX python for Windows

What does `os.uname()` return?

In the msys shell:

$ python
Python 3.7.4 (default, Jul 11 2019, 09:35:14)
[GCC 9.1.0] on msys
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.uname()
posix.uname_result(sysname='MSYS_NT-6.1-7601', nodename='Blub', release='3.0.7-338.x86_64', version='2019-07-11 10:58 UTC', machine='x86_64')

In the mingw64 shell:

$ python
Python 3.8.2 (default, Feb 27 2020, 05:27:33)  [GCC 9.2.0 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.uname()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'os' has no attribute 'uname'

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to