All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steffen Sledz <sledz@dresearch.de>
To: openembedded-devel@lists.openembedded.org
Subject: build exception in sgmlspl-native
Date: Fri, 09 Oct 2009 11:07:24 +0200	[thread overview]
Message-ID: <4ACEFD4C.6060606@dresearch.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 6912 bytes --]

'bitbake sgmlspl-native' fails in dev-branch (with last commit
b696acdd7296726efce684e3434f6a6445ddd992) with this exception:

ERROR: Error in executing:
/home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb
ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux'

For details see attached log. Could this be a linux vs. linux-gnu
related problem?

Steffen
/opt/bitbake/lib/bb/COW.py:29: DeprecationWarning: the sets module is deprecated
  import types, sets
/opt/bitbake/lib/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.
Parsing .bb files, please wait...done.
NOTE: Parsing finished. 7033 cached, 6 parsed, 295 skipped, 0 masked.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 142 of 303 (ID: 1, /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb, do_setscene)
NOTE: Running task 143 of 303 (ID: 2, /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb, do_fetch)
NOTE: Running task 144 of 303 (ID: 3, /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb, do_unpack)
NOTE: Unpacking ../../../sources/SGMLSpm-1.03ii.tar.gz to tmp.3/work/i686-linux/sgmlspl-native-1.03ii-r0/
NOTE: Running task 170 of 303 (ID: 4, /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb, do_patch)
NOTE: Applying patch 'combined.patch' (../../openembedded/recipes/sgmlspl/files/combined.patch)
NOTE: Running task 171 of 303 (ID: 5, /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb, do_configure)
NOTE: Running task 184 of 303 (ID: 6, /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb, do_qa_configure)
NOTE: Running task 185 of 303 (ID: 7, /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb, do_compile)
NOTE: Running task 186 of 303 (ID: 8, /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb, do_install)
NOTE: Running task 202 of 303 (ID: 12, /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb, do_package)
ERROR: Error in executing: /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb
ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux'
ERROR: Printing the environment of the function
ERROR: 	0005:    packages = bb.data.getVar('PACKAGES',d, True)
ERROR: 	0006:
ERROR: 	0007:    # no packages should be scanned
ERROR: 	0008:    if not packages:
ERROR: 	0009:        return
ERROR: 	0010:
ERROR: 	0011:    checks = [package_qa_check_rpath, package_qa_check_dev,
ERROR: 	0012:              package_qa_check_perm, package_qa_check_arch,
ERROR: 	0013:              package_qa_check_desktop, package_qa_hash_style,
ERROR: Error in executing: /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb
ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux'
ERROR: Printing the environment of the function
ERROR: 	0005:		return
ERROR: 	0006:
ERROR: 	0007:	for f in (bb.data.getVar('PACKAGEFUNCS', d, 1) or '').split():
ERROR: 	0008:		bb.build.exec_func(f, d)
ERROR: 	0009:		package_run_hooks(f, d)
ERROR: 	0010:
ERROR: Error in executing: /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb
ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux'
ERROR: Printing the environment of the function
ERROR: Error in executing: /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb
ERROR: Exception:<type 'exceptions.KeyError'> Message:'linux'
ERROR: Printing the environment of the function
ERROR: Build of /home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb do_package failed
Traceback (most recent call last):
  File "/opt/bitbake/bin/bitbake", line 143, in <module>
    main()
  File "/opt/bitbake/bin/bitbake", line 140, in main
    cooker.cook()
  File "/opt/bitbake/lib/bb/cooker.py", line 644, in cook
    return self.buildTargets(pkgs_to_build)
  File "/opt/bitbake/lib/bb/cooker.py", line 551, in buildTargets
    failures = rq.execute_runqueue()
  File "/opt/bitbake/lib/bb/runqueue.py", line 842, in execute_runqueue
    self.execute_runqueue_internal()
  File "/opt/bitbake/lib/bb/runqueue.py", line 951, in execute_runqueue_internal
    self.cooker.tryBuild(fn)
  File "/opt/bitbake/lib/bb/cooker.py", line 137, in tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
  File "/opt/bitbake/lib/bb/cooker.py", line 111, in tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/opt/bitbake/lib/bb/build.py", line 278, in exec_task
    exec_func(task, localdata)
  File "/opt/bitbake/lib/bb/build.py", line 113, in exec_func
    exec_func_python(func, d)
  File "/opt/bitbake/lib/bb/build.py", line 136, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/opt/bitbake/lib/bb/utils.py", line 171, in better_exec
    exec code in context
  File "do_package", line 4, in <module>
  File "do_package", line 2, in do_package
  File "/opt/bitbake/lib/bb/build.py", line 113, in exec_func
    exec_func_python(func, d)
  File "/opt/bitbake/lib/bb/build.py", line 136, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/opt/bitbake/lib/bb/utils.py", line 171, in better_exec
    exec code in context
  File "insane_do_package", line 4, in <module>
  File "insane_do_package", line 2, in insane_do_package
  File "/opt/bitbake/lib/bb/build.py", line 113, in exec_func
    exec_func_python(func, d)
  File "/opt/bitbake/lib/bb/build.py", line 136, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/opt/bitbake/lib/bb/utils.py", line 171, in better_exec
    exec code in context
  File "package_do_package", line 11, in <module>
  File "package_do_package", line 8, in package_do_package
  File "/opt/bitbake/lib/bb/build.py", line 113, in exec_func
    exec_func_python(func, d)
  File "/opt/bitbake/lib/bb/build.py", line 136, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/opt/bitbake/lib/bb/utils.py", line 171, in better_exec
    exec code in context
  File "do_package_qa", line 33, in <module>
  File "do_package_qa", line 24, in do_package_qa
  File "<bb>", line 9, in package_qa_walk
KeyError: 'linux'
ERROR: Task 12 (/home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb, do_package) failed
NOTE: Tasks Summary: Attempted 201 tasks of which 193 didn't need to be rerun and 1 failed.
ERROR: '/home/DRESEARCH/sledz/work/openembedded/recipes/sgmlspl/sgmlspl-native_1.03ii.bb' failed

             reply	other threads:[~2009-10-09  9:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-09  9:07 Steffen Sledz [this message]
2009-10-09 12:50 ` build exception in sgmlspl-native Steffen Sledz
2009-10-09 13:13   ` Eric Bénard
2009-10-09 17:40     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ACEFD4C.6060606@dresearch.de \
    --to=sledz@dresearch.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.