Skip to contentSkip to conversation

Raspberry Pi do_fetch failure

DISCUSSION Jack Mitchell 3 participants 7 messages Aug 13, 2012 – Aug 21, 2012

lore
Share & tools
lore
#0 lore raw

Good afternoon everyone,

I am trying (yet again) to get yocto to build for the Raspberry Pi and I am falling at the do_fetch hurdle on the RasPi kernel.

ERROR: Fetcher failure: Fetch command export HOME="/home/jack";
export SSH_AGENT_PID="1350"; export
SSH_AUTH_SOCK="/home/jack/.cache/keyring-fjEm9a/ssh"; export
GIT_CONFIG="/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/etc/gitconfig";
export PATH="/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin/armv6-vfp-poky-linux-gnueabi:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi/usr/bin/crossscripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux//bin:/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/bitbake/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl"; git clone --bare --mirror git://github.com/raspberrypi/linux.git
/home/jack/Projects/poky-rasp/raspberry/downloads/git2/github.com.raspberrypi.linux.git
failed with exit code 128, output:
STDOUT: Cloning into bare repository
'/home/jack/Projects/poky-rasp/raspberry/downloads/git2/github.com.raspberrypi.linux.git'...

STDERR: 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-patches'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/jack/Projects/poky-rasp/raspberry/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi-3.1.9-rpi+r3+git14ad68cf4afc7acf14076f895b539d81cd9f32ab-r3/temp/log.do_fetch.21673
NOTE: package
linux-raspberrypi-3.1.9-rpi+r3+git14ad68cf4afc7acf14076f895b539d81cd9f32ab-r3:
task do_fetch: Failed
ERROR: Task 234
(/home/jack/Projects/poky-rasp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_3.1.9.bb,
do_fetch) failed with exit code '1'
Waiting for 2 running tasks to finish:
0:
gcc-runtime-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r9
do_populate_sysroot (pid 2167)
1:
gcc-runtime-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r9
do_package (pid 2168)
NOTE: package
gcc-runtime-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r9: task
do_populate_sysroot: Succeeded
Waiting for 1 running tasks to finish:
0:
gcc-runtime-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r9
do_package (pid 2168)
NOTE: package
gcc-runtime-4.7.1.0+git1+d07e24f4ab59f264d68d21838795349faab5dede-r9: task
do_package: Succeeded
NOTE: Tasks Summary: Attempted 1223 tasks of which 1014 didn't need
to be rerun and 1 failed.

Does anyone recognise the root cause of this message? Running poky and meta-raspberrypi at latest master.

Regards,
Jack.

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#1 lore raw
Quoted 23 lines · Jack Mitchell

Good afternoon everyone,

I am trying (yet again) to get yocto to build for the Raspberry Pi and I am falling at the do_fetch hurdle on the RasPi kernel.

   ERROR: Fetcher failure: Fetch command export HOME="/home/jack";
   export SSH_AGENT_PID="1350"; export
   SSH_AUTH_SOCK="/home/jack/.**cache/keyring-fjEm9a/ssh"; export
   GIT_CONFIG="/home/jack/**Projects/poky-rasp/raspberry/**
