Exception.ValueError during build

Paul Blacquiere p_blacquiere at yahoo.co.uk
Thu Jun 5 18:43:37 UTC 2008


Hi,

While trying to build (independent of what machine or distro) I get the 
following error almost immediately.

********************************************************************
$>  bitbake helloworld-image

NOTE: Out of date cache found, rebuilding...
NOTE: Handling BitBake files: | (0001/0001) [100 %]
NOTE: Parsing finished. 0 cached, 1 parsed, 0 skipped, 0 masked.
NOTE: build 200806060630: started
NOTE: <type 'exceptions.ValueError'>:substring not found while evaluating:
${@base_get_metadata_monotone_revision(d)}
Traceback (most recent call last):
  File "/stuff/bitbake/bin/bitbake", line 134, in <module>
    main()
  File "/stuff/bitbake/bin/bitbake", line 131, in main
    cooker.cook()
  File "/stuff/bitbake/lib/bb/cooker.py", line 636, in cook
    return self.buildTargets(pkgs_to_build)
  File "/stuff/bitbake/lib/bb/cooker.py", line 527, in buildTargets
    bb.event.fire(bb.event.BuildStarted(buildname, targets, 
self.configuration.event_data))
  File "/stuff/bitbake/lib/bb/event.py", line 67, in fire
    if tmpHandler(event) == Handled:
  File "tmpHandler(e)", line 31, in tmpHandler
  File "/stuff/bitbake/lib/bb/data.py", line 97, in getVar
    return d.getVar(var,exp)
  File "/stuff/bitbake/lib/bb/data_smart.py", line 170, in getVar
    return self.expand(value,var)
  File "/stuff/bitbake/lib/bb/data_smart.py", line 85, in expand
    s = __expand_python_regexp__.sub(python_sub, s)
  File "/stuff/bitbake/lib/bb/data_smart.py", line 71, in python_sub
    s = eval(code)
  File "<string>", line 1, in <module>
  File "<bb>", line 4, in base_get_metadata_monotone_revision
  File "<bb>", line 4, in base_get_scmbasepath
ValueError: substring not found

********************************************************************************
My versions are:
Bitbake 1.8.11
Monotone: 0.37
Python: 2.5.1

I have completely started fresh, pulled bitbake, & OE.mtn.  Tried different 
distro & machine settings in my local.conf, but always the same error.  So I 
am assuming it is not a configuration error, but something broken in my 
buildchain.

Any thoughts, or pointers on where to look would be appreciated.

Regards

PaulB.





More information about the Openembedded-users mailing list