All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Garman <scott.a.garman@intel.com>
To: <yocto@yoctoproject.org>
Subject: New issue with git fetcher?
Date: Mon, 18 Oct 2010 17:54:20 -0700	[thread overview]
Message-ID: <4CBCEC3C.5090003@intel.com> (raw)

Hi Richard,

This afternoon I performed a build from scratch using master, which 
included your git fetcher change to use mirror tarballs 
(1077021f7010388e889d85630b13c4c7901d7718).

When I performed my build from scratch (using a pre-populated DL_DIR 
from previous builds), linux-wrs failed on do_fetch, with the following 
in log.do_fetch:

 From git://git.pokylinux.org/linux-2.6-windriver
   * branch            common_pc-standard -> FETCH_HEAD
  From git://git.pokylinux.org/linux-2.6-windriver
   * [new tag]         v2.6.36-rc5 -> v2.6.36-rc5
   * [new tag]         v2.6.36-rc6 -> v2.6.36-rc6
  NOTE: Creating tarball of git repository
ERROR: Task failed: Unknown fetch Error: coercing to Unicode: need 
string or buffer, NoneType found

I performed a -c clean and then -c fetch, but ran into the same problem.

I then went and deleted the linux-wrs-related sources from DL_DIR, and 
ran -c clean and -c fetch again, and it looks to me like the fetcher is 
actually downloading tarballs from the source mirrors first, and then 
trying git directly:

NOTE: Running task 130 of 130 (ID: 0, 
/raid0/sources/poky/meta/recipes-kernel/linux/linux-wrs_git.bb, do_fetch)
NOTE: package 
linux-wrs-2.6.34+git0+b67e060194a38c6331da1532bd06446087a42b3b_0+0431115c9d720fee5bb105f6a7411efb4f851d26-r12: 
task do_fetch: Started
NOTE: fetch 
http://pokylinux.org/sources/git_git.pokylinux.org.linux-2.6-windriver.git.tar.gz
NOTE: fetch 
http://autobuilder.pokylinux.org/sources/git_git.pokylinux.org.linux-2.6-windriver.git.tar.gz

I confirmed this by seeing wget running in my process list, and then git 
eventually shows up.

Finally, I get the bitbake message:

NOTE: Creating tarball of git repository

...and I see gzip running, but the task ends up failing with the same 
error as the log.do_fetch example I mentioned above.

Scott


             reply	other threads:[~2010-10-19  0:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19  0:54 Scott Garman [this message]
2010-10-19  1:00 ` New issue with git fetcher? Scott Garman
2010-10-19 12:55   ` Richard Purdie
2010-10-19 16:29     ` Richard Purdie
2010-10-20  8:20       ` Tian, Kevin
2010-10-20 16:38         ` Richard Purdie

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=4CBCEC3C.5090003@intel.com \
    --to=scott.a.garman@intel.com \
    --cc=yocto@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.