Bug #212
closedPYTHON_EXT_SUFFIX in depend.mk
Description
Hi,
So now that wip-quadprog is building, it looks like the SYSTEM_SEARCH is wrong:
╰─>$ make show-var VARNAME=SYSTEM_SEARCH.py-quadprog 'lib/python2.7/site-packages/quadprog'
(from wip/py-crocoddyl)
the PYTHON_EXT_SUFFIX is missing. And if I just copy-paste its two-line definition from mk/sysdep/python.mk to wip/py-quadprog/depend.mk, this situation doesn't improve.
Do you have an idea about what am I missing ?
Updated by Anthony Mallet almost 5 years ago
Mmm ... PYTHON_EXT_SUFFIX is only available after the dependency
resolution, once the $WRKDIR/.sysdepends file is created and contains
the SYSTEM_FILES.python27.
In the context of SYSTEM_SEARCH, this is too early, the make process
has not restarted and not read those files yet.
I will think about a possible solution, but I'm not sure if anything
simple can be done at all ...
Updated by Anthony Mallet almost 5 years ago
- Status changed from New to Closed
Applied in changeset robotpkg|1132180db2df95e2fd05ca208fde70c1517277f3.