Hi Jack ,

  Thanks for you kind response, I tried changing content of local.conf but it 
did not work , Here is the change.

SOURCE_MIRROR_URL ?= "file://home/yocto/RPMs/"

INHERIT += "own-mirrors"

BB_GENERATE_MIRROR_TARBALLS = "1"


CONF_VERSION = "1"

BB_GENERATE_MIRROR_TARBALLS = "1"

BB_NO_NETWORK = "1"

I am still getting the same error , following is the error . Please help.

| WARNING: Fetcher failure for URL: 'None'. Fetch command export 
HOME="/home/Yocto"; export 
GIT_CONFIG="/home/yocto/poky-edison-6.0/build/tmp/sysroots/i686-linux/usr/etc/gitconfig";
 export 
PATH="/home/yocto/poky-edison-6.0/build/tmp/sysroots/i686-linux/usr/bin/i586-poky-linux:/home/yocto/poky-edison-6.0/build/tmp/sysroots/qemux86/usr/bin/crossscripts:/home/yocto/poky-edison-6.0/build/tmp/sysroots/i686-linux/usr/sbin:/home/yocto/poky-edison-6.0/build/tmp/sysroots/i686-linux/usr/bin:/home/yocto/poky-edison-6.0/build/tmp/sysroots/i686-linux/sbin:/home/yocto/poky-edison-6.0/build/tmp/sysroots/i686-linux//bin:/home/yocto/poky-edison-6.0/scripts:/home/yocto/poky-edison-6.0/bitbake/bin/:/home/yocto/poky-edison-6.0/scripts:/home/yocto/poky-edison-6.0/bitbake/bin/:/home/yocto/poky-edison-6.0/scripts:/home/yocto/poky-edison-6.0/bitbake/bin/:/home/yocto/poky-edison-6.0/scripts:/home/yocto/poky-edison-6.0/bitbake/bin/:/usr/lib/mpi/gcc/openmpi/bin:/home/Yocto/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/home/yocto/poky-edison-6.0/scripts";
 git remote add --mirror=fetch origin 
git://git.yoctoproject.org/linux-yocto-3.0 failed with signal 128, output:
| fatal: remote origin already exists.
|
| DEBUG: Trying MIRRORS
| ERROR: Function 'Fetcher failure for URL: 
'git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;nocheckout=1;branch=yocto/standard/common-pc/base,meta;name=machine,meta'.
 Unable to fetch URL 
git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;nocheckout=1;branch=yocto/standard/common-pc/base,meta;name=machine,meta
 from any source.' failed
|
NOTE: package 
linux-yocto-3.0.4+git1+d05450e4aef02c1b7137398ab3a9f8f96da74f52_1+72671808fdbe69a9fe03fd8f094e7c59da04a28c-r2:
 task do_fetch: Failed
ERROR: Task 495 
(/home/yocto/poky-edison-6.0/meta/recipes-kernel/linux/linux-yocto_3.0.bb, 
do_fetch) failed with exit code '1'
ERROR: 
'/home/yocto/poky-edison-6.0/meta/recipes-kernel/linux/linux-yocto_3.0.bb' 
failed


Kindly help me to resolve this.




Regards,

Ashish

Huawei Technology



This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person or entity whose address is listed above. 
Any use of the information contained herein in any way (including, but not 
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is prohibited. If you receive this 
e-mail in error, please notify the sender by phone or email immediately and 
delete it!

________________________________
From: yocto-boun...@yoctoproject.org [yocto-boun...@yoctoproject.org] on behalf 
of Jack Mitchell [m...@communistcode.co.uk]
Sent: 21 March 2012 14:32:27
To: yocto@yoctoproject.org
Subject: Re: [yocto] Build failure because of do_fectch in Yocto-1.1

On 21/03/12 05:01, Ashish Pandey wrote:
Hi All ,

  I am new to Yocto and I am trying to build linux image using Yocto-1.1 . I am 
not able to build completely , It is giving following error.

NOTE: package core-image-minimal-1.0-r0: task do_populate_sysroot: Started
NOTE: package core-image-minimal-1.0-r0: task do_populate_sysroot: Succeeded
ERROR: 
'/home/yocto/poky-edison-6.0/meta/recipes-kernel/linux/linux-yocto_3.0.bb' 
failed


I think it is not able to fetch linux-yocto_3.0 from 
git://git.yoctoproject.org/linux-yocto-3.0.

I do not have internet setup in my build machine, I have downloaded all the 
packages from a different machine and i have copied it to the build machine.

Following are the Build Machine ,Yocto setup and Error details:

1) Build machine:
Yocto@linux-todd:/home/yocto/poky-edison-6.0<mailto:Yocto@linux-todd:/home/yocto/poky-edison-6.0>>
 uname -a
Linux linux-todd 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 
(187dde0) i686 i686 i386 GNU/Linux

It is Open Suse 12.1.

2) Yocto Setup :
Yocto@linux-todd:/home/yocto/poky-edison-6.0/build<mailto:Yocto@linux-todd:/home/yocto/poky-edison-6.0/build>>
 bitbake -k core-image-minimal
Loading cache: 100% 
|#######################################################################################################################################|
 ETA:  00:00:00
Loaded 1036 entries from dependency cache.

OE Build Configuration:
BB_VERSION        = "1.13.3"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.1"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto        = "<unknown>:<unknown>"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue

3) Error :

NOTE: package 
linux-yocto-3.0.4+git1+d05450e4aef02c1b7137398ab3a9f8f96da74f52_1+72671808fdbe69a9fe03fd8f094e7c59da04a28c-r2:
 task do_fetch: Failed
ERROR: Task 495 
(/home/yocto/poky-edison-6.0/meta/recipes-kernel/linux/linux-yocto_3.0.bb, 
do_fetch) failed with exit code '1'
ERROR: 
'/home/yocto/poky-edison-6.0/meta/recipes-kernel/linux/linux-yocto_3.0.bb' 
failed

Is there anyway to build yocto on a machine which does not have internet and 
git ?
Please help me to fix this issue.








Regards,

Ashish

Huawei Technology



This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person or entity whose address is listed above. 
Any use of the information contained herein in any way (including, but not 
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is prohibited. If you receive this 
e-mail in error, please notify the sender by phone or email immediately and 
delete it!






_______________________________________________
yocto mailing list
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto


HI Ashish,

There is a short paragraph on the wiki[1] which gives a brief explanation on 
how to go about creating your own mirror of the downloaded files.

[1] https://wiki.yoctoproject.org/wiki/How_do_I

Regards,

--

  Jack Mitchell (j...@embed.me.uk<mailto:j...@embed.me.uk>)
  Embedded Systems Engineer
  http://www.embed.me.uk

--

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to