pkgconfig-sdk breakage
Hi,
my current meta-toolchain builds breaks on some python code executed while building pkg-config-sdk. Any ideas?
here the log message...
NOTE: Legacy staging mode for /data/openembedded/openembedded/recipes/pkgconfig/pkgconfig-sdk_0.23.bb
ERROR: Error in executing: /data/openembedded/openembedded/recipes/pkgconfig/pkgconfig-sdk_0.23.bb
ERROR: Exception:<type 'exceptions.TypeError'> Message:argument of type 'NoneType' is not iterable
ERROR: Printing the environment of the function
ERROR: Build of /data/openembedded/openembedded/recipes/pkgconfig/pkgconfig-sdk_0.23.bb do_populate_staging failed Traceback (most recent call last):
File "/data/openembedded/bitbake/bin/bitbake", line 146, in <module>
main()
File "/data/openembedded/bitbake/bin/bitbake", line 143, in main
cooker.cook()
File "/data/openembedded/bitbake/lib/bb/cooker.py", line 643, in cook
return self.buildTargets(pkgs_to_build)
File "/data/openembedded/bitbake/lib/bb/cooker.py", line 547, in buildTargets
failures = rq.execute_runqueue()
File "/data/openembedded/bitbake/lib/bb/runqueue.py", line 803, in execute_runqueue
self.execute_runqueue_internal()
File "/data/openembedded/bitbake/lib/bb/runqueue.py", line 912, in execute_runqueue_internal
self.cooker.tryBuild(fn)
File "/data/openembedded/bitbake/lib/bb/cooker.py", line 136, in tryBuild
return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
File "/data/openembedded/bitbake/lib/bb/cooker.py", line 110, in tryBuildPackage
bb.build.exec_task('do_%s' % task, the_data) File "/data/openembedded/bitbake/lib/bb/build.py", line 286, in exec_task
exec_func(task, localdata)
File "/data/openembedded/bitbake/lib/bb/build.py", line 120, in exec_func
exec_func_python(func, d)
File "/data/openembedded/bitbake/lib/bb/build.py", line 140, in exec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/data/openembedded/bitbake/lib/bb/utils.py", line 185, in better_exec
exec code in context
File "do_populate_staging", line 39, in <module>
File "do_populate_staging", line 18, in do_populate_staging
File "/data/openembedded/bitbake/lib/bb/build.py", line 86, in exec_func
if not item in flags:
TypeError: argument of type 'NoneType' is not iterable
Quoted 4 lines · On Wednesday 11 November 2009 09:22:49 Holger Hans Peter Freyther wrote:
Hi,
my current meta-toolchain builds breaks on some python code executed while building pkg-config-sdk. Any ideas?
This can be reproduced with
bitbake -c populate_staging -b /data/openembedded/openembedded/recipes/pkgconfig/pkgconfig-sdk_0.23.bb
it looks someone removed the var flags from "do_stage"?
Quoted 5 lines · On Wednesday 11 November 2009 11:06:45 Holger Hans Peter Freyther wrote:
Quoted 4 lines · On Wednesday 11 November 2009 09:22:49 Holger Hans Peter Freyther wrote:
Hi,
my current meta-toolchain builds breaks on some python code executed while building pkg-config-sdk. Any ideas?
The pkgconfig-sdk_0.23.bb file is doing a do_stage_prepend which seems to break things... due the removal of base_do_stage and the removal from EXPORT_FUNCTIONS...
any idea?
Quoted 4 lines · Holger Hans Peter Freyther
Quoted 3 lines · On Wednesday 11 November 2009 11:06:45 Holger Hans Peter Freyther wrote:
Quoted 2 lines · On Wednesday 11 November 2009 09:22:49 Holger Hans Peter Freyther wrote:
Hi,
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
my current meta-toolchain builds breaks on some python code executed while building pkg-config-sdk. Any ideas?
The pkgconfig-sdk_0.23.bb file is doing a
do_stage_prependwhich seems to break things... due the removal ofbase_do_stageand the removal fromEXPORT_FUNCTIONS...any idea?
This was discussed on IRC. Some checks were added to base.bbclass to detect recipes with this problem and all in tree ones have now been fixed to behave as they did before.
Cheers,
Richard