svn commit: r269540 - in head/sys: conf modules/an modules/arcnet modules/cam modules/carp modules/cxgb/cxgb modules/cxgb/iw_cxgb modules/cxgb/tom modules/cxgbe/if_cxgbe modules/cxgbe/iw_cxgbe modu...

Bjoern A. Zeeb bz at FreeBSD.org
Tue Aug 5 10:31:59 UTC 2014


On 04 Aug 2014, at 22:37 , Warner Losh <imp at FreeBSD.org> wrote:

> Author: imp
> Date: Mon Aug  4 22:37:02 2014
> New Revision: 269540
> URL: http://svnweb.freebsd.org/changeset/base/269540
> 
> Log:
>  Move most of the 15 variations on generating opt_inet.h and
>  opt_inet6.h into kmod.mk by forcing almost everybody to eat the same
>  dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h
>  targets here too.
> 
> Modified:
>  head/sys/conf/kern.opts.mk
>  head/sys/conf/kmod.mk
>  head/sys/modules/an/Makefile
>  head/sys/modules/arcnet/Makefile
>  head/sys/modules/cam/Makefile
>  head/sys/modules/carp/Makefile
>  head/sys/modules/cxgb/cxgb/Makefile
>  head/sys/modules/cxgb/iw_cxgb/Makefile
>  head/sys/modules/cxgb/tom/Makefile
>  head/sys/modules/cxgbe/if_cxgbe/Makefile
>  head/sys/modules/cxgbe/iw_cxgbe/Makefile
>  head/sys/modules/cxgbe/tom/Makefile
>  head/sys/modules/dummynet/Makefile
>  head/sys/modules/em/Makefile
>  head/sys/modules/en/Makefile
>  head/sys/modules/fatm/Makefile
>  head/sys/modules/firewire/fwip/Makefile
>  head/sys/modules/hatm/Makefile
>  head/sys/modules/i40e/Makefile   (contents, props changed)
>  head/sys/modules/if_bridge/Makefile
>  head/sys/modules/if_disc/Makefile
>  head/sys/modules/if_faith/Makefile
>  head/sys/modules/if_gif/Makefile
>  head/sys/modules/if_gre/Makefile
>  head/sys/modules/if_lagg/Makefile
>  head/sys/modules/if_stf/Makefile
>  head/sys/modules/if_tap/Makefile
>  head/sys/modules/if_tun/Makefile
>  head/sys/modules/igb/Makefile
>  head/sys/modules/ip6_mroute_mod/Makefile
>  head/sys/modules/ip_mroute_mod/Makefile
>  head/sys/modules/ipdivert/Makefile
>  head/sys/modules/ipfilter/Makefile
>  head/sys/modules/ipfw/Makefile
>  head/sys/modules/ipoib/Makefile
>  head/sys/modules/ixgbe/Makefile
>  head/sys/modules/krpc/Makefile
>  head/sys/modules/linux/Makefile
>  head/sys/modules/lmc/Makefile
>  head/sys/modules/mlx4/Makefile
>  head/sys/modules/mlx4ib/Makefile
>  head/sys/modules/mlxen/Makefile
>  head/sys/modules/mthca/Makefile
>  head/sys/modules/netgraph/gif/Makefile
>  head/sys/modules/netgraph/iface/Makefile
>  head/sys/modules/netgraph/ipfw/Makefile
>  head/sys/modules/netgraph/netflow/Makefile
>  head/sys/modules/nfscl/Makefile
>  head/sys/modules/nfsclient/Makefile
>  head/sys/modules/nfslockd/Makefile
>  head/sys/modules/nfsserver/Makefile
>  head/sys/modules/patm/Makefile
>  head/sys/modules/pf/Makefile
>  head/sys/modules/pflog/Makefile
>  head/sys/modules/pfsync/Makefile
>  head/sys/modules/smbfs/Makefile
>  head/sys/modules/snc/Makefile
>  head/sys/modules/sppp/Makefile
>  head/sys/modules/trm/Makefile
>  head/sys/modules/virtio/network/Makefile
>  head/sys/modules/vmware/vmxnet3/Makefile
>  head/sys/modules/wlan/Makefile
>  head/sys/modules/wlan_acl/Makefile
>  head/sys/modules/wlan_amrr/Makefile
>  head/sys/modules/wlan_ccmp/Makefile
>  head/sys/modules/wlan_rssadapt/Makefile
>  head/sys/modules/wlan_tkip/Makefile
>  head/sys/modules/wlan_wep/Makefile
>  head/sys/modules/wlan_xauth/Makefile

This broke a couple of kernel builds during universe:

