[oe-users] bb.parse.ParseError: Could not inherit file classes/package_ipk.bbclass

Yan Seiner yan at seiner.com
Wed Oct 10 14:07:46 UTC 2007


I built a bootstrap_image for the ts72xx.  Turns out that the defconfig 
for the kernel doesn't include IDE support, so the TS7200 won't 
recognize the CF card.  So I modified the config to include IDE support.

Now on trying to rerun bitbake bootstrap_image I get:

yan at dionysus:~/oe$ bitbake bootstrap-image
NOTE: Handling BitBake files: - (4739/4739) [100 %]
NOTE: Parsing finished. 4508 cached, 0 parsed, 231 skipped, 0 masked.
NOTE: build 200710100700: started

OE Build Configuration:
BB_VERSION     = "1.8.9"
OE_REVISION    = "57d4969164263d2e6a79acef3ffe321fe7ac12ad"
TARGET_ARCH    = "arm"
TARGET_OS      = "linux-gnueabi"
MACHINE        = "ts72xx"
DISTRO         = "angstrom"
DISTRO_VERSION = "2008.1-test-20071010"
TARGET_FPU     = "soft"

NOTE: Resolving missing task queue dependencies
NOTE: preferred version 2.6.1 of glibc not available (for item 
virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 1443 of 1456 (ID: 512, 
/home/nfs/yan/oe/org.openembedded.dev/packages/linux/linux_2.6.22.6.bb, 
do_fetch)
ERROR: Build of 
/home/nfs/yan/oe/org.openembedded.dev/packages/linux/linux_2.6.22.6.bb 
do_fetch failed
Traceback (most recent call last):
  File "./bitbake/bin/bitbake", line 134, in ?
    main()
  File "./bitbake/bin/bitbake", line 131, in main
    cooker.cook()
  File "/home/nfs/yan/oe/bitbake/lib/bb/cooker.py", line 565, in cook
    return self.buildTargets(pkgs_to_build)
  File "/home/nfs/yan/oe/bitbake/lib/bb/cooker.py", line 477, in 
buildTargets
    failures = rq.execute_runqueue()
  File "/home/nfs/yan/oe/bitbake/lib/bb/runqueue.py", line 427, in 
execute_runqueue
    self.execute_runqueue_internal()
  File "/home/nfs/yan/oe/bitbake/lib/bb/runqueue.py", line 555, in 
execute_runqueue_internal
    self.cooker.tryBuild(fn, False)
  File "/home/nfs/yan/oe/bitbake/lib/bb/cooker.py", line 125, in tryBuild
    the_data = self.bb_cache.loadDataFull(fn, self.configuration.data)
  File "/home/nfs/yan/oe/bitbake/lib/bb/cache.py", line 134, in loadDataFull
    bb_data, skipped = self.load_bbfile(fn, cfgData)
  File "/home/nfs/yan/oe/bitbake/lib/bb/cache.py", line 365, in load_bbfile
    bb_data = parse.handle(bbfile, bb_data) # read .bb data
  File "/home/nfs/yan/oe/bitbake/lib/bb/parse/__init__.py", line 71, in 
handle
    return h['handle'](fn, data, include)
  File "/home/nfs/yan/oe/bitbake/lib/bb/parse/parse_py/BBHandler.py", 
line 132, in handle
    inherit(i, d)
  File "/home/nfs/yan/oe/bitbake/lib/bb/parse/parse_py/BBHandler.py", 
line 76, in inherit
    include(fn, file, d, "inherit")
  File "/home/nfs/yan/oe/bitbake/lib/bb/parse/parse_py/ConfHandler.py", 
line 110, in include
    raise ParseError("Could not %(error_out)s file %(fn)s" % vars() )
bb.parse.ParseError: Could not inherit file classes/package_ipk.bbclass
ERROR: Task 512 
(/home/nfs/yan/oe/org.openembedded.dev/packages/linux/linux_2.6.22.6.bb, 
do_fetch) failed
NOTE: Tasks Summary: Attempted 1442 tasks of which 1442 didn't need to 
be rerun and 1 failed.
ERROR: 
'/home/nfs/yan/oe/org.openembedded.dev/packages/linux/linux_2.6.22.6.bb' 
failed

I've checked and this error occurs no matter what traget I pick; bitbake 
nano fails with the same error but in the nano.bb.

Could someone please clue me in?  I'm new to bitbake and a bit frustrated...

--Yan

-- 
  o__
  ,>/'_          o__
  (_)\(_)        ,>/'_          o__
Yan Seiner      (_)\(_)         ,>/'_   o__     o__
Certified Personal Trainer     (_)\(_)  ,>/'_   ,>/'_
Licensed Professional Engineer         (_)\(_) (_)\(_)

Linux stuff has made big progress over the competition. When things sit and don't start right away, we have a watch, and those poor guys have to settle for an hourglass.





More information about the Openembedded-users mailing list