Disko Forum logo Login  |  Register  |  Lost Password
<< Start < Prev 1 2 3 Next > End >>
Cross Compiler DISKO-1.6.0 to DM6446

Bermuda
Posts: 21
graphgraph

Re:Cross Compiler DISKO-1.6.0 to DM6446 4 Years, 5 Months ago  
I have already install that version of bitbake.

Here is some error message I got:

bermuda@BERMUDA-MMN:~/OE$ bitbake disko-image
/usr/lib/pymodules/python2.6/bb/COW.py:29: DeprecationWarning: the sets module is deprecated
import types, sets
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
NOTE: Not using a cache. Set CACHE = <directory> to enable.
ERROR: no files to build.

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
Traceback (most recent call last):
File "/usr/local/bin/bitbake", line 134, in <module>
main()
File "/usr/local/bin/bitbake", line 131, in main
cooker.cook()
File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 643, in cook
return self.buildTargets(pkgs_to_build)
File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 530, in buildTargets
bb.event.fire(bb.event.BuildStarted(buildname, targets, self.configuration.event_data))
AttributeError: 'BBConfiguration' object has no attribute 'event_data'

I goole ot but sill no answer at all..
 
  The administrator has disabled public write access.
Cross Compiler DISKO-1.6.0 to DM6446

Matthias
Posts: 64
graphgraph

Gender: Male Disko Location: Berlin, Germany Birthdate: 1979-04-25
Re:Cross Compiler DISKO-1.6.0 to DM6446 4 Years, 5 Months ago  
Can you try bitbake -DDD disko-image? Maybe it'll give you a hint.
It doesn't even parse any receipts, so there has to be something
wrong with bitbake.
 
  The administrator has disabled public write access.
Cross Compiler DISKO-1.6.0 to DM6446

Bermuda
Posts: 21
graphgraph

Re:Cross Compiler DISKO-1.6.0 to DM6446 4 Years, 5 Months ago  
Here is what I saw when I type bitbake -DDD disko-image

bermuda@BERMUDA-MMN:~/omap3530$ bitbake -DDD disko-image
/usr/lib/pymodules/python2.6/bb/COW.py:29: DeprecationWarning: the sets module is deprecated
import types, sets
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
DEBUG: collecting .bb files
NOTE: Not using a cache. Set CACHE = <directory> to enable.
ERROR: no files to build.

NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
DEBUG: parsing complete
DEBUG: update_data()
Traceback (most recent call last):
File "/usr/local/bin/bitbake", line 134, in <module>
main()
File "/usr/local/bin/bitbake", line 131, in main
cooker.cook()
File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 643, in cook
return self.buildTargets(pkgs_to_build)
File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 530, in buildTargets
bb.event.fire(bb.event.BuildStarted(buildname, targets, self.configuration.event_data))
AttributeError: 'BBConfiguration' object has no attribute 'event_data'
bermuda@BERMUDA-MMN:~/omap3530$

also I m curious about why I type bitbake --version

I saw

bermuda@BERMUDA-MMN:~/omap3530$ bitbake --version
/usr/lib/pymodules/python2.6/bb/COW.py:29: DeprecationWarning: the sets module is deprecated
import types, sets
BitBake Build Tool Core version 1.8.12, bitbake version 1.8.8

but I'm very sure that I have install bitbake 1.8.18

by typing

./setup install

in the folder of bitbake 1.8.18 is ther any wrong here?
 
  The administrator has disabled public write access.
Cross Compiler DISKO-1.6.0 to DM6446

Matthias
Posts: 64
graphgraph

Gender: Male Disko Location: Berlin, Germany Birthdate: 1979-04-25
Re:Cross Compiler DISKO-1.6.0 to DM6446 4 Years, 5 Months ago  
Did you set your PATH environment variable correctly?
You can set it like this:

export PATH=<path-to-bitbake-1.8.18-binary>:$PATH

Then you can try

which bitbake

to check whether it's called from the correct location.
 
  The administrator has disabled public write access.
Cross Compiler DISKO-1.6.0 to DM6446

Bermuda
Posts: 21
graphgraph

Re:Cross Compiler DISKO-1.6.0 to DM6446 4 Years, 5 Months ago  
after fix the problem of bitbake...

I still get the error message...

DEBUG: setVarFlag(do_package_update_index_ipk, depends, ipkg-utils-native:do_populate_staging, data)
DEBUG: setVarFlag(do_package_write_ipk, dirs, ${D}, data)
DEBUG: BB classes/sanity.bbclass: handle(data, include)
DEBUG: Using '/home/bermuda/oe/angstrom-dev/cache/glibc/beagleboard/bb_persist_data.sqlite3' as the persistent data cache
DEBUG: Clearing SRCREV cache due to cache policy of: clear
DEBUG: Processing COLLECTIONS (/home/bermuda/oe/berlinux /home/bermuda/oe/berlinux/beagleboard /home/bermuda/oe/openembedded)
ERROR: Openembedded's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:

Using dash as /bin/sh causes various subtle build problems, please use bash instead.


I have install all packages which may be needed...

but still some errors.@@
 
  The administrator has disabled public write access.
Cross Compiler DISKO-1.6.0 to DM6446

Matthias
Posts: 64
graphgraph

Gender: Male Disko Location: Berlin, Germany Birthdate: 1979-04-25
Re:Cross Compiler DISKO-1.6.0 to DM6446 4 Years, 5 Months ago  
It looks like OpenEmbedded doesn't like the dash shell.
If you set the link /bin/sh to /bin/bash this error should be fixed.
 
  The administrator has disabled public write access.
<< Start < Prev 1 2 3 Next > End >>
Powered by FireBoard
get the latest posts directly to your desktop