From: ecforu <ecf...@gm...> - 2010-02-18 22:01:06
|
I tried creating my own recipe for xpath lib for perl from the source in "http://www.cpan.org/modules/by-module/XML/XML-XPath-1.13.tar.gz" I mimicked all the other perl library recipes (i.e. libxml-parser-perl, libxml-dom-perl, etc...) only mine fails to parse everytime because of the last line the BBCLASSEXTEND="native" I get the following error (see below) and can't figure out what to change to make this work. It seems as though my perl library needs to be added to some native list of perl libraries, but I can't find that list or what to modify to get it to think this recipe is ok. Please Help! Thanks ERROR: Parsing error data_fn virtual:native:/home/.../overo-oe/user.collection/recipes/perl/ libxml-xpath-perl_1.13.bb and fn /home/.../overo-oe/user.collection/recipes/perl/libxml-xpath-perl_1.13.bbdon't match DEBUG: providers for libxml-xpath-perl-native are: ['libxml-xpath-perl-native'] Traceback (most recent call last): File "/gs/overo-oe/bitbake/bin/bitbake", line 143, in <module> main() File "/gs/overo-oe/bitbake/bin/bitbake", line 140, in main cooker.cook() File "/gs/overo-oe/bitbake/lib/bb/cooker.py", line 608, in cook if not self.buildFile(self.configuration.buildfile): File "/gs/overo-oe/bitbake/lib/bb/cooker.py", line 500, in buildFile taskdata.add_provider(self.configuration.data, self.status, item) File "/gs/overo-oe/bitbake/lib/bb/taskdata.py", line 340, in add_provider self.add_provider_internal(cfgData, dataCache, item) File "/gs/overo-oe/bitbake/lib/bb/taskdata.py", line 376, in add_provider_internal eligible, foundUnique = bb.providers.filterProviders(all_p, item, cfgData, dataCache) File "/gs/overo-oe/bitbake/lib/bb/providers.py", line 226, in filterProviders eligible = _filterProviders(providers, item, cfgData, dataCache) File "/gs/overo-oe/bitbake/lib/bb/providers.py", line 188, in _filterProviders sortpkg_pn[pn] = sortPriorities(pn, dataCache, pkg_pn) File "/gs/overo-oe/bitbake/lib/bb/providers.py", line 46, in sortPriorities priority = dataCache.bbfile_priority[f] KeyError: 'virtual:native:/home/.../overo-oe/user.collection/recipes/perl/ libxml-xpath-perl_1.13.bb' |