[yocto] [meta-raspberrypi] error executing python function in linux-raspberrypi-dev

Sherif Omran sherifomran2000 at gmail.com
Fri Dec 15 11:24:02 PST 2017


Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
sherif at sherif-virtual-machine:~/yocto-rocko/poky/build$ bitbake
rpi-basic-image >a.txt
ERROR: /home/sherif/yocto/poky/meta-openembedded/meta-networking/
recipes-support/nis/ypbind-mt_1.38.bb: Error executing a python function in
<code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 13, function: <module>
     0009:__anon_35__home_sherif_yocto_rocko_poky_meta_classes_
devshell_bbclass(d)
     0010:__anon_101__home_sherif_yocto_rocko_poky_meta_classes_
sstate_bbclass(d)
     0011:__anon_20__home_sherif_yocto_rocko_poky_meta_classes_
blacklist_bbclass(d)
     0012:__anon_154__home_sherif_yocto_rocko_poky_meta_classes_
siteinfo_bbclass(d)
 *** 0013:__anon_31__home_sherif_yocto_poky_meta_openembedded_
meta_networking_recipes_support_nis_nis_inc(d)
     0014:__anon_23__home_sherif_yocto_rocko_poky_meta_classes_
systemd_bbclass(d)
     0015:__anon_81__home_sherif_yocto_rocko_poky_meta_classes_
update_rc_d_bbclass(d)
File: '/home/sherif/yocto/poky/meta-openembedded/meta-networking/recipes-support/nis/nis.inc',
lineno: 29, function: __anon_31__home_sherif_yocto_
poky_meta_openembedded_meta_networking_recipes_support_nis_nis_inc
     0025:# so force the package to be skipped here (this will cause a
     0026:# 'nothing provides' error)
     0027:python () {
     0028:    os = bb.data.getVar("TARGET_OS", d, 1)
 *** 0029:    if os == "linux-uclibc":
     0030:        raise bb.parse.SkipPackage("NIS functionality requires
rpcsvc/yp.h, uClibC does not provide this")
     0031:}
Exception: AttributeError: module 'bb.data' has no attribute 'getVar'

ERROR: /home/sherif/yocto/poky/meta-openembedded/meta-networking/
recipes-support/nis/yp-tools_2.14.bb: Error executing a python function in
<code>:

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 13, function: <module>
     0009:__anon_35__home_sherif_yocto_rocko_poky_meta_classes_
devshell_bbclass(d)
     0010:__anon_101__home_sherif_yocto_rocko_poky_meta_classes_
sstate_bbclass(d)
     0011:__anon_20__home_sherif_yocto_rocko_poky_meta_classes_
blacklist_bbclass(d)
     0012:__anon_154__home_sherif_yocto_rocko_poky_meta_classes_
siteinfo_bbclass(d)
 *** 0013:__anon_31__home_sherif_yocto_poky_meta_openembedded_
meta_networking_recipes_support_nis_nis_inc(d)
     0014:__anon_23__home_sherif_yocto_rocko_poky_meta_classes_
systemd_bbclass(d)
File: '/home/sherif/yocto/poky/meta-openembedded/meta-networking/recipes-support/nis/nis.inc',
lineno: 29, function: __anon_31__home_sherif_yocto_
poky_meta_openembedded_meta_networking_recipes_support_nis_nis_inc
     0025:# so force the package to be skipped here (this will cause a
     0026:# 'nothing provides' error)
     0027:python () {
     0028:    os = bb.data.getVar("TARGET_OS", d, 1)
 *** 0029:    if os == "linux-uclibc":
     0030:        raise bb.parse.SkipPackage("NIS functionality requires
rpcsvc/yp.h, uClibC does not provide this")
     0031:}
Exception: AttributeError: module 'bb.data' has no attribute 'getVar'

ERROR: Failed to parse recipe: /home/sherif/yocto/poky/meta-
openembedded/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb
sherif at sherif-virtual-machine:~/yocto-rocko/poky/build$ ls



note that i am not mixing branches

On Fri, Dec 15, 2017 at 10:32 AM, Paul Barker <pbarker at toganlabs.com> wrote:

> On Fri, Dec 15, 2017 at 5:00 AM, Sherif Omran <sherifomran2000 at gmail.com>
> wrote:
> > By testing the latest update of meta-raspberry pi with the Rocko or the
> > morty branch, i get ERROR executing a python function in code (see
> > attachment).
> >
>
> Please send error messages in plain text not as an image. The image
> doesn't show the full output as well, we'd need to also see the
> earlier bitbake output including the build configuration to determine
> what's gone wrong here.
>
> --
> Paul Barker
> Togán Labs Ltd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171215/731a73c1/attachment.html>


More information about the yocto mailing list