Recently I have received reports of RTEMS Tools not installing when built inside the RSB. SO far I have only received these reports on Linux. The logs show waf fails to install with an error message similar to:
+ install /users/joel/rtems-4.11-work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-root-joel/users/joel/rtems-4.11-work/tools/bin/rtems-test (from tester/rtems-test)
+ install /users/joel/rtems-4.11-work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-root-joel/users/joel/rtems-4.11-work/tools/share/rtems/tester/config/base.cfg (from tester/config/base.cfg)
+ install /users/joel/rtems-4.11-work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-root-joel/users/joel/rtems-4.11-work/tools/share/rtems/tester/config/checks.cfg (from tester/config/checks.cfg)
Waf: Leaving directory `/users/joel/rtems-4.11-work/rtems-source-builder/rtems/sources/git/rtems-tools.git/build'
Build failed
Traceback (most recent call last):
File "/users/joel/rtems-4.11-work/rtems-source-builder/rtems/sources/git/rtems-tools.git/.waf-1.7.16-9ca17eb492c97b689870b4ff9db75880/waflib/Task.py", line 123, in process
ret=self.run()
File "/users/joel/rtems-4.11-work/rtems-source-builder/rtems/sources/git/rtems-tools.git/.waf-1.7.16-9ca17eb492c97b689870b4ff9db75880/waflib/Task.py", line 47, in run
return m1(self)
File "/users/joel/rtems-4.11-work/rtems-source-builder/rtems/sources/git/rtems-tools.git/.waf-1.7.16-9ca17eb492c97b689870b4ff9db75880/waflib/Build.py", line 460, in run
return self.generator.exec_task()
File "/users/joel/rtems-4.11-work/rtems-source-builder/rtems/sources/git/rtems-tools.git/.waf-1.7.16-9ca17eb492c97b689870b4ff9db75880/waflib/Build.py", line 476, in exec_install_files
self.generator.bld.do_install(y.abspath(),destfile,self.chmod)
File "/users/joel/rtems-4.11-work/rtems-source-builder/rtems/sources/git/rtems-tools.git/.waf-1.7.16-9ca17eb492c97b689870b4ff9db75880/waflib/Build.py", line 517, in do_install
shutil.copy2(src,tgt)
File "/usr/lib64/python2.7/shutil.py", line 131, in copy2
copystat(src, dst)
File "/usr/lib64/python2.7/shutil.py", line 98, in copystat
os.utime(dst, (st.st_atime, st.st_mtime))
OSError: [Errno 2] No such file or directory: '/users/joel/rtems-4.11-work/rtems-source-builder/rtems/build/tmp/rtems-tools-HEAD-1-root-joel/users/joel/rtems-4.11-work/tools/bin/rtems-test'
shell cmd failed: /bin/sh -ex /users/joel/rtems-4.11-work/rtems-source-builder/rtems/build/rtems-tools-HEAD-1/doit
error: building rtems-tools-HEAD-1
See error report: rsb-report-rtems-tools-HEAD-1.txt
Build Set: Time 0:17:12.968852
In 45857982a65fb66c3ca15a805c1585bb37c53b53/rtems-tools: