Using Fetch2 mechanism fails
- This topic has 5 replies, 4 voices, and was last updated 11 years ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › MultiConnect OCG › Using Fetch2 mechanism fails
Tagged: bitbake nodejs node.js node
Hi
I have an extra BitBake layer that depends on Fetch2 mechanism. Unfortunately, it looks like lots of recipes provided in CoreCDP 2.2 are not compatible with it as I am getting errors similar to this one (when using env var BBFETCH2):
ERROR: Error evaluating '${@patch_deps(d)}'
Traceback (most recent call last):
File "/home/aklimenko/Multitech/corecdp-2.2.2/bitbake/lib/bb/data_smart.py", line 118, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/home/aklimenko/Multitech/corecdp-2.2.2/bitbake/lib/bb/data_smart.py", line 76, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d))
File "/home/aklimenko/Multitech/corecdp-2.2.2/bitbake/lib/bb/utils.py", line 387, in better_eval
return eval(source, _context, locals)
File "<expansion>", line 1, in <module>
File "patch.bbclass", line 5, in patch_deps
AttributeError: 'module' object has no attribute 'init'
ERROR: Error parsing /home/aklimenko/Multitech/corecdp-2.2.2/openembedded/recipes/dzen2/dzen2_svn.bb: 'module' object has no attribute 'init'
I am not too deep familiar with BitBake and OpenEmbedded so I admit that I might miss something here.
Appreciate any advices.
Regards
Is your bitbake layer for usage with OpenEmbedded-Core/Yocto? If so, CoreCDP is still using OE Classic for now, so BBFETCH2 may not be the only issue you run into regarding compatibility.
Is this a custom layer or a community-supported one?
Thanks,
Jesse
Now as you say it I guess you are right. The layer is https://github.com/imyller/meta-nodejs
Nodejs recipe works fine. Only NPM add-on fails as it uses custom Fetch2 add-on.
Thank you!
Just last question, do you plan to release a new version of CoreCDP anytime soon?
Regards,
Alexey
We have a new release of CoreCDP coming down the pipe. I’m not sure if there is a release date yet. However, it will still be based on oe-classic, so support for the custom add-on you mentioned won’t be included if it isn’t already.
We are aware of how deprecated oe-classic is getting and are hoping to migrate to oe-core in the future. It’s probably still quite a ways out though.
-Mike
I have now moved NPM fetch2 Bitbake extension to a separate OpenEmbedded layer/repository:
https://github.com/imyller/bitbake-npm
The recipes for stable Node.js releases will stay in: