<?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>8314</bug_id>
          
          <creation_ts>2015-09-17 06:44:48 +0000</creation_ts>
          <short_desc>warn when ALTERNATIVE_PRIORITY are the same</short_desc>
          <delta_ts>2017-03-20 17:34:51 +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>core</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>54185</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2015-09-17 06:44:48 +0000</bug_when>
    <thetext>Different layers may set the same target&apos;s ALTERNATIVE_PRIORITY as the same, this would cause undetermined build results. we can check and warn this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54213</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-09-17 15:02:46 +0000</bug_when>
    <thetext>Not sure if we can actualy easily check for this since there is no central location of this data and recipes can&apos;t inspect each other&apos;s state.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68318</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2016-11-15 06:46:36 +0000</bug_when>
    <thetext>I think the only way we could do this is in the update-alternative script itself.
When the script runs to change the database, it could do this extra checking and warn users if it finds the same priority.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71162</commentid>
    <comment_count>3</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2017-03-09 09:39:50 +0000</bug_when>
    <thetext>commit 2a64701acf9ba86a4e0a5c89a77f984ce1cfc427
Author: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Date:   Fri Dec 23 10:59:21 2016 +0800

    package_manager: default to have scriptlet output captured in log
    
    We need to have scriptlet output captured in log. If we don&apos;t do so,
    some useful information from scriptlets (especially postinstall script)
    would be missing. In case a script has a warning message but it does not
    necessarily have to fail, the message should be captured.
    
    Opkg has already done that. Change for rpm and dpkg so that scriptlet
    output is captured and no warning message is missing.
    
    (From OE-Core rev: 0e52e0c619e02327602d83999a61d978d3a9240e)
    
    Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
    Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

The rest part is to bump opkg-utils&apos; rev to &quot;1a708fd73d10c2b7677dd4cc4e017746ebbb9166&quot; which could check priority conflicts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71463</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-03-20 17:34:51 +0000</bug_when>
    <thetext>Merged in oe-core d6b04e12127dd65b96ac7f4509b829510ef21071.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>