I was trying to get toolchain for cross-compiling qt apps for rzg2l (having yocto on it), but int the process I am getting these fetch errors, I even tried to change the SRC_URL , but errors like checksum are coming, can you please help me with this.
$ bitbake meta-toolchain-qt5Loading cache: 100% |##########################################################################################################| Time: 0:00:00Loaded 3084 entries from dependency cache.Parsing recipes: 100% |########################################################################################################| Time: 0:00:00Parsing of 2013 .bb files complete (2012 cached, 1 parsed). 3084 targets, 108 skipped, 1 masked, 0 errors.NOTE: Resolving any missing task queue dependenciesBuild Configuration:BB_VERSION = "1.46.0"BUILD_SYS = "x86_64-linux"NATIVELSBSTRING = "universal"TARGET_SYS = "aarch64-poky-linux"MACHINE = "smarc-rzg2l"DISTRO = "poky"DISTRO_VERSION = "3.1.33"TUNE_FEATURES = "aarch64 cortexa55"TARGET_FPU = ""SOC_FAMILY = "rzg2l:r9a07g044l"meta meta-poky meta-yocto-bsp = "my-dunfell:63d05fc061006bf1a88630d6d91cdc76ea33fbf2"meta-oe meta-python = "dunfell:01358b6d705071cc0ac5aefa7670ab235709729a"meta-rz-common meta-rzg2l = "dunfell/rz:b028eb836091fcfd8873c49ba46a9817b290105f"meta-qt5 = "dunfell:5ef3a0ffd3324937252790266e2b2e64d33ef34f"Initialising tasks: 100% |#####################################################################################################| Time: 0:00:04Sstate summary: Wanted 2419 Found 0 Missed 2419 Current 399 (0% match, 14% complete)NOTE: Executing TasksWARNING: qtdeclarative-5.6.3+gitAUTOINC+bb01612a88-r0 do_fetch: Failed to fetch URL git://code.qt.io/qt/qtdeclarative.git;name=qtdeclarative;branch=5.14;protocol=git, attempting MIRRORS if availableWARNING: qtbase-native-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Failed to fetch URL git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.14;protocol=git, attempting MIRRORS if availableERROR: qtdeclarative-5.6.3+gitAUTOINC+bb01612a88-r0 do_fetch: Fetcher failure: Unable to find revision bb01612a8809efd268903e41b9e3a17cff48f1c0 in branch 5.14 even from upstreamERROR: qtdeclarative-5.6.3+gitAUTOINC+bb01612a88-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://code.qt.io/qt/qtdeclarative.git;name=qtdeclarative;branch=5.14;protocol=git')ERROR: Logfile of failure stored in: /media/harshavardhan/64a915db-de5e-4138-8463-eb7c0923d483/rz-yocto/poky/build/tmp/work/aarch64-poky-linux/qtdeclarative/5.6.3+gitAUTOINC+bb01612a88-r0/temp/log.do_fetch.37790ERROR: Task (/media/harshavardhan/64a915db-de5e-4138-8463-eb7c0923d483/rz-yocto/poky/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch) failed with exit code '1'ERROR: qtbase-native-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Fetcher failure: Unable to find revision e6f8b072d2bf15f8b82bede48ff29ce8ac8dbd9a in branch 5.14 even from upstreamERROR: qtbase-native-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.14;protocol=git')ERROR: Logfile of failure stored in: /media/harshavardhan/64a915db-de5e-4138-8463-eb7c0923d483/rz-yocto/poky/build/tmp/work/x86_64-linux/qtbase-native/5.6.3+gitAUTOINC+e6f8b072d2-r0/temp/log.do_fetch.37733ERROR: Task (/media/harshavardhan/64a915db-de5e-4138-8463-eb7c0923d483/rz-yocto/poky/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://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.14;protocol=git, attempting MIRRORS if availableERROR: qtbase-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Fetcher failure: Unable to find revision e6f8b072d2bf15f8b82bede48ff29ce8ac8dbd9a in branch 5.14 even from upstreamERROR: qtbase-5.6.3+gitAUTOINC+e6f8b072d2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://code.qt.io/qt/qtbase.git;name=qtbase;branch=5.14;protocol=git')ERROR: Logfile of failure stored in: /media/harshavardhan/64a915db-de5e-4138-8463-eb7c0923d483/rz-yocto/poky/build/tmp/work/aarch64-poky-linux/qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/temp/log.do_fetch.37734ERROR: Task (/media/harshavardhan/64a915db-de5e-4138-8463-eb7c0923d483/rz-yocto/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_fetch) failed with exit code '1'NOTE: Tasks Summary: Attempted 1593 tasks of which 1360 didn't need to be rerun and 3 failed.Summary: 3 tasks failed: /media/harshavardhan/64a915db-de5e-4138-8463-eb7c0923d483/rz-yocto/poky/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch /media/harshavardhan/64a915db-de5e-4138-8463-eb7c0923d483/rz-yocto/poky/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_fetch /media/harshavardhan/64a915db-de5e-4138-8463-eb7c0923d483/rz-yocto/poky/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_fetchSummary: There were 3 WARNING messages shown.Summary: There were 6 ERROR messages shown, returning a non-zero exit code.
Hi Harsha,Can you please make sure you have set the variable BB_NO_NETWORK = "0" in conf/local.conf ?Kind Regards.
Hi PT_Renesas, still getting the fetching error even after I set BB_NO_NETWORK = "0".
Hi Harsha,Are you sure you have internet access?I can fetch both repositories without any issue.Kind Regards.
Hi PT_Renesas,
I have good internet access.
When I clone the links I am able to get the repositories, but when I try to get meta-tool chain this fetch erro r comes out as you can see above.
Hi Harsha,
please add the following to your ~/.gitconfig file and retry
[url "https://github.com/"] insteadOf = git://github.com/
Bernd