mips AP91 kernel failed, check _.mips.AP91 for details
mips AP93 kernel failed, check _.mips.AP93 for details
mips AR724X_BASE kernel failed, check _.mips.AR724X_BASE for details
mips ENH200 kernel failed, check _.mips.ENH200 for details
mips DIR-825B1 kernel failed, check _.mips.DIR-825B1 for details
mips PB92 kernel failed, check _.mips.PB92 for details
mips PICOSTATION_M2HP kernel failed, check _.mips.PICOSTATION_M2HP for details
mips WZR-300HP kernel failed, check _.mips.WZR-300HP for details
arm EFIKA_MX kernel failed, check _.arm.EFIKA_MX for details


They all seem to not define INET6 and AP91 errors look like this;  all seem to barf in the if_gif module built.   Please investigate and unbreak.   Would be really nice if these commits were tested to build and still give the same results upfront.   I am mostly worried about the latter actually.



--------------------------------------------------------------
>>> Kernel build for AP91 started on Tue Aug  5 07:06:20 UTC 2014
--------------------------------------------------------------
===> AP91
--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
Kernel build directory is /storage/head/obj//mips.mips/scratch/tmp/bz/head.svn/sys/AP91
Don't forget to do ``make cleandepend && make depend''
--------------------------------------------------------------
>>> stage 2.1: cleaning up the object tree
--------------------------------------------------------------
bmake: "/scratch/tmp/bz/head.svn/sys/modules/if_gif/Makefile" line 11: warning: Couldn't read shell's output for "cat /storage/head/obj/mips.mips/scratch/tmp/bz/head.svn/sys/AP91/opt_inet6.h"
--------------------------------------------------------------
>>> stage 2.2: rebuilding the object tree
--------------------------------------------------------------
bmake: "/scratch/tmp/bz/head.svn/sys/modules/if_gif/Makefile" line 11: warning: Couldn't read shell's output for "cat /storage/head/obj/mips.mips/scratch/tmp/bz/head.svn/sys/AP91/opt_inet6.h"

--------------------------------------------------------------
>>> stage 2.3: build tools
--------------------------------------------------------------
--------------------------------------------------------------
>>> stage 3.1: making dependencies
--------------------------------------------------------------
bmake: "/scratch/tmp/bz/head.svn/sys/modules/if_gif/Makefile" line 11: warning: Couldn't read shell's output for "cat /storage/head/obj/mips.mips/scratch/tmp/bz/head.svn/sys/AP91/opt_inet6.h"
--------------------------------------------------------------
>>> stage 3.2: building everything
--------------------------------------------------------------
bmake: "/scratch/tmp/bz/head.svn/sys/modules/if_gif/Makefile" line 11: warning: Couldn't read shell's output for "cat /storage/head/obj/mips.mips/scratch/tmp/bz/head.svn/sys/AP91/opt_inet6.h"
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:76: error: 'GIF_HLIM' undeclared here (not in a function)
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:92: error: 'in6_gif_input' undeclared here (not in a function)
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:93: error: 'rip6_output' undeclared here (not in a function)
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:94: error: 'rip6_ctloutput' undeclared here (not in a function)
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:95: error: 'rip6_usrreqs' undeclared here (not in a function)
cc1: warnings being treated as errors
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:102: warning: no previous prototype for 'in6_gif_output' [-Wmissing-prototypes]
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c: In function 'in6_gif_output':
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:104: error: 'struct gif_softc' has no member named 'gif_ro6'
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:192: error: invalid application of 'sizeof' to incomplete type 'struct ip6_hdr'
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:215: error: dereferencing pointer to incomplete type
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:216: error: dereferencing pointer to incomplete type
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:216: error: 'IPV6_VERSION_MASK' undeclared (first use in this function)
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:216: error: (Each undeclared identifier is reported only once
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:216: error: for each function it appears in.)
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:217: error: dereferencing pointer to incomplete type
/scratch/tmp/bz/head.svn/sys/modules/if_gif/../../netinet6/in6_gif.c:217: error: ‘IPV6_VERSION’ undeclared (first use in this function)
. . .
[stripped another several dozen lines]
--- in6_gif.o ---
*** [in6_gif.o] Error code 1

bmake: stopped in /scratch/tmp/bz/head.svn/sys/modules/if_gif
--- all_subdir_if_gif ---
*** [all_subdir_if_gif] Error code 1

bmake: stopped in /scratch/tmp/bz/head.svn/sys/modules
--- modules-all ---
*** [modules-all] Error code 1

bmake: stopped in /storage/head/obj/mips.mips/scratch/tmp/bz/head.svn/sys/AP91
linking kernel.debug
   text    data     bss     dec     hex filename
2708527  198924  147936 3055387  2e9f1b kernel.debug
--- buildkernel ---
*** [buildkernel] Error code 1

bmake: stopped in /scratch/tmp/bz/head.svn
--- buildkernel ---
*** [buildkernel] Error code 1

bmake: stopped in /scratch/tmp/bz/head.svn






— 
Bjoern A. Zeeb             "Come on. Learn, goddamn it.", WarGames, 1983



More information about the svn-src-head mailing list