[poky] [denzil][PATCH 1/9] bitbake/fetch: Spell out which fetcher backends support and recommend checksums
Scott Garman
scott.a.garman at intel.com
Tue Jul 31 14:39:44 PDT 2012
On 07/30/2012 03:52 PM, McClintock Matthew-B29882 wrote:
> On Tue, Jul 3, 2012 at 5:32 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> From: Richard Purdie <richard.purdie at linuxfoundation.org>
>>
>> There were some hardcoded behaviours in the system for which backends
>> support checksums verses which backends recommend them verses which
>> don't recommend them.
>>
>> This moves the functionality into specific fetchers and then makes the
>> general code generic. This cleans up the codebase and fixes some corner
>> cases such as trying to checksum directories returned by the git fetcher.
>>
>> (Bitbake rev: ef6d268f7b8527541a7fb044cf95a973be4097f4)
>>
>> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
>
> This patch is causing the following issue in the denzil branch of poky:
>
> NOTE: package libpam-1.1.5-r3: task do_fetch: Started
> ERROR: Error executing a python function in
> /local/home/mattsm/git/poky-upstream/meta/recipes-extended/pam/libpam_1.1.5.bb:
> IOError: [Errno 2] No such file or directory:
> '/local/home/mattsm/git/poky-upstream/meta/recipes-extended/pam/libpam/./pam.d/*'
Thanks for testing and reporting this, Matthew. I have rebased my
sgarman/denzil-1.2.2 branch to remove this commit.
I'm going through my denzil queue of patches right now and hope to be on
top of everything by EOD - I will send out an overall status email then
in which I will also announce renaming my branch to simply
sgarman/denzil-next.
Scott
> ERROR: The stack trace of python calls that resulted in this
> exception/failure was:
> ERROR: File "base_do_fetch", line 18, in <module>
> ERROR:
> ERROR: File "base_do_fetch", line 13, in base_do_fetch
> ERROR:
> ERROR: File "/local/home/mattsm/git/poky-upstream/bitbake/lib/bb/fetch2/__init__.py",
> line 1037, in download
> ERROR: update_stamp(u, ud, self.d)
> ERROR:
> ERROR: File "/local/home/mattsm/git/poky-upstream/bitbake/lib/bb/fetch2/__init__.py",
> line 335, in update_stamp
> ERROR: verify_checksum(u, ud, d)
> ERROR:
> ERROR: File "/local/home/mattsm/git/poky-upstream/bitbake/lib/bb/fetch2/__init__.py",
> line 277, in verify_checksum
> ERROR: md5data = bb.utils.md5_file(ud.localpath)
> ERROR:
> ERROR: File "/local/home/mattsm/git/poky-upstream/bitbake/lib/bb/utils.py",
> line 482, in md5_file
> ERROR: for line in open(filename):
> ERROR:
> ERROR: The code that was being executed was:
> ERROR: 0014: except bb.fetch2.BBFetchException, e:
> ERROR: 0015: raise bb.build.FuncFailed(e)
> ERROR: 0016:
> ERROR: 0017:
> ERROR: *** 0018:base_do_fetch(d)
> ERROR: 0019:
> ERROR: (file: 'base_do_fetch', lineno: 18, function: <module>)
> ERROR: 0009: bb.data.update_data(localdata)
> ERROR: 0010:
> ERROR: 0011: try:
> ERROR: 0012: fetcher = bb.fetch2.Fetch(src_uri, localdata)
> ERROR: *** 0013: fetcher.download()
> ERROR: 0014: except bb.fetch2.BBFetchException, e:
> ERROR: 0015: raise bb.build.FuncFailed(e)
> ERROR: 0016:
> ERROR: 0017:
> ERROR: (file: 'base_do_fetch', lineno: 13, function: base_do_fetch)
> ERROR: Function failed: base_do_fetch
> ERROR: Logfile of failure stored in:
> /local/home/mattsm/git/poky-upstream/build-denzil/tmp/work/ppce5500-poky-linux/libpam-1.1.5-r3/temp/log.do_fetch.9368
> NOTE: package libpam-1.1.5-r3: task do_fetch: Failed
> ERROR: Task 0 (/local/home/mattsm/git/poky-upstream/meta/recipes-extended/pam/libpam_1.1.5.bb,
> do_fetch) failed with exit code '1'
>
> -M
--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
More information about the poky
mailing list