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

Hannu Nyman hannu.nyman at iki.fi
Tue Apr 21 00:58:15 EDT 2020

Philip Prindeville wrote at Mon Apr 20 19:36:14 PDT 2020:

 > Collected errors:
 >  * check_data_file_clashes: Package kmod-ipt-nat6 wants to install file 
 >     But that file is already provided by package  * kmod-ipt-nat
 >  * opkg_install_cmd: Cannot install package kmod-ipt-nat6.
 > ...
 > philipp at ubuntu16:~/lede$ grep -r xt_MASQUERADE config Config.in include 
package/ rules.mk Makefile target/
 > include/netfilter.mk:$(eval $(if $(NF_KMOD),$(call 
 > include/netfilter.mk:$(eval $(call 
 > philipp at ubuntu16:~/lede$
 > Why is it part of both packages?  And why is does it add different flags 
when it’s built?

Regarding IPv6 NAT, you stumbled into a kernel 5.4 issue originally reported 
in http://lists.infradead.org/pipermail/openwrt-devel/2020-February/021929.html

Bug report: https://bugs.openwrt.org/index.php?do=details&task_id=2924

That should have been fixed yesterday by

Have you updated your source repo?

(That issue was not detected by the buildbot, as it was a file clash at 
package installation, not an actual compilation error of the package itself.)

But no idea why that ipv6 NAT thing would have caused your original item of 
"ntf_reject_ipv4.ko missing"...

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list