[Bug 4980] New: Error in executing: X.bb file (cannot build any .bb file)
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Tue Jan 13 19:41:38 UTC 2009
http://bugs.openembedded.net/show_bug.cgi?id=4980
Summary: Error in executing: X.bb file (cannot build any .bb
file)
Classification: Unclassified
Product: Openembedded
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: P4
Component: org.openembedded.dev
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: kristoffer.ericson at gmail.com
Using distro JLime-2009.1 (got same result with JLime-Mongo). I got python
version 2.6.1. Everything goes smoothly up to building the crossenvironment,
after that any package will fail with same message.
My toolchain is targetting arm softfloat.
Ive triple checked this by rebuilding everything.
Log :
Type 'help' for more information, press CTRL-D to exit.
BB>> bitbake nano
SHELL: ERROR: 'bitbake' command is not a valid command.
BB>> build nano
SHELL: This command needs to parse bbfiles...
NOTE: Handling BitBake files: \ (6392/6392) [100 %]
NOTE: Parsing finished. 6105 cached, 0 parsed, 287 skipped, 0 masked.
NOTE: Cache is clean, not saving.
SHELL: Building nano
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for virtual/arm-linux-binutils
(binutils-cross, external-toolchain);
NOTE: consider defining PREFERRED_PROVIDER_virtual/arm-linux-binutils
NOTE: multiple providers are available for linux-libc-headers
(linux-libc-headers, external-toolchain);
NOTE: consider defining PREFERRED_PROVIDER_linux-libc-headers
NOTE: multiple providers are available for virtual/arm-linux-libc-initial
(glibc-initial, eglibc-initial);
NOTE: consider defining PREFERRED_PROVIDER_virtual/arm-linux-libc-initial
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 253 of 255 (ID: 9,
/home/kristoffer/work/projects/git/clean/openembedded.git/packages/nano/nano_2.0.7.bb,
do_package_write_tar)
NOTE: package nano-2.0.7: started
NOTE: package nano-2.0.7-r0: task do_package_write_tar: started
ERROR: Error in executing:
/home/kristoffer/work/projects/git/clean/openembedded.git/packages/nano/nano_2.0.7.bb
ERROR: Exception:<type 'exceptions.TypeError'> Message:not all arguments
converted during string formatting
ERROR: Printing the environment of the function
ERROR: 0047: tarfn = bb.data.getVar('PKGFN', localdata, 1)
ERROR: 0048: os.chdir(root)
ERROR: 0049: from glob import glob
ERROR: 0050: if not glob('*'):
ERROR: 0051: bb.note("Not creating empty archive for %s" %
(pkg, bb.data.expand('${PV}-${PR}${DISTRO_PR}', d, True)))
ERROR: 0052: continue
ERROR: 0053: ret = os.system("tar -czf %s %s" % (tarfn, '.'))
ERROR: 0054: if ret != 0:
ERROR: 0055: bb.error("Creation of tar %s failed." % tarfn)
ERROR: Error in executing:
/home/kristoffer/work/projects/git/clean/openembedded.git/packages/nano/nano_2.0.7.bb
ERROR: Exception:<type 'exceptions.TypeError'> Message:not all arguments
converted during string formatting
ERROR: Printing the environment of the function
ERROR: Build of
/home/kristoffer/work/projects/git/clean/openembedded.git/packages/nano/nano_2.0.7.bb
do_package_write_tar failed
Traceback (most recent call last):
File "/usr/bin/bitbake", line 143, in <module>
main()
File "/usr/bin/bitbake", line 140, in main
cooker.cook()
File "/usr/lib/python2.6/site-packages/bb/cooker.py", line 609, in cook
self.interactiveMode()
File "/usr/lib/python2.6/site-packages/bb/cooker.py", line 386, in
interactiveMode
shell.start( self )
File "/usr/lib/python2.6/site-packages/bb/shell.py", line 823, in start
bbshell.main()
File "/usr/lib/python2.6/site-packages/bb/shell.py", line 798, in main
self.processCommand( tokens[0], tokens[1:] or "" )
File "/usr/lib/python2.6/site-packages/bb/shell.py", line 755, in
processCommand
result = function( self.commands, params )
File "/usr/lib/python2.6/site-packages/bb/shell.py", line 177, in build
rq.execute_runqueue()
File "/usr/lib/python2.6/site-packages/bb/runqueue.py", line 842, in
execute_runqueue
self.execute_runqueue_internal()
File "/usr/lib/python2.6/site-packages/bb/runqueue.py", line 951, in
execute_runqueue_internal
self.cooker.tryBuild(fn)
File "/usr/lib/python2.6/site-packages/bb/cooker.py", line 137, in tryBuild
return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
File "/usr/lib/python2.6/site-packages/bb/cooker.py", line 111, in
tryBuildPackage
bb.build.exec_task('do_%s' % task, the_data)
File "/usr/lib/python2.6/site-packages/bb/build.py", line 278, in exec_task
exec_func(task, localdata)
File "/usr/lib/python2.6/site-packages/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/usr/lib/python2.6/site-packages/bb/build.py", line 136, in
exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/usr/lib/python2.6/site-packages/bb/utils.py", line 171, in better_exec
exec code in context
File "do_package_write_tar", line 5, in <module>
File "do_package_write_tar", line 3, in do_package_write_tar
File "/usr/lib/python2.6/site-packages/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/usr/lib/python2.6/site-packages/bb/build.py", line 136, in
exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/usr/lib/python2.6/site-packages/bb/utils.py", line 171, in better_exec
exec code in context
File "do_package_tar", line 57, in <module>
File "do_package_tar", line 51, in do_package_tar
TypeError: not all arguments converted during string formatting
ERROR: Task 9
(/home/kristoffer/work/projects/git/clean/openembedded.git/packages/nano/nano_2.0.7.bb,
do_package_write_tar) failed
NOTE: Tasks Summary: Attempted 252 tasks of which 252 didn't need to be rerun
and 1 failed.
ERROR:
'/home/kristoffer/work/projects/git/clean/openembedded.git/packages/nano/nano_2.0.7.bb'
failed
BB>>
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list