tmp/sysroots/x86_64-linux/etc/**gitconfig";
   export
   PATH="/home/jack/Projects/**poky-rasp/scripts:/home/jack/**

Projects/poky-rasp/raspberry/**tmp/sysroots/x86_64-linux/usr/** bin/armv6-vfp-poky-linux-**gnueabi:/home/jack/Projects/** poky-rasp/raspberry/tmp/**sysroots/raspberrypi/usr/bin/** crossscripts:/home/jack/**Projects/poky-rasp/raspberry/** tmp/sysroots/x86_64-linux/usr/**sbin:/home/jack/Projects/poky-** rasp/raspberry/tmp/sysroots/**x86_64-linux/usr/bin:/home/** jack/Projects/poky-rasp/**raspberry/tmp/sysroots/x86_64-** linux/sbin:/home/jack/**Projects/poky-rasp/raspberry/** tmp/sysroots/x86_64-linux//**bin:/home/jack/Projects/poky-** rasp/scripts:/home/jack/**Projects/poky-rasp/bitbake/** bin/:/usr/local/bin:/usr/bin:/**bin:/usr/local/sbin:/usr/sbin:**

Quoted 2 lines
/sbin:/usr/bin/core_perl";
   git clone --bare --mirror git://github.com/raspberrypi/**linux.git<http://github.com/raspberrypi/linux.git>

Does this work in a shell? Just try to clone it on your computer.

ag

#2 lore raw
Quoted 21 lines · Andrei Gherzan

On Mon, Aug 13, 2012 at 4:34 PM, Jack Mitchell <[email protected] <mailto:[email protected]>> wrote:

    Good afternoon everyone,

    I am trying (yet again) to get yocto to build for the Raspberry Pi
    and I am falling at the do_fetch hurdle on the RasPi kernel.

       ERROR: Fetcher failure: Fetch command export HOME="/home/jack";
       export SSH_AGENT_PID="1350"; export
       SSH_AUTH_SOCK="/home/jack/.cache/keyring-fjEm9a/ssh"; export
     
     GIT_CONFIG="/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/etc/gitconfig";
       export
     
     PATH="/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin/armv6-vfp-poky-linux-gnueabi:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi/usr/bin/crossscripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux//bin:/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/bitbake/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl";
       git clone --bare --mirror
    git://github.com/raspberrypi/linux.git
    <http://github.com/raspberrypi/linux.git>
Quoted 3 lines

Does this work in a shell? Just try to clone it on your computer.

ag

Yes, cloning it now without issues - it took a while to get going and someone has suggested that it might be timing out within bitbake...

Regards,

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#3 lore raw
Quoted 20 lines · Jack Mitchell
Quoted 19 lines · Andrei Gherzan

On Mon, Aug 13, 2012 at 4:34 PM, Jack Mitchell <[email protected] <mailto:[email protected]>> wrote:

   Good afternoon everyone,

   I am trying (yet again) to get yocto to build for the Raspberry Pi
   and I am falling at the do_fetch hurdle on the RasPi kernel.

      ERROR: Fetcher failure: Fetch command export HOME="/home/jack";
      export SSH_AGENT_PID="1350"; export
      SSH_AUTH_SOCK="/home/jack/.cache/keyring-fjEm9a/ssh"; export
         GIT_CONFIG="/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/etc/gitconfig";
      export
         PATH="/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin/armv6-vfp-poky-linux-gnueabi:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi/usr/bin/crossscripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux//bin:/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/bitbake/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl";
      git clone --bare --mirror
   git://github.com/raspberrypi/linux.git
   <http://github.com/raspberrypi/linux.git>
Quoted 5 lines
Quoted 3 lines

Does this work in a shell? Just try to clone it on your computer.

ag

Yes, cloning it now without issues - it took a while to get going and someone has suggested that it might be timing out within bitbake...

I've had similar issues in the past that seemed to be caused by Github. If I ran a manual fetch I could see errors relating to compressed folders (I think - was a while back) that couldn't be found. It sorted itself after a day or so.

Chris Tapp

[email protected]
www.keylevel.com

#4 lore raw
Quoted 29 lines · Chris Tapp
Quoted 3 lines · Jack Mitchell
Quoted 2 lines · Andrei Gherzan

On Mon, Aug 13, 2012 at 4:34 PM, Jack Mitchell <[email protected]<mailto:

Quoted 10 lines · [email protected]>> wrote:
Quoted 10 lines

Good afternoon everyone,

I am trying (yet again) to get yocto to build for the Raspberry Pi and I am falling at the do_fetch hurdle on the RasPi kernel.

      ERROR: Fetcher failure: Fetch command export HOME="/home/jack";
      export SSH_AGENT_PID="1350"; export
      SSH_AUTH_SOCK="/home/jack/.cache/keyring-fjEm9a/ssh"; export

GIT_CONFIG="/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/etc/gitconfig";

Quoted 2 lines
Quoted 2 lines

export

PATH="/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin/armv6-vfp-poky-linux-gnueabi:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi/usr/bin/crossscripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux//bin:/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/bitbake/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl";

Quoted 9 lines
Quoted 8 lines
      git clone --bare --mirror

git://github.com/raspberrypi/linux.git
<http://github.com/raspberrypi/linux.git>

Does this work in a shell? Just try to clone it on your computer.

ag

Quoted 10 lines
Quoted 1 line

Yes, cloning it now without issues - it took a while to get going and

someone has suggested that it might be timing out within bitbake...

I've had similar issues in the past that seemed to be caused by Github. If I ran a manual fetch I could see errors relating to compressed folders (I think - was a while back) that couldn't be found. It sorted itself after a day or so.

I sent an email to github. Will keep you posted.

ag

#5 lore raw

It seems like even if i got no feedback from github, this issue is not reproducible anymore. Fetch is working as it should now. Could you please confirm?

Si it could have been a temporary bug or this was solved meanwhile.

ag

Quoted 46 lines · Andrei Gherzan
Quoted 29 lines · Chris Tapp
Quoted 3 lines · Jack Mitchell
Quoted 2 lines · Andrei Gherzan

On Mon, Aug 13, 2012 at 4:34 PM, Jack Mitchell <[email protected]<mailto:

Quoted 10 lines · [email protected]>> wrote:
Quoted 10 lines

Good afternoon everyone,

I am trying (yet again) to get yocto to build for the Raspberry Pi and I am falling at the do_fetch hurdle on the RasPi kernel.

      ERROR: Fetcher failure: Fetch command export HOME="/home/jack";
      export SSH_AGENT_PID="1350"; export
      SSH_AUTH_SOCK="/home/jack/.cache/keyring-fjEm9a/ssh"; export

GIT_CONFIG="/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/etc/gitconfig";

Quoted 2 lines
Quoted 2 lines

export

PATH="/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin/armv6-vfp-poky-linux-gnueabi:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi/usr/bin/crossscripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux//bin:/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/bitbake/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl";

Quoted 9 lines
Quoted 8 lines
      git clone --bare --mirror

git://github.com/raspberrypi/linux.git
<http://github.com/raspberrypi/linux.git>

Does this work in a shell? Just try to clone it on your computer.

ag

Quoted 10 lines
Quoted 1 line

Yes, cloning it now without issues - it took a while to get going and

someone has suggested that it might be timing out within bitbake...

I've had similar issues in the past that seemed to be caused by Github. If I ran a manual fetch I could see errors relating to compressed folders (I think - was a while back) that couldn't be found. It sorted itself after a day or so.

I sent an email to github. Will keep you posted.

ag

#6 lore raw
Quoted 55 lines · Andrei Gherzan

It seems like even if i got no feedback from github, this issue is not reproducible anymore. Fetch is working as it should now. Could you please confirm?

Si it could have been a temporary bug or this was solved meanwhile.

ag

On Mon, Aug 13, 2012 at 9:58 PM, Andrei Gherzan <[email protected] <mailto:[email protected]>> wrote:

    On Mon, Aug 13, 2012 at 7:38 PM, Chris Tapp
    <[email protected] <mailto:[email protected]>> wrote:

        On 13 Aug 2012, at 15:00, Jack Mitchell wrote:

        > On 13/08/12 14:51, Andrei Gherzan wrote:
        >>
        >> On Mon, Aug 13, 2012 at 4:34 PM, Jack Mitchell
        <[email protected] <mailto:[email protected]>
        <mailto:[email protected]
        <mailto:[email protected]>>> wrote:
        >>
        >>    Good afternoon everyone,
        >>
        >>    I am trying (yet again) to get yocto to build for the
        Raspberry Pi
        >>    and I am falling at the do_fetch hurdle on the RasPi kernel.
        >>
        >>       ERROR: Fetcher failure: Fetch command export
        HOME="/home/jack";
        >>       export SSH_AGENT_PID="1350"; export
        >> SSH_AUTH_SOCK="/home/jack/.cache/keyring-fjEm9a/ssh"; export
        >>
         GIT_CONFIG="/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/etc/gitconfig";
        >>       export
        >>
         PATH="/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin/armv6-vfp-poky-linux-gnueabi:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/raspberrypi/usr/bin/crossscripts:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/usr/bin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux/sbin:/home/jack/Projects/poky-rasp/raspberry/tmp/sysroots/x86_64-linux//bin:/home/jack/Projects/poky-rasp/scripts:/home/jack/Projects/poky-rasp/bitbake/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl";
        >>       git clone --bare --mirror
        >>    git://github.com/raspberrypi/linux.git
        <http://github.com/raspberrypi/linux.git>
        >>    <http://github.com/raspberrypi/linux.git>
        >>
        >>
        >> Does this work in a shell? Just try to clone it on your
        computer.
        >>
        >> ag
        >
        > Yes, cloning it now without issues - it took a while to get
        going and someone has suggested that it might be timing out
        within bitbake...
Quoted 10 lines
        I've had similar issues in the past that seemed to be caused
        by Github. If I ran a manual fetch I could see errors relating
        to compressed folders (I think - was a while back) that
        couldn't be found. It sorted itself after a day or so.

    I sent an email to github. Will keep you posted.

    ag

Working fine for me now.

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--