[oe] [meta-oe][PATCH] glog: fix do_fetch error

Adrian Bunk bunk at stusta.de
Mon Dec 23 07:52:36 UTC 2019


On Mon, Dec 23, 2019 at 03:14:21PM +0800, quanyang.wang at windriver.com wrote:
> From: Quanyang Wang <quanyang.wang at windriver.com>
> 
> This fixes the build error as below:
> WARNING: glog-0.3.5-r0 do_fetch: Failed to fetch URL git://github.com/google/glog.git;branch=v035, attempting MIRRORS if available
> ERROR: glog-0.3.5-r0 do_fetch: Fetcher failure: Unable to find revision a6a166db069520dbbd653c97c2e5b12e08a8bb26 in branch v035 even from upstream
> ERROR: glog-0.3.5-r0 do_fetch: Fetcher failure for URL: 'git://github.com/google/glog.git;branch=v035'. Unable to fetch URL from any source.
>...
> --- a/meta-oe/recipes-support/glog/glog_0.3.5.bb
> +++ b/meta-oe/recipes-support/glog/glog_0.3.5.bb
> @@ -9,14 +9,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
>  DEPENDS = "libunwind"
>  
>  SRC_URI = " \
> -    git://github.com/google/glog.git;branch=v035 \
> +    git://github.com/google/glog.git;nobranch=1;tag=v0.3.5 \
>...
> -SRCREV = "a6a166db069520dbbd653c97c2e5b12e08a8bb26"
>...

Please continue using SRCREV instead of tag.

Upstream could move a tag to a different commit, or someone could
do a man-in-the middle attack providing anything under this tag.

cu
Adrian


More information about the Openembedded-devel mailing list