cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vessils
Observer
Observer
814 Views
Registered: ‎07-07-2020

ORAN IF IP Core Example System failed to build Petalinux using the provided make file: Failed to fetch URL git://github.com/Xilinx/linux-xlnx.git

Jump to solution

Hey,

I've been trying to implement the ORAN IF IP Core's example system on a ZCU102 board, but I've been having some issues in the petalinux project building stage. I'm using a scripted make file that creates, configs and builds the petalinux project by itself (provided here: https://github.com/Xilinx/wireless-xorif/tree/master/scripts), which makes the debugging a little bit more difficult. I'm using PetaLinux 2020.1 on Ubuntu 18.4 and basically the error I'm getting is the following :

INFO: sourcing build tools
[INFO] silentconfig project
[INFO] sourcing build environment
[INFO] generating kconfig for Rootfs
[INFO] silentconfig rootfs
[INFO] generating plnxtool conf
[INFO] generating user layers
[INFO] generating workspace directory
[INFO] successfully configured project
Building ../output/zcu102_om5_exs_2020_1/petalinux
petalinux-build --project ../output/zcu102_om5_exs_2020_1/petalinux
INFO: sourcing build tools
[INFO] building project
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
INFO: bitbake petalinux-image-minimal
Loading cache: 100% |############################################| Time: 0:00:04
Loaded 4234 entries from dependency cache.
Parsing recipes: 100% |####################################| Time: 0:00:23
Parsing of 2966 .bb files complete (2960 cached, 6 parsed). 4235 targets, 168 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#################################| Time: 0:00:26
Checking sstate mirror object availability: 100% |#########| Time: 0:00:30
Sstate summary: Wanted 245 Found 21 Missed 224 Current 1098 (8% match, 83% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
WARNING: linux-xlnx-5.4+gitAUTOINC+22b71b4162-r0 do_fetch: Failed to fetch URL git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine;branch=xlnx_rebase_v5.4, attempting MIRRORS if available
ERROR: linux-xlnx-5.4+gitAUTOINC+22b71b4162-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1489"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export GIT_SSL_CAINFO="/home/ffaserod/plinux/components/yocto/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/components/yocto/layers/core/scripts:/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/recipe-sysroot-native/usr/bin/aarch64-xilinx-linux:/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/recipe-sysroot/usr/bin/crossscripts:/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/recipe-sysroot-native/usr/sbin:/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/recipe-sysroot-native/usr/bin:/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/recipe-sysroot-native/sbin:/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/recipe-sysroot-native/bin:/home/ffaserod/plinux/tools/xsct//bin:/home/ffaserod/plinux/tools/xsct//gnu/microblaze/lin/bin:/home/ffaserod/plinux/tools/xsct//gnu/aarch32/lin/gcc-arm-none-eabi/bin:/home/ffaserod/plinux/tools/xsct//gnu/armr5/lin/gcc-arm-none-eabi/bin:/home/ffaserod/plinux/tools/xsct//gnu/aarch64/lin/aarch64-none/bin:/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/components/yocto/layers/core/bitbake/bin:/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/tmp/hosttools"; export HOME="/home/ffaserod"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://github.com/Xilinx/linux-xlnx.git /home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/downloads/git2/github.com.Xilinx.linux-xlnx.git --progress failed with exit code 128, output: Cloning into bare repository '/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/downloads/git2/github.com.Xilinx.linux-xlnx.git'... remote: Enumerating objects: 187, done. remote: Counting objects: 100% (187/187), done. remote: Compressing objects: 100% (135/135), done. error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104 fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed ERROR: linux-xlnx-5.4+gitAUTOINC+22b71b4162-r0 do_fetch: Fetcher failure for URL: 'git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine;branch=xlnx_rebase_v5.4'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/temp/log.do_fetch.27711 ERROR: Task (/home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb:do_fetch) failed with exit code '1'NOTE: Tasks Summary: Attempted 4215 tasks of which 4152 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/ffaserod/wireless-xorif/output/zcu102_om5_exs_2020_1/petalinux/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb:do_fetch Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. ERROR: Failed to build project Makefile:209: recipe for target 'build' failed make[1]: *** [build] Error 255 make[1]: Leaving directory '/home/ffaserod/wireless-xorif/scripts' Makefile:261: recipe for target 'zcu102_om5_exs' failed make: *** [zcu102_om5_exs] Error 2

I don't understand why it has difficulties fetching the URL - tried cloning the github without any problem, so connection/proxy issues aren't it.

Tried with 2019.2 PetaLinux too, to see if it made any difference - and it did, but also threw an error, this time of different nature:

ERROR: linux-xlnx-4.19-xilinx-v2019.2+gitAUTOINC+b983d5fd71-r0 do_patch: Could not apply patches for plnx-zynqmp.

Hope someone can help me with this issue, seen that I've been struggling with it for quite some time now, and couldn't find any help on the forums.

Thanks 

0 Kudos
1 Solution

Accepted Solutions
vessils
Observer
Observer
574 Views
Registered: ‎07-07-2020

Hey, 

I've pulled the last version from the github repo and the problem solved itself - no more errors related with failed URL fetch attempts.

Thanks for the help anyways.

View solution in original post

0 Kudos
4 Replies
xud
Xilinx Employee
Xilinx Employee
700 Views
Registered: ‎08-02-2007

@vessils 

It seems the problem is to do protocol settings or network connection. If you do git clone command to clone linux-xlnx repository, does it fail?

0 Kudos
vessils
Observer
Observer
678 Views
Registered: ‎07-07-2020

Hey,

No, it runs just fine - I ran the following:

git clone git://github.com/Xilinx/linux-xlnx

and it downloaded with no problems: 

Cloning into 'linux-xlnx'...
remote: Enumerating objects: 188, done.
remote: Counting objects: 100% (188/188), done.
remote: Compressing objects: 100% (136/136), done.
remote: Total 7587134 (delta 91), reused 76 (delta 52), pack-reused 7586946
Receiving objects: 100% (7587134/7587134), 1.96 GiB | 512.00 KiB/s, done.
Resolving deltas: 100% (6392955/6392955), done.
Checking out files: 100% (66032/66032), done.

 

0 Kudos
xud
Xilinx Employee
Xilinx Employee
647 Views
Registered: ‎08-02-2007

@vessils 

I will try with make flow, and see if I can reproduce the issue or not.

0 Kudos
vessils
Observer
Observer
575 Views
Registered: ‎07-07-2020

Hey, 

I've pulled the last version from the github repo and the problem solved itself - no more errors related with failed URL fetch attempts.

Thanks for the help anyways.

View solution in original post

0 Kudos