<?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>12279</bug_id>
          
          <creation_ts>2017-10-26 06:39:08 +0000</creation_ts>
          <short_desc>enhance manifest not found warning</short_desc>
          <delta_ts>2026-01-26 07:12:28 +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.5</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>NEWCOMER</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="New Comer Bugs">newcomer</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>mikejongen12</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tgamblin</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>77823</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2017-10-26 06:39:08 +0000</bug_when>
    <thetext>The warning when manifest not found:
WARNING: lib32-wrlinux-image-glibc-small-1.0-r1 do_prepare_recipe_sysroot: Manifest /path/to/tmp/sstate-control/manifest-allarch-lib32-qemuwrapper-cross.populate_sysroot not found?
    
The message wasn&apos;t clear enough, it searched a few manifests, but only reported the last one, which confused user.

We can enhance it to:

WARNING: lib32-wrlinux-image-glibc-small-1.0-r1 do_rootfs: Manifest not found, searched manifests:
/path/to/tmp/sstate-control/manifest-qemux86_64-lib32-qemuwrapper-cross.populate_sysroot
/path/to/tmp/sstate-control/manifest-core2-64-lib32-qemuwrapper-cross.populate_sysroot
/path/to/tmp/sstate-control/manifest-x86_64-lib32-qemuwrapper-cross.populate_sysroot
/path/to/tmp/sstate-control/manifest-allarch-lib32-qemuwrapper-cross.populate_sysroot</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93531</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-06-16 15:22:38 +0000</bug_when>
    <thetext>From sysroot staging code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96111</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-07-26 21:29:36 +0000</bug_when>
    <thetext>Bulk move to 4.3 M3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96496</commentid>
    <comment_count>3</comment_count>
    <who name="Trevor Gamblin">tgamblin</who>
    <bug_when>2023-09-14 16:55:19 +0000</bug_when>
    <thetext>Moved to M4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98027</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-01-25 14:32:32 +0000</bug_when>
    <thetext>Robert had this bug in in progress-review. I wonder if it actually was fixed...
Move from 5.0 M2 to M4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98805</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-04-25 01:08:00 +0000</bug_when>
    <thetext>Move to 5.99 since no one is actively working on this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104062</commentid>
    <comment_count>6</comment_count>
    <who name="Mike Jongen">mikejongen12</who>
    <bug_when>2026-01-23 15:43:19 +0000</bug_when>
    <thetext>hello,
I checked if I could reproduce the error, and it seems like the issue is already fixed.
This is the error I got:

ERROR: qemuwrapper-cross-1.0-r0 do_prepare_recipe_sysroot: The sstate manifest for task &apos;qemu-native:populate_sysroot&apos; (multilib variant &apos;&apos;) could not be found.
The pkgarchs considered were: x86_64, x86_64_ubuntu-24.04.
But none of these manifests exists:
    /path/to/tmp/sstate-control/manifest-x86_64-qemu-native.populate_sysroot
    /path/to/tmp/sstate-control/manifest-x86_64_ubuntu-24.04-qemu-native.populate_sysroot
ERROR: Logfile of failure stored in: /path/to/tmp/work/cortexa72-poky-linux/qemuwrapper-cross/1.0/temp/log.do_prepare_recipe_sysroot.91564
ERROR: Task (/path/to/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_prepare_recipe_sysroot) failed with exit code &apos;1&apos;

Is this enough to close this bug?

Steps to reproduce
1. select a package with a do_prepare_recipe_sysroot task, which depends on a do_populate_sysroot task (I choose qemuwrapper-cross.do_prepare_recipre_sysroot and qemu-native.do_populate_sysroot)
2. clean sstate of both packages:
`bitbake -c cleansstate qemuwrapper-cross`
`bitbake -c cleansstate qemu-native`
3. run do populate_sysroot task:
`bitbake -c do_populate_sysroot qemu-native`
4. remove manifest*.populate_sysroot file of the package you just made
5. run do prepare_recipe_sysroot task
`bitbake -c do_prepare_recipe_sysroot qemuwrapper-cross`
You should now get the error</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104063</commentid>
    <comment_count>7</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2026-01-26 07:12:28 +0000</bug_when>
    <thetext>@Mike, yes, that&apos;s enough to close it, thanks for the update.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>