Problem by installing RTEMS 5.1 on Windows 10

Alireza Banejad alibanejad1376 at gmail.com
Thu Mar 11 20:14:29 UTC 2021


Try running msys2 64 as administrator

On Fri, Mar 5, 2021 at 12:06 PM Olga Syrbachova <syrba4eva28 at gmail.com>
wrote:

> Thank you very much for your reply. I'm using MSYS2 MinGW 64-bit.
> Actually I also tried to install RTEMS 4.11.0 and 4.11.2 and I didn't
> succeed.
> After running:
> $ ../source-builder/sb-set-builder --prefix=/opt/rtems/4.11
> 4.11/rtems-sparc --jobs=none
>
> in ... at LAPTOP-NOT8H6PV MINGW64 /c/opt/rtems/4.11.0/rtems
>
> I got this error:
> ...
> package: expat-2.1.0-x86_64-w64-mingw32-1
> Build Set: Time 0:04:39.603651
> Traceback (most recent call last):
>   File "../source-builder/sb-set-builder", line 29, in <module>
>     setbuilder.run()
>   File "../source-builder/sb/setbuilder.py", line 502, in run
>     b.build(deps)
>   File "../source-builder/sb/setbuilder.py", line 354, in build
>     self.build_package(configs[s], b)
>   File "../source-builder/sb/setbuilder.py", line 191, in build_package
>     _build.make()
>   File "../source-builder/sb/build.py", line 471, in make
>     self.builddir()
>   File "../source-builder/sb/build.py", line 340, in builddir
>     self.rmdir(builddir)
>   File "../source-builder/sb/build.py", line 161, in rmdir
>     path.removeall(rmpath)
>   File "../source-builder/sb/path.py", line 150, in removeall
>     os.unlink(file)
> PermissionError: [WinError 5] Zugriff verweigert: 'C:\\opt\\rtems\\4.11.0\\
> rtems\\build\\e2xwm1\\expat-2.1.0\\xmlwf\\xmlwf.exe'
>
> On Fri, 5 Mar 2021 at 01:51, Chris Johns <chrisj at rtems.org> wrote:
>
>> On 5/3/21 7:11 am, Olga Syrbachova wrote:
>> > Hi! I have a problem installing RTEMS. I follow the tutorial step by
>> step, but
>> > something goes wrong. I work on Windows 10.
>> >
>> > My steps after creating /c/opt/rtems
>> >
>> > $ wget
>> >
>> https://ftp.rtems.org/pub/rtems/releases/5/5.1/sources/rtems-source-builder-5.1.tar.xz
>> > <
>> https://ftp.rtems.org/pub/rtems/releases/5/5.1/sources/rtems-source-builder-5.1.tar.xz
>> >
>> > $ tar Jxf rtems-source-builder-5.1.tar.xz
>> > $ mv rtems-source-builder-5.1 5.1
>> > ...
>> > $ source-builder/sb-check
>> > RTEMS Source Builder - Check, 5.not_released
>> > Environment is ok
>> >
>> > What does 5.not_released mean?
>> >
>>
>> At a guess there is no VERSION file in the stop of the RSB source package
>> which
>> would seem strange give this exists in releases. If there is it is a bug
>> in the
>> RSB on Windows.
>>
>> > By running
>> > $ ../source-builder/sb-set-builder --list-bsets
>> > I get
>> > $ ../source-builder/sb-set-builder --list-bsets
>> > RTEMS Source Builder - Set Builder, 5.1
>> > 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 722, in run
>> >     if not list_bset_cfg_files(opts, configs):
>> >   File "../source-builder/sb/setbuilder.py", line 670, in
>> list_bset_cfg_files
>> >     print('Examining: %s' % (os.path.relpath(p)))
>> > LookupError: unknown encoding: cp65001
>>
>> What shell environment are you using?
>>
>> Chris
>>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20210311/2f102bec/attachment.html>


More information about the users mailing list