[RTEMS Project] #4183: MinGW64 RSM build fails

RTEMS trac trac at rtems.org
Sun Nov 22 16:39:59 UTC 2020


#4183: MinGW64 RSM build fails
-----------------------+--------------------
  Reporter:  rmueller  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:
 Component:  admin     |    Version:
  Severity:  normal    |   Keywords:
Blocked By:            |   Blocking:
-----------------------+--------------------
 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.

--
Ticket URL: <http://devel.rtems.org/ticket/4183>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list