All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
To: gary@mlbassoc.com
Cc: yocto@yoctoproject.org
Subject: Re: Raspberry Pi do_fetch failure
Date: Wed, 16 Jan 2013 14:20:28 +0000	[thread overview]
Message-ID: <50F6B72C.5070208@dynamicdevices.co.uk> (raw)
In-Reply-To: <50F6B52E.5050006@mlbassoc.com>

On 16/01/2013 14:11, Gary Thomas wrote:
> On 2013-01-16 07:02, Alex J Lennon wrote:
>> On 16/01/2013 13:59, Robert P. J. Day wrote:
>>> On Wed, 16 Jan 2013, Alex J Lennon wrote:
>>>
>>>> On 16/01/2013 05:45, Ed Nelson wrote:
>>>>> I finally got a response back from github ....
>>>>>
>>>>> Hi Ed,
>>>>>
>>>>> We tracked the issue down to an internal network timeout (it only 
>>>>> happens
>>>>> when `--quiet` is used, because git is silent on the network while 
>>>>> preparing
>>>>> the clone in that case). We've bumped up the limit, and you should 
>>>>> be able
>>>>> to clone now. Please let us know if you have any more trouble.
>>>>>
>>>>> ....
>>>>>
>>>>> I have not tried it yet but hopefully they fixed the problem
>>>> I've just tried it and it is still failing -
>>>>
>>>> WARNING: Failed to fetch URL
>>>> git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27,
>>>> attempting MIRRORS if available
>>>> ERROR: Fetcher failure: Fetch command failed with exit code 128, 
>>>> output:
>>>> Cloning into bare repository
>>>> '/data_drive/RPiMonoSmoke/yoctoProject/raspberryPiBuild/downloads/git2/github.com.raspberrypi.linux.git'... 
>>>>
>>>>
>>>> fatal: read error: Connection timed out
>>>> fatal: early EOF
>>>> fatal: index-pack failed
>>>>
>>>> ERROR: Function failed: Fetcher failure for URL:
>>>> 'git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27'. 
>>>>
>>>> Unable to fetch URL from any source.
>>>    github has been particularly annoying with respect to this lately.
>>> my workaround is to simply clone what you need manually, then tweak
>>> the recipe thusly to point at your local repo:
>>>
>>> SRCREV = "10182a3bc434b27740f81c2b836a1af943060241"
>>> SRC_URI =
>>> "git:///home/rpjday/oe/dist/t/linux;protocol=git;branch=rpi-3.2.27 \
>>>            "
>>>
>>>    yes, it's hacky, but it lets me get back to work.  sure be nice when
>>> this silliness is resolved.
>>>
>>> rday
>>>
>>
>> Thanks Robert. I've got an archive I can use but wanted to see if it 
>> was working yet.
>>
>> I think the fetcher archives up the retrieved git repo into a .tar.gz 
>> doesn't it in the downloads
>> directory? Would  it not help if those tarballs were mirrored so the 
>> fetcher could fall back on
>> the mirror?
>
> Yes, that would work (it's how I use it).  However, it's not tiny :-)  
> Here's what the
> tarball looked like last I touched this:
>
> -rw-rw-r-- 1 996 996 555905690 Sep  5 10:29 
> /work/misc/Poky/sources/git2_github.com.raspberrypi.linux.git.tar.gz
>

Quite :) I took a look in classes/mirrors.bbclass and I see a Yocto 
mirror URI in there for git://

http://downloads.yoctoproject.org/mirror/sources/

I see that there are similar sized linux yocto tarballs mirrored at that 
location. Would it be appropriate to
mirror the RPi kernel tarball up there for the time being?

Cheers, Alex



  reply	other threads:[~2013-01-16 14:20 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-01 17:34 Raspberry Pi do_fetch failure ed nelson
2013-01-02  2:50 ` Andrei Gherzan
     [not found]   ` <50E3B3BF.1000802@comcast.net>
2013-01-02  9:52     ` Andrei Gherzan
     [not found]       ` <50E59A7E.1090206@comcast.net>
2013-01-04 11:20         ` Andrei Gherzan
2013-01-04 20:22 ` Alex J Lennon
2013-01-04 23:00   ` Andrei Gherzan
     [not found]   ` <50EA5C2E.9060701@comcast.net>
2013-01-07 11:33     ` Alex J Lennon
2013-01-07 17:53       ` Robert P. J. Day
2013-01-07 18:03         ` Alex J Lennon
2013-01-07 18:07           ` Robert P. J. Day
2013-01-07 18:57             ` Andrei Gherzan
2013-01-07 18:28         ` Andrei Gherzan
2013-01-07 19:54           ` Robert P. J. Day
     [not found]             ` <50F63E70.3000000@comcast.net>
2013-01-16 13:45               ` Alex J Lennon
2013-01-16 13:59                 ` Robert P. J. Day
2013-01-16 14:02                   ` Alex J Lennon
2013-01-16 14:10                     ` Robert P. J. Day
2013-01-16 14:11                     ` Gary Thomas
2013-01-16 14:20                       ` Alex J Lennon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-13 13:34 Jack Mitchell
2012-08-13 13:51 ` Andrei Gherzan
2012-08-13 14:00   ` Jack Mitchell
2012-08-13 16:38     ` Chris Tapp
2012-08-13 18:58       ` Andrei Gherzan
2012-08-20 17:23         ` Andrei Gherzan
2012-08-21  9:01           ` Jack Mitchell

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=50F6B72C.5070208@dynamicdevices.co.uk \
    --to=ajlennon@dynamicdevices.co.uk \
    --cc=gary@mlbassoc.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.