is there a reason a bitbake "git" clone will hang while regular git works?
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?
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 28 lines · Robert P. J. Day
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"
Quoted 8 lines
however, as a test that git was still working properly, i simply
started a git clone of thatSRC_URIand 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 thatSRC_URIno 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