Build failure on windows

Chris Johns chrisj at rtems.org
Mon Jan 18 21:55:14 UTC 2021


On 18/1/21 2:00 pm, ND wrote:
> This is what i see 
> 
> $ /usr/bin/python3-config --ldflags --embed
>  -L/usr/lib -lpython3.8 -lcrypt -lintl -ldl

Great. For me on FreeBSD I have ...

/usr/local/bin/python3.8-config --ldflags --embed | \
awk 'BEGIN{FS=" "}/python/{for(i=1;i<NF;++i)if(match($i,".*lpython.*")) print
"lib"substr($i,3)"*";}'
libpython3.8*

Could you please run with the `--trace --dry-run` options and then search the
log file for the command? The error line you posted seems to be missing the end
that filters the output of the config command.

Chris

> 
> On Sat, Jan 16, 2021 at 3:13 AM Chris Johns <chrisj at rtems.org
> <mailto:chrisj at rtems.org>> wrote:
> 
> 
> 
>     On 16/1/21 2:10 am, ND wrote:
>     > Trying to compile RBS for riscv on windows using MSYS2 fails with
>     following error.
>     >
>     > error: shell macro failed: sh -c "/usr/bin/python3-config --ldflags --embed |
>     > awk 'BEGIN{FS=\" \"}
> 
>     What does the command ...
> 
>      /usr/bin/python3-config --ldflags --embed
> 
>     show you in an MSYS2 shell?
> 
>     > Compiling master branch.
>     > Any ideas, what might be wrong?
> 
>     The output of the command may help.
> 
>     Chris
> 


More information about the users mailing list