Opened on 11/22/20 at 16:39:59
Last modified on 12/18/20 at 10:26:31
#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: | ||
Blocking: |
Description
Hi,
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> setbuilder.run() 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 print(l) LookupError: unknown encoding: cp65001
I solved this by typing in the command line:
export PYTHONIOENCODING=UTF-8
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)
Change History (4)
comment:1 Changed on 11/22/20 at 16:41:49 by rmueller
Summary: | MinGW64 RSM build fails → MinGW64 RSB build fails with encoding error |
---|
comment:2 Changed on 12/02/20 at 10:53:34 by rmueller
Changed on 12/18/20 at 10:25:30 by rmueller
Attachment: | python-quick-guide.patch added |
---|
comment:3 Changed on 12/18/20 at 10:26:31 by rmueller
Version: | → 6 |
---|
Note: See
TracTickets for help on using
tickets.
I submitted a patch which mentions this issue and how to fix it.