<?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>8801</bug_id>
          
          <creation_ts>2015-12-14 07:58:48 +0000</creation_ts>
          <short_desc>There is a conflict when installing ncurses-dev and lib32-ncurses-dev in sdk</short_desc>
          <delta_ts>2016-01-11 13:46:24 +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.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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>2.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Liu Jian">jian.liu</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>liu.ming50</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <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>57236</commentid>
    <comment_count>0</comment_count>
    <who name="Liu Jian">jian.liu</who>
    <bug_when>2015-12-14 07:58:48 +0000</bug_when>
    <thetext>Machine: qemu-x86-64
Image bb: core-image-minimal.bb
Others: Add the following line in image bb file
         IMAGE_INSTALL += &quot;ncurses-dev&quot;
         IMAGE_INSTALL += &quot;lib32-ncurses&quot;

When I build sdk, there is a warning,
  warning: Removing ncurses-dev-5.9-r15.1@lib32_x86 due to file /usr/bin/ncurses5-config conflicting with ncurses-dev-5.9-r15.1@core2_64

I check the manifest of sdk, lib32-ncurses is not installed.


But if I add the following line in image bb file
  IMAGE_INSTALL += &quot;ncurses&quot;
  IMAGE_INSTALL += &quot;lib32-ncurses&quot;

lib32-ncurses is installed in sdk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57237</commentid>
    <comment_count>1</comment_count>
    <who name="Liu Jian">jian.liu</who>
    <bug_when>2015-12-14 08:07:57 +0000</bug_when>
    <thetext>I analysis it, reason may be,

For the first time, installing step is like,
   smart install ncurses-dev lib32-ncurses-dev

But for the second time, installing step is like,
  smart install ncurses-dev
  smart install lib32-ncurses-dev


smart can not handle conflicts if conflicting packages are not conveyed at the same time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57478</commentid>
    <comment_count>2</comment_count>
    <who name="Ming Liu">liu.ming50</who>
    <bug_when>2015-12-28 13:58:09 +0000</bug_when>
    <thetext>Patch sent to ML: http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114473.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57479</commentid>
    <comment_count>3</comment_count>
    <who name="Ming Liu">liu.ming50</who>
    <bug_when>2015-12-28 14:00:46 +0000</bug_when>
    <thetext>As of b09080dc8a81bd76c473f8937d224830eb4626c0 patch merged into master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57480</commentid>
    <comment_count>4</comment_count>
    <who name="Ming Liu">liu.ming50</who>
    <bug_when>2015-12-28 14:03:01 +0000</bug_when>
    <thetext>As of b09080dc8a81bd76c473f8937d224830eb4626c0 patch merged into master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57711</commentid>
    <comment_count>5</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2016-01-11 13:46:24 +0000</bug_when>
    <thetext>Adding in conf.local.conf

require conf/multilib.conf
MULTILIBS = &quot;multilib:lib32&quot;
DEFAULTTUNE_virtclass-multilib-lib32 = &quot;x86&quot;
and using 
IMAGE_INSTALL_append = &quot; ncurses-dev lib32-ncurses&quot;


seems to fix the dependencies build problem.
Packages are in SDK image.

poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.host.manifest:nativesdk-libncurses5 x86_64-nativesdk 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.host.manifest:nativesdk-libncursesw5 x86_64-nativesdk 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.host.manifest:nativesdk-ncurses-terminfo-base x86_64-nativesdk 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:lib32-ncurses x86 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:lib32-ncurses-dbg x86 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:lib32-ncurses-dev x86 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:libncurses5 core2-64 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:libncursesw5 core2-64 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:ncurses core2-64 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:ncurses-dbg core2-64 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:ncurses-dev core2-64 5.9
poky-glibc-x86_64-core-image-minimal-core2-64-toolchain-2.0+snapshot.target.manifest:ncurses-terminfo-base core2-64 5.9</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>