glog: fix do_fetch error
PATCH 1/1 glog: fix do_fetch error
From: Quanyang Wang <[email protected]>
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.
--- meta-oe/recipes-support/glog/glog_0.3.5.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta-oe/recipes-support/glog/glog_0.3.5.bb +1 -3
@@ -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 \ file://0001-Rework-CMake-glog-VERSION-management.patch \ file://0002-Find-Libunwind-during-configure.patch \ file://0003-installation-path-fix.patch \ " -SRCREV = "a6a166db069520dbbd653c97c2e5b12e08a8bb26" - S = "${WORKDIR}/git" inherit cmake
Signature · 1 line
2.17.1
Quoted 10 lines · On Mon, Dec 23, 2019 at 03:14:21PM +0800, [email protected] wrote:
From: Quanyang Wang <[email protected]>
This fixes the build error as below:
WARNING: glog-0.3.5-r0do_fetch: Failed to fetch URLgit://github.com/google/glog.git;branch=v035, attempting MIRRORS if available
ERROR: glog-0.3.5-r0do_fetch: Fetcher failure: Unable to find revisiona6a166db069520dbbd653c97c2e5b12e08a8bb26in branch v035 even from upstream
ERROR: glog-0.3.5-r0do_fetch: Fetcher failure for URL: 'git://github.com/google/glog.git;branch=v035'. Unable to fetch URL from any source.
...
meta-oe/recipes-support/glog/glog_0.3.5.bb LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b" · line 18
Quoted 8 lines
meta-oe/recipes-support/glog/glog_0.3.5.bb +1
-2@@ -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
Hi Adrian,
Quoted 13 lines · Adrian Bunk
Quoted 12 lines · On Mon, Dec 23, 2019 at 03:14:21PM +0800, [email protected] wrote:
From: Quanyang Wang <[email protected]>
This fixes the build error as below:
WARNING: glog-0.3.5-r0do_fetch: Failed to fetch URLgit://github.com/google/glog.git;branch=v035, attempting MIRRORS if available
ERROR: glog-0.3.5-r0do_fetch: Fetcher failure: Unable to find revisiona6a166db069520dbbd653c97c2e5b12e08a8bb26in branch v035 even from upstream
ERROR: glog-0.3.5-r0do_fetch: Fetcher failure for URL: 'git://github.com/google/glog.git;branch=v035'. Unable to fetch URL from any source.
...meta-oe/recipes-support/glog/glog_0.3.5.bb +0
-0@@ -9,14 +9,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b" DEPENDS = "libunwind"
Quoted 7 lines
meta-oe/recipes-support/glog/glog_0.3.5.bb LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b" · line 18
Quoted 6 lines
meta-oe/recipes-support/glog/glog_0.3.5.bb +1
-2SRC_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.
OK. Will send a V2 patch to fix it.
Thanks,
Quanyang
Quoted 6 lines
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