Waf + gccdeps on Mingw64/MSYS2?

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Dec 4 06:23:06 UTC 2019



On 04/12/2019 04:19, Chris Johns wrote:
> On 3/12/19 6:25 pm, Sebastian Huber wrote:
>> error: shell macro failed: sh -c
>> "/c/test-msys64/home/src/rsb/source-builder/sb/rtems-build-dep -c
>> x86_64-w64-mingw32-gcc  -I '-IC:/test-msys64/mingw64/include/python3.8
>> -IC:/test-msys64/mingw64/include/python3.8
>> -IC:/test-msys64/mingw64/include/python3.8
>> -IC:/test-msys64/mingw64/include/python3.8' -H Python.h": 1: sh: -c: line 0:
>> unexpected EOF while looking for matching `''> sh: -c: line 1: syntax error: unexpected end of file
> I have this ...
> 
> exe: sh -c "/d/opt/rtems/rsb.git/source-builder/sb/rtems-build-dep -c
> x86_64-w64-mingw32-gcc  -I '-IC:/msys64/mingw64/include/python2.7
> -IC:/msys64/mingw64/include/python2.7' -H Python.h"
> 
> with Python2.7 and it works.
> 
> The quoting in both look the same so it must be something in Python3 that is
> causing the issue.

What is a bit strange is that the error is reported by the "sh" shell. 
Who interprets the

sh -c "..."

line?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list