Hi,

On 05/09/2013 09:31, Paul Barker wrote:
That looks like a parse error so the full log shouldn't be very long as that point, may be helpful to post it.

I attached rpibuild.log to this email

my local.conf changes: just added raspberrypi machine
bblayers.conf:
added
   /media/yocto/yocto/openembedded-core/meta \
   /media/yocto/yocto/meta-raspberrypi \

The README in meta-raspberrypi states that you need meta-openembedded
as well (specifically, the meta-oe layer). I'm not sure that this is
the cause of your error though.

Sorry, it is indeed added (otherwise it complains about mesa, anyway)

What branches of the different layers are you using? I just want to
make sure they're all the same. Also, what version or branch of
bitbake are you using?



As a reference, following this link http://www.pimpmypi.com/blog/blogPost.php?blogPostID=7 I got successful (well the image is not yet finished but I hadn't that specific parsing error)

I followed the exact README steps in a fresh directory for the checkout, so I am on the trunk for poky & meta-raspberrypi...

Jay



ERROR: Error executing a python function in <code>:#                                                                           | ETA:  00:00:57
ExpansionError: Failure expanding variable MAJ_VER, expression was ${@oe.utils.trim_version("2.28.2", 2)} which triggered exception AttributeError: 'module' object has no attribute 'trim_version'

ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR:   File "<code>", line 1, in <module>
ERROR: 
ERROR:   File "__anon_637__media_yocto_yocto_poky_meta_classes_base_bbclass", line 169, in __anon_637__media_yocto_yocto_poky_meta_classes_base_bbclass
ERROR: 
ERROR:   File "/media/yocto/yocto/poky/bitbake/lib/bb/data_smart.py", line 503, in getVar
ERROR:     return self.expand(value, var)
ERROR: 
ERROR:   File "/media/yocto/yocto/poky/bitbake/lib/bb/data_smart.py", line 336, in expand
ERROR:     return self.expandWithRefs(s, varname).value
ERROR: 
ERROR:   File "/media/yocto/yocto/poky/bitbake/lib/bb/data_smart.py", line 317, in expandWithRefs
ERROR:     s = __expand_var_regexp__.sub(varparse.var_sub, s)
ERROR: 
ERROR:   File "/media/yocto/yocto/poky/bitbake/lib/bb/data_smart.py", line 97, in var_sub
ERROR:     var = self.d.getVar(key, True)
ERROR: 
ERROR:   File "/media/yocto/yocto/poky/bitbake/lib/bb/data_smart.py", line 503, in getVar
ERROR:     return self.expand(value, var)
ERROR: 
ERROR:   File "/media/yocto/yocto/poky/bitbake/lib/bb/data_smart.py", line 336, in expand
ERROR:     return self.expandWithRefs(s, varname).value
ERROR: 
ERROR:   File "/media/yocto/yocto/poky/bitbake/lib/bb/data_smart.py", line 326, in expandWithRefs
ERROR:     raise ExpansionError(varname, s, exc)
ERROR: 
ERROR: The code that was being executed was:
ERROR:  *** 0001:__anon_637__media_yocto_yocto_poky_meta_classes_base_bbclass(d)
ERROR:      0002:__anon_227__media_yocto_yocto_poky_meta_classes_package_bbclass(d)
ERROR:      0003:__anon_1137__media_yocto_yocto_poky_meta_classes_package_rpm_bbclass(d)
ERROR:      0004:__anon_914__media_yocto_yocto_poky_meta_classes_insane_bbclass(d)
ERROR:      0005:__anon_20__media_yocto_yocto_poky_meta_classes_debian_bbclass(d)
ERROR: [From file: '<code>', lineno: 1, function: <module>]
ERROR:      0165:                elif all_skipped or incompatible_license(d, bad_licenses):
ERROR:      0166:                    bb.debug(1, "SKIPPING recipe %s because it's %s" % (pn, recipe_license))
ERROR:      0167:                    raise bb.parse.SkipPackage("incompatible with license %s" % recipe_license)
ERROR:      0168:
ERROR:  *** 0169:    srcuri = d.getVar('SRC_URI', True)
ERROR:      0170:    # Svn packages should DEPEND on subversion-native
ERROR:      0171:    if "svn://" in srcuri:
ERROR:      0172:        d.appendVarFlag('do_fetch', 'depends', ' subversion-native:do_populate_sysroot')
ERROR:      0173:
ERROR: [From file: '__anon_637__media_yocto_yocto_poky_meta_classes_base_bbclass', lineno: 169, function: __anon_637__media_yocto_yocto_poky_meta_classes_base_bbclass]
ERROR: Failed to parse recipe: /media/yocto/yocto/openembedded-core/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.28.2.bb
ERROR: Command execution failed: Exited with 1


_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to