<?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>6769</bug_id>
          
          <creation_ts>2014-09-26 11:20:14 +0000</creation_ts>
          <short_desc>smart install with --attempt failed</short_desc>
          <delta_ts>2014-11-05 02:25:46 +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>1.7</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.8 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongxu Jia">hongxu.jia</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45892</commentid>
    <comment_count>0</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-09-26 11:20:14 +0000</bug_when>
    <thetext>1. vim local.conf
...
IMAGE_INSTALL_append = &quot;shadow man-pages hdparm&quot;
EXTRA_IMAGE_FEATURES += &quot;doc-pkgs&quot;
...

2. bitbake core-image-minimal
...
ERROR: Unable to install packages. Command &apos;/home/jiahongxu/yocto/build-20140924-yocto/tmp/sysroots/x86_64-linux/usr/bin/smart --quiet --data-dir=/home/jiahongxu/yocto/build-20140924-yocto/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs/var/lib/smart install --attempt -y libz-doc@i586 ncurses-doc@i586 man-doc@i586 udev-doc@i586 sysvinit-doc@i586 less-doc@i586 shadow-doc@i586 base-passwd-doc@i586 util-linux-doc@i586 groff-doc@i586 netbase-doc@i586 hdparm-doc@i586 libc6-doc@i586 base-files-doc@qemux86&apos; returned 1:
error: file /usr/share/man/man5/passwd.5 from install of shadow-doc-4.2.1-r0.i586 conflicts with file from package man-pages-3.71-r0.i586
error: file /usr/share/man/man3/getspnam.3 from install of shadow-doc-4.2.1-r0.i586 conflicts with file from package man-pages-3.71-r0.i586


ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/jiahongxu/yocto/build-20140924-yocto/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.20644
ERROR: Task 7 (/home/jiahongxu/yocto/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code &apos;1&apos;
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46752</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-11-05 02:25:46 +0000</bug_when>
    <thetext>Merged into master:

commit 944fb2fd0268ee31be7acca4ad56681d5cbb7dfd
Author: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Date:   Wed Oct 29 13:54:50 2014 +0800

    python-smartpm: report warn rather than error during install with --attempt
    
    With the following config and build image:
    ...
    IMAGE_INSTALL_append = &quot;shadow man-pages&quot;
    EXTRA_IMAGE_FEATURES += &quot;doc-pkgs&quot;
    ...
    
    There is an error during install with --attempt, and it breaks the build.
    ...
    |error: file /usr/share/man/man5/passwd.5 from install of
    shadow-doc-4.2.1-r0.i586 conflicts with file from package
    man-pages-3.71-r0.i586
    ...
    
    For complementary and &apos;attemptonly&apos; package processing, we should make sure
    the warn rather than error messages reported.
    
    [YOCTO #6769]
    
    (From OE-Core rev: beb2e989e24e671fecd37805876dfb2375ee0df6)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>