* OPencv 3.1 with Rocko #rocko
@ 2021-04-01 12:28 rohitbjadhav1
2021-04-01 16:58 ` [yocto] " Chuck Wolber
0 siblings, 1 reply; 4+ messages in thread
From: rohitbjadhav1 @ 2021-04-01 12:28 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 1537 bytes --]
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 ?
[-- Attachment #2: Type: text/html, Size: 2058 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [yocto] OPencv 3.1 with Rocko #rocko
2021-04-01 12:28 OPencv 3.1 with Rocko #rocko rohitbjadhav1
@ 2021-04-01 16:58 ` Chuck Wolber
2021-04-01 18:04 ` rohitbjadhav1
0 siblings, 1 reply; 4+ messages in thread
From: Chuck Wolber @ 2021-04-01 16:58 UTC (permalink / raw)
To: rohitbjadhav1; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1897 bytes --]
Did you try doing a cleansstate on opencv and attempting the build again?
..Ch:W..
On Thu, Apr 1, 2021 at 5:28 AM <rohitbjadhav1@gmail.com> 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*
[-- Attachment #2: Type: text/html, Size: 2489 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: OPencv 3.1 with Rocko #rocko
2021-04-01 16:58 ` [yocto] " Chuck Wolber
@ 2021-04-01 18:04 ` rohitbjadhav1
2021-04-01 18:10 ` rohitbjadhav1
0 siblings, 1 reply; 4+ messages in thread
From: rohitbjadhav1 @ 2021-04-01 18:04 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 142 bytes --]
Thank you Chuck Wolber for valuable response.
Yeah I have tried it with cleanstate on opencv and build it again but still did not worked.
[-- Attachment #2: Type: text/html, Size: 150 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: OPencv 3.1 with Rocko #rocko
2021-04-01 18:04 ` rohitbjadhav1
@ 2021-04-01 18:10 ` rohitbjadhav1
0 siblings, 0 replies; 4+ messages in thread
From: rohitbjadhav1 @ 2021-04-01 18:10 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 22 bytes --]
Observed same error.
[-- Attachment #2: Type: text/html, Size: 22 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-01 18:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 12:28 OPencv 3.1 with Rocko #rocko rohitbjadhav1
2021-04-01 16:58 ` [yocto] " Chuck Wolber
2021-04-01 18:04 ` rohitbjadhav1
2021-04-01 18:10 ` rohitbjadhav1
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.