From owner-freebsd-stable@FreeBSD.ORG Fri Jan 22 09:31:26 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F04C1065672 for ; Fri, 22 Jan 2010 09:31:26 +0000 (UTC) (envelope-from freebsd@southportcomputers.co.uk) Received: from ted.southportcomputers.co.uk (ted.southportcomputers.co.uk [92.48.124.28]) by mx1.freebsd.org (Postfix) with ESMTP id 636028FC20 for ; Fri, 22 Jan 2010 09:31:26 +0000 (UTC) Received: from office.southportcomputers.co.uk ([78.105.116.12] helo=[192.168.1.68]) by ted.southportcomputers.co.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NYFJb-000Iqe-Ni for freebsd-stable@freebsd.org; Fri, 22 Jan 2010 08:56:27 +0000 Message-ID: <4B596838.9020609@southportcomputers.co.uk> Date: Fri, 22 Jan 2010 08:56:24 +0000 From: Colin User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.southportcomputers.co.uk X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [26 6] / [26 6] X-AntiAbuse: Sender Address Domain - southportcomputers.co.uk X-Source: X-Source-Args: X-Source-Dir: Subject: make buildkernel failing on zfs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 09:31:26 -0000 Hi Folks, I'm having a problem since I upgraded from 7.0 to the latest stable over Christmas with quotas and exim not rebuilding. I'm told that exim requires NIS and WITHOUT_NIS=yes was defined in /usr/src.conf My /usr/src.conf for that build is as follows though I've removed it for a test build: WITHOUT_ATM=yes WITHOUT_BLUETOOTH=yes WITHOUT_GAMES=yes WITHOUT_I4B=yes WITHOUT_IPX=yes WITHOUT_NCP=yes WITHOUT_NIS=yes WITHOUT_SENDMAIL=yes WITHOUT_INET6=yes WITHOUT_PROFILE=yes I've been building with the following command (this worked with the sources I used at Christmas, but I updated yesterday and now it won't): cd /usr/src && make buildworld | tee /root/build && make kernel-toolchain | tee /root/build2 && make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=TED | tee /root/build3 It goes for a while and then the buildkernel fails with this: cc -O2 -fno-strict-aliasing -pipe -DFREEBSD_NAMECACHE -DBUILDING_ZFS -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/src/sys/modules/zfs/../../cddl/compat/opensolaris -I/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/commo n/fs/zfs -I/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/zmod -I/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common -I/usr/src/sys/modules/zfs/../.. -I/usr/src/sys/modules/zfs/../../cddl/contrib/openso laris/common/zfs -I/usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/common -I/usr/src/sys/modules/zfs/../../../include -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/TED/opt_global.h -I. -I@ -I@/contrib/altq -finline-l imit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/TED -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding - Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wno-unknown-pragmas -Wno-missing-prototypes -Wno-undef -Wno-strict-pro totypes -Wno-cast-qual -Wno-parentheses -Wno-redundant-decls -Wno-missing-braces -Wno-uninitialized -Wno-unused -Wno-inline -Wno-switch -Wno-pointer-arith -c /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_z node.c *** Error code 1 Stop in /usr/src/sys/modules/zfs. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/TED. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. It is a custom kernel and the conf file is here: http://www.pastebin.org/80156 First build I used the old conf file and that failed then I compared the generic and the custom before attempting this rebuild and copied in a couple of new lines (options P1003_1B_SEMAPHORES and device vlan) but they've nothing to do with it from what I can tell. I don't even need zfs seen as this is a ufs machine but I do need some of the other options in the kernel hence using custom. I am currently running another csup and will try building a generic kernel to see if that works but I can't really install a generic. Anyone got any pointers? Cheers, Colin.