cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
921 Views
Registered: ‎05-07-2018

VCU TRD 2019.1 - petalinux-build --sdk Error

Jump to solution

Hello,

I have been trying to implement Zynq UltraScale+ MPSoC VCU TRD 2019.1 - SDI Video Capture and SDI Display project. During "petalinux-build --sdk" step I got some errors as :

[INFO] building project
[INFO] sourcing bitbake
[INFO] generating user layers
INFO: bitbake petalinux-user-image -c do_populate_sdk
Loading cache: 100% |###########################################################################################################################################################################| Time: 0:00:00
Loaded 3814 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################################################################################| Time: 0:00:02
Parsing of 2780 .bb files complete (2778 cached, 2 parsed). 3815 targets, 150 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |######################################################################################################################################################################| Time: 0:00:04
Checking sstate mirror object availability: 100% |##############################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 996 Found 454 Missed 1084 Current 756 (45% match, 69% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: qtgraphicaleffects-5.11.3+gitAUTOINC+d560b79d05-r0 do_fetch: Failed to fetch URL git://code.qt.io/qt/qtgraphicaleffects.git;name=qtgraphicaleffects;branch=5.11;protocol=git, attempting MIRRORS if available
WARNING: qtscript-5.11.3+gitAUTOINC+cf09bc7285-r0 do_fetch: Failed to fetch URL git://code.qt.io/qt/qtscript.git;name=qtscript;branch=5.11;protocol=git, attempting MIRRORS if available
ERROR: qtgraphicaleffects-5.11.3+gitAUTOINC+d560b79d05-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-T28LxoUvTU"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export GIT_SSL_CAINFO="/opt/pkg/petalinux/2019.1/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtgraphicaleffects/5.11.3+gitAUTOINC+d560b79d05-r0/recipe-sysroot-native/usr/bin:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/opt/pkg/petalinux/2019.1/components/yocto/source/aarch64/layers/core/scripts:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtgraphicaleffects/5.11.3+gitAUTOINC+d560b79d05-r0/recipe-sysroot-native/usr/bin/aarch64-xilinx-linux:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtgraphicaleffects/5.11.3+gitAUTOINC+d560b79d05-r0/recipe-sysroot/usr/bin/crossscripts:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtgraphicaleffects/5.11.3+gitAUTOINC+d560b79d05-r0/recipe-sysroot-native/usr/sbin:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtgraphicaleffects/5.11.3+gitAUTOINC+d560b79d05-r0/recipe-sysroot-native/usr/bin:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtgraphicaleffects/5.11.3+gitAUTOINC+d560b79d05-r0/recipe-sysroot-native/sbin:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtgraphicaleffects/5.11.3+gitAUTOINC+d560b79d05-r0/recipe-sysroot-native/bin:/opt/pkg/petalinux/2019.1/tools/xsct/bin:/opt/pkg/petalinux/2019.1/tools/xsct/gnu/microblaze/lin/bin:/opt/pkg/petalinux/2019.1/tools/xsct/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/opt/pkg/petalinux/2019.1/tools/xsct/gnu/armr5/lin/gcc-arm-none-eabi/bin:/opt/pkg/petalinux/2019.1/tools/xsct/gnu/aarch64/lin/aarch64-none/bin:/opt/pkg/petalinux/2019.1/components/yocto/source/aarch64/layers/core/bitbake/bin:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/hosttools"; export HOME="/home/yonetici"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://code.qt.io/qt/qtgraphicaleffects.git /home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/downloads/git2/code.qt.io.qt.qtgraphicaleffects.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/downloads/git2/code.qt.io.qt.qtgraphicaleffects.git'...
remote: Counting objects: 4887, done.
remote: Compressing objects: 100% (2647/2647), done.
fatal: read error: Connection reset by peeriB | 1.81 MiB/s
fatal: early EOF
fatal: index-pack failed

