[RTEMS Project] #4191: MSYS2 build error

RTEMS trac trac at rtems.org
Fri Nov 27 09:34:42 UTC 2020

#4191: MSYS2 build error
  Reporter:  rmueller  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:
 Component:  admin     |    Version:  6
  Severity:  normal    |   Keywords:
Blocked By:            |   Blocking:
 I think this is an issue which has happended before:


 However, its happening again for me:

 When running the RTEMS RSB to install the toolsuite:

 ../source-builder/sb-set-builder --prefix=$RTEMS_INST 6/rtems-arm

 RTEMS Source Builder - Set Builder, 6 (31dd1ab4424e modified)
 Build Set: 6/rtems-arm
 Build Set: 6/rtems-autotools.bset
 Build Set: 6/rtems-autotools-internal.bset
 config: tools/rtems-autoconf-2.69-1.cfg
 reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-w64-mingw32-1.xml
 config: tools/rtems-gdb-head.cfg
 error: shell macro failed: sh -c "/mingw64/bin/python2-config --ldflags |
 awk 'BEGIN{FS=\"
 \"}/python/{for(i=1;i<NF;++i)if(match($i,\".*lpython.*\")) print
 \"lib\"substr($i,3)\"*\";}'": 1: awk: cmd. line:1: BEGIN{FS="
 "}/python/{for(i=1;i<NF;++i)if(match(,".*lpython.*")) print
 awk: cmd. line:1:                                                 ^ syntax
 awk: cmd. line:1: BEGIN{FS="
 "}/python/{for(i=1;i<NF;++i)if(match(,".*lpython.*")) print
 awk: cmd. line:1:
 ^ 1 is invalid as number of arguments for match
 close failed in file object destructor:
 sys.excepthook is missing
 lost sys.stderr
 Build Set: Time 0:07:20.475176

 Anyone have an idea what might cause this? I am using MinGW64 like
 recommended in the QuickStart guide

Ticket URL: <http://devel.rtems.org/ticket/4191>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list