Openembedded Bitbake Development
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: BitBake developer list <bitbake-devel@lists.openembedded.org>
Subject: Re: is there a reason a bitbake "git" clone will hang while regular git works?
Date: Thu, 06 Dec 2012 15:23:39 +0000	[thread overview]
Message-ID: <1354807419.12928.7.camel@ted> (raw)
In-Reply-To: <alpine.DEB.2.02.1212051341001.24855@oneiric>

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




      reply	other threads:[~2012-12-06 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 18:49 is there a reason a bitbake "git" clone will hang while regular git works? Robert P. J. Day
2012-12-06 15:23 ` Richard Purdie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1354807419.12928.7.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=rpjday@crashcourse.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox