ERROR: do_fetch: Fetcher failure for URL: 'git://github.com/fsnotify/fsnotify.git'

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ERROR: do_fetch: Fetcher failure for URL: 'git://github.com/fsnotify/fsnotify.git'

ソリューションへジャンプ
17,963件の閲覧回数
kiwamuokabe
NXP Employee
NXP Employee

Dear all,

I found following error and can't build imx-5.10.72-2.2.0.

Sstate summary: Wanted 3379 Local 0 Network 0 Missed 3379 Current 504 (0% match, 12% complete)
NOTE: Executing Tasks
WARNING: go-fsnotify-1.2.11+gitAUTOINC+836bfd95fe-r0 do_fetch: Failed to fetch URL git://github.com/fsnotify/fsnotify.git, attempting MIRRORS if available
ERROR: go-fsnotify-1.2.11+gitAUTOINC+836bfd95fe-r0 do_fetch: Fetcher failure: Unable to find revision 836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6 in branch master even from upstream
ERROR: go-fsnotify-1.2.11+gitAUTOINC+836bfd95fe-r0 do_fetch: Fetcher failure for URL: 'git://github.com/fsnotify/fsnotify.git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/kiwamu/src/NXP/nxp-yocto-build_IW416/bsp/build-xwayland/tmp/work/cortexa53-crypto-poky-linux/go-fsnotify/1.2.11+gitAUTOINC+836bfd95fe-r0/temp/log.do_fetch.4023
ERROR: Task (/home/kiwamu/src/NXP/nxp-yocto-build_IW416/bsp/sources/meta-virtualization/recipes-devtools/go/go-fsnotify_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2514 tasks of which 2474 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/kiwamu/src/NXP/nxp-yocto-build_IW416/bsp/sources/meta-virtualization/recipes-devtools/go/go-fsnotify_git.bb:do_fetch

Is it upstream error, or Yocto side one?

Best Regards, Kiwamu Okabe

ラベル(3)
0 件の賞賛
1 解決策
17,941件の閲覧回数
Vishwasrao
Contributor I

Hello @kiwamuokabe ,

I have resolved this issue. The name for master branch is shifted to main so I have updated the recipe for go-fsnotify as below.

SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https" 
 
Initially it was 
 
SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
 

 

元の投稿で解決策を見る

3 返答(返信)
17,942件の閲覧回数
Vishwasrao
Contributor I

Hello @kiwamuokabe ,

I have resolved this issue. The name for master branch is shifted to main so I have updated the recipe for go-fsnotify as below.

SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https" 
 
Initially it was 
 
SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
 

 

17,904件の閲覧回数
kiwamuokabe
NXP Employee
NXP Employee

Thank you. Your patch works for me.

--- a/recipes-devtools/go/go-fsnotify_git.bb
+++ b/recipes-devtools/go/go-fsnotify_git.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c38914c9a7ab03bb2b96d4baaee10769"
SRCNAME = "fsnotify"

PKG_NAME = "github.com/fsnotify/${SRCNAME}"
-SRC_URI = "git://${PKG_NAME}.git"
+SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"

SRCREV = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6"
PV = "1.2.11+git${SRCPV}"
0 件の賞賛
17,946件の閲覧回数
Vishwasrao
Contributor I

Hello @kiwamuokabe , I am also facing similar error since today morning, I am not sure but it can be an upstream error.