[yocto] python-numpy RDEPENDS not honored?

Alexander Kanavin alex.kanavin at gmail.com
Tue May 14 11:23:01 PDT 2019


Basically if you make a patch for the numpy recipe to address this,
and post it to oe-core list, everyone would appreciate :)

Alex

On Tue, 14 May 2019 at 20:16, Aaron Cohen <aaron at assonance.org> wrote:
>
> Is there a place I should post this that would get more attention?
>
> On Thu, May 9, 2019 at 4:48 PM Aaron Cohen <aaron at assonance.org> wrote:
>>
>> 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
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list