$ python3.7-config --cflags --libs --ldflags --embed
Usage: /usr/local/bin/python3.7-config --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir
$ echo $?
I get that with Python 3.7.9 (from lang/python37 3.7.9_1).
Without it, french/aster cannot be built.
Is it possible to add it?
Or does it exist some work-around?
A commit references this bug:
Date: Sun Jan 24 11:19:09 UTC 2021
New revision: 562462
- Chase gfortran10 and do not force Gcc any more;
- Mark french/aster BROKEN untill a solution is found for PR 252916.
(In reply to Thierry Thomas from comment #0)
It seems that the '--embed' option of the 'python-config' command was first introduced with Python 3.8:
It isn't available with Python 3.7:
I also looked at a log of french/aster, where it was successfully built (13.0-CURRENT@2ed0c8d80 with Python 3.7.9_1):
It contains the same notice regarding the missing '--embed' option of 'python-config'. So the lack of the '--embed' option doesn't seem to be the real cause of the build issues as far I can tell.
Many thanks for the analysis!
It was the only problem in the logs, that's why I thought it was the cause…
but I have to dig more!