#2312 closed defect (fixed)

rtems-tools built in RSB on Linux fails to install

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 4.11.1
Component: unspecified Version: 4.11
Severity: normal Keywords:
Cc: Joel Sherrill Blocked By:
Blocking:

Description

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

Change History (5)

comment:1 Changed on Mar 22, 2015 at 4:23:12 AM by Chris Johns

Owner: set to Chris Johns
Status: newassigned

comment:2 Changed on Mar 22, 2015 at 4:23:32 AM by Chris Johns

Status: assignedaccepted

comment:3 Changed on Mar 22, 2015 at 4:25:01 AM by Chris Johns <chrisj@…>

In 45857982a65fb66c3ca15a805c1585bb37c53b53/rtems-tools:

Update the version of waf.

The commit references #2312.

comment:4 Changed on Mar 27, 2015 at 3:23:41 AM by Chris Johns

Cc: Joel Sherrill added

comment:5 Changed on Mar 27, 2015 at 3:24:33 AM by Chris Johns <chrisj@…>

Resolution: fixed
Status: acceptedclosed

In f5b639bf7267b04efebe45dbd7047b573e7abe5c/rtems-tools:

rtems-tester: Remove repeated install line in wscript.

Fixes #2312.

Note: See TracTickets for help on using tickets.