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.
On Fri, Jan 22, 2010 at 9:56 AM, Colin <freebsd@southportcomputers.co.uk> wrote:> Anyone got any pointers?Could you post your /etc/make.conf? That said, I recon you build your kernel in a rather wierd way. Delete /usr/obj/* and run "make cleandir && make cleandir" in /usr/src. Then build your world and kernel like this "make buildworld buildkernel KERNCONF=TED". If that goes as well, run "make installkernel KERNCONF=TED", reboot, "make installworld", run mergemaster and reboot again. -- chs
In message <4B596838.9020609@southportcomputers.co.uk>, Colin (freebsd@southportcomputers.co.uk) wrote:>[snip]> 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 1I think this was a temporary problem that has already been fixed. Try updating to the latest version and see if that builds okay. Cheers, Nick. --
N.J. Mann wrote:> In message <4B596838.9020609@southportcomputers.co.uk>, > Colin (freebsd@southportcomputers.co.uk) wrote: > > [snip] > >> 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 >> > > I think this was a temporary problem that has already been fixed. Try > updating to the latest version and see if that builds okay. > > > Cheers, > Nick. >Ahh if that is the case then the build I currently have running should work seen as I ran a csup less than an hour ago. Fingers crossed! Regards, Colin.
On Fri, Jan 22, 2010 at 10:40:17AM +0100, Christer Solskogen typed:> On Fri, Jan 22, 2010 at 9:56 AM, Colin <freebsd@southportcomputers.co.uk> wrote: > > > Anyone got any pointers? > > Could you post your /etc/make.conf? > That said, I recon you build your kernel in a rather wierd way. Delete > /usr/obj/* and run "make cleandir && make cleandir" in /usr/src. ThenBit redundant ;) cleandir only effects /usr/obj, which you just blew away. Ruben