Bitbake Fetcher Error

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

Bitbake Fetcher Error

321 Views
rprronad
Contributor III

I'm trying to follow the image build instruction as https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf & also clone the repo for yocto project source from here https://github.com/nxp-imx/meta-imx/tree/kirkstone-5.15.71-2.2.2

after running the ./imx-setup-release.sh script and next run the command "bitbake core-image-minimal" for building the image it showing the 2 ERRORS.

 

calixto-systems@calixtosystems-HP-Notebook:~/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto$ MACHINE=imx6ull-versa-evk DISTRO=core-image-minimal source setup-environment build

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    meta-toolchain
    meta-toolchain-sdk
    adt-installer
    meta-ide-support

Your configuration files at build have not been touched.
calixto-systems@calixtosystems-HP-Notebook:~/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build$ bitbake core-image-minimal
Loading cache: 100% |##########################################################################################################| Time: 0:00:02
Loaded 3916 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
WARNING: preferred version 3.19.0.imx of optee-os not available (for item optee-os)
WARNING: versions of optee-os available: 3.15.0.imx
WARNING: preferred version 3.19.0.imx of optee-os not available (for item optee-os)
WARNING: versions of optee-os available: 3.15.0.imx
WARNING: preferred version 3.19.0.imx of optee-os not available (for item optee-os-staticdev)
WARNING: versions of optee-os available: 3.15.0.imx
WARNING: preferred version 3.19.0.imx of optee-os not available (for item optee-os-dev)
WARNING: versions of optee-os available: 3.15.0.imx

Build Configuration:
BB_VERSION           = "2.0.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "imx6ull-versa-evk"
DISTRO               = "poky"
DISTRO_VERSION       = "4.0.4"
TUNE_FEATURES        = "arm vfp cortexa7 neon thumb callconvention-hard"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-oe
meta-multimedia      
meta-python          
meta-freescale       
meta-freescale-3rdparty 
meta-freescale-distro 
meta-calixto-nxp     = "master:9f456956f9e70c1fb020b9819e77294c1f502f34"

Initialising tasks: 100% |#######################################################################################################################################| Time: 0:00:04
Sstate summary: Wanted 896 Local 0 Mirrors 0 Missed 896 Current 251 (0% match, 21% complete)
NOTE: Executing Tasks
WARNING: optee-os-3.15.0.imx-r0 do_fetch: Failed to fetch URL git://source.codeaurora.org/external/imx/imx-optee-os.git;protocol=https;branch=lf-5.15.5_1.0.0, attempting MIRRORS if available
ERROR: optee-os-3.15.0.imx-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export no_proxy="localhost,127.0.0.0/8,::1"; export NO_PROXY="localhost,127.0.0.0/8,::1"; export PATH="/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa_evk-poky-linux-gnueabi/optee-os/3.15.0.imx-r0/recipe-sysroot-native/usr/bin/python3-native:/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/sources/poky/scripts:/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa_evk-poky-linux-gnueabi/optee-os/3.15.0.imx-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa_evk-poky-linux-gnueabi/optee-os/3.15.0.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa_evk-poky-linux-gnueabi/optee-os/3.15.0.imx-r0/recipe-sysroot-native/usr/sbin:/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa_evk-poky-linux-gnueabi/optee-os/3.15.0.imx-r0/recipe-sysroot-native/usr/bin:/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa_evk-poky-linux-gnueabi/optee-os/3.15.0.imx-r0/recipe-sysroot-native/sbin:/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa_evk-poky-linux-gnueabi/optee-os/3.15.0.imx-r0/recipe-sysroot-native/bin:/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/sources/poky/bitbake/bin:/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/hosttools"; export HOME="/home/calixto-systems"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://source.codeaurora.org/external/imx/imx-optee-os.git /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/downloads//git2/source.codeaurora.org.external.imx.imx-optee-os.git --progress failed with exit code 128, no output
ERROR: optee-os-3.15.0.imx-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://source.codeaurora.org/external/imx/imx-optee-os.git;protocol=https;branch=lf-5.15.5_1.0.0')
ERROR: Logfile of failure stored in: /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/build/tmp/work/imx6ull_versa_evk-poky-linux-gnueabi/optee-os/3.15.0.imx-r0/temp/log.do_fetch.271437
ERROR: Task (/home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/sources/meta-freescale/recipes-security/optee-imx/optee-os_3.15.0.imx.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1631 tasks of which 1188 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/calixto-systems/eagle/nxp-linux-platform/yocto/calixto-nxp-yocto/sources/meta-freescale/recipes-security/optee-imx/optee-os_3.15.0.imx.bb:do_fetch
Summary: There were 9 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

I see the error come from the cloning this repo: git://source.codeaurora.org/external/imx/imx-optee-os.git;protocol=https;branch=lf-5.15.5_1.0.0

when i cloned this repo manually, it showing the server certificate verification failed & see the below message:
--------------------------------------------------------------------------------------------------------------------------------------
calixto-systems@calixtosystems-HP-Notebook:~/rpr$ git clone https://source.codeaurora.org/external/imx/imx-optee-os.git -b lf-5.15.5_1.0.0
Cloning into 'imx-optee-os'...
fatal: unable to access 'https://source.codeaurora.org/external/imx/imx-optee-os.git/': server certificate verification failed. CAfile: none CRLfile: none

--------------------------------------------------------------------------------------------------------------------------------------

Kindly someone guide me to resolve above two error's

Thanks in advance

 

Regards,
Ravikumar

 

0 Kudos
1 Reply

299 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @rprronad!

Thank you for contacting NXP Support!

We don't have more code in Codeaurora.

Try with the next repo:

https://github.com/nxp-imx/imx-optee-os.git

 

https://github.com/nxp-imx/imx-optee-os/tree/lf-5.15.71-2.2.2

 

Best Regards!

Chavira

0 Kudos