<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4054</bug_id>
          
          <creation_ts>2013-03-19 09:24:22 +0000</creation_ts>
          <short_desc>No hg support in bb-files</short_desc>
          <delta_ts>2013-03-21 14:49:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>configuration</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sebastian">su</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>30833</commentid>
    <comment_count>0</comment_count>
    <who name="Sebastian">su</who>
    <bug_when>2013-03-19 09:24:22 +0000</bug_when>
    <thetext>The file poky-danny-8.0/meta/conf/bitbake.conf has no support for mercurial-native, so you can&apos;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 = &quot;\
    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 \
    &quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30863</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-03-19 17:45:05 +0000</bug_when>
    <thetext>You can add mercurial-native to ASSUME_PROVIDED in your local.conf, since oe-core does not have any mercurial based recipes, it&apos;s not assumed to be required.  

You probably get an error as follows:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES &apos;mercurial-native&apos;
ERROR: Required build target &apos;dvb-apps&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;dvb-apps&apos;, &apos;mercurial-native&apos;]

By adding the following you line to your local.conf

ASSUME_PROVIDE += &quot;mercurial-native&quot;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30885</commentid>
    <comment_count>2</comment_count>
    <who name="Sebastian">su</who>
    <bug_when>2013-03-20 07:22:01 +0000</bug_when>
    <thetext>I add ASSUME_PROVIDE += &quot;mercurial-native&quot; to my local.conf, but it doesn&apos;t help.
I get following error message:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES &apos;mercurial-native&apos;
ERROR: Nothing RPROVIDES &apos;kernel-base&apos; (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 &apos;kernel-base&apos;
NOTE: Runtime target &apos;kernel-base&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;kernel-base&apos;]
ERROR: Nothing RPROVIDES &apos;kernel-image&apos; (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 &apos;kernel-image&apos;
NOTE: Runtime target &apos;kernel-image&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;kernel-image&apos;]
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30888</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-20 09:22:07 +0000</bug_when>
    <thetext>The variable is ASSUME_PROVIDED (with a D on the end)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30889</commentid>
    <comment_count>4</comment_count>
    <who name="Sebastian">su</who>
    <bug_when>2013-03-20 09:43:38 +0000</bug_when>
    <thetext>I tested again with ASSUME_PROVIDED += &quot;mercurial-native&quot; and it works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30976</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-03-21 14:49:06 +0000</bug_when>
    <thetext>Works for reporter</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>