Bug 11190

Summary: ERROR: file-native-5.28-r0 do_fetch: Fetcher failure for URL: 'git://github.com/file/file.git'.
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Phil Wise <phil>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: jku, meta.mr.watcher, meta.watcher, ross.burton
Version: 2.2   
Target Milestone: 2.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Phil Wise 2017-03-20 09:05:39 UTC
The git commit referenced in meta/recipes-devtools/file/file_5.28.bb doesn't appear in the git history of upstream any more.

I've pushed it to a branch on my private github:

diff --git a/meta/recipes-devtools/file/file_5.28.bb b/meta/recipes-devtools/file/file_5.28.bb
index e64a89c..35463f8 100644
--- a/meta/recipes-devtools/file/file_5.28.bb
+++ b/meta/recipes-devtools/file/file_5.28.bb
@@ -14,7 +14,7 @@ DEPENDS_class-native = "zlib-native"
 # Blacklist a bogus tag in upstream check
 UPSTREAM_CHECK_GITTAGREGEX = "FILE(?P<pver>(?!6_23).+)"
 
-SRC_URI = "git://github.com/file/file.git \
+SRC_URI = "git://github.com/cajun-rat/file.git?branch=yocto-morty \
         file://debian-742262.patch \
         file://0001-Add-P-prompt-into-Usage-info.patch \
         "

What is an appropriate way to fix this bug?
Comment 1 Phil Wise 2017-03-20 09:17:03 UTC
It appears there is already a patch for this:

https://patchwork.openembedded.org/series/5871/#
Comment 2 Jussi Kukkonen 2017-03-20 09:47:09 UTC
This affects every release in the last two years :(
Comment 3 Ross Burton 2017-03-20 17:31:52 UTC
Fixed in oe-core master adb71e06768adadda7b69c3b5e81ca3ad67237f4 (and krogoth/morty branches).
Comment 4 Phil Wise 2017-03-21 07:28:16 UTC
Sweet, thank you!