Did you try doing a cleansstate on opencv and attempting the build again?

..Ch:W..

On Thu, Apr 1, 2021 at 5:28 AM <[email protected]> wrote:

> Observing following error
> while generationg rootfs with Packages of opencv 2.4 and 3.1
>
> RROR: opencv-3.1+gitAUTOINC+92387b1ef8-r0 do_package: Error executing a
> python function in exec_python_func() autogenerated:
>
> The stack trace of python calls that resulted in this exception/failure
> was:
> File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
>      0001:
>  *** 0002:populate_packages(d)
>      0003:
> File:
> '/home/tel/imx_yocto_Rocko/sources/poky/meta/classes/package.bbclass',
> lineno: 1109, function: populate_packages
>      1105:        d.setVar('FILES_%s' % src_package_name, '/usr/src/debug')
>      1106:
>      1107:    # Sanity check PACKAGES for duplicates
>      1108:    # Sanity should be moved to sanity.bbclass once we have the
> infrastucture
>  *** 1109:    package_list = []
>      1110:
>      1111:    for pkg in packages.split():
>      1112:        if pkg in package_list:
>      1113:            msg = "%s is listed in PACKAGES multiple times, this
> leads to packaging errors." % pkg
> Exception: AttributeError: module 'bb.data' has no attribute 'setVar'
>
> ERROR: opencv-3.1+gitAUTOINC+92387b1ef8-r0 do_package: Function failed:
> populate_packages
> ERROR: Logfile of failure stored in:
> /home/tel/imx_yocto_Rocko/build_imx6ull/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/opencv/3.1+gitAUTOINC+92387b1ef8-r0/temp/log.do_package.17885
> ERROR: Task
> (/home/tel/imx_yocto_Rocko/sources/meta-openembedded/meta-oe/recipes-support/opencv/opencv_3.1.bb:do_package)
> failed with exit code
>
> does any one guide me throgh this ?
> 
>
>

-- 
*"Perfection must be reached by degrees; she requires the slow hand of
time." - Voltaire*
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53003): https://lists.yoctoproject.org/g/yocto/message/53003
Mute This Topic: https://lists.yoctoproject.org/mt/81774364/21656
Mute #rocko:https://lists.yoctoproject.org/g/yocto/mutehashtag/rocko
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to