* New ugly parsing error, when SRCPV fails to expand
@ 2013-02-15 0:30 Martin Jansa
0 siblings, 0 replies; only message in thread
From: Martin Jansa @ 2013-02-15 0:30 UTC (permalink / raw)
To: openembedded-core
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-15 0:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-15 0:30 New ugly parsing error, when SRCPV fails to expand Martin Jansa
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.