<?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>3250</bug_id>
          
          <creation_ts>2012-10-08 19:20:30 +0000</creation_ts>
          <short_desc>Fetcher errors when looking for sstate package in do_package_write_ipk_setscene</short_desc>
          <delta_ts>2013-01-14 13:27:03 +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.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Jansa">Martin.Jansa</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26372</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2012-10-08 19:20:30 +0000</bug_when>
    <thetext>http://lists.linuxtogo.org/pipermail/openembedded-core/2012-September/030543.html

In last few days I often see errors when looking for sstate packages. They aren&apos;t fatal, build continues, 
but in the end bitbake returns non-zero exit code:
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Which causes jenkins jobs seeing it as failure. Can we hide fetcher error in this case?

The file is there, but with different PV
PV = &quot;1.0${DISTRO_VERSION}&quot;
DISTRO_VERSION = &quot;${DATE}&quot;

-rw-rw-r-- 1 jenkins nogroup 918 Sep 30 10:53
/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/sstate-cache/5c/sstate-shr-version-om_gta02-oe-linux-gnueabi-1.020120928-r0-om_gta02-2-5c3135b290962ddfbeb18f87956911bb_deploy-ipk.tgz
-rw-rw-r-- 1 jenkins nogroup 13K Sep 30 10:53
/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/sstate-cache/5c/sstate-shr-version-om_gta02-oe-linux-gnueabi-1.020120928-r0-om_gta02-2-5c3135b290962ddfbeb18f87956911bb_deploy-ipk.tgz.siginfo

So it&apos;s correct that it&apos;s not reused from sstate, just the fetcher error
shouldn&apos;t be ERROR imho.

NOTE: recipe shr-version-1.020120930-r0: task do_package_write_ipk_setscene: Started
WARNING: Failed to fetch URL file://5c/sstate-shr-version-om_gta02-oe-linux-gnueabi-1.020120930-r0-om_gta02-2-5c3135b290962ddfbeb18f87956911bb_deploy-ipk.tgz,
attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find file file://5c/sstate-shr-version-om_gta02-oe-linux-gnueabi-1.020120930-r0-om_gta02-2-5c3135b290962ddfbeb18f87956911bb_deploy-ipk.tgz
anywhere. The paths that were searched were:
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/task-package_write_ipk_setscene
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/linux-gnueabi
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/arm
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/build-linux
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/pn-shr-version
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/armv4
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/shr
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/class-target
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/forcevariable
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/thumb
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/libc-glibc
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930-r0/
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/task-package_write_ipk_setscene
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/linux-gnueabi
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/arm
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/build-linux
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/pn-shr-version
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/armv4
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/shr
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/class-target
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/forcevariable
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/thumb
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/libc-glibc
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/task-package_write_ipk_setscene
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/linux-gnueabi
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/arm
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/build-linux
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/pn-shr-version
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/armv4
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/shr
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/class-target
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/forcevariable
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/thumb
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/libc-glibc
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/task-package_write_ipk_setscene
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/linux-gnueabi
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/arm
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/build-linux
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/pn-shr-version
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/armv4
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/shr
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/class-target
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/forcevariable
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/thumb
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/libc-glibc
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version-1.020120930/
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/task-package_write_ipk_setscene
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/linux-gnueabi
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/arm
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/build-linux
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/pn-shr-version
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/armv4
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/shr
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/class-target
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/forcevariable
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/thumb
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/libc-glibc
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version/
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/task-package_write_ipk_setscene
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/linux-gnueabi
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/arm
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/build-linux
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/pn-shr-version
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/armv4
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/shr
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/class-target
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/forcevariable
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/thumb
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/libc-glibc
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/files/
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/task-package_write_ipk_setscene
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/linux-gnueabi
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/arm
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/build-linux
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/pn-shr-version
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/armv4
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/om-gta02
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/class-target
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/forcevariable
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/thumb
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/libc-glibc
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/.
    /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/sstate-cache
NOTE: recipe xserver-common-1.34-r8: task do_populate_sysroot_setscene: Succeeded
NOTE: recipe shr-version-1.020120930-r0: task do_package_write_ipk_setscene: Failed
WARNING: Setscene task 642 (/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version.bb, do_package_write_ipk_setscene) failed with exit code &apos;1&apos; - real task will be run instead</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26376</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-10-08 21:32:14 +0000</bug_when>
    <thetext>What is odd here is that it should never have run the setscene task at all if a valid sstate file was unavailable. Its supposed to check what exists in advance and only run if things exist.

So the errors are correct, this shouldn&apos;t have run at all if the file isn&apos;t there. The question then becomes why did the test function in sstate.bbclass think it would suceed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26402</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-10-09 09:02:14 +0000</bug_when>
    <thetext>I&apos;m trying to figure out the best way to reproduce/debug this and I&apos;m struggling. As you point out, the problem is clearly the date in the PV. I have a suspicion that BitBake&apos;s cache is holding the old date and this is used for the &quot;sstate cache file exists&quot; test in sstate.bbclass but then when teh task is run, it is reparse, the date updated and the filename changes.

