From owner-freebsd-stable@FreeBSD.ORG Thu Oct 3 23:02:35 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 835B55B5 for ; Thu, 3 Oct 2013 23:02:35 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.net.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 48AED2570 for ; Thu, 3 Oct 2013 23:02:34 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqQEAHv2TVKDaFve/2dsb2JhbABagz9Sgyi9VUqBMnSCJQEBAQQBAQEgBCAHIAsFFhgCAg0ZAikBCSYGCAcEARwEh2UMqgeEDo43gSmMb4EFNAeCaoE5A5U2g3qQUINAIDKBAzk X-IronPort-AV: E=Sophos;i="4.90,1028,1371096000"; d="scan'208";a="56268078" Received: from muskoka.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.222]) by esa-annu.net.uoguelph.ca with ESMTP; 03 Oct 2013 19:01:26 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 4D7FFB3F1C; Thu, 3 Oct 2013 19:01:26 -0400 (EDT) Date: Thu, 3 Oct 2013 19:01:26 -0400 (EDT) From: Rick Macklem To: Thomas Mueller Message-ID: <226468757.35662772.1380841286305.JavaMail.root@uoguelph.ca> In-Reply-To: <34.60.16944.9502D425@cdptpa-oedge02> Subject: Re: Build failure for 9.2-RELEASE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.201] X-Mailer: Zimbra 7.2.1_GA_2790 (ZimbraWebClient - FF3.0 (Win)/7.2.1_GA_2790) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 23:02:35 -0000 Thomas Mueller wrote: > I failed with "make buildworld" on 9.2, building from a 9.2 > prerelease. > > svn revision on system to be built was 255986. > > uname -a shows > > FreeBSD amelia2 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #17 r254196: > Sun Aug 11 00:36:49 UTC 2013 > root@amelia2:/usr/obj/usr/src/sys/SANDY amd64 > > I had MODULES_WITH_WORLD=yes in /etc/make.conf to avoid the > redundancy and annoyance of rebuilding modules every time I build a > new kernel, like if I want a more portable kernel (for a USB-stick > install) as well as my custom kernel. > > Point of failure seemed to be in module dtrace. > > I have in kernel config > > #options KDTRACE_FRAME # Ensure frames are compiled > in > #options KDTRACE_HOOKS # Kernel DTrace hooks > > Maybe I need to reenable these? > > Or is there a great hazard in building modules with world, which > seems so logical? > > Last 32 lines of buildworld.log are > > ===> sys/modules/dtrace/sdt (depend) > @ -> /usr/src/sys > machine -> /usr/src/sys/amd64/include > x86 -> /usr/src/sys/x86/include > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h > rm -f .depend > mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE > -I/usr/src/sys/modules/dtrace/sdt/../../../cddl/compat/opensolaris > -I/usr/src/sys/modules/dtrace/sdt/../../../cddl/contrib/opensolaris/uts/common > -I/usr/src/sys/modules/dtrace/sdt/../../.. -I. -I@ -I@/contrib/altq > -std=iso9899:1999 > /usr/src/sys/modules/dtrace/sdt/../../../cddl/dev/sdt/sdt.c > /usr/src/sys/modules/dtrace/sdt/../../../cddl/dev/sdt/sdt.c:27:25: > error: opt_kdtrace.h: No such file or directory > mkdep: compile failed > *** [.depend] Error code 1 > > Stop in /usr/src/sys/modules/dtrace/sdt. > *** [depend] Error code 1 > > Stop in /usr/src/sys/modules/dtrace. > *** [depend] Error code 1 > > Stop in /usr/src/sys/modules. > *** [depend] Error code 1 > > Stop in /usr/src/sys. > *** [sys.depend__D] Error code 1 > > Stop in /usr/src. > *** [_depend] Error code 1 > > Stop in /usr/src. > *** [buildworld] Error code 1 > > Stop in /usr/src. > > Tom > I don't know if anyone else already commented on this, but you could try adding a line like: SRCS+= opt_kdtrace.h to the Makefile in modules/dtrace/sdt rick > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" >