#4183 new defect

MinGW64 RSB build fails with encoding error

Reported by: rmueller Owned by:
Priority: normal Milestone:
Component: admin Version: 6
Severity: normal Keywords:
Cc: Blocked By:



I followed the quick start guide to install the RSB (https://docs.rtems.org/branches/master/user/start/tools.html) and encountered following error:

$ ../source-builder/sb-set-builder --prefix=/c/Users/Robin/Documents/RTEMS/quick-start/rtems/5 5/rtems-sparc
RTEMS Source Builder - Set Builder, 5.1
Build Set: 5/rtems-sparc
Build Set: Time 0:00:00.009008
Traceback (most recent call last):
  File "../source-builder/sb/cmd-set-builder.py", line 26, in <module>
  File "../source-builder/sb/setbuilder.py", line 736, in run
    b.build(deps, mail = mail)
  File "../source-builder/sb/setbuilder.py", line 452, in build
    bs.build(deps, nesting_count, mail)
  File "../source-builder/sb/setbuilder.py", line 390, in build
    log.notice('Build Set: %s' % (self.bset))
  File "../source-builder/sb/log.py", line 88, in notice
LookupError: unknown encoding: cp65001

I solved this by typing in the command line:


I just though I report this, maybe it helps other people who have the same issue or maybe this is a problem related to more recent python installations.

Attachments (1)

python-quick-guide.patch (912 bytes) - added by rmueller on Dec 18, 2020 at 10:25:30 AM.

Download all attachments as: .zip

Change History (4)

comment:1 Changed on Nov 22, 2020 at 4:41:49 PM by rmueller

Summary: MinGW64 RSM build failsMinGW64 RSB build fails with encoding error

comment:2 Changed on Dec 2, 2020 at 10:53:34 AM by rmueller

I submitted a patch which mentions this issue and how to fix it.

Changed on Dec 18, 2020 at 10:25:30 AM by rmueller

Attachment: python-quick-guide.patch added

comment:3 Changed on Dec 18, 2020 at 10:26:31 AM by rmueller

Version: 6
Note: See TracTickets for help on using tickets.