All of lore.kernel.org
 help / color / mirror / Atom feed
* do_fetch error
@ 2017-08-28  8:41 mohammed aqdam
  2017-08-28  9:28 ` Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: mohammed aqdam @ 2017-08-28  8:41 UTC (permalink / raw)
  To: yocto

Hello there,

I was build image for rpi3 using yocto, but the image which i build
was not supporting camera(picamera),so after googling for a while i found
this link

https://github.com/pauldotknopf/raspberry-pi-camera-source

now while building, i'm getting the following message...

root@(none):/u/my_poky/test_poky/cam_poky/raspberry-pi-camera-source/build#
bitbake -k camera-image-minimal
Loading cache: 100%
|############################################################################################################################################|
ETA:  00:00:00
Loaded 3645 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "raspberrypi2"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0.1"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard
vfpv4 cortexa7"
TARGET_FPU        = "vfp-vfpv4-neon"
meta
meta-yocto
meta-yocto-bsp    = "HEAD:3b223f75eec1738fbc913858e8e11c8305e3edcb"
meta-raspberrypi  = "HEAD:f2cff839f52a6e6211337fc45c7c3eabf0fac113"
meta              = "HEAD:4d879cb8d7384ac4a96f22c1664b8875f2d8f615"
meta-oe
meta-python
meta-networking   = "HEAD:c305ac5d2f5285d5eec8952a4ca7f3b4f89aed96"
meta-camera-source = "master:62521e29499baf0be515e0b73ead80e34645fe33"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL
ftp://ftp.freedesktop.org/pub/mesa/10.6.3/mesa-10.6.3.tar.xz,
attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 8, output:
No such directory 'pub/mesa/10.6.3'.


ERROR: Function failed: Fetcher failure for URL:
'ftp://ftp.freedesktop.org/pub/mesa/10.6.3/mesa-10.6.3.tar.xz'. Unable
to fetch URL from any source.
ERROR: Logfile of failure stored in:
/u/my_poky/test_poky/cam_poky/raspberry-pi-camera-source/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/mesa-gl/2_10.6.3-r0/temp/log.do_fetch.5133
ERROR: Task 2426
(/u/my_poky/test_poky/cam_poky/raspberry-pi-camera-source/build/../openembedded-core/meta/recipes-graphics/mesa/mesa-gl_10.6.3.bb,
do_fetch) failed with exit code '1'

so tried to download the above file and copy that into download
folder.but even after the coping downloaded file i'm getting the same
error and
the file which download and copy into downloaded folder is getting replaced with
mesa.10.6.3.lock file.

how to solve this error? am i missing anything?
Don't know what to do...

thanks,
mohammed aqdam


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

* Re: do_fetch error
  2017-08-28  8:41 do_fetch error mohammed aqdam
@ 2017-08-28  9:28 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2017-08-28  9:28 UTC (permalink / raw)
  To: mohammed aqdam; +Cc: yocto

Hi Mohammed,

On Monday, 28 August 2017 8:41:51 PM NZST mohammed aqdam wrote:
> I was build image for rpi3 using yocto, but the image which i build
> was not supporting camera(picamera),so after googling for a while i found
> this link
> 
> https://github.com/pauldotknopf/raspberry-pi-camera-source
> 
> now while building, i'm getting the following message...
> 
> root@(none):/u/my_poky/test_poky/cam_poky/raspberry-pi-camera-source/build#
> bitbake -k camera-image-minimal
> Loading cache: 100%
> |
############################################################################################################################################|
> ETA:  00:00:00
> Loaded 3645 entries from dependency cache.
> NOTE: Resolving any missing task queue dependencies
> 
> Build Configuration:
> BB_VERSION        = "1.28.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Ubuntu-14.04"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "raspberrypi2"
> DISTRO            = "poky"
> DISTRO_VERSION    = "2.0.1"
> TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard
> vfpv4 cortexa7"
> TARGET_FPU        = "vfp-vfpv4-neon"
> meta
> meta-yocto
> meta-yocto-bsp    = "HEAD:3b223f75eec1738fbc913858e8e11c8305e3edcb"
> meta-raspberrypi  = "HEAD:f2cff839f52a6e6211337fc45c7c3eabf0fac113"
> meta              = "HEAD:4d879cb8d7384ac4a96f22c1664b8875f2d8f615"
> meta-oe
> meta-python
> meta-networking   = "HEAD:c305ac5d2f5285d5eec8952a4ca7f3b4f89aed96"
> meta-camera-source = "master:62521e29499baf0be515e0b73ead80e34645fe33"
> 
> NOTE: Preparing RunQueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> WARNING: Failed to fetch URL
> ftp://ftp.freedesktop.org/pub/mesa/10.6.3/mesa-10.6.3.tar.xz,
> attempting MIRRORS if available
> ERROR: Fetcher failure: Fetch command failed with exit code 8, output:
> No such directory 'pub/mesa/10.6.3'.
> 
> 
> ERROR: Function failed: Fetcher failure for URL:
> 'ftp://ftp.freedesktop.org/pub/mesa/10.6.3/mesa-10.6.3.tar.xz'. Unable
> to fetch URL from any source.
> ERROR: Logfile of failure stored in:
> /u/my_poky/test_poky/cam_poky/raspberry-pi-camera-source/build/tmp/work/
cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/mesa-gl/2_10.6.3-r0/temp/
log.do_fetch.5133
> ERROR: Task 2426
> (/u/my_poky/test_poky/cam_poky/raspberry-pi-camera-source/build/../
openembedded-core/meta/recipes-graphics/mesa/mesa-gl_10.6.3.bb,
> do_fetch) failed with exit code '1'
> 
> so tried to download the above file and copy that into download
> folder.but even after the coping downloaded file i'm getting the same
> error and
> the file which download and copy into downloaded folder is getting replaced
> with mesa.10.6.3.lock file.
> 
> how to solve this error? am i missing anything?
> Don't know what to do...

Firstly, this error shouldn't have occurred because our source mirror has this 
file:

  http://downloads.yoctoproject.org/mirror/sources/mesa-10.6.3.tar.xz

I'm unsure as to why that wouldn't have worked unless your configuration 
clears out the default value of MIRRORS, or our source mirror couldn't be 
accessed by you for some reason. mesa-gl's log.do_fetch (path shown in your 
error log) would explain exactly which URLs it tried if you did want to figure 
that out.

Secondly, regarding copying the file into the downloads directory, that alone 
isn't enough, you also have to touch a ".done" file next to the file in the 
downloads directory (the name of the file with .done appended to it) so that 
it assumes the file completely downloaded.

Thirdly, you are using what is by now quite an old version of the build system 
- and you're building for rasperrypi2 which isn't the board you say you have 
(rasperrypi3) - perhaps because the raspberrypi3 configuration isn't available 
in that version, not sure. Maybe someone else can chime in regarding the 
camera software for newer versions, I'm not sure about that either.

Cheers,
Paul


-- 

Paul Eggleton
Intel Open Source Technology Centre


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

end of thread, other threads:[~2017-08-28  9:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28  8:41 do_fetch error mohammed aqdam
2017-08-28  9:28 ` Paul Eggleton

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.