Raspberry Pi do_fetch failure
I am getting a do_fetch failure on raspberrypi kernel. Is anyone else having this problem?
Build Configuration:
BB_VERSION = "1.16.0" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "raspberrypi" DISTRO = "poky" DISTRO_VERSION = "1.3" TUNE_FEATURES = "armv6 vfp" TARGET_FPU = "vfp"
meta
meta-yocto
meta-yocto-bsp = "danny:bf909b267498dbab4d7695c26b0dce903ac8b6b0"
meta-raspberrypi = "master:305c5259e24eaa9fb285ca983dc4f9454743fa0c"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
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 '/home/ed/oe/poky-danny/rasperryPiBuild/downloads/git2/github.com.raspberrypi.linux.git'...
fatal: read error: Connection reset by peer
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.
Thanks
Quoted 28 lines · ed nelson
I am getting a
do_fetchfailure on raspberrypi kernel. Is anyone else having this problem?Build Configuration:
BB_VERSION = "1.16.0" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "raspberrypi" DISTRO = "poky" DISTRO_VERSION = "1.3" TUNE_FEATURES = "armv6 vfp" TARGET_FPU = "vfp"meta
meta-yocto
meta-yocto-bsp = "danny:**bf909b267498dbab4d7695c26b0dce**903ac8b6b0"
meta-raspberrypi = "master:**305c5259e24eaa9fb285ca983dc4f9**454743fa0c"NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URLgit://github.com/raspberrypi/**
linux.git;protocol=git;branch=**rpi-3.2.27<http://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 '/home/ed/oe/poky-danny/**rasperryPiBuild/downloads/**git2/github.com.raspberrypi.**linux.git'...
Quoted 9 lines
fatal: read error: Connection reset by peer
fatal: early EOF
fatal: index-pack failedERROR: Function failed: Fetcher failure for URL: '
git://github.com/raspberrypi/**linux.git;protocol=git;branch=**rpi-3.2.27<http://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27>'. Unable to fetch URL from any source.
So this error hits again.
It's something related to github. I've seen this on other repos and solved it with a ticket to github - strangely I can't reproduce your issue now on my host. As i recall the clone would fail if "--quiet" was used. Can you confirm? Are you able to clone that repo manually? WIth "--quiet" too?
Andrei
Quoted 48 lines · ed nelson
On 01/01/2013 06:50 PM, Andrei Gherzan wrote:
Quoted 28 lines · ed nelson
I am getting a
do_fetchfailure on raspberrypi kernel. Is anyone else having this problem?Build Configuration:
BB_VERSION = "1.16.0" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "raspberrypi" DISTRO = "poky" DISTRO_VERSION = "1.3" TUNE_FEATURES = "armv6 vfp" TARGET_FPU = "vfp"meta
meta-yocto
meta-yocto-bsp = "danny:bf909b267498dbab4d7695c26b0dce903ac8b6b0"
meta-raspberrypi = "master:305c5259e24eaa9fb285ca983dc4f9454743fa0c"NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URLgit://
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 '/home/ed/oe/poky-danny/rasperryPiBuild/downloads/git2/github.com.raspberrypi.linux.git'...Quoted 9 lines
fatal: read error: Connection reset by peer
fatal: early EOF
fatal: index-pack failedERROR: 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.So this error hits again.
It's something related to github. I've seen this on other repos and
solved it with a ticket to github - strangely I can't reproduce your issue now on my host. As i recall the clone would fail if "--quiet" was used. Can you confirm? Are you able to clone that repo manually? WIth "--quiet" too?
Quoted 7 lines
Andrei
When I manually try:
$ git clone --quiet git://github.com/raspberrypi/linux.git The process hangs
Wait a while and check if this fails after a while.
Andrei
Please submit a bug / contact github with the problem you found. And if you are so kind, please keep me posted.
*Andrei Gherzan*
mobile +40.744.478.414 fax +40.31.816.28.12
Email: [email protected]
Email: [email protected]
Romania
Quoted 85 lines · ed nelson
On 01/02/2013 01:52 AM, Andrei Gherzan wrote:
Quoted 48 lines · ed nelson
On 01/01/2013 06:50 PM, Andrei Gherzan wrote:
Quoted 28 lines · ed nelson
I am getting a
do_fetchfailure on raspberrypi kernel. Is anyone else having this problem?Build Configuration:
BB_VERSION = "1.16.0" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "raspberrypi" DISTRO = "poky" DISTRO_VERSION = "1.3" TUNE_FEATURES = "armv6 vfp" TARGET_FPU = "vfp"meta
meta-yocto
meta-yocto-bsp = "danny:bf909b267498dbab4d7695c26b0dce903ac8b6b0"
meta-raspberrypi = "master:305c5259e24eaa9fb285ca983dc4f9454743fa0c"NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URLgit://
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 '/home/ed/oe/poky-danny/rasperryPiBuild/downloads/git2/github.com.raspberrypi.linux.git'...Quoted 9 lines
fatal: read error: Connection reset by peer
fatal: early EOF
fatal: index-pack failedERROR: 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.So this error hits again.
It's something related to github. I've seen this on other repos and
solved it with a ticket to github - strangely I can't reproduce your issue now on my host. As i recall the clone would fail if "--quiet" was used. Can you confirm? Are you able to clone that repo manually? WIth "--quiet" too?Quoted 7 lines
Andrei
When I manually try:
$ git clone --quiet git://github.com/raspberrypi/linux.git The process hangsWait a while and check if this fails after a while.
Andrei
It failed the same as the build.
ed@ed-Aspire-5560:~/temp$ git clone --quiet git:// github.com/raspberrypi/linux.gitfatal: read error: Connection reset by peer
fatal: early EOF
fatal: index-pack failedAny suggestions?
Thanks
Quoted 32 lines · ed nelson
I am getting a
do_fetchfailure on raspberrypi kernel. Is anyone else having this problem?Build Configuration:
BB_VERSION = "1.16.0" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "raspberrypi" DISTRO = "poky" DISTRO_VERSION = "1.3" TUNE_FEATURES = "armv6 vfp" TARGET_FPU = "vfp"meta
meta-yocto
meta-yocto-bsp = "danny:bf909b267498dbab4d7695c26b0dce903ac8b6b0"
meta-raspberrypi = "master:305c5259e24eaa9fb285ca983dc4f9454743fa0c"NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URLgit://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 '/home/ed/oe/poky-danny/rasperryPiBuild/downloads/git2/github.com.raspberrypi.linux.git'...fatal: read error: Connection reset by peer
fatal: early EOF
fatal: index-pack failed
Quoted 5 lines
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.Thanks
I'm rebuilding an RPi image from scratch here now for some testing and I see the same issue, which looks to be a GitHub hiccup.
I do have a cached download of the RPi linux GitHub repository from a previous build, which you're welcome to use if it'll help you move forward whilst GitHub has this issue.
I've tarred it up as github.com.raspberrypi.linux.git.tgz. You can extract this into the Yocto downloads directory and I believe it'll be picked up by the build tool, e.g.
cd /path/to/yoctoProject/raspberryPiBuild/downloads tar xzf /path/to/github.com.raspberrypi.linux.git.tgz
You should see it go into a "git2" folder in downloads.
It's currently uploading to a DropBox public link at
https://dl.dropbox.com/u/12130167/rpi/github.com.raspberrypi.linux.git.tgz
(It's around 620MB so it'll be about an hour before it's up. I'll probably leave it up there over the weekend but it may disappear next week!)
Cheers,
Alex
Quoted 5 lines
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 60 lines · Alex J Lennon
Quoted 17 lines · ed nelson
I am getting a
do_fetchfailure on raspberrypi kernel. Is anyone else having this problem?Build Configuration:
BB_VERSION = "1.16.0" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "raspberrypi" DISTRO = "poky" DISTRO_VERSION = "1.3" TUNE_FEATURES = "armv6 vfp" TARGET_FPU = "vfp"meta
meta-yocto
meta-yocto-bsp = "danny:bf909b267498dbab4d7695c26b0dce903ac8b6b0"
meta-raspberrypi = "master:305c5259e24eaa9fb285ca983dc4f9454743fa0c"Quoted 10 lines
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URLgit://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'
/home/ed/oe/poky-danny/rasperryPiBuild/downloads/git2/github.com.raspberrypi.linux.git'...Quoted 10 lines
fatal: read error: Connection reset by peer
fatal: early EOF
fatal: index-pack failedERROR: 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.Thanks
I'm rebuilding an RPi image from scratch here now for some testing and I see the same issue, which looks to be a GitHub hiccup.
I do have a cached download of the RPi linux GitHub repository from a previous build, which you're welcome to use if it'll help you move forward whilst GitHub has this issue.
I've tarred it up as github.com.raspberrypi.linux.git.tgz. You can extract this into the Yocto downloads directory and I believe it'll be picked up by the build tool, e.g.
cd /path/to/yoctoProject/raspberryPiBuild/downloads tar xzf /path/to/github.com.raspberrypi.linux.git.tgz
You should see it go into a "git2" folder in downloads.
It's currently uploading to a DropBox public link at
https://dl.dropbox.com/u/12130167/rpi/github.com.raspberrypi.linux.git.tgz
Quoted 9 lines
(It's around 620MB so it'll be about an hour before it's up. I'll probably leave it up there over the weekend but it may disappear next week!)
Cheers,
Alex
Thank you Alex. Hope it will help Nelson.
ag
Quoted 6 lines
Alex
Thanks I was able to download and build core-image-sato
Having discussion with github but no real solution yet.
Hi Ed, I'm glad that was useful in moving you forward. I did some googling and this issue with GitHub does seem to pop up intermittently. My gut feeling is there's some kind of resource issue, perhaps related to compression on the server. Some of the comments do seem to suggest that disabling compression helps.
I do wonder if someone from the Yocto project is able to fork the RPi linux repo and mirror either the Git repo itself or an archive of that (and indeed if that's a good idea)?
Cheers,
Alex
Quoted 13 lines · Alex J Lennon
Quoted 6 lines
Alex
Thanks I was able to download and build core-image-sato
Having discussion with github but no real solution yet.
Hi Ed, I'm glad that was useful in moving you forward. I did some googling and this issue with GitHub does seem to pop up intermittently. My gut feeling is there's some kind of resource issue, perhaps related to compression on the server. Some of the comments do seem to suggest that disabling compression helps.
Quoted 3 lines
I do wonder if someone from the Yocto project is able to fork the RPi linux repo and mirror either the Git repo itself or an archive of that (and indeed if that's a good idea)?
is there a current diagnosis for this github fetching irritation? i
thought i'd take a shot at building for rpi and, like others, i failed to fetch the kernel from github:
WARNING: Failed to fetch URLgit://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 '/home/rpjday/oe/builds/rpi/downloads/git2/github.com.raspberrypi.linux.git'...
fatal: The remote end hung up unexpectedly
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.
ERROR: Logfile of failure stored in:/home/rpjday/oe/builds/rpi/tmp-eglibc/work/armv6-vfp-oe-linux-gnueabi/linux-libc-headers-raspberrypi/3.2.27-r0/temp/log.do_fetch.1278
ERROR: Task 62 (/home/rpjday/oe/dist/layers/meta-raspberrypi/recipes-kernel/linux-libc-headers/linux-libc-headers-raspberrypi_3.2.27.bb, do_fetch) failed with exit code '1'
thoughts? i've tried a few times this morning, same result each
time.
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 3 lines · Robert P. J. Day
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fwiw there's a note here which relates to Cygwin:
http://stackoverflow.com/questions/2505644/git-checking-out-problem-fatal-early-eofs
I wonder if it might be worth trying the compression setting to see if that helps (less than ideal I know)
git config --add core.compression -1
Cheers,
Alex
Quoted 5 lines · Alex J Lennon
Quoted 3 lines · Robert P. J. Day
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Quoted 8 lines
fwiw there's a note here which relates to Cygwin:
http://stackoverflow.com/questions/2505644/git-checking-out-problem-fatal-early-eofs
I wonder if it might be worth trying the compression setting to see if that helps (less than ideal I know)
git config --add core.compression -1
i'm just heading out for a bit, i'll give that a shot when i get
home (unless someone else wants to try it first). but FWIW, i've had fetching issues before with kernel source for other builds -- it's not like raspberry pi is the only configuration where i've seen this error.
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 44 lines · Robert P. J. Day
Quoted 13 lines · Alex J Lennon
Quoted 6 lines
Alex
Thanks I was able to download and build core-image-sato
Having discussion with github but no real solution yet.
Hi Ed, I'm glad that was useful in moving you forward. I did some googling and this issue with GitHub does seem to pop up intermittently. My gut feeling is there's some kind of resource issue, perhaps related to compression on the server. Some of the comments do seem to suggest that disabling compression helps.
Quoted 3 lines
I do wonder if someone from the Yocto project is able to fork the RPi linux repo and mirror either the Git repo itself or an archive of that (and indeed if that's a good idea)?
is there a current diagnosis for this github fetching irritation? i
thought i'd take a shot at building for rpi and, like others, i failed to fetch the kernel from github: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'
/home/rpjday/oe/builds/rpi/downloads/git2/github.com.raspberrypi.linux.git'...fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failedERROR: 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.
ERROR: Logfile of failure stored in:
/home/rpjday/oe/builds/rpi/tmp-eglibc/work/armv6-vfp-oe-linux-gnueabi/linux-libc-headers-raspberrypi/3.2.27-r0/temp/log.do_fetch.1278
ERROR: Task 62
Quoted 9 lines
(
/home/rpjday/oe/dist/layers/meta-raspberrypi/recipes-kernel/linux-libc-headers/linux-libc-headers-raspberrypi_3.2.27.bb,do_fetch) failed with exit code '1'thoughts? i've tried a few times this morning, same result each
time.rday
I tested it today too and i ended up using a shared download directory. The problem is at github. Will submit a bug (even if somebody already did). More bugs - many changes to get it fixed soon. Keep you posted.
ag
Quoted 15 lines · Robert P. J. Day
Quoted 8 lines · Alex J Lennon
Quoted 3 lines · Robert P. J. Day
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failedfwiw there's a note here which relates to Cygwin:
http://stackoverflow.com/questions/2505644/git-checking-out-problem-fatal-early-eofs
Quoted 4 lines
I wonder if it might be worth trying the compression setting to see if that helps (less than ideal I know)
Quoted 8 lines
Quoted 1 line
git config --add core.compression -1
i'm just heading out for a bit, i'll give that a shot when i get
home (unless someone else wants to try it first). but FWIW, i've had fetching issues before with kernel source for other builds -- it's not like raspberry pi is the only configuration where i've seen this error.
As i said. We fixed an identical problem for fsl months ago. Fix? Github support ticket.
ag
Quoted 4 lines · Andrei Gherzan
I tested it today too and i ended up using a shared download directory. The problem is at github. Will submit a bug (even if somebody already did). More bugs - many changes to get it fixed soon. Keep you posted.
i'm not currently at my dev machine so i can't test this, but i
noticed a while back that even when a bitbake git fetch failed, a normal command-line "git clone" normally worked just fine.
so as a workaround, would it work to simply clone the github repo
somewhere on the dev host, then modify the recipe SRC_URI to use the "file:" protocol, point it at the local clone, do the fetch/build, and configure to create the resulting tarball, at which point you shouldn't need to clone from github again (at least until the kernel version was updated).
make sense? would this require simply changing the fetch protocol in
the kernel recipe's SRC_URI?
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 9 lines · Ed Nelson
I finally got a response back from github ....
Hi Ed,
We tracked the issue down to an internal network timeout (it only happens when
--quietis 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.
Alex
Quoted 3 lines
Thanks
Ed
Quoted 23 lines · Alex J Lennon
Quoted 4 lines · Ed Nelson
I finally got a response back from github ....
Hi Ed,
Quoted 8 lines
We tracked the issue down to an internal network timeout (it only happens when
--quietis 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'...
Quoted 7 lines
fatal: read error: Connection timed out
fatal: early EOF
fatal: index-pack failedERROR: 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
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 37 lines · Robert P. J. Day
Quoted 22 lines · Alex J Lennon
Quoted 4 lines · Ed Nelson
I finally got a response back from github ....
Hi Ed,
Quoted 8 lines
We tracked the issue down to an internal network timeout (it only happens when
--quietis 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'...Quoted 7 lines
fatal: read error: Connection timed out
fatal: early EOF
fatal: index-pack failedERROR: 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=
Quoted 8 lines
"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?
Cheers, Alex
Quoted 44 lines · Alex J Lennon
Quoted 43 lines · Robert P. J. Day
Quoted 25 lines · Alex J Lennon
Quoted 12 lines · Ed Nelson
I finally got a response back from github ....
Hi Ed,
We tracked the issue down to an internal network timeout (it only happens
when--quietis 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.Quoted 3 lines
....
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'...Quoted 7 lines
fatal: read error: Connection timed out
fatal: early EOF
fatal: index-pack failedERROR: 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 \ "
Quoted 8 lines
Quoted 5 lines
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.
wait a minute, what i wrote above can't be right, i have a wiki page
for this:
http://www.crashcourse.ca/wiki/index.php/Building_basic_RPi_image
which shows my recipe mods to look like:
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \
+SRC_URI = "git:///home/rpjday/oe/dist/t/linux;protocol=file;branch=rpi-3.2.27 \
not sure where i got the earlier stuff i posted.
Quoted 4 lines
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?
my setup always creates tarballs from whatever is fetched so, once
that's done, i always end up using local tarballs. i have a wiki page which explains how to create your own local mirror of tarballs:
http://www.crashcourse.ca/wiki/index.php/OE_Creating_your_%22own_mirror%22
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 44 lines · Alex J Lennon
Quoted 43 lines · Robert P. J. Day
Quoted 22 lines · Alex J Lennon
Quoted 4 lines · Ed Nelson
I finally got a response back from github ....
Hi Ed,
Quoted 8 lines
We tracked the issue down to an internal network timeout (it only happens when
--quietis 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'...Quoted 7 lines
fatal: read error: Connection timed out
fatal: early EOF
fatal: index-pack failedERROR: 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.
Quoted 8 lines
Quoted 2 lines
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
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 56 lines · Gary Thomas
Quoted 46 lines · Alex J Lennon
Quoted 45 lines · Robert P. J. Day
Quoted 23 lines · Alex J Lennon
Quoted 4 lines · Ed Nelson
I finally got a response back from github ....
Hi Ed,
Quoted 8 lines
We tracked the issue down to an internal network timeout (it only happens when
--quietis 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'...Quoted 8 lines
fatal: read error: Connection timed out
fatal: early EOF
fatal: index-pack failedERROR: 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.Quoted 8 lines
Quoted 2 lines
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?
Quoted 6 lines
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