Is anybody able to actually BUILD the Angstrom release?

David Hagood david.hagood at aeroflex.com
Fri Dec 19 22:00:36 UTC 2008


On Fri, 2008-12-19 at 16:41 -0500, Philip Balister wrote:

> Whitelist all the vars that you are using to set set locations and see 
> if that helps, and/or reduce the number of vars you are using. Once you 
> get the build going, then you can add them back one by one.

Again: once I get to invoking the "bitbake" command, the only variables
I care about are BBPATH, CACHE, and BBFILES.

Indeed, I just UNSET ALL THE OTHER VARIABLES, and I have the same
problem.

The values of BBPATH, CACHE, and BBFILES are fully expanded in the
environment, to whit:

echo "$BBPATH"; echo "$CACHE";echo "$BBFILES"
/space/OpenEmbedded/build:/space/OpenEmbedded/openembedded
/space/OpenEmbedded/cache
/space/OpenEmbedded/openembedded/packages/*/*.bb

OK, let's cut to the chase: from a fresh command prompt:
Yddhagood at sage:..OpenEmbedded/build> export
BBPATH="/space/OpenEmbedded/build:pace/OpenEmbedded/openembedded"
ddhagood at sage:..OpenEmbedded/build> export
CACHE="/space/OpenEmbedded/cache"
ddhagood at sage:..OpenEmbedded/build> export
BBFILES="/space/OpenEmbedded/openembedded/packages/*/*.bb
> "
ddhagood at sage:..OpenEmbedded/build> export PATH=
$PATH:/space/bitbake-1.8.12/bin/
ddhagood at sage:..OpenEmbedded/build> bitbake task-base
ERROR: no files to build.

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200812191559: started
NOTE: <type 'exceptions.IndexError'>:list index out of range while
evaluating:
${@base_detect_branch(d)}
Traceback (most recent call last):
  File "/space/bitbake-1.8.12/bin/bitbake", line 143, in <module>
    main()
  File "/space/bitbake-1.8.12/bin/bitbake", line 140, in main
    cooker.cook()
  File "/space/bitbake-1.8.12/lib/bb/cooker.py", line 644, in cook
    return self.buildTargets(pkgs_to_build)
  File "/space/bitbake-1.8.12/lib/bb/cooker.py", line 531, in
buildTargets
    bb.event.fire(bb.event.BuildStarted(buildname, targets,
self.configuration.event_data))
  File "/space/bitbake-1.8.12/lib/bb/event.py", line 67, in fire
    if tmpHandler(event) == Handled:
  File "tmpHandler(e)", line 31, in tmpHandler
  File "/space/bitbake-1.8.12/lib/bb/data.py", line 97, in getVar
    return d.getVar(var,exp)
  File "/space/bitbake-1.8.12/lib/bb/data_smart.py", line 167, in getVar
    return self.expand(value,var)
  File "/space/bitbake-1.8.12/lib/bb/data_smart.py", line 85, in expand
    s = __expand_python_regexp__.sub(python_sub, s)
  File "/space/bitbake-1.8.12/lib/bb/data_smart.py", line 71, in
python_sub
    s = eval(code)
  File "<string>", line 1, in <module>
  File "<bb>", line 6, in base_detect_branch
  File "<bb>", line 3, in base_get_metadata_git_branch
  File "<bb>", line 4, in base_get_scmbasepath
IndexError: list index out of range
ddhagood at sage:..OpenEmbedded/build> 

OK, so I HAVE NOT SET ANY OTHER VARIABLES OTHER THAN WHAT THE WIKI SAID.



Notice: This e-mail is intended solely for use of the individual or entity to which it is addressed and may contain information that is proprietary, privileged, company confidential and/or exempt from disclosure under applicable law. If the reader is not the intended recipient or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If this communication has been transmitted from a U.S. location it may also contain data subject to the International Traffic in Arms Regulations or U.S. Export Administration Regulations and cannot be disseminated, distributed or copied to foreign nationals, residing in the U.S. or abroad, without the prior approval of the U.S. Department of State or appropriate export licensing authority. If you have received this communication in error, please notify the sender by reply e-mail or collect telephone call and del
 ete or destroy all copies of this e-mail message, any physical copies made of this e-mail message and/or any file attachment(s).






More information about the Openembedded-users mailing list