This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using bitbake to build Arago Filesystem Get Python failure

Other Parts Discussed in Thread: AM1808

Trying to build base filesystem with the Arago tools for my AM1808 Evaluation board.

 

following TI and Arago wiki

  > http://www.arago-project.org/wiki/index.php/Setting_Up_Build_Environment

 

When I run

$ bitbake arago-base-image

build fails after a few moments  with

ERROR: Error in executing: /home/ipv6nm/oe/arago-oe-dev/recipes/coreutils/coreutils-native_8.5.bb
ERROR: Exception:exceptions.AttributeError Message:'str' object has no attribute 'partition'
ERROR: Printing the environment of the function
ERROR: Error in executing: /home/ipv6nm/oe/arago-oe-dev/recipes/coreutils/coreutils-native_8.5.bb
ERROR: Exception:exceptions.AttributeError Message:'str' object has no attribute 'partition'
ERROR: Printing the environment of the function

Can someone assist with this? How can I get a hold of a FAE in the Dallas Area.

Thanks

 

Bill

 

Full log:

$ bitbake arago-base-image
NOTE: Handling BitBake files: \ (8580/8580) [100 %]
NOTE: Parsing finished. 7738 cached, 476 parsed, 366 skipped, 176 masked.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 34 of 972 (ID: 135, /home/ipv6nm/oe/arago-oe-dev/recipes/coreutils/coreutils-native_8.5.bb, do_populate_sysroot)
ERROR: Error in executing: /home/ipv6nm/oe/arago-oe-dev/recipes/coreutils/coreutils-native_8.5.bb
ERROR: Exception:exceptions.AttributeError Message:'str' object has no attribute 'partition'
ERROR: Printing the environment of the function
ERROR: Error in executing: /home/ipv6nm/oe/arago-oe-dev/recipes/coreutils/coreutils-native_8.5.bb
ERROR: Exception:exceptions.AttributeError Message:'str' object has no attribute 'partition'
ERROR: Printing the environment of the function
ERROR:  0038:
ERROR:  0039:        bb.build.exec_func("sysroot_stage_all", d)
ERROR:  0040:        #os.system('cp -pPR %s/* %s/' % (dest, sysrootdest))
ERROR:  0041:        for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split():
ERROR:  0042:            bb.build.exec_func(f, d)
ERROR:  0043:        bb.build.exec_func("packagedstaging_fastpath", d)
ERROR:  0044:
ERROR:  0045:        lock = bb.utils.lockfile(lockfile)
ERROR:  0046:        os.system(bb.data.expand('cp -pPR ${SYSROOT_DESTDIR}${TMPDIR}/* ${TMPDIR}/', d))
ERROR: Build of /home/ipv6nm/oe/arago-oe-dev/recipes/coreutils/coreutils-native_8.5.bb do_populate_sysroot failed
Traceback (most recent call last):
  File "/home/ipv6nm/oe/arago-bitbake/bin/bitbake", line 143, in ?
    main()
  File "/home/ipv6nm/oe/arago-bitbake/bin/bitbake", line 140, in main
    cooker.cook()
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/cooker.py", line 640, in cook
    return self.buildTargets(pkgs_to_build)
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/cooker.py", line 547, in buildTargets
    failures = rq.execute_runqueue()
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/runqueue.py", line 841, in execute_runqueue
    self.execute_runqueue_internal()
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/runqueue.py", line 950, in execute_runqueue_internal
    self.cooker.tryBuild(fn)
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/cooker.py", line 136, in tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/cooker.py", line 110, in tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/build.py", line 283, in exec_task
    exec_func(task, localdata)
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/build.py", line 120, in exec_func
    exec_func_python(func, d)
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/build.py", line 141, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/utils.py", line 185, in better_exec
    exec code in context
  File "do_populate_sysroot", line 49, in ?
  File "do_populate_sysroot", line 42, in do_populate_sysroot
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/build.py", line 120, in exec_func
    exec_func_python(func, d)
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/build.py", line 141, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/ipv6nm/oe/arago-bitbake/lib/bb/utils.py", line 185, in better_exec
    exec code in context
  File "relocatable_binaries_preprocess", line 4, in ?
  File "relocatable_binaries_preprocess", line 2, in relocatable_binaries_preprocess
  File "<bb>", line 7, in rpath_replace
  File "<bb>", line 42, in process_dir
AttributeError: 'str' object has no attribute 'partition'
ERROR: Task 135 (/home/ipv6nm/oe/arago-oe-dev/recipes/coreutils/coreutils-native_8.5.bb, do_populate_sysroot) failed
NOTE: Tasks Summary: Attempted 33 tasks of which 33 didn't need to be rerun and 1 failed.
ERROR: '/home/ipv6nm/oe/arago-oe-dev/recipes/coreutils/coreutils-native_8.5.bb' failed