[bitbake-devel] fetcher hangs

Richard Purdie richard.purdie at linuxfoundation.org
Mon Oct 3 11:30:21 UTC 2011


On Mon, 2011-10-03 at 05:54 -0400, Cliff Brake wrote:
> One thing I've been noticing is that bitbake seems to hang when its
> trying to fetch a dead URI:
> 
> NOTE: package linux-3.0-r4: task do_fetch: Started
> WARNING: Fetcher failure for URL: 'None'. Fetch command export
> HOME="/home/cbrake"; export SSH_AGENT_PID="2994"; export
> SSH_AUTH_SOCK="/tmp/keyring-ptLxSd/ssh"; export
> GIT_CONFIG="/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/etc/gitconfig";
> export PATH="/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-angstrom-linux-gnueabi:/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-x270/usr/bin/crossscripts:/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/sbin:/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/bin:/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/sbin:/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux//bin:/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/bin/armv5te-angstrom-linux-gnueabi:/scratch/pp/pp-oe-2011/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/bin:/scratch/pp/pp-oe-2011/sources/openembedded-core/scripts:/scratch/pp/pp-oe-2011/sources/bitbake/bin:/home/cbrake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/scratch/pp/pp-oe-2011/sources/o!
 pen
>  embedded-core/scripts";
> /usr/bin/env wget -t 5 -q --passive-ftp --no-check-certificate -P
> /scratch/pp/pp-oe-2011/sources/downloads
> 'http://kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.bz2' failed
> with signal 8, output:
> (bitbake hangs here)
> 
> Is this expected behavior?

No. I tried an experiment here where I added a linux "3.0" headers
recipe and tried fetching it. It rapidly failed and came back to the
console.

What do you have PREMIRORS and MIRRORS set to? Does bitbake -DDD help
show what bitbake is doing? What about the fetch log files for the
recipe in question?

Cheers,

Richard







More information about the bitbake-devel mailing list