linux-next: build failure after merge of the kbuild tree
Subsystems (3)
Hi Masahiro,
After merging the kbuild tree, today's linux-next build (x86_64 allmodconfig) failed like this:
net/ipv4/netfilter/nf_nat_snmp_basic_main.c:57:10: fatal err
or: nf_nat_snmp_basic.asn1.h: No such file or directory
#include "nf_nat_snmp_basic.asn1.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~Presuambly caused by commit
9ee1b1bb8743 ("kbuild: rename *-asn1.[ch] to *.asn1.[ch]")
though I am not sure why it didn't fail yesterday.
I reverted that commit (and the following one because of a conflict) for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen,
2018-03-29 6:58 GMT+09:00 Stephen Rothwell <[email protected]>:
Quoted 14 lines
Hi Masahiro,
After merging the kbuild tree, today's linux-next build (
x86_64allmodconfig) failed like this:
net/ipv4/netfilter/nf_nat_snmp_basic_main.c:57:10: fatal err
or:nf_nat_snmp_basic.asn1.h: No such file or directory#include "nf_nat_snmp_basic.asn1.h" ^~~~~~~~~~~~~~~~~~~~~~~~~~Presuambly caused by commit
9ee1b1bb8743("kbuild: rename *-asn1.[ch] to *.asn1.[ch]")
Quoted 8 lines
though I am not sure why it didn't fail yesterday.
I reverted that commit (and the following one because of a conflict) for today.
--
Cheers,
Stephen Rothwell
Thanks for the report.
I think my patch is just a coincidence.
The netfilter Makefile seems weird.
I queued up the following fix-up to my kbuild tree. Hopefully linux-next will be OK tomorrow.
commit 28913ee8191adf4bbc01cbfb9ee18cca782ab141
Author: Masahiro Yamada <[email protected]> Date: Thu Mar 29 09:24:28 2018 +0900
netfilter: nf_nat_snmp_basic: add correct dependency to Makefile
nf_nat_snmp_basic_main.c includes a generated header, but the necessary dependency is missing in Makefile. This could cause build error in parallel building.
Remove a weird line, and add a correct one.
decoder library")
net/ipv4/netfilter/Makefile +1 -1
@@ -29,7 +29,7 @@ obj-$(CONFIG_NF_NAT_H323) += nf_nat_h323.o obj-$(CONFIG_NF_NAT_PPTP) += nf_nat_pptp.o nf_nat_snmp_basic-y := nf_nat_snmp_basic-asn1.o nf_nat_snmp_basic_main.o -nf_nat_snmp_basic-y : nf_nat_snmp_basic-asn1.h nf_nat_snmp_basic-asn1.c +$(obj)/nf_nat_snmp_basic_main.o: $(obj)/nf_nat_snmp_basic-asn1.h obj-$(CONFIG_NF_NAT_SNMP_BASIC) += nf_nat_snmp_basic.o clean-files := nf_nat_snmp_basic-asn1.c nf_nat_snmp_basic-asn1.h
Signature · 2 lines
Best Regards Masahiro Yamada