I use Yocto to build OS for RZ/V2L and I need use QT with it to build app. But I get this error. How to fix it?
marubow@ubuntu:~/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build$ bitbake core-image-qt -c populate_sdk WARNING: Layer qt5-layer should set LAYERSERIES_COMPAT_qt5-layer in its conf/layer.conf file to list the core layer names it is compatible with. WARNING: Layer qt5-layer should set LAYERSERIES_COMPAT_qt5-layer in its conf/layer.conf file to list the core layer names it is compatible with. Loading cache: 100% |#################################################################################################################################################################| Time: 0:00:00 Loaded 5415 entries from dependency cache. NOTE: Resolving any missing task queue dependencies NOTE: Multiple providers are available for virtual/crypt (glibc, libxcrypt) Consider defining a PREFERRED_PROVIDER entry to match virtual/crypt NOTE: Multiple providers are available for virtual/nativesdk-crypt (nativesdk-glibc, nativesdk-libxcrypt) Consider defining a PREFERRED_PROVIDER entry to match virtual/nativesdk-crypt WARNING: preferred version 2.28% of glibc-mtrace not available (for item libc-mtrace) WARNING: versions of glibc-mtrace available: 2.31 NOTE: Multiple providers are available for virtual/lib32-crypt (lib32-glibc, lib32-libxcrypt) Consider defining a PREFERRED_PROVIDER entry to match virtual/lib32-crypt WARNING: preferred version 2.28% of glibc-mtrace not available (for item glibc-mtrace) WARNING: versions of glibc-mtrace available: 2.31 WARNING: preferred version 2.28% of glibc-mtrace not available (for item glibc-mtrace-dev) WARNING: versions of glibc-mtrace available: 2.31 Build Configuration: BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-poky-linux" MACHINE = "smarc-rzv2l" DISTRO = "poky" DISTRO_VERSION = "3.1.31" TUNE_FEATURES = "aarch64 cortexa55" TARGET_FPU = "" SOC_FAMILY = "rzv2l:r9a07g054l" meta-gplv2 meta meta-poky meta-yocto-bsp meta-rz-common meta-rzg2l meta-rzv2l meta-oe meta-python meta-multimedia meta-rz-graphics meta-rz-codecs meta-qt5 = "<unknown>:<unknown>" Initialising tasks: 100% |############################################################################################################################################################| Time: 0:00:05 Sstate summary: Wanted 277 Found 38 Missed 239 Current 2027 (13% match, 89% complete) NOTE: Executing Tasks WARNING: qtbase-native-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Failed to fetch URL git://github.com/qtproject/qtbase.git;name=qtbase;branch=5.6;protocol=git, attempting MIRRORS if available WARNING: qtdeclarative-5.6.3+gitAUTOINC+bb01612a88-r0 do_fetch: Failed to fetch URL git://github.com/qtproject/qtdeclarative.git;name=qtdeclarative;branch=5.6;protocol=git, attempting MIRRORS if available ERROR: qtbase-native-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=bd84788cedd421d5fdd92f98677df4b9"; export SSH_AGENT_PID="1636"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/poky/scripts/native-intercept:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/poky/scripts:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/x86_64-linux/qtbase-native/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/x86_64-linux/qtbase-native/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/usr/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/x86_64-linux/qtbase-native/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/usr/sbin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/x86_64-linux/qtbase-native/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/usr/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/x86_64-linux/qtbase-native/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/sbin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/x86_64-linux/qtbase-native/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/poky/bitbake/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/hosttools"; export HOME="/home/marubow"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror github.com/.../qtbase.git /home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/downloads/git2/github.com.qtproject.qtbase.git --progress failed with exit code 128, no output ERROR: qtbase-native-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/qtproject/qtbase.git;name=qtbase;branch=5.6;protocol=git') ERROR: Logfile of failure stored in: /home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/x86_64-linux/qtbase-native/5.6.3+gitAUTOINC+e6f8b072d2-r0/temp/log.do_fetch.3105274 ERROR: Task (/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_fetch) failed with exit code '1' WARNING: qtbase-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Failed to fetch URL git://github.com/qtproject/qtbase.git;name=qtbase;branch=5.6;protocol=git, attempting MIRRORS if available ERROR: qtdeclarative-5.6.3+gitAUTOINC+bb01612a88-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=bd84788cedd421d5fdd92f98677df4b9"; export SSH_AGENT_PID="1636"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtdeclarative/5.6.3+gitAUTOINC+bb01612a88-r0/recipe-sysroot-native/usr/bin/qt5:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/poky/scripts:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtdeclarative/5.6.3+gitAUTOINC+bb01612a88-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtdeclarative/5.6.3+gitAUTOINC+bb01612a88-r0/recipe-sysroot/usr/bin/crossscripts:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtdeclarative/5.6.3+gitAUTOINC+bb01612a88-r0/recipe-sysroot-native/usr/sbin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtdeclarative/5.6.3+gitAUTOINC+bb01612a88-r0/recipe-sysroot-native/usr/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtdeclarative/5.6.3+gitAUTOINC+bb01612a88-r0/recipe-sysroot-native/sbin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtdeclarative/5.6.3+gitAUTOINC+bb01612a88-r0/recipe-sysroot-native/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/poky/bitbake/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/hosttools"; export HOME="/home/marubow"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror github.com/.../qtdeclarative.git /home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/downloads/git2/github.com.qtproject.qtdeclarative.git --progress failed with exit code 128, no output ERROR: qtdeclarative-5.6.3+gitAUTOINC+bb01612a88-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/qtproject/qtdeclarative.git;name=qtdeclarative;branch=5.6;protocol=git') ERROR: Logfile of failure stored in: /home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtdeclarative/5.6.3+gitAUTOINC+bb01612a88-r0/temp/log.do_fetch.3105279 ERROR: Task (/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch) failed with exit code '1' ERROR: qtbase-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=bd84788cedd421d5fdd92f98677df4b9"; export SSH_AGENT_PID="1636"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/usr/bin/qt5:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/poky/scripts:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot/usr/bin/crossscripts:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/usr/sbin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/usr/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/sbin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/recipe-sysroot-native/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/poky/bitbake/bin:/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/hosttools"; export HOME="/home/marubow"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror github.com/.../qtbase.git /home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/downloads/git2/github.com.qtproject.qtbase.git --progress failed with exit code 128, no output ERROR: qtbase-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/qtproject/qtbase.git;name=qtbase;branch=5.6;protocol=git') ERROR: Logfile of failure stored in: /home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/build/tmp/work/aarch64-poky-linux/qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/temp/log.do_fetch.3105275 ERROR: Task (/home/marubow/Downloads/RTK0EF0045Z0024AZJ-v3.0.6-update4/rzv_vlp_v3.0.6/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_fetch) failed with exit code '1'
Hello Huuuu
Thankyou for ricking out!
The error message suggests that the Yocto build system is unable to retrieve the required Qt source code from GitHub, possibly due to network issues . I recommend attempting a local build by disabling the BB_NO_NETWORK variable; you can find the instructions for this on page 8 of the manual linked below. Additionally, refer to page 7 for guidance on adding the Qt layer. If you prefer to continue with a network-based build, please ensure that your internet connection is stable. I also suggest performing a clean build by following the instructions provided in the manual.
BB_NO_NETWORK
. r01us0617ej0103-rz-v(Linux Start-up Guide RZV2L) 1.pdf
Kind Regards,
GN_Renesas
If I build core-image-qt successfully, will the qt creator GUI appear when I launch the board?
I change BB_NO_NETWORK = "0" but it still error
Yes, Qt Creator is the recommended IDE for writing Qt applications in C++. However, please note that the Qt GUI framework itself is not included in the build. The necessary libraries and examples are included in this build to help you get started with your application development.
Should you need further clarification or assistance, feel free to reach out.
Best regards,
I have tried many different ways but still can't fix the above error when building qt with yocto. Do you have any suggestions?
Hey Huuuu
Which Version of ubentu and python your using?
Ubuntu 20.04 and python 2.7.18
How to use qt5 on rz/v2l to compile source code? I built core-image-qt and boot success.