<?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>547</bug_id>
          
          <creation_ts>2010-11-25 00:15:16 +0000</creation_ts>
          <short_desc>libmpfr4 clash when installing gdb cross ipk</short_desc>
          <delta_ts>2011-03-07 17:47:52 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.0</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>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="Qing He">qing.he</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>qing.he</cc>
    
    <cc>richard.purdie</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>10935</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-11-25 00:15:16 +0000</bug_when>
    <thetext>When install gcc cross canadian, it will report

Downloading http://llu-piketon.sh.intel.com/ipk_sdk/i586-i586-canadian/gcc-cross-canadian_4.5.1-r0_i586-i586-canadian.ipk.
Installing libmpfr4 (3.0.0-r0) to root...
Downloading http://llu-piketon.sh.intel.com/ipk_sdk/i586-nativesdk/libmpfr4_3.0.0-r0_i586-nativesdk.ipk.
Collected errors:
 * check_data_file_clashes: Package libmpfr4 wants to install file //opt/poky/sysroots/i586-pokysdk-linux/usr/share/info/dir
        But that file is already provided by package  * check_data_file_clashes: &lt;no package&gt;
Please move this file out of the way and try again.
 * opkg_install_cmd: Cannot install package gcc-cross-canadian.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10937</commentid>
    <comment_count>1</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2010-11-25 01:06:25 +0000</bug_when>
    <thetext>Liping, could you please add reproduce step?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10941</commentid>
    <comment_count>2</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2010-11-25 17:08:38 +0000</bug_when>
    <thetext>/usr/share/info/dir is a collective file to include the entry points of all info pages

i.e., when installing, /usr/share/info/dir should always be updated instead of overridden, such overriding generates errors like above.

We should have a postinst in every -doc package to invoke something like install-info to update the dir file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10942</commentid>
    <comment_count>3</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-11-25 17:46:31 +0000</bug_when>
    <thetext>One interesting thing is that, if I don&apos;t use sudo to install the opkg package to the /opt/poky but to some normal folders such as /home/lke/opt/poky, I can install. Seems the problem could  be avoided. Yet I am not clear why this happens.

If you want to repeat the process, please download the suitable conf file from http://llu-piketon.sh.intel.com, and run below command with your host opkg:

opkg-cl -f /home/lke/opkg-sdk-i586.conf -o /home/lke/Downloads/testfolder update
opkg-cl -f /home/lke/opkg-sdk-i586.conf -o /home/lke/Downloads/testfolder install gcc-cross-canadian

Thanks &amp; Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10962</commentid>
    <comment_count>4</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2010-11-30 17:55:41 +0000</bug_when>
    <thetext>Interestingly, dpkg doesn&apos;t use -postinst for this specific requirement, the mechanism is called `trigger&apos;, it triggers on every /usr/share/info update, so no postinst is needed.

Seems opkg doesn&apos;t have this mechanism, not sure about rpm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10964</commentid>
    <comment_count>5</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2010-11-30 17:57:06 +0000</bug_when>
    <thetext>*** Bug 546 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12225</commentid>
    <comment_count>6</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-03-02 21:39:27 +0000</bug_when>
    <thetext>Liping,

Do we still see this problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12313</commentid>
    <comment_count>7</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-03-06 17:50:01 +0000</bug_when>
    <thetext>I will re-verify it this week. I guess no one has fixed it. I still use -f now</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12336</commentid>
    <comment_count>8</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-03-07 17:47:52 +0000</bug_when>
    <thetext>I did not meet this problem any more. I will close this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>