[yocto] [poky] meta-toolchain build failed on fetch

Bruce Ashfield bruce.ashfield at windriver.com
Fri Feb 4 06:16:40 PST 2011


On 11-02-04 12:20 AM, Zhang, Jessica wrote:
> Has anyone run into the following failure, this is for meta-toolchain
> for x86_64:

This is lurking in various forms at the moment, the fetcher
updates + new branches and the mirrors with old copies (my
guess), is causing this undesirable behaviour.

> | Fetcher accessed the network with the command git fetch
> git.pokylinux.org/linux-yocto-2.6.37
> | NOTE: Fetcher accessed the network with the command git fetch
> git.pokylinux.org/linux-yocto-2.6.37
> | Fetching origin
> | error: unable to resolve reference
> refs/remotes/origin/yocto/standard/common-pc-64/base: Not a directory
> | From git://git.pokylinux.org/linux-yocto-2.6.37
> | ! [new branch] yocto/standard/common-pc-64/base ->
> origin/yocto/standard/common-pc-64/base (unable to update local ref)
> | error: unable to resolve reference

This is due to the way that git manages things on disk. In
this case, make sure to completely remove your old downloaded
copy of the repo and re-fetch.

I'm trying to find a way to have git properly deal with
this at the moment.

Cheers,

Bruce

> refs/remotes/origin/yocto/standard/common-pc-64/sugarbay: Not a directory
> | ! [new branch] yocto/standard/common-pc-64/sugarbay ->
> origin/yocto/standard/common-pc-64/sugarbay (unable to update local ref)
> | error: some local refs could not be updated; try running
> | 'git remote prune origin' to remove any old, conflicting branches
> | error: Could not fetch origin
> | Function 'Fetch failed: Unable to fetch URL
> git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;fullclone=1;branch=yocto/standard/base;name=machine
> from any source.' failed
> | ERROR: Function 'Fetch failed: Unable to fetch URL
> git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;fullclone=1;branch=yocto/standard/base;name=machine
> from any source.' failed
> NOTE: package
> linux-libc-headers-yocto-2.6.37+git-0+a9d833fda90e2f1257888a97e092135610b5f259_0+standard-r2:
> task Fetch failed: Unable to fetch URL
> git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;fullclone=1;branch=yocto/standard/base;name=machine
> from any source.: Failed
> NOTE: package gcc-cross-4.5.1-r2: task do_unpack: Started
> ERROR: Task 441
> (/home/jzhang/poky-master/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb,
> do_fetch) failed with exit code '1'
> Thanks,
> Jessica
>
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list