<?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>2964</bug_id>
          
          <creation_ts>2012-08-17 12:51:52 +0000</creation_ts>
          <short_desc>DEFAULT_PREFERENCE doesn&apos;t work between layers</short_desc>
          <delta_ts>2012-10-26 12:54:19 +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>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Jansa">Martin.Jansa</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>sstncr</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>24148</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2012-08-17 12:51:52 +0000</bug_when>
    <thetext>There is use case when newer development version is added
to e.g. meta-oe with negative D_P and only users who decide to test/use
that version should get it, if they define P_V for this new version.

Currently it would became default version for all meta-oe users without
P_V specified, which isn&apos;t very intuitive.

On Fri, Aug 17, 2012 at 01:48:45PM +0100, Paul Eggleton wrote:
&gt; This is also undesirable for meta-oe IMHO - as a general principle, meta-oe
&gt; shouldn&apos;t be trying to both add additional recipes *and* provide newer/older
&gt; versions of recipes that are in OE-Core. Please, let&apos;s get the new versions
&gt; into OE-Core or if they&apos;re too risky/broken for some use cases for that, then
&gt; they belong in people&apos;s distro layers. (Practically I don&apos;t think there are
&gt; that many instances of new versions of OE-Core recipes that people want to use
&gt; that would be actually rejected by OE-Core).

What if newer version is needed for recipe which exists only in meta-oe?

I had this in meta-efl where webkit-efl was sometimes segfaulting when
older stable version of libsoup2.4 was used, upstream solved that by
recommending development version of libsoup2.4, but as soon as I&apos;ve
added it to meta-efl everybody (including users which don&apos;t use
webkit-efl from meta-efl - don&apos;t need this libsoup2.4) got it as
default.

Yes I could have added this libsoup2.4 only to meta-shr (where I had
P_V for that) and keep webkit-efl broken for everyone else, or try to
add developement version of libsoup2.4 to oe-core..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25248</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-09-14 12:10:56 +0000</bug_when>
    <thetext>I&apos;ve given this some thought and to be honest I think this is working as designed. D_P is the weakest form of preference that can be expressed and its been clearly documented (on the mailing lists at least) that this was always its intent. As such, D_P is of lower priority than layer priority.

If layer priority is equal, D_P should then come into play.

So given this is behaving as deisgned, I&apos;m going to close this as NOTABUG.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26964</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2012-10-26 12:54:19 +0000</bug_when>
    <thetext>Marked as verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>