UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor rustiq
Visitor
336 Views
Registered: ‎11-06-2018

PetaLinux 2018.3 fails to fetch files at build time

Could you give me some advice on this bug. I'm running out of ideas.

I was following this simple guide to build PetaLinux for the Ultra96 board. For some reason petalinux-build fails to fetch lots of packages. This was not mentioned in the guide, so I assume my build environment is what breaks petalinux-build. The environment is Debian testing, not a VM, not behind NAT or a proxy. I tested on individual files that petalinux-build failed to fetch from remote URLs and they were manually downloadable from those URLs without any problem.

Error messages look as follows:

 

WARNING: harfbuzz-1.4.8-r0 do_package_qa_setscene: Failed to fetch URL file://b0/sstate:harfbuzz:aarch64-xilinx-linux:1.4.8:r0:aarch64:3:b00de525c9d6f3547d1095022cd08b4a_package_qa.tgz;downloadfilename=b0/sstate:harfbuzz:aarch64-xilinx-linux:1.4.8:r0:aarch64:3:b00de525c9d6f3547d1095022cd08b4a_package_qa.tgz, attempting MIRRORS if available
ERROR: harfbuzz-1.4.8-r0 do_package_qa_setscene: Fetcher failure: Unable to find file file://b0/sstate:harfbuzz:aarch64-xilinx-linux:1.4.8:r0:aarch64:3:b00de525c9d6f3547d1095022cd08b4a_package_qa.tgz;downloadfilename=b0/sstate:harfbuzz:aarch64-xilinx-linux:1.4.8:r0:aarch64:3:b00de525c9d6f3547d1095022cd08b4a_package_qa.tgz anywhere. The paths that were searched were:
    /opt/Xilinx/projects/xilinx-ultra96-reva-2018.3/build/sstate-cache
    /opt/Xilinx/projects/xilinx-ultra96-reva-2018.3/build/sstate-cache
ERROR: harfbuzz-1.4.8-r0 do_package_qa_setscene: No suitable staging package found
WARNING: Logfile for failed setscene task is /opt/Xilinx/projects/xilinx-ultra96-reva-2018.3/build/tmp/work/aarch64-xilinx-linux/harfbuzz/1.4.8-r0/temp/log.do_package_qa_setscene.10034
WARNING: libpcap-1.8.1-r0 do_package_qa_setscene: Failed to fetch URL file://04/sstate:libpcap:aarch64-xilinx-linux:1.8.1:r0:aarch64:3:0473ec10eda82bcaf73423cbfe01054a_package_qa.tgz;downloadfilename=04/sstate:libpcap:aarch64-xilinx-linux:1.8.1:r0:aarch64:3:0473ec10eda82bcaf73423cbfe01054a_package_qa.tgz, attempting MIRRORS if available
ERROR: libpcap-1.8.1-r0 do_package_qa_setscene: Fetcher failure: Unable to find file file://04/sstate:libpcap:aarch64-xilinx-linux:1.8.1:r0:aarch64:3:0473ec10eda82bcaf73423cbfe01054a_package_qa.tgz;downloadfilename=04/sstate:libpcap:aarch64-xilinx-linux:1.8.1:r0:aarch64:3:0473ec10eda82bcaf73423cbfe01054a_package_qa.tgz anywhere. The paths that were searched were:
    /opt/Xilinx/projects/xilinx-ultra96-reva-2018.3/build/sstate-cache
    /opt/Xilinx/projects/xilinx-ultra96-reva-2018.3/build/sstate-cache
ERROR: libpcap-1.8.1-r0 do_package_qa_setscene: No suitable staging package found
WARNING: Logfile for failed setscene task is /opt/Xilinx/projects/xilinx-ultra96-reva-2018.3/build/tmp/work/aarch64-xilinx-linux/libpcap/1.8.1-r0/temp/log.do_package_qa_setscene.10035
WARNING: Setscene task (/opt/Xilinx/petalinux/components/yocto/source/aarch64/layers/core/meta/recipes-graphics/harfbuzz/harfbuzz_1.4.8.bb:do_package_qa_setscene) failed with exit code '1' - real task will be run instead

 

First the errors are about failed fetches from the local file system. They are followed by failed fetches from the network.

In a post dated 2017 someone suggested to run petalinux -x mrproper before building. I tried that and that didn't change anything.

 

0 Kudos
2 Replies
Explorer
Explorer
147 Views
Registered: ‎09-19-2010

Re: PetaLinux 2018.3 fails to fetch files at build time

hi same issue here.

for me it appears when i use a bsp.

normal project flow without bsp s does not show this problem.

0 Kudos
Explorer
Explorer
135 Views
Registered: ‎09-19-2010

Re: PetaLinux 2018.3 fails to fetch files at build time

for my case the issue was packagegroup-petalinux-x11

once i removed this package from the rootfs, things all get built fine.

0 Kudos