The problem is that the submodule url of nnshark is not connected.
You need to change url = git://anongit.freedesktop.org/gstreamer/common of nnshark's .gitmodules
https://source.codeaurora.org/external/imx/nnshark/tree/.gitmodules?h=2021.10.imx&id=01f8aa59c982f0f...
I changed to url = https://github.com/GStreamer/common
In the state where an error occurred, even if the file was modified, it was not applied.
After I clean with bitbake -c cleanall nnshark
bitbake -c fetch nnshark
bitbake -c unpack nnshark
Now edit .gitmodules
bitbake nnshark
(I don't know if this order is correct.)
This successfully completed the build.
Alternatively, manually perform git clone in the source folder of nnshark.
under "build-wayland/tmp/work/armv8a-poky-linux/nnshark/2021.10.imx-r0/git"
git clone https://anongit.freedesktop.org/git/gstreamer/common.git/