mingw64 RSB build failure

Joel Sherrill joel at rtems.org
Fri Oct 8 18:35:46 UTC 2021


Hi

Jeff handed off a fresh Windows 10 VM with Mingw64 installed. The RSB
failed building 6/rtems-sparc with this illuminating error message:

reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-w64-mingw32-1.txt
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-w64-mingw32-1.xml
config: tools/rtems-gdb-10.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
"lib"substr(,3)"*";}
awk: cmd. line:1:                                                 ^ syntax error
awk: cmd. line:1: BEGIN{FS="
"}/python/{for(i=1;i<NF;++i)if(match(,".*lpython.*")) print
"lib"substr(,3)"*";}
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 FAILED

Any suggestions?

--joeo


More information about the devel mailing list