Did you exclude DATE from being part of the sstate checksum in this case? I suspect that would also be cause of some of the problems if you did. I&apos;m left concluding that since the checksum hasn&apos;t changed between the two yet the date clearly has.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26406</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-10-09 09:56:19 +0000</bug_when>
    <thetext>(10:06:09) JaMa: RP__: it&apos;s DISTRO_VERSION, but I&apos;ve seen the same errors with different recipes (which don&apos;t have DATE in it)
(10:07:13) RP__: JaMa: Can you easily reproduce? The cooker log with -DDD would probably be useful along with the setscene failure log
(10:07:42) RP__: JaMa: A version of this without DATE confusing things would also be helpful
(10:08:04) JaMa: not right now, but I&apos;ll attach logs to that bug when I get them
(10:08:58) JaMa: and both cases are with SSTATE_MIRROR defined</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26407</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-10-09 09:56:51 +0000</bug_when>
    <thetext>Rclassify as medium since the builds don&apos;t break, its more of an annoyance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27768</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-11-28 09:17:06 +0000</bug_when>
    <thetext>Martin: Are you still seeing this issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28282</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-12-14 09:07:28 +0000</bug_when>
    <thetext>I&apos;m going to close this since as in the previous comment, the checksum looks to have excluded the DATE contents when it clearly should be included for this task. This isn&apos;t in any of the default configurations I can find.

If it can be reproduced with more informaiton, please reopen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28806</commentid>
    <comment_count>7</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2013-01-14 13:01:32 +0000</bug_when>
    <thetext>All relevant logs to shr-version are now here:
http://build.shr-project.org/tests/jama/shr-version/

This is with bitbake-1.16, danny and OEBasic.

Interesting parts:
shr-version.log:
DEBUG: SState: Found valid sstate file /OE/shr-core/sstate-cache/96/sstate-shr-version-om_gta02-oe-linux-gnueabi-1.020121226-r0-om_gta02-2-96e39ac3ddfae94cc8c2fbd2297e1bf7_deploy-ipk.tgz
DEBUG: SState using premirror of: file://.* http://garnet.openembedded.org/shr-core-sstate-cache/PATH
but downloading with new PV
DEBUG: Running /OE/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version.bb:do_package_write_ipk_setscene under fakeroot, fakedirs: /OE/shr-core/tmp-eglibc/work/om_gta02-oe-linux-gnueabi/shr-version-1.020121226-r0/pseudo/
NOTE: recipe shr-version-1.020130114-r0: task do_package_write_ipk_setscene: Started
WARNING: Failed to fetch URL file://96/sstate-shr-version-om_gta02-oe-linux-gnueabi-1.020130114-r0-om_gta02-2-96e39ac3ddfae94cc8c2fbd2297e1bf7_deploy-ipk.tgz, attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find file file://96/sstate-shr-version-om_gta02-oe-linux-gnueabi-1.020130114-r0-om_gta02-2-96e39ac3ddfae94cc8c2fbd2297e1bf7_deploy-ipk.tgz anywhere. The paths that were searched were:

For some reason it&apos;s also trying to use different WORKDIR in do_write_package_ipk:
DEBUG: Stampfile /OE/shr-core/tmp-eglibc/stamps/om_gta02-oe-linux-gnueabi/shr-version-1.020121226-r0.do_package_write_ipk not available
NOTE: Running task 987 of 992 (ID: 11, /OE/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version.bb, do_package_write_ipk)
DEBUG: Running /OE/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version.bb:do_package_write_ipk under fakeroot, fakedirs: /OE/shr-core/tmp-eglibc/work/om_gta02-oe-linux-gnueabi/shr-version-1.020121226-r0/pseudo/
DEBUG: Setscene covered task 3 (/OE/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version.bb, do_populate_sysroot)
NOTE: recipe shr-version-1.020130114-r0: task do_package_write_ipk: Started
ERROR: Error executing a python function in /OE/shr-core/meta-smartphone/meta-shr/recipes-shr/shr/shr-version.bb:
OSError: [Errno 2] No such file or directory: &apos;/OE/shr-core/tmp-eglibc/work/om_gta02-oe-linux-gnueabi/shr-version-1.020130114-r0/packages-split/shr-version&apos;

$ grep ^DISTRO_VERSION shr-version.env
DISTRO_VERSION=&quot;20130114&quot;
DISTRO_VERSION = 20130114
$ grep ^PV shr-version.env
PV=&quot;1.020130114&quot;

but bitbake -S shr-version creates .sigdata files for shr-version-1.020121226 not shr-version-1.020130114

is DISTRO_VERSION = ${DATE} &amp;&amp; PV = &quot;1.0${DISTRO_VERSION}&quot; really so bad idea?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28811</commentid>
    <comment_count>8</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2013-01-14 13:27:03 +0000</bug_when>
    <thetext>after removing cache:
rm -rf tmp-eglibc/cache/default-eglibc/ tmp-eglibc/cache/bb_codeparser.dat
it seems to work correctly, bitbake -S shr-version as well as build. I&apos;ve added another bitbake -DDD shr-version (shr-version.log.clean.cache)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>