[meta-ti] Problems with fetch of linux-mainline with Yocto and Meta-ti
Flavio Castro Alves Filho
flavio.alves at gmail.com
Thu Jan 17 04:15:37 PST 2013
Definitely there was a problem with my internet connection.
I changed my internet connection and it worked.
Thank you very much.
Best regards,
Flavio
2013/1/15 Javier Martinez Canillas <javier at dowhile0.org>:
> On Tue, Jan 15, 2013 at 2:39 PM, Flavio Castro Alves Filho
> <flavio.alves at gmail.com> wrote:
>> Yes
>>
>> Em 14/01/2013 22:05, "Denys Dmytriyenko" <denis at denix.org> escreveu:
>>
>>> On Mon, Jan 14, 2013 at 06:58:31AM -0200, Flavio Castro Alves Filho wrote:
>>> > Hello,
>>> >
>>> > I'm trying to build a simple linux distro using Yocto danny and
>>> > meta-ti layer for Beagleboard-xm an I'm unable to download the kernel
>>> > files.
>>> >
>>> > I'm using Ubuntu 12.04, Yocto danny (poky), meta-ti danny branch and
>>> > meta-openembedded/meta-oe danny branch. I also tried using
>>> > openembedded-core with danny branch with the same results.
>>>
>>> Can you just do the following line on its own:
>>>
>>> $ git clone
>>> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
>>>
>>> --
>>> Denys
>>>
>>>
>>> > My error messages are the following:
>>> >
>>> >
>>> > flavio at Phi06:/home/prjs/beagle-xm/linux$ bitbake -c fetch virtual/kernel
>>> > Parsing recipes: 100%
>>> >
>>> > |################################################################################################################|
>>> > Time: 00:00:39
>>> > Parsing of 1273 .bb files complete (0 cached, 1273 parsed). 1620
>>> > targets, 59 skipped, 7 masked, 0 errors.
>>> >
>>> > Build Configuration:
>>> > BB_VERSION = "1.16.0"
>>> > TARGET_ARCH = "arm"
>>> > TARGET_OS = "linux-gnueabi"
>>> > MACHINE = "beagleboard"
>>> > DISTRO = "poky"
>>> > DISTRO_VERSION = "1.3"
>>> > TUNE_FEATURES = "armv7a vfp neon cortexa8"
>>> > TARGET_FPU = "vfp-neon"
>>> > meta
>>> > meta-yocto = "danny:47b0864fbd65746558d8186450c182d98bac78ca"
>>> > meta-oe = "danny:f026e96295da101bb715858bc8705de7e4a33992"
>>> > meta-ti = "danny:0a764d733691db4bf40539693fa3d93f6883baa7"
>>> >
>>> > NOTE: Resolving any missing task queue dependencies
>>> > NOTE: Preparing runqueue
>>> > NOTE: Executing RunQueue Tasks
>>> > WARNING: Failed to fetch URL
>>> >
>>> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-3.2.y;protocol=git,
>>> > attempting MIRRORS if available
>>> > ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
>>> > Cloning into bare repository
>>> >
>>> > '/home/prjs/src/git2/git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git'...
>>> >
>>> > fatal: read error: Connection timed out
>>> > fatal: early EOF
>>> > fatal: index-pack failed
>>> >
>>> > ERROR: Function failed: Fetcher failure for URL:
>>> >
>>> > 'git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-3.2.y;protocol=git'.
>>> > Unable to fetch URL from any source.
>>> > ERROR: Logfile of failure stored in:
>>> >
>>> > /home/prjs/beagle-xm/linux/tmp/work/beagleboard-poky-linux-gnueabi/linux-mainline-3.2.28-r0/temp/log.do_fetch.2904
>>> > ERROR: Task 0
>>> > (/home/prjs/beagle-xm/poky/meta-ti/recipes-kernel/linux/linux-mainline_3.2.bb,
>>> > do_fetch) failed with exit code '1'
>>> > NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be
>>> > rerun and 1 failed.
>>> >
>>> > Summary: 1 task failed:
>>> >
>>> > /home/prjs/beagle-xm/poky/meta-ti/recipes-kernel/linux/linux-mainline_3.2.bb,
>>> > do_fetch
>>> > Summary: There was 1 WARNING message shown.
>>> > Summary: There were 2 ERROR messages shown, returning a non-zero exit
>>> > code.
>>> > flavio at Phi06:/home/prjs/beagle-xm/linux$
>>> >
>>> > The log file contains the folllowing:
>>> >
>>> > DEBUG: Executing python function do_fetch
>>> > DEBUG: Executing python function base_do_fetch
>>> > DEBUG: Trying PREMIRRORS
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['bzr', '.*',
>>> > '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['cvs', '.*',
>>> > '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['git', '.*',
>>> > '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url
>>> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-3.2.y;protocol=git
>>> > returning
>>> > http://downloads.yoctoproject.org/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz
>>> > DEBUG: For url ['http', 'downloads.yoctoproject.org',
>>> >
>>> > '/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz',
>>> > '', '', {}] comparing ['bzr', '.*', '/.*', '', '', {}] to ['http',
>>> > 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['http', 'downloads.yoctoproject.org',
>>> >
>>> > '/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz',
>>> > '', '', {}] comparing ['cvs', '.*', '/.*', '', '', {}] to ['http',
>>> > 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['http', 'downloads.yoctoproject.org',
>>> >
>>> > '/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz',
>>> > '', '', {}] comparing ['git', '.*', '/.*', '', '', {}] to ['http',
>>> > 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['http', 'downloads.yoctoproject.org',
>>> >
>>> > '/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz',
>>> > '', '', {}] comparing ['hg', '.*', '/.*', '', '', {}] to ['http',
>>> > 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['http', 'downloads.yoctoproject.org',
>>> >
>>> > '/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz',
>>> > '', '', {}] comparing ['osc', '.*', '/.*', '', '', {}] to ['http',
>>> > 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['http', 'downloads.yoctoproject.org',
>>> >
>>> > '/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz',
>>> > '', '', {}] comparing ['p4', '.*', '/.*', '', '', {}] to ['http',
>>> > 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['http', 'downloads.yoctoproject.org',
>>> >
>>> > '/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz',
>>> > '', '', {}] comparing ['svk', '.*', '/.*', '', '', {}] to ['http',
>>> > 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['http', 'downloads.yoctoproject.org',
>>> >
>>> > '/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz',
>>> > '', '', {}] comparing ['svn', '.*', '/.*', '', '', {}] to ['http',
>>> > 'downloads.yoctoproject.org', '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['hg', '.*',
>>> > '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['osc', '.*',
>>> > '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['p4', '.*',
>>> > '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['svk', '.*',
>>> > '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['svn', '.*',
>>> > '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > NOTE: fetch
>>> > http://downloads.yoctoproject.org/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz
>>> > DEBUG: Fetcher accessed the network with the command /usr/bin/env wget
>>> > -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/prjs/src
>>> >
>>> > 'http://downloads.yoctoproject.org/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz'
>>> > DEBUG: Running export HOME="/home/flavio"; export
>>> > SSH_AGENT_PID="1803"; export SSH_AUTH_SOCK="/tmp/keyring-gnKUx0/ssh";
>>> > export
>>> > GIT_CONFIG="/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux/etc/gitconfig";
>>> > export
>>> > PATH="/home/prjs/beagle-xm/poky/scripts:/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi:/home/prjs/beagle-xm/linux/tmp/sysroots/beagleboard/usr/bin/crossscripts:/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux/usr/sbin:/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux/usr/bin:/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux/sbin:/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux//bin:/home/prjs/beagle-xm/poky/scripts:/home/prjs/beagle-xm/poky/bitbake/bin/:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games";
>>> > /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate
>>> > -P /home/prjs/src
>>> >
>>> > 'http://downloads.yoctoproject.org/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz'
>>> > DEBUG: Mirror fetch failure for url
>>> >
>>> > http://downloads.yoctoproject.org/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz
>>> > (original url:
>>> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-3.2.y;protocol=git)
>>> > DEBUG: Fetcher failure: Fetch command failed with exit code 8, output:
>>> >
>>> > http://downloads.yoctoproject.org/mirror/sources/git2_git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git.tar.gz:
>>> > 2013-01-13 21:18:27 ERROR 404: Not Found.
>>> >
>>> > DEBUG: Trying Upstream
>>> > DEBUG: Fetcher accessed the network with the command git clone --bare
>>> > --mirror
>>> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
>>> >
>>> > /home/prjs/src/git2/git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git
>>> > DEBUG: Running export HOME="/home/flavio"; export
>>> > SSH_AGENT_PID="1803"; export SSH_AUTH_SOCK="/tmp/keyring-gnKUx0/ssh";
>>> > export
>>> > GIT_CONFIG="/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux/etc/gitconfig";
>>> > export
>>> > PATH="/home/prjs/beagle-xm/poky/scripts:/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi:/home/prjs/beagle-xm/linux/tmp/sysroots/beagleboard/usr/bin/crossscripts:/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux/usr/sbin:/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux/usr/bin:/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux/sbin:/home/prjs/beagle-xm/linux/tmp/sysroots/i686-linux//bin:/home/prjs/beagle-xm/poky/scripts:/home/prjs/beagle-xm/poky/bitbake/bin/:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games";
>>> > git clone --bare --mirror
>>> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
>>> >
>>> > /home/prjs/src/git2/git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git
>>> > WARNING: Failed to fetch URL
>>> >
>>> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-3.2.y;protocol=git,
>>> > attempting MIRRORS if available
>>> > DEBUG: Fetcher failure: Fetch command failed with exit code 128, output:
>>> > Cloning into bare repository
>>> >
>>> > '/home/prjs/src/git2/git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git'...
>>> >
>>> > fatal: read error: Connection timed out
>>> > fatal: early EOF
>>> > fatal: index-pack failed
>>> >
>>> > DEBUG: Trying MIRRORS
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['ftp', '.*',
>>> > '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['http', '.*',
>>> > '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > DEBUG: For url ['git', 'git.kernel.org',
>>> > '/pub/scm/linux/kernel/git/stable/linux-stable.git', '', '',
>>> > {'protocol': 'git', 'branch': 'linux-3.2.y'}] comparing ['https',
>>> > '.*', '/.*', '', '', {}] to ['http', 'downloads.yoctoproject.org',
>>> > '/mirror/sources/', '', '', {}]
>>> > ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
>>> > Cloning into bare repository
>>> >
>>> > '/home/prjs/src/git2/git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git'...
>>> >
>>> > fatal: read error: Connection timed out
>>> > fatal: early EOF
>>> > fatal: index-pack failed
>>> >
>>> > DEBUG: Python function base_do_fetch finished
>>> > DEBUG: Python function do_fetch finished
>>> > ERROR: Function failed: Fetcher failure for URL:
>>> >
>>> > 'git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-3.2.y;protocol=git'.
>>> > Unable to fetch URL from any source.
>>> >
>>> > Does anybody have any idea of what am I doing wrong?
>>> >
>>> > Best regards,
>>> >
>>> > Flavio
>>> >
>>> > --
>>> > Flavio de Castro Alves Filho
>>> >
>
> Hello,
>
> I'm facing the same "Connection timed out" issue when trying to build
> an image for a Pandaboard.
>
> Manually cloning the kernel:
>
> $ git clone git://dev.omapzoom.org/pub/scm/integration/kernel-ubuntu.git
>
> works for me but is utterly slow (34 KiB/s) and I have a decent-ish connection.
>
> In fact I don't have issues when building images for other target
> machines neither other packages.
>
> Thanks a lot and best regards,
> Javier
--
Flavio de Castro Alves Filho
flavio.alves at gmail.com
www.linuxembarcado.com
Twitter: http://twitter.com/#!/fraviofii
LinkedIn profile: www.linkedin.com/in/flaviocastroalves
More information about the meta-ti
mailing list