[oe] testing branch 2010-09-13

Graham Gower graham.gower at gmail.com
Tue Sep 14 00:03:20 UTC 2010


On 09/14/2010 09:03 AM, Graham Gower wrote:
> On 14 September 2010 06:25, Philip Balister <philip at balister.org> wrote:
>> On 09/13/2010 02:21 PM, Cliff Brake wrote:
>>>
>>> last weeks testing cycle was a success.
>>>
>>> http://wiki.openembedded.net/index.php/Testing#Testing_Log
>>>
>>> Firefox is failing in some configurations if the same version of
>>> firefox is installed on the host system -- it would be nice to get
>>> this resolved this week.
>>>
>>> testing-next branch has been updated and is ready for clean builds.
>>
>> ERROR: Task 1046
>> (virtual:native:/srv/oe-builds/testing/openembedded/recipes/qemu/qemu_0.12.5.bb,
>> do_compile) failed with exit code '1'
>> ERROR: __init__() takes at most 3 arguments (4 given)
>>
>> I see this building the testing branch on my F13 machine. Normally I disable
>> binary locales, but left them enabled for the testing build. Anyone have any
>> clue what is going on?
>>
>> Philip
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
> 
> Its not quite the same, and I'm not quite at testing-next
> (b9bcb18a4435491bad5cd76ecf26a857b2f40800), but my bitbake -k world
> halted like this (bitbake is
> c07cc08f7fd503ac3013ccc43c79198c4c3b7b29):
> 
> ERROR: p4-05.2:
> http://filehost.perforce.com/perforce/r05.2/bin.linuxmips/p4 cannot
> check archive integrity
> ERROR: Error executing python function in 'do_fetch'
> Traceback (most recent call last):
>   File "/home/grg/oe2/bitbake/lib/bb/utils.py", line 334, in better_exec
>     exec(code, _context, context)
>   File "do_fetch", line 4, in <module>
>   File "do_fetch", line 2, in do_fetch
>   File "/home/grg/oe2/bitbake/lib/bb/build.py", line 183, in exec_func
>     exec_func_python(func, d, runfile, logfile)
>   File "/home/grg/oe2/bitbake/lib/bb/build.py", line 234, in exec_func_python
>     raise FuncFailed(func, d, logfile)
> TypeError: __init__() takes at most 3 arguments (4 given)
> 
> ERROR: Printing the environment of the function
> ERROR: __init__() takes at most 3 arguments (4 given)


Something like this, to fix the last commit?

diff --git a/lib/bb/build.py b/lib/bb/build.py
index b7c4472..70554f8 100644
--- a/lib/bb/build.py
+++ b/lib/bb/build.py
@@ -231,7 +231,7 @@ def exec_func_python(func, d, runfile, logfile):
         if sys.exc_info()[0] in (bb.parse.SkipPackage, bb.build.FuncFailed):
             raise
 
-        raise FuncFailed(func, d, logfile)
+        raise FuncFailed(func, logfile)
 
 def exec_func_shell(func, d, runfile, logfile, flags):
     """Execute a shell BB 'function' Returns true if execution was successful.
@@ -274,7 +274,7 @@ def exec_func_shell(func, d, runfile, logfile, flags):
     if ret == 0:
         return
 
-    raise FuncFailed(func, d, logfile)
+    raise FuncFailed(func, logfile)
 
 
 def exec_task(task, d):




More information about the Openembedded-devel mailing list