[yocto] New issue with git fetcher?
Scott Garman
scott.a.garman at intel.com
Mon Oct 18 17:54:20 PDT 2010
Hi Richard,
This afternoon I performed a build from scratch using master, which
included your git fetcher change to use mirror tarballs
(1077021f7010388e889d85630b13c4c7901d7718).
When I performed my build from scratch (using a pre-populated DL_DIR
from previous builds), linux-wrs failed on do_fetch, with the following
in log.do_fetch:
From git://git.pokylinux.org/linux-2.6-windriver
* branch common_pc-standard -> FETCH_HEAD
From git://git.pokylinux.org/linux-2.6-windriver
* [new tag] v2.6.36-rc5 -> v2.6.36-rc5
* [new tag] v2.6.36-rc6 -> v2.6.36-rc6
NOTE: Creating tarball of git repository
ERROR: Task failed: Unknown fetch Error: coercing to Unicode: need
string or buffer, NoneType found
I performed a -c clean and then -c fetch, but ran into the same problem.
I then went and deleted the linux-wrs-related sources from DL_DIR, and
ran -c clean and -c fetch again, and it looks to me like the fetcher is
actually downloading tarballs from the source mirrors first, and then
trying git directly:
NOTE: Running task 130 of 130 (ID: 0,
/raid0/sources/poky/meta/recipes-kernel/linux/linux-wrs_git.bb, do_fetch)
NOTE: package
linux-wrs-2.6.34+git0+b67e060194a38c6331da1532bd06446087a42b3b_0+0431115c9d720fee5bb105f6a7411efb4f851d26-r12:
task do_fetch: Started
NOTE: fetch
http://pokylinux.org/sources/git_git.pokylinux.org.linux-2.6-windriver.git.tar.gz
NOTE: fetch
http://autobuilder.pokylinux.org/sources/git_git.pokylinux.org.linux-2.6-windriver.git.tar.gz
I confirmed this by seeing wget running in my process list, and then git
eventually shows up.
Finally, I get the bitbake message:
NOTE: Creating tarball of git repository
...and I see gzip running, but the task ends up failing with the same
error as the log.do_fetch example I mentioned above.
Scott
More information about the yocto
mailing list