I try to build OpenWrt for a new device and get an error during build:
make[3]: *** No rule to make target '/home/runner/work/openwrt-build/openwrt-build/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/mac80211-backport/backport/autoconf.h', needed by '/home/runner/work/openwrt-build/openwrt-build/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/mt76-2026.03.19~39c960c3/.configured_b1c6ae92f8e974e60b47b3e5ad3573cc'. Stop.
I tried main and openwrt-25.12, same result. I think it’s unlikely that both branches are currently not buildable. Is there something missing in the build environment?
I’m using ubuntu-latest GitHub runners for the build and installed all required packages according to the wiki instructions. But I see the same error also when building locally on Linux Mint.
I've just successfully built main/HEAD (92c7feebd2647c482a6597e7d799109c5e4aee7d) with mt76 for filogic 830, x86_64/ mt7921au, ipq806x/ mt7921au and mt7621a/ mt7915.
2026-03-29T12:13:58.2774439Z make[3] -C package/kernel/mt76 compile
2026-03-29T12:13:59.2816698Z ERROR: package/kernel/mt76 failed to build.
2026-03-29T12:14:24.4330828Z 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 on
Your verbose call doesn't even reach/ attempt mt76.
Hint: compiling locally (with -j1 V=s) might make things considerably easier.
I did a local build with logging everything to a file. The file is about 13MB, so I cannot upload it to GitHub gist. I just pasted the last (722) lines:
Only strange thing I saw until now:
grep: /home/roland/openwrt/E30/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/mac80211-regular/backports-6.18.7/./Module.symvers: No such file or directory
Just test it locally with the appropriate logging, your suspicion is unlikely (filogic doesn't have kernel v6.18 yet, I successfully built mt76 for kernel v6.12 on filogic, mt7621, ipq806x and for kernel v6.18 on x86_64).