Hi Ashton there's new error when run Dockerfile,do you know why? thanks!
#31 [nuttx-toolchain-sparc 1/1] RUN mkdir sparc-gaisler-elf-gcc && curl -L "https://www.gaisler.com/anonftp/bcc2/bin/bcc-2.1.0-gcc-linux64.tar.xz" | tar -C sparc-gaisler-elf-gcc --strip-components 1 -xvJf #31 sha256:9c56a185adad62b5689e15e6d9b614d798c756d34ec8c0441d63750ea8096125 #31 0.406 tar: option requires an argument -- 'f' #31 0.406 Try 'tar --help' or 'tar --usage' for more information. #31 0.415 % Total % Received % Xferd Average Speed Time Time Time Current #31 0.417 Dload Upload Total Spent Left Speed #31 0.418 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 249M 0 7969 0 0 11351 0 6:24:32 --:--:-- 6:24:32 11368 #31 1.119 curl: (23) Failed writing body (0 != 7969) #31 ERROR: executor failed running [/bin/sh -c mkdir sparc-gaisler-elf-gcc && curl -L "https://www.gaisler.com/anonftp/bcc2/bin/bcc-2.1.0-gcc-linux64.tar.xz" | tar -C sparc-gaisler-elf-gcc --strip-components 1 -xvJf]: exit code: 64 ------------------ Original ------------------ From: "Brennan Ashton"<bash...@brennanashton.com>; Date: Wed, Feb 2, 2022 04:44 PM To: "dev"<dev@nuttx.apache.org>; Subject: Re: enable the excute of install_tools in cibuild.sh We do not run install_tools in the Linux builds and instead pre install them in the docker image I linked. This provides a stable environment to then run the test builds against and also substantially reduces the build time. To make changes to the image the changes will have to first merge to master so the container can be built and uploaded. On Wed, Feb 2, 2022, 12:40 AM fft <f...@feedforward.com.cn> wrote: > The "install_tools" function in tools/ci/cibuild.sh should be excuted > firstly to install sparc-gcc-toolchain,isn't it? but there's some error > when excute "install_tools" function > &nbsp; > ------------------&nbsp;Original&nbsp;------------------ > From: &nbsp;"Brennan&nbsp;Ashton"<bash...@brennanashton.com&gt;; > Date: &nbsp;Wed, Feb 2, 2022 04:17 PM > To: &nbsp;"dev"<dev@nuttx.apache.org&gt;; > > Subject: &nbsp;Re: enable the excute of install_tools in cibuild.sh > > &nbsp; > > The ci uses the docker container. You will want to submit a PR updating > that and have that merge first. > > > https://github.com/apache/incubator-nuttx/blob/master/tools/ci/docker/linux/Dockerfile > > > On Tue, Feb 1, 2022, 11:37 PM fft <f...@feedforward.com.cn&gt; wrote: > > &gt; Hi team's > &gt; I'm try to add sparc to the daily ci,I add code to tools/ci/cibuild.sh > &gt; and&amp;nbsp; tools/ci/testlist/other.dat,but when i start&amp;nbsp; > pull > &gt; requests,there's ci check error,beacuse "install_tools" function was > not > &gt; executed,what resulte the build of xx3803:nsh can't find > &gt; sparc-gaisler-elf-gcc,to solve this problem,i change ./cibuild.sh -A > -c > &gt; testlist/${{matrix.boards}}.dat to ./cibuild.sh -A -c -i > &gt; testlist/${{matrix.boards}}.dat in build.yml, but the excute of > &gt; > &gt; function install_tools { > &gt; &amp;nbsp; pushd . > &gt; &amp;nbsp; for func in ${install}; do > &gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; ${func} > &gt; &amp;nbsp; done > &gt; &amp;nbsp; popd > &gt; > &gt; &amp;nbsp; echo PATH="${EXTRA_PATH}"/"${PATH}" &amp;gt; > "${prebuilt}"/env.sh > &gt; } > &gt; has other error when install kconfig-frontends > &gt; > &gt; > &gt; > https://github.com/apache/incubator-nuttx/runs/5032993342?check_suite_focus=true > &gt > <https://github.com/apache/incubator-nuttx/runs/5032993342?check_suite_focus=true&gt> > ; > &gt; how solve this problem? > &gt; Best regards, > &gt; Zou