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: &nbsp;"Brennan&nbsp;Ashton"<bash...@brennanashton.com&gt;;
Date: &nbsp;Wed, Feb 2, 2022 04:44 PM
To: &nbsp;"dev"<dev@nuttx.apache.org&gt;; 

Subject: &nbsp;Re: enable the excute of install_tools in cibuild.sh

&nbsp;

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&gt; wrote:

&gt; The "install_tools" function in tools/ci/cibuild.sh should be excuted
&gt; firstly to install sparc-gcc-toolchain,isn't it? but there's some error
&gt; when excute "install_tools" function
&gt; &amp;nbsp;
&gt; ------------------&amp;nbsp;Original&amp;nbsp;------------------
&gt; From: 
&amp;nbsp;"Brennan&amp;nbsp;Ashton"<bash...@brennanashton.com&amp;gt;;
&gt; Date: &amp;nbsp;Wed, Feb 2, 2022 04:17 PM
&gt; To: &amp;nbsp;"dev"<dev@nuttx.apache.org&amp;gt;;
&gt;
&gt; Subject: &amp;nbsp;Re: enable the excute of install_tools in cibuild.sh
&gt;
&gt; &amp;nbsp;
&gt;
&gt; The ci uses the docker container. You will want to submit a PR updating
&gt; that and have that merge first.
&gt;
&gt;
&gt; 
https://github.com/apache/incubator-nuttx/blob/master/tools/ci/docker/linux/Dockerfile
&gt;
&gt;
&gt; On Tue, Feb 1, 2022, 11:37 PM fft <f...@feedforward.com.cn&amp;gt; wrote:
&gt;
&gt; &amp;gt; Hi team's
&gt; &amp;gt; I'm try to add sparc to the daily ci,I add code to 
tools/ci/cibuild.sh
&gt; &amp;gt; and&amp;amp;nbsp; tools/ci/testlist/other.dat,but when i 
start&amp;amp;nbsp;
&gt; pull
&gt; &amp;gt; requests,there's ci check error,beacuse "install_tools" function 
was
&gt; not
&gt; &amp;gt; executed,what resulte the build of xx3803:nsh can't find
&gt; &amp;gt; sparc-gaisler-elf-gcc,to solve this problem,i change ./cibuild.sh 
-A
&gt; -c
&gt; &amp;gt; testlist/${{matrix.boards}}.dat to ./cibuild.sh -A -c -i
&gt; &amp;gt; testlist/${{matrix.boards}}.dat in build.yml, but the excute of
&gt; &amp;gt;
&gt; &amp;gt; function install_tools {
&gt; &amp;gt; &amp;amp;nbsp; pushd .
&gt; &amp;gt; &amp;amp;nbsp; for func in ${install}; do
&gt; &amp;gt; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; ${func}
&gt; &amp;gt; &amp;amp;nbsp; done
&gt; &amp;gt; &amp;amp;nbsp; popd
&gt; &amp;gt;
&gt; &amp;gt; &amp;amp;nbsp; echo PATH="${EXTRA_PATH}"/"${PATH}" &amp;amp;gt;
&gt; "${prebuilt}"/env.sh
&gt; &amp;gt; }
&gt; &amp;gt; has other error when install kconfig-frontends
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt;
&gt; 
https://github.com/apache/incubator-nuttx/runs/5032993342?check_suite_focus=true
&gt; &amp;gt
&gt; 
<https://github.com/apache/incubator-nuttx/runs/5032993342?check_suite_focus=true&amp;gt&gt;
&gt; ;
&gt; &amp;gt; how solve this problem?
&gt; &amp;gt; Best regards,
&gt; &amp;gt; Zou

Reply via email to