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.