<?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>13885</bug_id>
          
          <creation_ts>2020-04-29 21:13:21 +0000</creation_ts>
          <short_desc>maybe we should not set default %_transaction_color to 7</short_desc>
          <delta_ts>2020-05-07 02:27:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>Package Management Issues</product>
          <component>RPM</component>
          <version>unspecified</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>normal</bug_severity>
          <target_milestone>3.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Changqing Li">changqing.li</reporter>
          <assigned_to name="Changqing Li">changqing.li</assigned_to>
          <cc>richard.purdie</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>87107</commentid>
    <comment_count>0</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2020-04-29 21:13:21 +0000</bug_when>
    <thetext>set %_transaction_color to 7 means 32/64bits elf all can be installed.
should we just use default %_transaction_color set by rpm, which usually
is set according to current arch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87110</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2020-04-30 07:37:50 +0000</bug_when>
    <thetext>I&apos;m not convinced this would work since there could be host/target mismatch and it may break the way we use multilibs with rpm. We&apos;d need to understand the issues you&apos;re seeing and understand why this needs to change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87147</commentid>
    <comment_count>2</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2020-05-05 20:42:37 +0000</bug_when>
    <thetext>@Richard,

I don&apos;t see a problem caused  by transation_color. but I do see a problem
caused by %_prefer_color. 

so I have send a patch to oe-core with titled with &quot;lib/oe/package_manager: update default rpm config %_prefer_color&quot; to fix problem I see caused by %_prefer_color, and open this problem just for tracking possible problem of %_transaction_color.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87160</commentid>
    <comment_count>3</comment_count>
    <who name="Changqing Li">changqing.li</who>
    <bug_when>2020-05-07 02:27:10 +0000</bug_when>
    <thetext>rpm&apos;s default transation color is 3, which means 001 (ELF32) &amp; 010 (ELF64)

but for oe-core, we have add another color 4 for mips64 n32, so the transation color should be 7.

001 (ELF32) &amp; 010 (ELF64) &amp; 100 (ELF32 N32 MIPS64)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>