| Summary: | No hg support in bb-files | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Sebastian <su> |
| Component: | configuration | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED NOTABUG | QA Contact: | |
| Severity: | major | ||
| Priority: | Medium | CC: | poky.bs.watcher, poky.watcher, sgw |
| Version: | 1.3 | ||
| Target Milestone: | 1.4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
You can add mercurial-native to ASSUME_PROVIDED in your local.conf, since oe-core does not have any mercurial based recipes, it's not assumed to be required. You probably get an error as follows: NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'mercurial-native' ERROR: Required build target 'dvb-apps' has no buildable providers. Missing or unbuildable dependency chain was: ['dvb-apps', 'mercurial-native'] By adding the following you line to your local.conf ASSUME_PROVIDE += "mercurial-native" You will tell bitbake that you have installed mercurial on your native system to satisfy that dependency. Please let us know if this resolves your issue. I add ASSUME_PROVIDE += "mercurial-native" to my local.conf, but it doesn't help. I get following error message: NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'mercurial-native' ERROR: Nothing RPROVIDES 'kernel-base' (but /buildsystem/build_xxsq701_release/../packages/meta-xxsq701/recipes-kernel/linux/linux-mycable_3.3.bb RDEPENDS on or otherwise requires it) ERROR: No eligible RPROVIDERs exist for 'kernel-base' NOTE: Runtime target 'kernel-base' is unbuildable, removing... Missing or unbuildable dependency chain was: ['kernel-base'] ERROR: Nothing RPROVIDES 'kernel-image' (but /buildsystem/build_xxsq701_release/../packages/meta-xxsq701/recipes-kernel/linux/linux-mycable_3.3.bb RDEPENDS on or otherwise requires it) ERROR: No eligible RPROVIDERs exist for 'kernel-image' NOTE: Runtime target 'kernel-image' is unbuildable, removing... Missing or unbuildable dependency chain was: ['kernel-image'] NOTE: Preparing runqueue NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded. Summary: There was 1 WARNING message shown. Summary: There were 3 ERROR messages shown, returning a non-zero exit code. The variable is ASSUME_PROVIDED (with a D on the end) I tested again with ASSUME_PROVIDED += "mercurial-native" and it works. Works for reporter |
The file poky-danny-8.0/meta/conf/bitbake.conf has no support for mercurial-native, so you can't use SRC_URI = hg:// For supporting hg add mercurial-native to bitbake.conf, look below. ################################################################## # Openembedded Software Prerequisites. ################################################################## # python-native should be here but python relies on building # its own in staging ASSUME_PROVIDED = "\ bzip2-native \ chrpath-native \ git-native \ mercurial-native \ grep-native \ diffstat-native \ patch-native \ perl-native-runtime \ python-native-runtime \ tar-native \ virtual/libintl-native \ "