meta-qt5.15 yocto build issue
-
Hi Everyone,
I was building the Yocto image for the RPI-CM5 using qt meta layer 5.15, during building i was getting below issue,ERROR: qtbase-5.15.19+git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=8c00c75238b4dd429d216b2d68a2d05b"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/cortexa76-poky-linux/qtbase/5.15.19+git/recipe-sysroot-native/usr/bin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/sources/poky/scripts:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/cortexa76-poky-linux/qtbase/5.15.19+git/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/cortexa76-poky-linux/qtbase/5.15.19+git/recipe-sysroot/usr/bin/crossscripts:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/cortexa76-poky-linux/qtbase/5.15.19+git/recipe-sysroot-native/usr/sbin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/cortexa76-poky-linux/qtbase/5.15.19+git/recipe-sysroot-native/usr/bin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/cortexa76-poky-linux/qtbase/5.15.19+git/recipe-sysroot-native/sbin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/cortexa76-poky-linux/qtbase/5.15.19+git/recipe-sysroot-native/bin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/sources/poky/bitbake/bin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/hosttools"; export HOME="/home/tfslinux"; LANG=C git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all clone --bare --mirror ssh://codereview.qt-project.org/qt/tqtc-qtbase.git /home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/downloads/git2/codereview.qt-project.org.qt.tqtc-qtbase.git --progress failed with exit code 128, see logfile for output
ERROR: qtbase-5.15.19+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://codereview.qt-project.org/qt/tqtc-qtbase.git;name=qtbase;branch=tqtc/lts-5.15;nobranch=1;protocol=ssh')
ERROR: Logfile of failure stored in: /home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/cortexa76-poky-linux/qtbase/5.15.19+git/temp/log.do_fetch.1369638
ERROR: Task (/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/../sources/meta-qt5-5.15/recipes-qt/qt5/qtbase_git.bb:do_fetch) failed with exit code '1'
WARNING: Variable key PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} (${GCCVERSION}) replaces original key PREFERRED_VERSION_gcc-cross-aarch64 (13.2).
WARNING: qtbase-native-5.15.19+git-r0 do_fetch: Failed to fetch URL git://codereview.qt-project.org/qt/tqtc-qtbase.git;name=qtbase;branch=tqtc/lts-5.15;nobranch=1;protocol=ssh, attempting MIRRORS if available
ERROR: qtbase-native-5.15.19+git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=8c00c75238b4dd429d216b2d68a2d05b"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/sources/poky/scripts/native-intercept:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/sources/poky/scripts:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/x86_64-linux/qtbase-native/5.15.19+git/recipe-sysroot-native/usr/bin/x86_64-linux:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/x86_64-linux/qtbase-native/5.15.19+git/recipe-sysroot-native/usr/bin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/x86_64-linux/qtbase-native/5.15.19+git/recipe-sysroot-native/usr/sbin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/x86_64-linux/qtbase-native/5.15.19+git/recipe-sysroot-native/usr/bin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/x86_64-linux/qtbase-native/5.15.19+git/recipe-sysroot-native/sbin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/x86_64-linux/qtbase-native/5.15.19+git/recipe-sysroot-native/bin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/sources/poky/bitbake/bin:/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/hosttools"; export HOME="/home/tfslinux"; LANG=C git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all clone --bare --mirror ssh://codereview.qt-project.org/qt/tqtc-qtbase.git /home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/downloads/git2/codereview.qt-project.org.qt.tqtc-qtbase.git --progress failed with exit code 128, see logfile for output
ERROR: qtbase-native-5.15.19+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://codereview.qt-project.org/qt/tqtc-qtbase.git;name=qtbase;branch=tqtc/lts-5.15;nobranch=1;protocol=ssh')
ERROR: Logfile of failure stored in: /home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/tmp/work/x86_64-linux/qtbase-native/5.15.19+git/temp/log.do_fetch.1369686
ERROR: Task (/home/tfslinux/CS/QTBRANCH/GEN3_UI_BSP/build-my2/../sources/meta-qt5-5.15/recipes-qt/qt5/qtbase-native_git.bb:do_fetch) failed with exit code '1'based on chatgpt i seen the below response:
Your Yocto build is failing because the qtbase recipe is trying to fetch from ssh://codereview.qt-project.org/qt/tqtc-qtbase.git, which is a Qt Company Gerrit private repo (used for commercial LTS Qt).
This isn’t accessible unless you have a Qt commercial license and set up Gerrit/SSH keys.can you please suggest on this, how to resolve this issue.
Thanks
Shivaji Y