[OpenWrt-Devel] Can build x86_64 because of ntf_reject_ipv4.ko missing

Philip Prindeville philipp_subx at redfish-solutions.com
Sun Apr 19 23:50:48 EDT 2020


Sigh.

*Can’t* build.



> On Apr 19, 2020, at 9:47 PM, Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:
> 
> Hi all,
> 
> I just rebased to openwrt master today, and tried to rebuild from scratch but I’m getting:
> 
> make[3]: Entering directory '/home/philipp/lede/package/kernel/linux'
> mkdir -p /home/philipp/lede/staging_dir/target-x86_64_musl/root-x86/stamp
> 
> SHELL= flock /home/philipp/lede/tmp/.root-copy.flock -c 'cp -fpR /home/philipp/lede/build_dir/target-x86_64_musl/linux-x86_64/packages/.pkgdir/kernel/. /home/philipp/lede/staging_dir/target-x86_64_musl/root-x86/'
> touch /home/philipp/lede/staging_dir/target-x86_64_musl/root-x86/stamp/.kernel_installed
> ERROR: module '/home/philipp/lede/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.33/net/ipv4/netfilter/nft_reject_ipv4.ko' is missing.
> modules/netfilter.mk:1068: recipe for target '/home/philipp/lede/bin/targets/x86/64/packages/kmod-nft-core_5.4.33-1_x86_64.ipk' failed
> make[3]: *** [/home/philipp/lede/bin/targets/x86/64/packages/kmod-nft-core_5.4.33-1_x86_64.ipk] Error 1
> make[3]: Leaving directory '/home/philipp/lede/package/kernel/linux'
> time: package/kernel/linux/compile#4.29#0.18#4.76
> package/Makefile:111: recipe for target 'package/kernel/linux/compile' failed
> make[2]: *** [package/kernel/linux/compile] Error 2
> make[2]: Leaving directory '/home/philipp/lede'
> package/Makefile:107: recipe for target '/home/philipp/lede/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
> make[1]: *** [/home/philipp/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
> make[1]: Leaving directory '/home/philipp/lede'
> /home/philipp/lede/include/toplevel.mk:218: recipe for target 'world’ failed
> 
> 
> which frankly I don’t understand.  Shouldn’t all of the dependencies for the kmod-* take care of itself?
> 
> I have:
> 
> philipp at ubuntu16:~/lede$ grep -i reject .config
> CONFIG_PACKAGE_kmod-nf-reject=y
> CONFIG_PACKAGE_kmod-nf-reject6=y
> philipp at ubuntu16:~/lede$ 
> 
> but I don’t know if something else is needed for kmod-nft-reject or what.
> 
> Looking in package/kernel/linux/modules/netfilter.mk I don’t see anything obvious.  Of course, I’m not sure I understand the difference between nf-reject* and nft-reject* after staring at this for so long.
> 
> I’m excited about being able to build 5.4 (eventually), but need to get past this blocker.
> 
> My production router is also where I test upstream my proposed contributions for Tacacs+, xtables-addons, etc.
> 
> Any assistance appreciated.
> 
> Thanks,
> 
> -Philip

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list