cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
391 Views
Registered: ‎06-21-2017

petalinux build failed 2017.3

I am running Petalinux 2017.3 on ZCU102. it was all working fine 1 month ago. just today when i tried to build the image (petalinux-build ). it gave me the following errors. i tried to make the project from sratch as well. i got the same errors. 

could you please help me out with this error 

 

WARNING: linux-xlnx-4.9-xilinx-v2017.3+gitAUTOINC+f1b1e077d6-r0 do_fetch: Failed to fetch URL git://github.com/Xilinx/linux-xlnx.git;protocol=https;nobranch=1, attempting MIRRORS if available
ERROR: linux-xlnx-4.9-xilinx-v2017.3+gitAUTOINC+f1b1e077d6-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-xUbFGqI90c"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export GIT_SSL_CAINFO="/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/ubuntu-vm/vivado_prj/linux_ihp/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/layers/core/scripts:/home/ubuntu-vm/vivado_prj/linux_ihp/build/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux:/home/ubuntu-vm/vivado_prj/linux_ihp/build/tmp/sysroots/plnx_aarch64/usr/bin/crossscripts:/home/ubuntu-vm/vivado_prj/linux_ihp/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/ubuntu-vm/vivado_prj/linux_ihp/build/tmp/sysroots/x86_64-linux/usr/bin:/home/ubuntu-vm/vivado_prj/linux_ihp/build/tmp/sysroots/x86_64-linux/sbin:/home/ubuntu-vm/vivado_prj/linux_ihp/build/tmp/sysroots/x86_64-linux/bin:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/layers/core/scripts:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/layers/core/bitbake/bin:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/sysroots/x86_64-petalinux-linux/usr/bin:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/usr/bin:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/sbin:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/bin:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/sbin:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/../x86_64-petalinux-linux/bin:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux-uclibc:/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/tmp/sysroots/x86_64-linux/usr/bin/aarch64-xilinx-linux-musl:/home/ubuntu-vm/opt/petalinux20173/tools/common/petalinux/utils:/home/ubuntu-vm/opt/petalinux20173/tools/linux-i386/petalinux/bin:/home/ubuntu-vm/opt/petalinux20173/tools/linux-i386/petalinux/bin/unexport:/home/ubuntu-vm/opt/petalinux20173/tools/hsm/bin:/home/ubuntu-vm/opt/petalinux20173/tools/webtalk/bin:/home/ubuntu-vm/opt/petalinux20173/tools/linux-i386/petalinux/bin:/home/ubuntu-vm/opt/petalinux20173/tools/common/petalinux/bin:/home/ubuntu-vm/opt/petalinux20173/tools/linux-i386/gcc-arm-none-eabi-r5/bin:/home/ubuntu-vm/opt/petalinux20173/tools/linux-i386/microblaze-xilinx-elf/bin:/home/ubuntu-vm/opt/petalinux20173/tools/linux-i386/microblazeel-xilinx-linux-gnu/bin:/home/ubuntu-vm/opt/petalinux20173/tools/linux-i386/gcc-arm-none-eabi/bin:/home/ubuntu-vm/opt/petalinux20173/tools/linux-i386/gcc-arm-linux-gnueabi/bin:/home/ubuntu-vm/opt/petalinux20173/tools/linux-i386/aarch64-none-elf/bin:/home/ubuntu-vm/opt/petalinux20173/tools/linux-i386/aarch64-linux-gnu/bin:/home/ubuntu-vm/bin:/home/ubuntu-vm/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/ubuntu-vm"; git -c core.fsyncobjectfiles=0 remote add --mirror=fetch origin https://github.com/Xilinx/linux-xlnx.git failed with exit code 128, output:
fatal: Not a git repository (or any of the parent directories): .git

ERROR: linux-xlnx-4.9-xilinx-v2017.3+gitAUTOINC+f1b1e077d6-r0 do_fetch: Fetcher failure for URL: 'git://github.com/Xilinx/linux-xlnx.git;protocol=https;nobranch=1'. Unable to fetch URL from any source.
ERROR: linux-xlnx-4.9-xilinx-v2017.3+gitAUTOINC+f1b1e077d6-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/ubuntu-vm/vivado_prj/linux_ihp/build/tmp/work/plnx_aarch64-xilinx-linux/linux-xlnx/4.9-xilinx-v2017.3+gitAUTOINC+f1b1e077d6-r0/temp/log.do_fetch.55372
ERROR: Task (/home/ubuntu-vm/opt/petalinux20173/components/yocto/source/aarch64/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_fetch) failed with exit code '1'

 

Thanks alot

Riz

0 Kudos
3 Replies
Highlighted
Moderator
Moderator
344 Views
Registered: ‎12-04-2016

Re: petalinux build failed 2017.3

Hi @rizwantariq 

It looks like there is an issue in accessing github link from your host. Check if you are able to git clone https://github.com/Xilinx/linux-xlnx.git ?

 

Best Regards

Shabbir

 

0 Kudos
Highlighted
Contributor
Contributor
292 Views
Registered: ‎09-24-2009

Re: petalinux build failed 2017.3

Hello,

I have the same build issue with petalinux 2019.1.

WARNING: linux-xlnx-4.19-xilinx-v2019.1+gitAUTOINC+9811303824-r0 do_fetch: Failed to fetch URL git://github.com/Xilinx/linux-xlnx.git;protocol=https;branch=xlnx_rebase_v4.19, attempting MIRRORS if available
ERROR: linux-xlnx-4.19-xilinx-v2019.1+gitAUTOINC+9811303824-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export GIT_SSL_CAINFO="/home/kha/xilinx/petalinux-v2019.1/components/yocto/source

 

Manual mode is working (git -> https), but how to make a change for the petalinux-build environment?

#git clone https://github.com/Xilinx/linux-xlnx.git
Cloning into 'linux-xlnx'...
remote: Enumerating objects: 38, done.

remote: Counting objects: 100% (38/38), done.

 

Thanks,

 

 

0 Kudos
Highlighted
49 Views
Registered: ‎10-03-2019

Re: petalinux build failed 2017.3

Hello,

Did anyone managed to solve that issue?

G

0 Kudos