<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I was trying to add <b>avahi</b> and <b>dhcp  </b>to my image. While running
<b>$bitbake dhcp avahi, </b>everything is working fine but when I add these packages to packagegroup  or directly to the image recipe using EXTRA_IMAGE_INSTALL or IMAGE_INSTALL_append. It starts giving error.<o:p></o:p></p>
<p class="MsoNormal">The error  for avahi is shown below:<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><i>ERROR: core-image-special-pdm3-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/iepl007/yocto_build/build_dir/tmp/work/pdm3_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c /home/iepl007/yocto_build/build_dir/tmp/work/pdm3_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/rootfs/etc/dnf/dnf.conf
 --setopt=reposdir=/home/iepl007/yocto_build/build_dir/tmp/work/pdm3_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/rootfs/etc/yum.repos.d --repofrompath=oe-repo,/home/iepl007/yocto_build/build_dir/tmp/work/pdm3_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/oe-rootfs-repo
 --installroot=/home/iepl007/yocto_build/build_dir/tmp/work/pdm3_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/rootfs --setopt=logdir=/home/iepl007/yocto_build/build_dir/tmp/work/pdm3_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/temp --nogpgcheck install
 packagegroup-pdm3-apps packagegroup-pdm3-qt packagegroup-core-tools-debug packagegroup-core-boot packagegroup-core-x11 packagegroup-pdm3-base packagegroup-core-tools-profile packagegroup-pdm3-fonts base-passwd packagegroup-core-ssh-openssh shadow run-postinsts
 kernel-image-fitimage-4.14.79-yocto-standard' returned 1:<o:p></o:p></i></p>
<p class="MsoNormal"><i>Added oe-repo repo from /home/iepl007/yocto_build/build_dir/tmp/work/pdm3_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/oe-rootfs-repo<o:p></o:p></i></p>
<p class="MsoNormal"><i>Last metadata expiration check: 0:00:00 ago on Tue 09 Apr 2019 01:49:20 PM UTC.<o:p></o:p></i></p>
<p class="MsoNormal"><i>Error:<o:p></o:p></i></p>
<p class="MsoNormal"><i>Problem: conflicting requests<o:p></o:p></i></p>
<p class="MsoNormal"><i>  - nothing provides avahi needed by packagegroup-pdm3-apps-1.0-r1.noarch<o:p></o:p></i></p>
<p class="MsoNormal"><i><o:p> </o:p></i></p>
<p class="MsoNormal"><i>ERROR: core-image-special-pdm3-1.0-r0 do_rootfs: Function failed: do_rootfs<o:p></o:p></i></p>
<p class="MsoNormal"><i>ERROR: Logfile of failure stored in: /home/iepl007/yocto_build/build_dir/tmp/work/pdm3_zynqmp-pdm3-linux/core-image-special-pdm3/1.0-r0/temp/log.do_rootfs.12565<o:p></o:p></i></p>
<p class="MsoNormal"><i>ERROR: Task (/home/iepl007/yocto_build/poky/../meta-pdm3-dev/meta-ifm-pdm3/recipes-core/images/core-image-special-pdm3.bb:do_rootfs) failed with exit code '1'
<o:p></o:p></i></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And the error for dhcp is shown below:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i>ERROR: Nothing RPROVIDES 'dhcp' (but /home/iepl007/yocto_build/poky/../meta-pdm3-dev/meta-ifm-pdm3/recipes-core/packagegroups/packagegroup-pdm3-app.bb RDEPENDS on or otherwise requires it)<o:p></o:p></i></p>
<p class="MsoNormal"><i>NOTE: Runtime target 'dhcp' is unbuildable, removing...<o:p></o:p></i></p>
<p class="MsoNormal"><i>Missing or unbuildable dependency chain was: ['dhcp']<o:p></o:p></i></p>
<p class="MsoNormal"><i>NOTE: Runtime target 'packagegroup-pdm3-apps' is unbuildable, removing...<o:p></o:p></i></p>
<p class="MsoNormal"><i>Missing or unbuildable dependency chain was: ['packagegroup-pdm3-apps', 'dhcp']<o:p></o:p></i></p>
<p class="MsoNormal"><i>ERROR: Required build target 'pdm3-special-swuimage' has no buildable providers.<o:p></o:p></i></p>
<p class="MsoNormal"><i>Missing or unbuildable dependency chain was: ['pdm3-special-swuimage', 'core-image-special-pdm3', 'packagegroup-pdm3-apps', 'dhcp']<o:p></o:p></i></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please provide a solution for this I don’t want to clean my sstate-cache or the tmp directory. I am ready to debug the corrupted sstate if someone is experienced with sstate-cache.
<o:p></o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Kamal Pandey<o:p></o:p></p>
</div>
</body>
</html>