ERROR: qtgraphicaleffects-5.11.3+gitAUTOINC+d560b79d05-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qtgraphicaleffects.git;name=qtgraphicaleffects;branch=5.11;protocol=git'. Unable to fetch URL from any source.
ERROR: qtgraphicaleffects-5.11.3+gitAUTOINC+d560b79d05-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtgraphicaleffects/5.11.3+gitAUTOINC+d560b79d05-r0/temp/log.do_fetch.27987
ERROR: Task (/opt/pkg/petalinux/2019.1/components/yocto/source/aarch64/layers/meta-qt5/recipes-qt/qt5/qtgraphicaleffects_git.bb:do_fetch) failed with exit code '1'
ERROR: qtscript-5.11.3+gitAUTOINC+cf09bc7285-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-T28LxoUvTU"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export GIT_SSL_CAINFO="/opt/pkg/petalinux/2019.1/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtscript/5.11.3+gitAUTOINC+cf09bc7285-r0/recipe-sysroot-native/usr/bin:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/opt/pkg/petalinux/2019.1/components/yocto/source/aarch64/layers/core/scripts:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtscript/5.11.3+gitAUTOINC+cf09bc7285-r0/recipe-sysroot-native/usr/bin/aarch64-xilinx-linux:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtscript/5.11.3+gitAUTOINC+cf09bc7285-r0/recipe-sysroot/usr/bin/crossscripts:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtscript/5.11.3+gitAUTOINC+cf09bc7285-r0/recipe-sysroot-native/usr/sbin:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtscript/5.11.3+gitAUTOINC+cf09bc7285-r0/recipe-sysroot-native/usr/bin:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtscript/5.11.3+gitAUTOINC+cf09bc7285-r0/recipe-sysroot-native/sbin:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtscript/5.11.3+gitAUTOINC+cf09bc7285-r0/recipe-sysroot-native/bin:/opt/pkg/petalinux/2019.1/tools/xsct/bin:/opt/pkg/petalinux/2019.1/tools/xsct/gnu/microblaze/lin/bin:/opt/pkg/petalinux/2019.1/tools/xsct/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/opt/pkg/petalinux/2019.1/tools/xsct/gnu/armr5/lin/gcc-arm-none-eabi/bin:/opt/pkg/petalinux/2019.1/tools/xsct/gnu/aarch64/lin/aarch64-none/bin:/opt/pkg/petalinux/2019.1/components/yocto/source/aarch64/layers/core/bitbake/bin:/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/hosttools"; export HOME="/home/yonetici"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://code.qt.io/qt/qtscript.git /home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/downloads/git2/code.qt.io.qt.qtscript.git --progress failed with exit code 128, output:
Cloning into bare repository '/home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/downloads/git2/code.qt.io.qt.qtscript.git'...
remote: Counting objects: 11461, done.
remote: Compressing objects: 100% (4685/4685), done.
fatal: read error: Connection reset by peerMiB | 1.47 MiB/s
fatal: early EOF
fatal: index-pack failed

ERROR: qtscript-5.11.3+gitAUTOINC+cf09bc7285-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qtscript.git;name=qtscript;branch=5.11;protocol=git'. Unable to fetch URL from any source.
ERROR: qtscript-5.11.3+gitAUTOINC+cf09bc7285-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/yonetici/Downloads/zcu106-2019-1/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/aarch64-xilinx-linux/qtscript/5.11.3+gitAUTOINC+cf09bc7285-r0/temp/log.do_fetch.29592
ERROR: Task (/opt/pkg/petalinux/2019.1/components/yocto/source/aarch64/layers/meta-qt5/recipes-qt/qt5/qtscript_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3972 tasks of which 3501 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
/opt/pkg/petalinux/2019.1/components/yocto/source/aarch64/layers/meta-qt5/recipes-qt/qt5/qtgraphicaleffects_git.bb:do_fetch
/opt/pkg/petalinux/2019.1/components/yocto/source/aarch64/layers/meta-qt5/recipes-qt/qt5/qtscript_git.bb:do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 6 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project

 

I appreciate any help. Thanks in advance.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Teacher
Teacher
879 Views
Registered: ‎06-16-2013

Hi @silat14 

 

As I already mentioned other post, it's protocol issue under company's proxy.

So, you need to set "insteadOf" option in .gitconfig.

 

ex.)

$ git config --global url."https://".insteadOf git://

or

$ git config --global url."https://code.qt.io/".insteadOf git://code.qt.io/

 

Best regards,

View solution in original post

2 Replies
Highlighted
Teacher
Teacher
880 Views
Registered: ‎06-16-2013

Hi @silat14 

 

As I already mentioned other post, it's protocol issue under company's proxy.

So, you need to set "insteadOf" option in .gitconfig.

 

ex.)

$ git config --global url."https://".insteadOf git://

or

$ git config --global url."https://code.qt.io/".insteadOf git://code.qt.io/

 

Best regards,

View solution in original post

Highlighted
Visitor
Visitor
226 Views
Registered: ‎05-04-2018

The insteadOf option did not work for me.  I am able to wget all of the failed URLs on my system without any special proxy or git config, yet it still fails with petalinux-build.  Fortunately if the needed source packages are already present in the build/downloads directory the wget is skipped and the build continues.  Thus we can get the full URLs for the failed downloads from the error messages and manually download the packages ourselves:

 

$ W_ARGS="-t 2 -T 30 --passive-ftp --no-check-certificate -v -P build/downloads"
$ wget $W_ARGS http://ftp.gnu.org/.....
$ wget $W_ARGS http://www.openssl.org/...
...
$ petalinux-build

 

0 Kudos