<?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>14066</bug_id>
          
          <creation_ts>2020-09-28 20:14:36 +0000</creation_ts>
          <short_desc>bitbake core-image-base -c populate_sdk fails when image contains bash, core-utils and package_deb is used</short_desc>
          <delta_ts>2026-02-10 15:05:39 +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>3.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>IN PROGRESS REVIEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Steve Sakoman">steve</reporter>
          <assigned_to name="Pavel Zhukov">pavel</assigned_to>
          <cc>chee.yang.lee</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>pavel</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tim.orling</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>88257</commentid>
    <comment_count>0</comment_count>
    <who name="Steve Sakoman">steve</who>
    <bug_when>2020-09-28 20:14:36 +0000</bug_when>
    <thetext>To reproduce on either master or dunfell:

1. Add the following to default local.conf:

PACKAGE_CLASSES = &quot;package_deb&quot;
IMAGE_INSTALL_append = &quot; bash coreutils&quot;

2. bitbake core-image-base -c populate_sdk

Result is the following error:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 target-sdk-provides-dummy : Conflicts: bash
                             Conflicts: coreutils
E: Unable to correct problems, you have held broken packages.


Using either package_rpm or package_ipk will not trigger the error. And of course removing bash and coreutils also eliminates the error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88605</commentid>
    <comment_count>1</comment_count>
    <who name="Chee Yang">chee.yang.lee</who>
    <bug_when>2020-11-12 16:26:24 +0000</bug_when>
    <thetext>Seems like any package in DUMMYPROVIDES_PACKAGES (in target-sdk-provides-dummy) can trigger the error.


For experiment purpose, with rpm i added 
IMAGE_INSTALL_append = &quot; coreutils vim &quot;
log looks like dnf &quot;ignored&quot; coreutils without warning/error. i wonder is this the expected behaviour?


NOTE: Running /2TB/yocto/poky-master/build-14066/tmp/work/qemux86_64-poky-linux/core-image-base/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /2TB/yocto/poky-master/build-14066/tmp/work/qemux86_64-poky-linux/core-image-base/1.0-r0/sdk/image/opt/poky/3.2+snapshot/sysroots/core2-64-poky-linux/etc/dnf/dnf.conf --setopt=reposdir=/2TB/yocto/poky-master/build-14066/tmp/work/qemux86_64-poky-linux/core-image-base/1.0-r0/sdk/image/opt/poky/3.2+snapshot/sysroots/core2-64-poky-linux/etc/yum.repos.d --installroot=/2TB/yocto/poky-master/build-14066/tmp/work/qemux86_64-poky-linux/core-image-base/1.0-r0/sdk/image/opt/poky/3.2+snapshot/sysroots/core2-64-poky-linux --setopt=logdir=/2TB/yocto/poky-master/build-14066/tmp/work/qemux86_64-poky-linux/core-image-base/1.0-r0/temp --repofrompath=oe-repo,/2TB/yocto/poky-master/build-14066/tmp/work/qemux86_64-poky-linux/core-image-base/1.0-r0/oe-sdk-repo --nogpgcheck install coreutils packagegroup-base-extended packagegroup-core-boot packagegroup-core-standalone-sdk-target psplash run-postinsts target-sdk-provides-dummy vim
.
.
.
Dependencies resolved.
====================================================================================================================================
 Package                                              Architecture               Version                              Repo      Size
====================================================================================================================================
Installing:
 packagegroup-base-extended                           qemux86_64                 1.0-r83                              oe-repo  5.8 k
 packagegroup-core-boot                               qemux86_64                 1.0-r17                              oe-repo  5.9 k
 packagegroup-core-standalone-sdk-target              core2_64                   1.0-r8                               oe-repo  6.0 k
 psplash                                              core2_64                   0.1+git0+0a902f7cd8-r15              oe-repo   11 k
 run-postinsts                                        noarch                     1.0-r10                              oe-repo  8.4 k
 target-sdk-provides-dummy                            sdk_provides_dummy_target  1.0-r0                               oe-repo  9.0 k
 vim                                                  core2_64                   8.2-r0                               oe-repo  1.3 M
Installing dependencies:
.
.
.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91843</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-10-28 15:09:39 +0000</bug_when>
    <thetext>See also: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13338</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100086</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-10-31 15:09:22 +0000</bug_when>
    <thetext>Bulk move of 5.1 bugs to 5.2. -- YP bug review (Randy)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>