Skip to contentSkip to conversation

do_fetch error while compiling code

yocto NIKHIL PATIL 3 participants 3 messages Oct 18, 2020 – Oct 20, 2020 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

hi ,
We totally stuck here , if anyone knows please let us know.

Quoted 49 lines · NIKHIL PATIL via lists.yoctoproject.org

Hi Team ,
We are compiling a source code in yocto . but while comiping we are
getting following error . we are not able to find solution for these .

ERROR: Task
(/data/pradeep/inti_dmsv/yocto_build/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb:do_fetch)
failed with exit code '1'
ERROR: libxcursor-1_1.1.15-r0 do_fetch: Fetcher failure: Fetch command
export PSEUDO_DISABLED=1; export PATH="/data/pradeep/inti_dmsv/yocto_build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/data/pradeep/inti_dmsv/yocto_build/scripts:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot/usr/bin/crossscripts:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/usr/sbin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/usr/bin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/sbin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/bin:/data/pradeep/inti_dmsv/yocto_build/bitbake/bin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/hosttools"; export HOME="/home/pradeep"; /usr/bin/env wget -t 2 -T 30 --passive-ftp
--no-check-certificate -P
/data/pradeep/inti_dmsv/yocto_build/build/downloads '
http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2'
--progress=dot -v failed with exit code 4, output:
--2020-10-17 09:20:20--
http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2
Resolving xorg.freedesktop.org (xorg.freedesktop.org)... 131.252.210.176,
2610:10:20:722:a800:ff:feda:470f
Connecting to xorg.freedesktop.org (xorg.freedesktop.org)|131.252.210.176|:80...
connected.
HTTP request sent, awaiting response... Read error (Connection timed out)
in headers.
Retrying.

--2020-10-17 09:20:52-- (try: 2)
http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2
Connecting to xorg.freedesktop.org (xorg.freedesktop.org)|131.252.210.176|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Giving up.

ERROR: libxcursor-1_1.1.15-r0 do_fetch: Fetcher failure for URL: '
http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2'.
Unable to fetch URL from any source.
ERROR: libxcursor-1_1.1.15-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in:
/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/temp/log.do_fetch.19859
ERROR: Task (/data/pradeep/inti_dmsv/yocto_build/meta/recipes-graphics/xorg-lib/libxcursor_1.1.15.bb:do_fetch) failed with exit code '1'

*what will be the solution for these ?*

#2 lore raw
Quoted 27 lines · NIKHIL PATIL

hi ,
We totally stuck here , if anyone knows please let us know.

Quoted 23 lines · NIKHIL PATIL via lists.yoctoproject.org

Hi Team ,
We are compiling a source code in yocto . but while comiping we are getting following error . we are not able to find solution for these .

ERROR: Task (/data/pradeep/inti_dmsv/yocto_build/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb:do_fetch) failed with exit code '1'
ERROR: libxcursor-1_1.1.15-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/data/pradeep/inti_dmsv/yocto_build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/data/pradeep/inti_dmsv/yocto_build/scripts:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot/usr/bin/crossscripts:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/usr/sbin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/usr/bin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/sbin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/bin:/data/pradeep/inti_dmsv/yocto_build/bitbake/bin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/hosttools"; export HOME="/home/pradeep"; /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /data/pradeep/inti_dmsv/yocto_build/build/downloads 'http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2' --progress=dot -v failed with exit code 4, output:
--2020-10-17 09:20:20-- http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2
Resolving xorg.freedesktop.org (xorg.freedesktop.org)... 131.252.210.176, 2610:10:20:722:a800:ff:feda:470f
Connecting to xorg.freedesktop.org (xorg.freedesktop.org)|131.252.210.176|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.

--2020-10-17 09:20:52-- (try: 2) http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2
Connecting to xorg.freedesktop.org (xorg.freedesktop.org)|131.252.210.176|:80... connected. HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Giving up.

