All of lore.kernel.org
 help / color / mirror / Atom feed
* Build failure because of do_fectch in Yocto-1.1
       [not found] <OFEA4B568B.582F38D7-ON652579C8.001AA88F-652579C8.001B875F@notesmail.huawei.com.cn>
@ 2012-03-21  5:01 ` Ashish Pandey
  2012-03-21  9:02   ` Jack Mitchell
  0 siblings, 1 reply; 3+ messages in thread
From: Ashish Pandey @ 2012-03-21  5:01 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2696 bytes --]

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> 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> 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!




[-- Attachment #2: Type: text/html, Size: 5826 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build failure because of do_fectch in Yocto-1.1
  2012-03-21  5:01 ` Build failure because of do_fectch in Yocto-1.1 Ashish Pandey
@ 2012-03-21  9:02   ` Jack Mitchell
  2012-03-21 10:47     ` Ashish Pandey
  0 siblings, 1 reply; 3+ messages in thread
From: Jack Mitchell @ 2012-03-21  9:02 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 3414 bytes --]

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> 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> 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
> 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 (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--


[-- Attachment #2: Type: text/html, Size: 9008 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build failure because of do_fectch in Yocto-1.1
  2012-03-21  9:02   ` Jack Mitchell
@ 2012-03-21 10:47     ` Ashish Pandey
  0 siblings, 0 replies; 3+ messages in thread
From: Ashish Pandey @ 2012-03-21 10:47 UTC (permalink / raw)
  To: Jack Mitchell, yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 6652 bytes --]

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-bounces@yoctoproject.org [yocto-bounces@yoctoproject.org] on behalf of Jack Mitchell [ml@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 (jack@embed.me.uk<mailto:jack@embed.me.uk>)
  Embedded Systems Engineer
  http://www.embed.me.uk

--


[-- Attachment #2: Type: text/html, Size: 12620 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-21 10:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <OFEA4B568B.582F38D7-ON652579C8.001AA88F-652579C8.001B875F@notesmail.huawei.com.cn>
2012-03-21  5:01 ` Build failure because of do_fectch in Yocto-1.1 Ashish Pandey
2012-03-21  9:02   ` Jack Mitchell
2012-03-21 10:47     ` Ashish Pandey

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.