New master/2203 building issue: zstd library incorrect version

Recently, I build on new master or 2203 branch (new cloned), the process stopped at the near final stage:

......

 make[3] -C package/kernel/mt76 clean-build
 make[3] -C package/kernel/mt76 compile
 make[2] package/install
 make[2] target/install
 make[3] -C target/linux install
    ERROR: target/linux failed to build.
make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going 

Then check it and got:

......
tar c -C /openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621 debug --mtime="@1647941308" | zstd -T0 -f -o /openwrt/bin/targets/ramips/mt7621/kernel-debug.tar.zst

Error : incorrect library version (expecting : 1.5.2 ; actual : 1.4.4 ) 
Please update library to version 1.5.2, or use stand-alone zstd binary 

make[3]: *** [Makefile:31: /openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-5.10.107/.image] Error 1
make[3]: Leaving directory '/openwrt/target/linux/ramips'
make[2]: *** [Makefile:11: install] Error 2

But the version 1.5.2 zstd library package is already in DL folder and seems already installed.

My solution: manually compile the zstd: make tools/zstd/{clean,compile} one time.
and then, everything ok.

Because in my menuconfig file, didn't select any zstd and related dependencies, I donot know what's wrong.
Thanks.

where can i find the tools building file list, i.e. when I do a make -j V=s, which file controls the building list for tools.

I think the zstd library is lost in the tools list.

find this:

the patch already applied in my local, but not effective.
i.e. when I do make, the building system does not re-compile the updated 1.5.2 version zstd, skip it. Maybe cause I'm using ccache function.

Error : incorrect library version (expecting : 1.5.2 ; actual : 1.4.4 )
Please update library to version 1.5.2, or use stand-alone zstd binary
make[4]: *** [Makefile:53:

I also encountered the exact same problem as you. How did you solve it?

already solved. Try to use a new clean git cloned openwrt, all from beginning.