Bug 2475

Summary: x11-common fails while fetching
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Andrei Gherzan <andrei>
Component: graphicsAssignee: Andrei Gherzan <andrei>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: ppc   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Andrei Gherzan 2012-05-20 16:18:46 UTC
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 "/home/agherzan/work/personal/yocto/poky-contrib/bitbake/lib/bb/fetch2/__init__.py", line 1001, in download
ERROR:     update_stamp(u, ud, self.d)
ERROR: 
ERROR:   File "/home/agherzan/work/personal/yocto/poky-contrib/bitbake/lib/bb/fetch2/__init__.py", line 335, in update_stamp
ERROR:     verify_checksum(u, ud, d)
ERROR: 
ERROR:   File "/home/agherzan/work/personal/yocto/poky-contrib/bitbake/lib/bb/fetch2/__init__.py", line 277, in verify_checksum
ERROR:     md5data = bb.utils.md5_file(ud.localpath)
ERROR: 
ERROR:   File "/home/agherzan/work/personal/yocto/poky-contrib/bitbake/lib/bb/utils.py", line 362, 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:       bb.warn('SRC_URI = %s' % src_uri)
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: /home/agherzan/work/personal/yocto/2012-05-20-qemuppc/tmp/work/all-poky-linux/x11-common-0.1-r44/temp/log.do_fetch.29963
NOTE: package x11-common-0.1-r44: task do_fetch: Failed
ERROR: Task 0 (/home/agherzan/work/personal/yocto/poky-contrib/meta/recipes-graphics/x11-common/x11-common_0.1.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/agherzan/work/personal/yocto/poky-contrib/meta/recipes-graphics/x11-common/x11-common_0.1.bb, do_fetch
Comment 1 Andrei Gherzan 2012-05-20 16:19:16 UTC
The problem seems to be that src_uri contains a directory: file://etc/
Comment 3 Andrei Gherzan 2012-05-21 10:48:15 UTC
Merged to master.

commit f99ac522027dfd0331ff37c551766ec8acfce697
Author: Andrei Gherzan <andrei@gherzan.ro>
Date:   Sun May 20 20:16:35 2012 +0300