bitbake fetch error for android-tools recipe

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bitbake fetch error for android-tools recipe

375 Views
pratham_malaviya
Contributor I

Hello NXP community,

I am encountering an issue with fetching the android-tools recipe in my Yocto Project build environment for the Kikstone VAR-SOM-MX8M-Plus board. The specific error I'm facing is:

android-tools-5.1.1.r37-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://android.googlesource.com/platform/system/core;name=core;protocol=https;nobranch=1;destsuffix=git/system/core')


Additionally, the download directory path seems incorrect:

download directory: /workspace/daq_sys/var-fsl-yocto/downloads//git2/android.googlesource.com.platform.system.core

The directory creation fails due to the name "android.googlesource.com.platform.system.core".

Error log:   WARNING: android-tools-5.1.1.r37-r0 do_fetch: Failed to fetch URL git://android.googlesource.com/platform/system/core;name=core;protocol=https;nobranch=1;destsuffix=git/system/core, attempting MIRRORS if available
ERROR: android-tools-5.1.1.r37-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1010/bus"; export PATH="/workspace/daq_sys/var-fsl-yocto/build_xwayland/tmp/sysroots-uninative/x86_64-linux/usr/bin:/workspace/daq_sys/var-fsl-yocto/sources/poky/scripts:/workspace/daq_sys/var-fsl-yocto/build_xwayland/tmp/work/armv8a-fslc-linux/android-tools/5.1.1.r37-r0/recipe-sysroot-native/usr/bin/aarch64-fslc-linux:/workspace/daq_sys/var-fsl-yocto/build_xwayland/tmp/work/armv8a-fslc-linux/android-tools/5.1.1.r37-r0/recipe-sysroot/usr/bin/crossscripts:/workspace/daq_sys/var-fsl-yocto/build_xwayland/tmp/work/armv8a-fslc-linux/android-tools/5.1.1.r37-r0/recipe-sysroot-native/usr/sbin:/workspace/daq_sys/var-fsl-yocto/build_xwayland/tmp/work/armv8a-fslc-linux/android-tools/5.1.1.r37-r0/recipe-sysroot-native/usr/bin:/workspace/daq_sys/var-fsl-yocto/build_xwayland/tmp/work/armv8a-fslc-linux/android-tools/5.1.1.r37-r0/recipe-sysroot-native/sbin:/workspace/daq_sys/var-fsl-yocto/build_xwayland/tmp/work/armv8a-fslc-linux/android-tools/5.1.1.r37-r0/recipe-sysroot-native/bin:/workspace/daq_sys/var-fsl-yocto/sources/poky/bitbake/bin:/workspace/daq_sys/var-fsl-yocto/build_xwayland/tmp/hosttools"; export HOME="/home/mehul"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://android.googlesource.com/platform/system/core /workspace/daq_sys/var-fsl-yocto/downloads//git2/android.googlesource.com.platform.system.core --progress failed with exit code 128, no output
ERROR: android-tools-5.1.1.r37-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://android.googlesource.com/platform/system/core;name=core;protocol=https;nobranch=1;destsuffix=git/system/core')
ERROR: Logfile of failure stored in: /workspace/daq_sys/var-fsl-yocto/build_xwayland/tmp/work/armv8a-fslc-linux/android-tools/5.1.1.r37-r0/temp/log.do_fetch.821213
ERROR: Task (/workspace/daq_sys/var-fsl-yocto/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 777 tasks of which 776 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 4 seconds
Summary: 1 task failed:
  /workspace/daq_sys/var-fsl-yocto/sources/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb:do_fetch
Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

I have tried using checksum verification, which succeeds, but the error persists during the unpackaging stage.

Could you please provide guidance on resolving this issue and successfully building the android-tools recipe?

Thank you.

pratham_malaviya_0-1720020211064.png

 

0 Kudos
Reply
0 Replies