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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
21,202 Views
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

0 Kudos
Reply
1 Solution
21,180 Views
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"
 

 

View solution in original post

3 Replies
21,181 Views
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"
 

 

21,143 Views
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 Kudos
Reply
21,185 Views
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.