openwrt version: 21.02.1
SOC : Airoha
b.list ]; then /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/scripts/clean-package.sh "/home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/staging_dir/target-arm_cortex-a7_glibc_eabi/packages/compileoption_lib.list" "/home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/staging_dir/target-arm_cortex-a7_glibc_eabi"; fi
if [ -d /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/tmp/stage-compileoption_lib ]; then (cd /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/tmp/stage-compileoption_lib; find ./ > /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/tmp/stage-compileoption_lib.files); SHELL= flock /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/tmp/.staging-dir.flock -c ' mv /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/tmp/stage-compileoption_lib.files /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/staging_dir/target-arm_cortex-a7_glibc_eabi/packages/compileoption_lib.list && cp -fpR /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/tmp/stage-compileoption_lib/* /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/staging_dir/target-arm_cortex-a7_glibc_eabi/; '; fi
rm -rf /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/tmp/stage-compileoption_lib
touch /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/staging_dir/target-arm_cortex-a7_glibc_eabi/stamp/.compileoption_lib_installed
make[3]: Leaving directory '/home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/feeds/airoha/package/airoha/apps/compileoption_lib'
time: package/feeds/airoha/compileoption_lib/compile#0.71#0.22#0.94
make[3]: Entering directory '/home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/feeds/airoha/package/airoha/drivers/dying_gasp'
touch /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/build_dir/target-arm_cortex-a7_glibc_eabi/linux-airoha_en7523/dying_gasp/.prepared_712042f4c3e3bb38e219b4f184938005_6664517399ebbbc92a37c5bb081b5c53_check
mkdir -p /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/build_dir/target-arm_cortex-a7_glibc_eabi/linux-airoha_en7523/dying_gasp
cp -fpR ./src/UNION_EN7523_GLIBC_7916D_ActiveEthWan_KERNEL_5_4_demo/* /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/build_dir/target-arm_cortex-a7_glibc_eabi/linux-airoha_en7523/dying_gasp/
cp: cannot stat './src/UNION_EN7523_GLIBC_7916D_ActiveEthWan_KERNEL_5_4_demo/*': No such file or directory
make[3]: *** [Makefile:68: /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/build_dir/target-arm_cortex-a7_glibc_eabi/linux-airoha_en7523/dying_gasp/.prepared_712042f4c3e3bb38e219b4f184938005_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/feeds/airoha/package/airoha/drivers/dying_gasp'
time: package/feeds/airoha/dying_gasp/compile#0.16#0.05#0.19
ERROR: package/feeds/airoha/dying_gasp failed to build.
make[2]: *** [package/Makefile:114: package/feeds/airoha/dying_gasp/compile] Error 1
make[2]: Leaving directory '/home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev'
make[1]: *** [package/Makefile:108: /home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/staging_dir/target-arm_cortex-a7_glibc_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev'
make: *** [/home/kabdul/NewSDK+wifi_patch/openwrt-21.02.1_dev/include/toplevel.mk:230: world] Error 2
Seeking your help.
There is no "airoha" feed on the official OpenWrt. And no "dying_gasp" package, either.
You are apparently working on some OEM's proprietary fork based on end-of-life OpenWrt 21.02.
You should ask them for help.
The observed behaviour seems to fit with the title.
One wonders what the Dying Gasp is supposed to do?
there's Adding Support for RAISECOM DR5364 - #5 by andyboeh
die ?
Dying Gasp is the feature, like it will generate from Hardware,during power off.
doesn't really matter what it does, it's not supported here, as @hnyman said, ask your vendor.
airoha support has been (technically) merged into OpenWrt in late 2022 (so there certainly has never been an 21.02 branch for it), but it remains marked as source-only
as it was not in a usable state (no ethernet driver, no sysupgrade support) when the target was merged, and while there seems to have been 'some' work on either of those topics, I'm not sure about the state of this target so far (at least it's not deemed to be in a releasable state).
Regardless of that, issues would only be interesting if you were using/ developing on vanilla OpenWrt/ main - which is clearly not the case here.