[yocto] python-numpy RDEPENDS not honored?

Aaron Cohen aaron at assonance.org
Thu May 9 13:48:35 PDT 2019


I think the problem is in the python-numpy_1.14.5.bb recipe.

It does: RDEPENDS_${PN}_class-target_append = ...

where it seems to need to be: RDEPENDS_${PN}_append_class-target = ...

Note the position of the word append.

If someone wanted to point me in the right direction, I could try to make a
qa task that would discover this sort of error if it seems feasible?

--Aaron


On Thu, May 9, 2019 at 4:15 PM Aaron Cohen <aaron at assonance.org> wrote:

> python-numpy is being installed on my image as a dependency of one of my
> packages.
>
> However, none of python-numpy's RDEPENDS are currently being included on
> the image.
>
> When I run bitbake -e python-numpy > numpy.txt, I see that for some
> reason, the RDEPENDS is being overridden to a nearly empty value:
>
> # $RDEPENDS_python-numpy [5 operations]
>> #   append
>> /home/joel-cohen/code/juevos/poky/meta/classes/distutils-base.bbclass:2
>> #     "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' ==
>> 'class-target']}"
>> #   set
>> /home/joel-cohen/code/juevos/poky/meta/recipes-devtools/python-numpy/python-numpy.inc:112
>> #     "${PYTHON_PN}-unittest                   ${PYTHON_PN}-difflib
>>              ${PYTHON_PN}-pprint                   ${PYTHON_PN}-pickle
>>              ${PYTHON_PN}-shell                   ${PYTHON_PN}-nose
>>            ${PYTHON_PN}-doctest                   ${PYTHON_PN}-datetime
>>                ${PYTHON_PN}-distutils                   ${PYTHON_PN}-misc
>>                  ${PYTHON_PN}-mmap
>>  ${PYTHON_PN}-netclient                   ${PYTHON_PN}-numbers
>>      ${PYTHON_PN}-pydoc                   ${PYTHON_PN}-pkgutil
>>      ${PYTHON_PN}-email                   ${PYTHON_PN}-compression
>>          ${PYTHON_PN}-ctypes                   ${PYTHON_PN}-threading "
>> #   rename from RDEPENDS_${PN} data.py:117 [expandKeys]
>> #     "${PYTHON_PN}-unittest                   ${PYTHON_PN}-difflib
>>              ${PYTHON_PN}-pprint                   ${PYTHON_PN}-pickle
>>              ${PYTHON_PN}-shell                   ${PYTHON_PN}-nose
>>            ${PYTHON_PN}-doctest                   ${PYTHON_PN}-datetime
>>                ${PYTHON_PN}-distutils                   ${PYTHON_PN}-misc
>>                  ${PYTHON_PN}-mmap
>>  ${PYTHON_PN}-netclient                   ${PYTHON_PN}-numbers
>>      ${PYTHON_PN}-pydoc                   ${PYTHON_PN}-pkgutil
>>      ${PYTHON_PN}-email                   ${PYTHON_PN}-compression
>>          ${PYTHON_PN}-ctypes                   ${PYTHON_PN}-threading "
>> #   override[class-native]:set
>> /home/joel-cohen/code/juevos/poky/meta/recipes-devtools/python-numpy/python-numpy.inc:114
>> #     ""
>> #   override[class-native]:rename from RDEPENDS_${PN}_class-native
>> data_smart.py:644 [renameVar]
>> #     ""
>> # pre-expansion value:
>> #   "     ${PYTHON_PN}-subprocess "
>> RDEPENDS_python-numpy="     python-subprocess "
>
>
>
> Anyone have any ideas for why this recipe doesn't seem to be behaving
> correctly?
>
> I'm using poky 2.6 at the moment.
>
> Thanks for any help,
> Aaron
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190509/b4724071/attachment.html>


More information about the yocto mailing list