Using Fetch2 mechanism fails
Home › Forums › MultiConnect OCG › Using Fetch2 mechanism fails
Tagged: bitbake nodejs node.js node
- This topic has 5 replies, 4 voices, and was last updated 11 years, 5 months ago by
Ilkka Myller.
-
AuthorPosts
-
March 20, 2014 at 3:08 pm #5607
Alexey Klimenko
ParticipantHi
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
March 20, 2014 at 3:17 pm #5608Jesse Gilles
BlockedIs 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,
JesseMarch 20, 2014 at 3:26 pm #5609Alexey Klimenko
ParticipantNow 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!March 20, 2014 at 7:43 pm #5612Alexey Klimenko
ParticipantJust last question, do you plan to release a new version of CoreCDP anytime soon?
Regards,
AlexeyMarch 21, 2014 at 8:08 am #5614Mike Fiore
BlockedWe 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
May 21, 2014 at 12:38 pm #5805Ilkka Myller
ParticipantI 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:
-
AuthorPosts
- You must be logged in to reply to this topic.