[bitbake-devel] is there a reason a bitbake "git" clone will hang while regular git works?
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Dec 6 15:23:39 UTC 2012
On Wed, 2012-12-05 at 13:49 -0500, Robert P. J. Day wrote:
> since the git fetcher code is part of bitbake, i figured i'd ask
> here. on more than one occasion now, when i've configured a build and
> start fetching, the git fetch of the corresponding kernel source will
> simply hang.
>
> for example, right now, i'm fetching for a dm814x-evm (using the
> meta-ti layer), and the dir under git2 in the downloads directory
> currently looks like this:
>
> $ du -s *
> 4 branches
> 4 config
> 4 description
> 4 HEAD
> 40 hooks
> 8 info
> 12 objects
> 12 refs
> $
>
> and it hasn't changed for well over 10 minutes. the relevant part of
> the recipe file:
>
> SRC_URI +=
> "git://arago-project.org/git/projects/linux-omap3.git;protocol=git;branch=ti81xx-master \
> file://0001-ti814x-added-code-for-disabling-the-least-significan.patch \
> file://defconfig"
>
> however, as a test that git was still working properly, i simply
> started a git clone of that SRC_URI and it's chugging away as i type.
> and this has happened before -- that is, while the bitbake fetch/git
> clone hangs almost immediately, i can generally use "git clone" from
> the command line for that SRC_URI no problem.
>
> does that even make sense? are the git options being used by
> bitbake perhaps causing this?
Is it running a git clone or is it fetching a tarball from the source
mirror?
The options used by bitbake shouldn't be different in operation to the
ones you use on the commandline. You could poke around /proc/xxx/cmdline
to take a look...
Cheers,
Richard
More information about the bitbake-devel
mailing list