Closed SEC-RKatayama closed 2 months ago
Hi @SEC-RKatayama,
Sorry you're having an issue with this. We currently don't have a maintainer focused on these demos and the original author has moved to other projects. Adding this demo to our CI structure was nominated for the next release (https://github.com/space-ros/docker/issues/70) which will at least tell us if it is broken in the future.
I don't see a reason for the dockerfile to use wget
to retrieve the toolchain file since it is local. I'd recommend replacing line 80 with a COPY
from the local repo into the Docker context such as COPY toolchain.cmake /root
.
I was going to put that change in a branch for you to try but when I went to test it myself my build failed on a much earlier stage:
=> ERROR [stage-0 19/41] RUN ../source-builder/sb-set-builder --prefix=/root/rtems/6 6/rtems-aarch64
```
=> ERROR [stage-0 19/41] RUN ../source-builder/sb-set-builder --prefix=/root/rtems/6 6/rtems-aarch64 43.9s
------
> [stage-0 19/41] RUN ../source-builder/sb-set-builder --prefix=/root/rtems/6 6/rtems-aarch64:
0.311 RTEMS Source Builder - Set Builder, 6 (0d817c4c1f7f)
0.319 Build Set: 6/rtems-aarch64
0.320 Build Set: tools/rtems-default-tools.bset
0.323 config: devel/dtc-1.6.1-1.cfg
0.328 package: dtc-1.6.1-x86_64-linux-gnu-1
0.335 Creating source directory: sources
0.335 download: https://www.kernel.org/pub/software/utils/dtc/dtc-1.6.1.tar.gz -> sources/dtc-1.6.1.tar.gz
0.882 redirect: https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-1.6.1.tar.gz
downloading: sources/dtc-1.6.1.tar.gz - 199.0kB of 199.0kB (100%)
Creating source directory: patches
1.078 download: https://devel.rtems.org/raw-attachment/ticket/4783/0001-checks.c-Ensure-argument-is-an...
Did you have any issue with that build phase?
Thank you for your quick reply!
I got the situation.
I also went into the UnicodeEncodeError. I fixed it by adding
ENV LANG C.UTF-8
to Dockerfile.
I will try again along with your advice 3 hours later.
I succeeded!
I got another new error when running ./compile_demos.sh
, but I firstly try to solve for myself.
Summary of the modification to Dockerfile:
ENV LANG C.UTF-8
RUN wget -q https://raw.githubusercontent.com/space-ros/docker/zynq_rtems_zenoh_pico/zynq_rtems/toolchain.cmake -O /root/toolchain.cmake
with COPY toolchain.cmake /root
Great to hear! If you care to open PR with your changes we'd welcome the assistance, otherwise I'll find time to make those updates before our next release.
I opened pull request for this. https://github.com/space-ros/docker/compare/main...SEC-RKatayama:docker:patch-1
Hi, I'm trying to perform the demo of zynq_rtems.
When I run
in zynq_rtems directory, I got an error:
I suspect that it's due to the absence of the branch named
zynq_rtems_zenoh_pico
. How should I fix it? Just replacezynq_rtems_zenoh_pico
withmain
?Thanks.