ERROR: libxcursor-1_1.1.15-r0 do_fetch: Fetcher failure for URL: 'http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2'. Unable to fetch URL from any source.
ERROR: libxcursor-1_1.1.15-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/temp/log.do_fetch.19859
ERROR: Task (/data/pradeep/inti_dmsv/yocto_build/meta/recipes-graphics/xorg-lib/libxcursor_1.1.15.bb:do_fetch) failed with exit code '1'

what will be the solution for these ?

The fetch error means it can't download the file. The above link:

(http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2)

works for me so it suggests something is wrong with the networking on the machine you're trying to build on.

Cheers,

Richard

#3 lore raw
In reply to NIKHIL PATIL
Quoted 53 lines · NIKHIL PATIL

hi ,
    We totally stuck here , if anyone knows please let us know.

On Sat, Oct 17, 2020 at 3:43 PM NIKHIL PATIL via lists.yoctoproject.org <http://lists.yoctoproject.org> <[email protected] <mailto:[email protected]>> wrote:

Hi Team ,
      We are compiling a source code in yocto . but while
compiling we are getting following error . we are not able to find solution for these .

ERROR: Task
(/data/pradeep/inti_dmsv/yocto_build/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb:do_fetch)
failed with exit code '1'
ERROR: libxcursor-1_1.1.15-r0 do_fetch: Fetcher failure: Fetch
command export PSEUDO_DISABLED=1; export PATH="/data/pradeep/inti_dmsv/yocto_build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/data/pradeep/inti_dmsv/yocto_build/scripts:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot/usr/bin/crossscripts:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/usr/sbin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/usr/bin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/sbin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/recipe-sysroot-native/bin:/data/pradeep/inti_dmsv/yocto_build/bitbake/bin:/data/pradeep/inti_dmsv/yocto_build/build/tmp/hosttools"; export HOME="/home/pradeep"; /usr/bin/env wget -t 2 -T 30
--passive-ftp --no-check-certificate -P
/data/pradeep/inti_dmsv/yocto_build/build/downloads
'http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2'
--progress=dot -v failed with exit code 4, output:
--2020-10-17 09:20:20--
http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2
Resolving xorg.freedesktop.org <http://xorg.freedesktop.org>
(xorg.freedesktop.org <http://xorg.freedesktop.org>)...
131.252.210.176, 2610:10:20:722:a800:ff:feda:470f
Connecting to xorg.freedesktop.org <http://xorg.freedesktop.org>
(xorg.freedesktop.org
<http://xorg.freedesktop.org>)|131.252.210.176|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed
out) in headers.
Retrying.

--2020-10-17 09:20:52--  (try: 2)
http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2
Connecting to xorg.freedesktop.org <http://xorg.freedesktop.org>
(xorg.freedesktop.org
<http://xorg.freedesktop.org>)|131.252.210.176|:80... connected. HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Giving up.

ERROR: libxcursor-1_1.1.15-r0 do_fetch: Fetcher failure for URL:
'http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2'.
Unable to fetch URL from any source.
ERROR: libxcursor-1_1.1.15-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in:
/data/pradeep/inti_dmsv/yocto_build/build/tmp/work/corei7-64-poky-linux/libxcursor/1_1.1.15-r0/temp/log.do_fetch.19859
ERROR: Task (/data/pradeep/inti_dmsv/yocto_build/meta/recipes-graphics/xorg-lib/libxcursor_1.1.15.bb:do_fetch) failed with exit code '1'

Quoted 1 line

*what will be the solution for these ?*

Hi Nikhil,

$cd /tmp; wget http://xorg.freedesktop.org/releases/individual/lib/libXcursor-1.1.15.tar.bz2

works for me so it's not the upstream web server at least at this instant.

Can you run this wget command manually to download the tarball? Do you have a system or corporate firewall causing problems? If so fix that or do the download somewhere else and bring the sources to the build machine after clearing that with the people who are responsible for your workplace's security.

I haven't used this and I don't know if it's up to date by you might read:
https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy

If this doesn't work for you there are commercial solutions that provide support for Yocto and also deliver all the sources that you'll need.

Let me and the list know how it goes.

Welcome to Yocto and good luck,

../Randy

Quoted 7 lines
Signature · 2 lines
# Randy MacLeod
# Wind River Linux