From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1151AE014F3 for ; Thu, 25 Apr 2013 00:34:25 -0700 (PDT) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UVGhB-0002CS-LX for yocto@yoctoproject.org; Thu, 25 Apr 2013 09:34:21 +0200 Received: from 2-227-90-218.ip185.fastwebnet.it ([2.227.90.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Apr 2013 09:34:21 +0200 Received: from f.deldegan by 2-227-90-218.ip185.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Apr 2013 09:34:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: yocto@yoctoproject.org From: Francesco Del Degan Date: Thu, 25 Apr 2013 09:34:09 +0200 Message-ID: <87fvyf5aj2.fsf@pr0gg3d.net> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 2-227-90-218.ip185.fastwebnet.it User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:84tJQ0uE+tlfbvrnRESdqvlhNB0= Subject: psplash_git.bb: Error when building with icecc X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2013 07:34:25 -0000 Content-Type: text/plain 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 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: ] 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