How to solve git error during compilation in G40M i.MX8MP SMARC SOM?

For resolving the git fetch error, please edit the below file:

../sources/poky/meta/recipes-extended/cracklib/cracklib_2.9.8.bb

Change:
SRC_URI = "git://github.com/cracklib/cracklib;protocol=https;branch=master
file://0001-packlib.c-support-dictionary-byte-order-dependent.patch
file://0002-craklib-fix-testnum-and-teststr-failed.patch
"

to:

SRC_URI = "git://github.com/cracklib/cracklib;protocol=https;branch=main
file://0001-packlib.c-support-dictionary-byte-order-dependent.patch
file://0002-craklib-fix-testnum-and-teststr-failed.patch
"

For further inquiries, please get in touch with mktg@iwave-global.com

Please find the detailed G40M product information in the below link,