<?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>2311</bug_id>
          
          <creation_ts>2012-04-17 12:16:52 +0000</creation_ts>
          <short_desc>SRC checksums are not being checked</short_desc>
          <delta_ts>2012-05-21 14:11:16 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.2</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>(P1)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Thomas">gary</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>scott.a.garman</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</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>20523</commentid>
    <comment_count>0</comment_count>
    <who name="Gary Thomas">gary</who>
    <bug_when>2012-04-17 12:16:52 +0000</bug_when>
    <thetext>Since change 521d6b14, SRC_URI checksums are not being checked at all.  I believe that this is because the .done stamps are being created manually instead of calling the update_stamp() function which is the place that checksums are verified.

It&apos;s easy to reproduce this - just mangle the checksums in a recipe and run through patch, e.g. I mangled the recipe for busybox, then ran
  % bitbake busybox -c cleansstate
  % bitbake busybox -c patch
which yielded this output:
OE Build Configuration:
BB_VERSION        = &quot;1.15.1&quot;
TARGET_ARCH       = &quot;arm&quot;
TARGET_OS         = &quot;linux-gnueabi&quot;
MACHINE           = &quot;beagleboard&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.1+snapshot-20120417&quot;
TUNE_FEATURES     = &quot;armv7a vfp neon cortexa8&quot;
TARGET_FPU        = &quot;vfp-neon&quot;
meta              
meta-yocto        = &quot;(nobranch):4d9f4d6ac25f39fe6d5491d05c7a26195bab648b&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 8 of 10 (ID: 2, /home/local/poky-master/meta/recipes-core/busybox/busybox_1.19.4.bb, do_fetch)
NOTE: package busybox-1.19.4-r1: task do_fetch: Started
WARNING: Failed to fetch URL http://www.busybox.net/downloads/busybox-1.19.4.tar.bz2;name=tarball
NOTE: package busybox-1.19.4-r1: task do_fetch: Succeeded
NOTE: Running task 9 of 10 (ID: 0, /home/local/poky-master/meta/recipes-core/busybox/busybox_1.19.4.bb, do_unpack)
NOTE: package busybox-1.19.4-r1: task do_unpack: Started
NOTE: package busybox-1.19.4-r1: task do_unpack: Succeeded
NOTE: Running task 10 of 10 (ID: 1, /home/local/poky-master/meta/recipes-core/busybox/busybox_1.19.4.bb, do_patch)
NOTE: package busybox-1.19.4-r1: task do_patch: Started
NOTE: package busybox-1.19.4-r1: task do_patch: Succeeded
NOTE: Tasks Summary: Attempted 10 tasks of which 7 didn&apos;t need to be rerun and all succeeded.

This should fail (and did before the changeset mentioned above).  Tested in
master (04d6aa1) and 1.2_M4.rc4 (4d9f4d6)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20569</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-17 23:24:58 +0000</bug_when>
    <thetext>Fixing this problem is going to be too invasive at this point in the release so it will have to be a 1.3 and point release fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20916</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-04-30 15:46:30 +0000</bug_when>
    <thetext>*** Bug 2376 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21497</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-05-21 14:11:16 +0000</bug_when>
    <thetext>The patches at http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=b0b9ee29a216d63387684dd6c3934b059849ab5b and previous commit address various checksum related issues.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>