我试图在 linux mint 17.02 系统上使用 RTEMS Source Builder 构建 RTEMS。我收到 shell cmd failed 错误,即(错误报告的最后几行)
+ cd /home/sambeet/development/rtems/src/rtems-source-builder/rtems/build/rtems-tools-4.11-1
+ echo => rtems-tools-4.11-1:
+ echo ==> %prep:
+ pwd
+ build_top=/home/sambeet/development/rtems/src/rtems-source-builder/rtems/build/rtems-tools-4.11-1
+ rtems_tools_source=rtems-tools-4.11
+ cd /home/sambeet/development/rtems/src/rtems-source-builder/rtems/build/rtems-tools-4.11-1
+ /bin/rm -rf rtems-tools-4.11
+ ln -s /home/sambeet/development/rtems/src/rtems-source-builder/rtems/sources/git/rtems-tools.git
+ cd rtems-tools-4.11
/home/sambeet/development/rtems/src/rtems-source-builder/rtems/build/rtems-tools-4.11-1/doit: 85: cd: can't cd to rtems-tools-4.11
shell cmd failed: /bin/sh -ex /home/sambeet/development/rtems/src/rtems-source-builder/rtems/build/rtems-tools-4.11-1/doit
error: building rtems-tools-4.11-1
我们可以看到
85: cd: 不能 cd 到 rtems-tools-4.11
但是通过终端使用 cd 我们可以做到..
sambeet@Holmes ~/development/rtems/src/rtems-source-builder/rtems/build $ ls
expat-2.1.0-x86_64-linux-gnu-1
rtems-tools-4.11-1
sparc-rtems4.11-binutils-2.24-x86_64-linux-gnu-1
sparc-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-linux-gnu-1
sparc-rtems4.11-gdb-7.9-x86_64-linux-gnu-1
tmp
sambeet@Holmes ~/development/rtems/src/rtems-source-builder/rtems/build $ clear
sambeet@Holmes ~/development/rtems/src/rtems-source-builder/rtems/build $ ls
expat-2.1.0-x86_64-linux-gnu-1
rtems-tools-4.11-1
sparc-rtems4.11-binutils-2.24-x86_64-linux-gnu-1
sparc-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-linux-gnu-1
sparc-rtems4.11-gdb-7.9-x86_64-linux-gnu-1
tmp
sambeet@Holmes ~/development/rtems/src/rtems-source-builder/rtems/build $ cd rtems-tools-4.11-1/
sambeet@Holmes ~/development/rtems/src/rtems-source-builder/rtems/build/rtems-tools-4.11-1 $
谁能提供此错误的解释或解决方案?