public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: New ugly parsing error, when SRCPV fails to expand
Date: Fri, 15 Feb 2013 01:30:44 +0100	[thread overview]
Message-ID: <20130215003044.GN3300@jama> (raw)

[-- Attachment #1: Type: text/plain, Size: 4833 bytes --]

Failing to get recipe from upstream svn repository now fails with ugly 
stack trace.

I have bitbake/master from today and it's not really google-glog fault I had network 
issue when bitbake was parsing, but error message should look better (it looked better
before)

Parsing recipes...ERROR: Error executing a python function in <code>:
ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command failed with exit
 code 1, output:
svn: E175002: Unable to connect to a repository at URL 'http://google-glog.googlecode.com/svn/trunk'
svn: E175002: OPTIONS of 'http://google-glog.googlecode.com/svn/trunk': Could not resolve hostname `google-glog.googlecode.com': Host not found (http://google-glog.googlecode.com
)


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_620__OE_shr_core_openembedded_core_meta_classes_base_bbclass", line 209, in __anon_620__OE_shr_core_openembedded_core_meta_classes_base_bbclass
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 503, in getVar
ERROR:     return self.expand(value, var)
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 336, in expand
ERROR:     return self.expandWithRefs(s, varname).value
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 317, in expandWithRefs
ERROR:     s = __expand_var_regexp__.sub(varparse.var_sub, s)
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 97, in var_sub
ERROR:     var = self.d.getVar(key, True)
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 503, in getVar
ERROR:     return self.expand(value, var)
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 336, in expand
ERROR:     return self.expandWithRefs(s, varname).value
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 317, in expandWithRefs
ERROR:     s = __expand_var_regexp__.sub(varparse.var_sub, s)
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 97, in var_sub
ERROR:     var = self.d.getVar(key, True)
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 503, in getVar
ERROR:     return self.expand(value, var)
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 336, in expand
ERROR:     return self.expandWithRefs(s, varname).value
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 317, in expandWithRefs
ERROR:     s = __expand_var_regexp__.sub(varparse.var_sub, s)
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 97, in var_sub
ERROR:     var = self.d.getVar(key, True)
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 503, in getVar
ERROR:     return self.expand(value, var)
ERROR:
ERROR:   File "/OE/shr-core/bitbake/lib/bb/data_smart.py", line 336, in expand
ERROR:     return self.expandWithRefs(s, varname).value
ERROR:
ERROR:   File "/OE/shr-core/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_620__OE_shr_core_openembedded_core_meta_classes_base_bbclass(d)
ERROR:      0002:__anon_227__OE_shr_core_openembedded_core_meta_classes_package_bbclass(d)
ERROR:      0003:__anon_20__OE_shr_core_openembedded_core_meta_classes_blacklist_bbclass(d)
ERROR:      0004:__anon_20__OE_shr_core_openembedded_core_meta_classes_debian_bbclass(d)
ERROR:      0005:__anon_474__OE_shr_core_openembedded_core_meta_classes_package_ipk_bbclass(d)
ERROR: [From file: '<code>', lineno: 1, function: <module>]
ERROR:      0205:    #
ERROR:      0206:    override = d.getVar('SRC_URI_OVERRIDES_PACKAGE_ARCH', True)
ERROR:      0207:    if override != '0':
ERROR:      0208:        paths = []
ERROR:  *** 0209:        fpaths = (d.getVar('FILESPATH', True) or '').split(':')
ERROR:      0210:        machine = d.getVar('MACHINE', True)
ERROR:      0211:        for p in fpaths:
ERROR:      0212:            if os.path.basename(p) == machine and os.path.isdir(p):
ERROR:      0213:                paths.append(p)
ERROR: [From file: '__anon_620__OE_shr_core_openembedded_core_meta_classes_base_bbclass', lineno: 209, function: __anon_620__OE_shr_core_openembedded_core_meta_classes_base_bbclass]
ERROR: Failed to parse recipe: /OE/shr-core/meta-openembedded/meta-oe/recipes-support/google-glog/google-glog_svn.bb
ERROR: Command execution failed: Exited with 1

Summary: There were 70 ERROR messages shown, returning a non-zero exit code.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

                 reply	other threads:[~2013-02-15  0:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20130215003044.GN3300@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox