[poky] Fetcher2 git problems

Koen Kooi koen at dominion.thruhere.net
Mon Feb 7 00:55:46 PST 2011


Op 6 feb 2011, om 23:18 heeft Koen Kooi het volgende geschreven:

> Hi,
> 
> I bugged RP during fosdem about this, but I needed to wait for his patches to get some more usefull error messages:
> 
> NOTE: package pseudo-native-0.0+git1+bcb42d80c0817da5479ab9c4f2cd8c4727e98ef8-r17: task do_fetch: Started
> ERROR: 'virtual:native:/OE/tentacle/sources/openembedded/meta/recipes-devtools/pseudo/pseudo_git.bb' failed
> ERROR: Function 'Fetch failed: Unable to fetch URL git://github.com/wrpseudo/pseudo.git;protocol=git from any source.' failed
> ERROR: Logfile of failure stored in: /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/pseudo-native-0.0+git1+bcb42d80c0817da5479ab9c4f2cd8c4727e98ef8-r17/temp/log.do_fetch.13627
> Log data follows:
> | fetch http://www.angstrom-distribution.org/unstable/sources/git2_github.com.wrpseudo.pseudo.git.tar.gz
> | NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/git2_github.com.wrpseudo.pseudo.git.tar.gz
> | Fetcher accessed the network with the command /usr/bin/env wget -t 5 -q --passive-ftp -P /OE/downloads 'http://www.angstrom-distribution.org/unstable/sources/git2_github.com.wrpseudo.pseudo.git.tar.gz'
> | NOTE: Fetcher accessed the network with the command /usr/bin/env wget -t 5 -q --passive-ftp -P /OE/downloads 'http://www.angstrom-distribution.org/unstable/sources/git2_github.com.wrpseudo.pseudo.git.tar.gz'
> | fetch http://www.angstrom-distribution.org/unstable/sources/git2_github.com.wrpseudo.pseudo.git.tar.gz
> | NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/git2_github.com.wrpseudo.pseudo.git.tar.gz
> | Fetcher accessed the network with the command /usr/bin/env wget -t 5 -q --passive-ftp -P /OE/downloads 'http://www.angstrom-distribution.org/unstable/sources/git2_github.com.wrpseudo.pseudo.git.tar.gz'
> | NOTE: Fetcher accessed the network with the command /usr/bin/env wget -t 5 -q --passive-ftp -P /OE/downloads 'http://www.angstrom-distribution.org/unstable/sources/git2_github.com.wrpseudo.pseudo.git.tar.gz'
> | Fetcher accessed the network with the command git clone --bare github.com/wrpseudo/pseudo.git
> | NOTE: Fetcher accessed the network with the command git clone --bare github.com/wrpseudo/pseudo.git
> | Cloning into bare repository /OE/downloads/git/github.com.wrpseudo.pseudo.git...
> |  Function 'Fetch failed: Unable to fetch URL git://github.com/wrpseudo/pseudo.git;protocol=git from any source.' failed
> | ERROR: Function 'Fetch failed: Unable to fetch URL git://github.com/wrpseudo/pseudo.git;protocol=git from any source.' failed
> NOTE: package pseudo-native-0.0+git1+bcb42d80c0817da5479ab9c4f2cd8c4727e98ef8-r17: task Fetch failed: Unable to fetch URL git://github.com/wrpseudo/pseudo.git;protocol=git from any source.: Failed


Some further logs:

| Level 8: Running export HOME="/home/koen"; export GIT_CONFIG="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/beagleboard/usr/bin/crossscripts:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux//bin:/OE/tentacle/sources/openembedded/scripts:/OE/tentacle/sources/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/OE/tentacle/sources/openembedded/scripts"; git log --pretty=oneline -n 1 bcb42d80c0817da5479ab9c4f2cd8c4727e98ef8 -- 2> /dev/null | wc -l
| Fetcher accessed the network with the command git clone --bare git://github.com/wrpseudo/pseudo.git /OE/downloads/git2/github.com.wrpseudo.pseudo.git
| NOTE: Fetcher accessed the network with the command git clone --bare git://github.com/wrpseudo/pseudo.git /OE/downloads/git2/github.com.wrpseudo.pseudo.git
| Running export HOME="/home/koen"; export GIT_CONFIG="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/beagleboard/usr/bin/crossscripts:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux//bin:/OE/tentacle/sources/openembedded/scripts:/OE/tentacle/sources/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/OE/tentacle/sources/openembedded/scripts"; git clone --bare git://github.com/wrpseudo/pseudo.git /OE/downloads/git2/github.com.wrpseudo.pseudo.git
| Level 8: Running export HOME="/home/koen"; export GIT_CONFIG="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/beagleboard/usr/bin/crossscripts:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux//bin:/OE/tentacle/sources/openembedded/scripts:/OE/tentacle/sources/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/OE/tentacle/sources/openembedded/scripts"; git clone --bare git://github.com/wrpseudo/pseudo.git /OE/downloads/git2/github.com.wrpseudo.pseudo.git
| Cloning into bare repository /OE/downloads/git2/github.com.wrpseudo.pseudo.git...
|  Running export HOME="/home/koen"; export GIT_CONFIG="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/beagleboard/usr/bin/crossscripts:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux//bin:/OE/tentacle/sources/openembedded/scripts:/OE/tentacle/sources/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/OE/tentacle/sources/openembedded/scripts"; git log --pretty=oneline -n 1 bcb42d80c0817da5479ab9c4f2cd8c4727e98ef8 -- 2> /dev/null | wc -l
| Level 8: Running export HOME="/home/koen"; export GIT_CONFIG="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/beagleboard/usr/bin/crossscripts:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr/bin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/sbin:/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux//bin:/OE/tentacle/sources/openembedded/scripts:/OE/tentacle/sources/bitbake/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/usr/X11/bin:/usr/local/bin:/usr/local/enlightenment/bin:/usr/local/j2re1.4.1/bin:/OE/tentacle/sources/openembedded/scripts"; git log --pretty=oneline -n 1 bcb42d80c0817da5479ab9c4f2cd8c4727e98ef8 -- 2> /dev/null | wc -l
| Function 'Fetch failed: Unable to fetch URL git://github.com/wrpseudo/pseudo.git;protocol=git from any source.' failed
| ERROR: Function 'Fetch failed: Unable to fetch URL git://github.com/wrpseudo/pseudo.git;protocol=git from any source.' failed
NOTE: package pseudo-0.0+git1+bcb42d80c0817da5479ab9c4f2cd8c4727e98ef8-r17: task Fetch failed: Unable to fetch URL git://github.com/wrpseudo/pseudo.git;protocol=git from any source.: Failed

The bare clone is present:

koen at dominion:/OE/downloads/git2/github.com.wrpseudo.pseudo.git$ ls
branches/  config  description  HEAD  hooks/  info/  objects/  packed-refs  refs/

and the _contains_ref function:

koen at dominion:/OE/downloads/git2/github.com.wrpseudo.pseudo.git$ git log --pretty=oneline -n 1 bcb42d80c0817da5479ab9c4f2cd8c4727e98ef8 -- 2> /dev/null | wc -l
1

So the bug seems to be outside the dowload method, but I get lost at that point.






More information about the poky mailing list