OPencv 3.1 with Rocko #rocko

rohit jadhav

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>
 *** 0002:populate_packages(d)
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')
     1107:    # Sanity check PACKAGES for duplicates
     1108:    # Sanity should be moved to sanity.bbclass once we have the infrastucture
 *** 1109:    package_list = []
     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 '' 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/ failed with exit code

does any one guide me throgh this ?

Join { to automatically receive all group messages.