[bitbake-devel] [PATCH] fetch2: fix Exception parameters when BB_STRICT_CHECKSUM enabled

Joshua Lock josh at linux.intel.com
Tue Dec 13 22:11:55 UTC 2011



On 06/12/11 02:06, Martin Jansa wrote:
> With today's master I'm still getting rather long error message when just checksums are wrong.
> Do I have something wrong in my configuration?

You don't, for better or worse BitBake appears to dump the tasks log
when the task fails. Unfortunately this means we usually have to scroll
back to see the suggestion of how to rectify the issue.

> 
> NOTE: Running task 1 of 12 (ID: 4, openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.2.bb, do_fetch)
> NOTE: package subversion-1.7.2-r0: task do_fetch: Started
> WARNING: Fetcher failure for URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'. Checksum mismatch!
> File: '/OE/shr-core/downloads/subversion-1.7.2.tar.bz2' has md5 checksum 1e5dfffd27be080672e5a042564368a8 when 8a4fa74385df85a9702141b6b68b8307 was expected (from URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2')
> File: '/OE/shr-core/downloads/subversion-1.7.2.tar.bz2' has sha256 checksum 7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517 when d34bde626fac1aa553f5c9aeedf961999a77cc31540ace18da5aeacdd03d6608 was expected (from URL: 'h
> ttp://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2')
> ERROR: Function 'Fetcher failure for URL: 'http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2'. Unable to fetch URL http://archive.apache.org/dist/subversion/subversion-1.7.2.tar.bz2 from any source.' failed
> ERROR: Logfile of failure stored in: /OE/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/subversion-1.7.2-r0/temp/log.do_fetch.17472
> Log data follows:
<snip>
> NOTE: package subversion-1.7.2-r0: task do_fetch: Failed
> ERROR: Task 4 (openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.2.bb, do_fetch) failed with exit code '1'
> ERROR: 'openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.2.bb' failed

I agree this is a rather obnoxious error, it'll be a few days or so
before I get round to looking at it so I filed a bug to ensure it
doesn't get forgotten.

http://bugzilla.pokylinux.org/show_bug.cgi?id=1832

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre




More information about the bitbake-devel mailing list