#2583 closed defect (fixed)

rtems-tools waf support is broken on Windows.

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

Description

A number of issues have been identified. They are:

  1. MSYS2 python changes the default os.sep on Windows to '/' for internal project related reasons. This breaks programs like waf that need to interact with the real Windows path separator. The MSYS2 change incorrectly tells a program Windows can support '/' however cmd.exe commands like 'type' do not support '/' in paths.
  1. Install paths are broken. Sebastian attempted a fix for MSYS2 with the 'from . import ...' change but this should not be needed and needs to be reverted and the correct install paths used.
  1. The PYO and PYC files are not being correctly installed on MSYS2. I am not sure if this is related to item 1.
  1. Windows is showing some missing waf.Scripting functions. I am not exactly sure what is happening here however adding distclean, init, and shutdown functions seems to make waf happy.

Change History (3)

comment:1 Changed on Feb 19, 2016 at 3:12:32 AM by Chris Johns

Owner: set to Chris Johns
Status: newaccepted

comment:2 Changed on Feb 19, 2016 at 3:54:32 AM by Chris Johns <chrisj@…>

Resolution: fixed
Status: acceptedclosed

In 7148caeb916b8f9bde0bbce86a32f5daf6a1e6ad/rtems-tools:

Add Windows specific waf support for MSYS2.

Limit the compilers used to gcc and clang. Clang has not been tested.
Users with MSVC install does not need to remove now.

Force the os.sep path to the standard '
' on Windows. The MSYS2 python
sets it to '/' for internal project reasons. Doing this does cause waf
problems when running configure so only do this for the build target.

Closes #2583.

comment:3 Changed on Feb 19, 2016 at 3:54:50 AM by Chris Johns <chrisj@…>

In d17dd54d717e10fa7b789cfdc58e31fbe62d7819/rtems-tools:

Add Windows specific waf support for MSYS2.

Limit the compilers used to gcc and clang. Clang has not been tested.
Users with MSVC install does not need to remove now.

Force the os.sep path to the standard '
' on Windows. The MSYS2 python
sets it to '/' for internal project reasons. Doing this does cause waf
problems when running configure so only do this for the build target.

Closes #2583.

Note: See TracTickets for help on using tickets.