build error issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

build error issue

2,050 Views
jiangdongli
Contributor II

hi,

   I got a build error, when running bitbake core-image-base in build directory:

ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/ljd/work/fsl-arm-yocto-bsp/downloads//git2/git.freescale.com.imx.uboot-imx.git'...

nc: getaddrinfo: Name or service not known
fatal: The remote end hung up unexpectedly

ERROR: Function failed: Fetcher failure for URL: 'git://git.freescale.com/imx/uboot-imx.git;protocol=git;branch=imx_v2015.04_4.1.15_1.0.0_ga'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/ljd/work/fsl-arm-yocto-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2015.04-r0/temp/log.do_fetch.28667
ERROR: Task 201 (/home/ljd/work/fsl-arm-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2015.04.bb, do_fetch) failed with exit code '1'

And i check in log.do_fetch.28667:

DEBUG: Fetcher failure: Fetch command failed with exit code 8, output:
http://downloads.yoctoproject.org/mirror/sources/git2_git.freescale.com.imx.uboot-imx.git.tar.gz:
2017-11-07 09:03:05 ERROR 404: Not Found.

DEBUG: Trying Upstream
DEBUG: Fetcher accessed the network with the command git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.freescale.com/imx/uboot-imx.git /home/ljd/work/fsl-arm-yocto-bsp/downloads//git2/git.freescale.com.imx.uboot-imx.git
DEBUG: Running export SSH_AGENT_PID="28032"; export SSH_AUTH_SOCK="/tmp/keyring-VCr0xT/ssh"; export GIT_PROXY_COMMAND="proxy-wrapper"; export all_proxy="socks://192.168.100.54:1080"; export ALL_PROXY="socks://192.168.100.54:1080"; export no_proxy="example.com"; export NO_PROXY="example.com"; export ftp_proxy="http://192.168.100.54:1080"; export https_proxy="https://192.168.100.54:1080"; export http_proxy="http://192.168.100.54:1080"; export PATH="/home/ljd/work/fsl-arm-yocto-bsp/sources/poky/scripts:/home/ljd/work/fsl-arm-yocto-bsp/build/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/home/ljd/work/fsl-arm-yocto-bsp/build/tmp/sysroots/imx6qsabresd/usr/bin/crossscripts:/home/ljd/work/fsl-arm-yocto-bsp/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/ljd/work/fsl-arm-yocto-bsp/build/tmp/sysroots/x86_64-linux/usr/bin:/home/ljd/work/fsl-arm-yocto-bsp/build/tmp/sysroots/x86_64-linux/sbin:/home/ljd/work/fsl-arm-yocto-bsp/build/tmp/sysroots/x86_64-linux/bin:/home/ljd/work/fsl-arm-yocto-bsp/sources/poky/scripts:/home/ljd/work/fsl-arm-yocto-bsp/sources/poky/bitbake/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/home/ljd/bin"; export HOME="/home/ljd"; git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.freescale.com/imx/uboot-imx.git /home/ljd/work/fsl-arm-yocto-bsp/downloads//git2/git.freescale.com.imx.uboot-imx.git
WARNING: Failed to fetch URL git://git.freescale.com/imx/uboot-imx.git;protocol=git;branch=imx_v2015.04_4.1.15_1.0.0_ga, attempting MIRRORS if available
DEBUG: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/ljd/work/fsl-arm-yocto-bsp/downloads//git2/git.freescale.com.imx.uboot-imx.git'...

 

Is the file git2_git.freescale.com.imx.uboot-imx.git.tar.gz deleted? How can I solve it?

Labels (3)
0 Kudos
2 Replies

1,470 Views
joanxie
NXP TechSupport
NXP TechSupport

the server did has some issue before, did you try it again? it shold be ok, and I don't set proxy for this.

0 Kudos

1,470 Views
jiangdongli
Contributor II

Hi Joan,

   Thank you for reply, I had try it again without using the proxy, But the problem still exists. I open the URL:http://downloads.yoctoproject.org/mirror/sources/git2_git.freescale.com.imx.uboot-imx.git.tar.gz in my chrome browser and got the same error:

pastedImage_1.png

So i build the BSP update to fsl-yocto-L4.9.11_1.0.0 later, and anything is OK

0 Kudos