From: Francesco Del Degan <f.deldegan@pr0gg3d.net>
To: yocto@yoctoproject.org
Subject: psplash_git.bb: Error when building with icecc
Date: Thu, 25 Apr 2013 09:34:09 +0200 [thread overview]
Message-ID: <87fvyf5aj2.fsf@pr0gg3d.net> (raw)
Hi all, i just found an error building core-image-basic with icecc
inherited:
NameError: global name 'set_icecc_env' is not defined
ERROR: The stack trace of python calls that resulted in this
exception/failure was:
ERROR: File "do_compile", line 26, in <module>
ERROR:
ERROR: File "do_compile", line 3, in do_compile
ERROR:
ERROR: The code that was being executed was:
ERROR: 0022: bb.build.exec_func("oe_runmake", d)
ERROR: 0023: shutil.copyfile("psplash", outputfile)
ERROR: 0024:
ERROR: 0025:
ERROR: *** 0026:do_compile(d)
ERROR: 0027:
ERROR: [From file: 'do_compile', lineno: 26, function: <module>]
ERROR: 0001:
ERROR: 0002:def do_compile(d):
ERROR: *** 0003: set_icecc_env
ERROR: 0004: import shutil, commands
ERROR: 0005:
ERROR: 0006: # Build a separate executable for each splash image
ERROR: 0007: convertscript = "%s/make-image-header.sh" %
d.getVar('S', True)
ERROR: [From file: 'do_compile', lineno: 3, function: do_compile]
ERROR: Function failed: do_compile
Seems that icecc compile_prepend (set_icecc_env shell function) gets prepended
into psplash compile that is written in python. How to deal with it, and
in general, is that possible to mix languages in prepend/append?
I'm using poky master and icecc is working great!
Cheers,
Francesco
next reply other threads:[~2013-04-25 7:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-25 7:34 Francesco Del Degan [this message]
2013-04-25 8:41 ` psplash_git.bb: Error when building with icecc Martin Jansa
2013-04-25 12:44 ` Francesco Del Degan
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=87fvyf5aj2.fsf@pr0gg3d.net \
--to=f.deldegan@pr0gg3d.net \
--cc=yocto@yoctoproject.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.