Hello,
I am trying to build a minimal image for Xilinx ZCU102 board using latest
version of Yocto Poky (honister) using meta-xilinx BSP layer (honister).
Build fails for a do_fetch task in the recipe
"meta-xilinx/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2022.1.bb<https://1.bb>".
Attached is my build output and qemu-xilinx.inc recipe.
This recipe tries to download from
* HOMEPAGE: "https://github.com/xilinx/qemu/"
* XILINX_QEMU_VERSION ?= "v6.1.0"
* BRANCH ?= "xlnx_rel_v2022.1"
* SRCREV = "52a9b22faeb149a6b17646b1f912f06ea6c269ca"
I checked manually in that homepage and this referenced branch does not exist??
Please provide a latest recipe for fixing this issue.
Thank you very much.
Regards,
Vivith Karumuri
-Bruker Confidential-
bitbake core-image-minimal
Loading cache: 100% |
| ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100%
|#######################################################################################################|
Time: 0:00:08
Parsing of 1728 .bb files complete (0 cached, 1728 parsed). 2649 targets, 133
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.52.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "zcu102-zynqmp"
DISTRO = "poky"
DISTRO_VERSION = "3.4.4"
TUNE_FEATURES = "aarch64 armv8a crc cortexa72-cortexa53"
TARGET_FPU = ""
meta
meta-poky
meta-yocto-bsp = "honister:fd00d74f47ceb57a619c4d0a0553ff0a30bbb7a4"
meta-xilinx-bsp = "honister:b6b4360c410fe4f8b8c29d00324a59e0456c06c4"
meta-oe = "honister:0e6c34f82ca4d43cbca3754c5fe37c5b3bdd0f37"
meta-xilinx-tools = "honister:1898a3c345305b710d24b886b3e3e246e970ced9"
meta-xilinx-standalone
meta-xilinx-core = "honister:b6b4360c410fe4f8b8c29d00324a59e0456c06c4"
NOTE: Fetching xsct binary tarball from
http://petalinux.xilinx.com/sswreleases/rel-v2022/xsct-trim/xsct-2022-1.tar.xz;sha256sum=e343a8b386398e292f636f314a057076e551a8173723b8ea0bc1bbd879c05259;downloadfilename=xsct_2022.1.tar.xz
NOTE: Extracting external xsct-tarball to sysroots
Initialising tasks: 100%
|####################################################################################################|
Time: 0:01:19
Sstate summary: Wanted 1306 Local 1291 Network 0 Missed 15 Current 0 (98%
match, 0% complete)
NOTE: Executing Tasks
WARNING: qemu-xilinx-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Failed to fetch URL
gitsm://github.com/ucb-bar/berkeley-softfloat-3.git;protocol=https;name=SoftFloat;subpath=SoftFloat;bareclone=1;nobranch=1,
attempting MIRRORS if available
ERROR: qemu-xilinx-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export
PATH="/home/yocto_ubuntu/Xcore-Kirkstone/poky/scripts/native-intercept:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/scripts:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/usr/bin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/usr/sbin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/usr/bin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/sbin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/bin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/bitbake/bin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/hosttools";
export HOME="/home/yocto_ubuntu"; git -c core.fsyncobjectfiles=0 -c
gc.autoDetach=false remote failed with exit code 128, output:
fatal: not a git repository (or any of the parent directories): .git
ERROR: qemu-xilinx-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: gitsm: submodule download failed: FetchError Fetcher failure for URL:
'gitsm://github.com/ucb-bar/berkeley-softfloat-3.git;protocol=https;name=SoftFloat;subpath=SoftFloat;bareclone=1;nobranch=1'.
Unable to fetch URL from any source.
WARNING: qemu-xilinx-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Failed to fetch URL
gitsm://gitlab.com/qemu-project/edk2.git;protocol=https;name=roms/edk2;subpath=roms/edk2;bareclone=1;nobranch=1,
attempting MIRRORS if available
ERROR: qemu-xilinx-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Fetcher failure for URL:
'gitsm://github.com/ucb-bar/berkeley-softfloat-3.git;protocol=https;name=SoftFloat;subpath=SoftFloat;bareclone=1;nobranch=1'.
Unable to fetch URL from any source.
ERROR: qemu-xilinx-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: gitsm: submodule download failed: FetchError Fetcher failure for URL:
'gitsm://gitlab.com/qemu-project/edk2.git;protocol=https;name=roms/edk2;subpath=roms/edk2;bareclone=1;nobranch=1'.
Unable to fetch URL from any source.
WARNING: qemu-xilinx-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Failed to fetch URL
gitsm://github.com/Xilinx/qemu.git;protocol=https;branch=xlnx_rel_v2022.1,
attempting MIRRORS if available
ERROR: qemu-xilinx-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Fetcher failure for URL:
'gitsm://gitlab.com/qemu-project/edk2.git;protocol=https;name=roms/edk2;subpath=roms/edk2;bareclone=1;nobranch=1'.
Unable to fetch URL from any source.
ERROR: qemu-xilinx-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Fetcher failure for URL:
'gitsm://github.com/Xilinx/qemu.git;protocol=https;branch=xlnx_rel_v2022.1'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/temp/log.do_fetch.8688
ERROR: Task
(/home/yocto_ubuntu/Xcore-Kirkstone/meta-xilinx/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2022.1.bb:do_fetch)
failed with exit code '1'
WARNING:
qemu-xilinx-system-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Failed to fetch URL
gitsm://github.com/kkos/oniguruma;protocol=https;name=MdeModulePkg/Universal/RegularExpressionDxe/oniguruma;subpath=MdeModulePkg/Universal/RegularExpressionDxe/oniguruma;bareclone=1;nobranch=1,
attempting MIRRORS if available
ERROR: qemu-xilinx-system-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export
PATH="/home/yocto_ubuntu/Xcore-Kirkstone/poky/scripts/native-intercept:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/scripts:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-system-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-system-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/usr/bin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-system-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/usr/sbin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-system-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/usr/bin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-system-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/sbin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-system-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/recipe-sysroot-native/bin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/bitbake/bin:/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/hosttools";
export HOME="/home/yocto_ubuntu"; git -c core.fsyncobjectfiles=0 -c
gc.autoDetach=false remote failed with exit code 128, output:
fatal: not a git repository (or any of the parent directories): .git
ERROR: qemu-xilinx-system-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: gitsm: submodule download failed: FetchError Fetcher failure for URL:
'gitsm://github.com/kkos/oniguruma;protocol=https;name=MdeModulePkg/Universal/RegularExpressionDxe/oniguruma;subpath=MdeModulePkg/Universal/RegularExpressionDxe/oniguruma;bareclone=1;nobranch=1'.
Unable to fetch URL from any source.
WARNING:
qemu-xilinx-system-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Failed to fetch URL
gitsm://gitlab.com/qemu-project/edk2.git;protocol=https;name=roms/edk2;subpath=roms/edk2;bareclone=1;nobranch=1,
attempting MIRRORS if available
ERROR: qemu-xilinx-system-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Fetcher failure for URL:
'gitsm://github.com/kkos/oniguruma;protocol=https;name=MdeModulePkg/Universal/RegularExpressionDxe/oniguruma;subpath=MdeModulePkg/Universal/RegularExpressionDxe/oniguruma;bareclone=1;nobranch=1'.
Unable to fetch URL from any source.
ERROR: qemu-xilinx-system-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: gitsm: submodule download failed: FetchError Fetcher failure for URL:
'gitsm://gitlab.com/qemu-project/edk2.git;protocol=https;name=roms/edk2;subpath=roms/edk2;bareclone=1;nobranch=1'.
Unable to fetch URL from any source.
WARNING:
qemu-xilinx-system-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Failed to fetch URL
gitsm://github.com/Xilinx/qemu.git;protocol=https;branch=xlnx_rel_v2022.1,
attempting MIRRORS if available
ERROR: qemu-xilinx-system-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Fetcher failure for URL:
'gitsm://gitlab.com/qemu-project/edk2.git;protocol=https;name=roms/edk2;subpath=roms/edk2;bareclone=1;nobranch=1'.
Unable to fetch URL from any source.
ERROR: qemu-xilinx-system-native-v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0
do_fetch: Fetcher failure for URL:
'gitsm://github.com/Xilinx/qemu.git;protocol=https;branch=xlnx_rel_v2022.1'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/yocto_ubuntu/Xcore-Kirkstone/poky/honister/tmp/work/x86_64-linux/qemu-xilinx-system-native/v6.1.0-xilinx-v2022.1+gitAUTOINC+52a9b22fae-r0/temp/log.do_fetch.8714
ERROR: Task
(/home/yocto_ubuntu/Xcore-Kirkstone/meta-xilinx/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2022.1.bb:do_fetch)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 3403 tasks of which 3397 didn't need to be rerun
and 2 failed.
Summary: 2 tasks failed:
/home/yocto_ubuntu/Xcore-Kirkstone/meta-xilinx/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-native_2022.1.bb:do_fetch
/home/yocto_ubuntu/Xcore-Kirkstone/meta-xilinx/meta-xilinx-core/recipes-devtools/qemu/qemu-xilinx-system-native_2022.1.bb:do_fetch
Summary: There were 6 WARNING messages shown.
Summary: There were 12 ERROR messages shown, returning a non-zero exit code.SUMMARY = "Xilinx's fork of a fast open source processor emulator"
HOMEPAGE = "https://github.com/xilinx/qemu/"
# x86_64 is needed to build nativesdks
QEMU_TARGETS = "aarch64 arm microblaze microblazeel x86_64"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f \
"
DEPENDS = "glib-2.0 zlib pixman bison-native ninja-native meson-native"
XILINX_QEMU_VERSION ?= "v6.1.0"
BRANCH ?= "xlnx_rel_v2022.1"
SRCREV = "52a9b22faeb149a6b17646b1f912f06ea6c269ca"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
PV = "${XILINX_QEMU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
REPO ?= "gitsm://github.com/Xilinx/qemu.git;protocol=https"
BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) !=
'']}"
SRC_URI = "${REPO};${BRANCHARG}"
SRC_URI:append = "
file://0010-configure-Add-pkg-config-handling-for-libgcrypt.patch"
S = "${WORKDIR}/git"
# Disable KVM completely
PACKAGECONFIG:remove = "kvm"
PACKAGECONFIG:append = " fdt sdl gcrypt pie"
PACKAGECONFIG[gcrypt] = "--enable-gcrypt,--disable-gcrypt,libgcrypt,"
PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl2"
PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,,"
DISABLE_STATIC:pn-${PN} = ""
PTEST_ENABLED = ""
do_install:append() {
# Prevent QA warnings about installed ${localstatedir}/run
if [ -d ${D}${localstatedir}/run ]; then rmdir
${D}${localstatedir}/run; fi
}
FILES:${PN} += "${datadir}/qemu/"
FILES:${PN}:append:class-nativesdk:mingw32 = " ${SDKPATHNATIVE}"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5162):
https://lists.yoctoproject.org/g/meta-xilinx/message/5162
Mute This Topic: https://lists.yoctoproject.org/mt/97165749/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-