| Summary: | BB_NO_NETWORK broken for git repositories | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Gary Thomas <gary> |
| Component: | core | Assignee: | Richard Purdie <richard.purdie> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Medium+ | CC: | ionutx.chisanovici, meta.mr.watcher, meta.watcher, richard.purdie |
| Version: | unspecified | ||
| Target Milestone: | 1.6 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Gary Thomas
2013-12-05 12:17:27 UTC
The new validation code was catching cases where the incorrect branch was set on git repositories. As of http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f19546e02d3318ee69fd0c34e21aa97b74c987ec it will catch these even when BB_NO_NETWORK is set. There are patches in OE-Core master to fix the various repositories which had incorrect branches. Sorry, this still fails for me. I updated to the Poky/Yocto master rev 5301c59503e0d3fdc0080d80754ec66db40de46c which includes the mentioned change. I tried my two test cases - both failed: ERROR: Function failed: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command git fetch -f --prune git://git.yoctoproject.org/matchbox-keyboard refs/*:refs/* (for url git://git.yoctoproject.org/matchbox-keyboard;branch=matchbox-keyboard-0-1) ERROR: Logfile of failure stored in: /tmp/p8301_test/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/matchbox-keyboard/0.0+gitAUTOINC+217f1bfe14-r4/temp/log.do_fetch.30373 ERROR: Function failed: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command git fetch -f --prune git://git.yoctoproject.org/prelink-cross.git refs/*:refs/* (for url git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink) ERROR: Logfile of failure stored in: /tmp/p8301_test/tmp/work/cortexa9hf-vfp-neon-amltd-linux-gnueabi/prelink/1.0+gitAUTOINC+6822ec76aa-r0/temp/log.do_fetch.30260 What am I missing? Still broken unless I'm missing something. If you immediately rerun the command it works. It was a state issue inside the fetcher and is addressed by http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=184038bedb20f74ba4dcad6ef2d92e87a9ba5f9a This is verified with master:005af45191ded6185c618c708181b31281e43092. Cheers, Ionut C |