All of lore.kernel.org
 help / color / mirror / Atom feed
From: JC <jc@vtkloud.com>
To: Paul Barker <paul@paulbarker.me.uk>
Cc: Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: raspberry layer
Date: Thu, 05 Sep 2013 09:55:19 +0200	[thread overview]
Message-ID: <522838E7.1060007@vtkloud.com> (raw)
In-Reply-To: <CANyK_8fN2_OYy6nRvud7udkS0Sp+gqWkaO7xHvJ9X5mZJ-ZC5Q@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1159 bytes --]

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




[-- Attachment #1.2: Type: text/html, Size: 2209 bytes --]

[-- Attachment #2: rpibuild.log --]
[-- Type: text/x-log, Size: 3226 bytes --]

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



  reply	other threads:[~2013-09-05  7:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-04 16:40 raspberry layer JC
2013-09-04 16:46 ` Gary Thomas
2013-09-05  7:21   ` JC
2013-09-05  7:31     ` Paul Barker
2013-09-05  7:55       ` JC [this message]
2013-09-05  8:04         ` Paul Barker
2013-09-05  8:08           ` JC
2013-09-05  8:12             ` Paul Barker
2013-09-05  8:20               ` JC
2013-09-05  8:28                 ` Paul Eggleton
2013-09-05  9:07                   ` JC

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=522838E7.1060007@vtkloud.com \
    --to=jc@vtkloud.com \
    --cc=paul@paulbarker.me.uk \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.