From owner-freebsd-i386@FreeBSD.ORG Thu Jun 2 16:10:11 2011 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9773B106564A for ; Thu, 2 Jun 2011 16:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 705F28FC17 for ; Thu, 2 Jun 2011 16:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p52GABwk091343 for ; Thu, 2 Jun 2011 16:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p52GABFr091342; Thu, 2 Jun 2011 16:10:11 GMT (envelope-from gnats) Resent-Date: Thu, 2 Jun 2011 16:10:11 GMT Resent-Message-Id: <201106021610.p52GABFr091342@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugene Grosbein Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B3B9106566C; Thu, 2 Jun 2011 16:08:25 +0000 (UTC) (envelope-from eugen@eg.sd.rdtc.ru) Received: from eg.sd.rdtc.ru (unknown [IPv6:2a03:3100:c:13::5]) by mx1.freebsd.org (Postfix) with ESMTP id 60D468FC0A; Thu, 2 Jun 2011 16:08:23 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p52G8Koh041513; Thu, 2 Jun 2011 23:08:20 +0700 (NOVST) (envelope-from eugen@eg.sd.rdtc.ru) Received: (from eugen@localhost) by eg.sd.rdtc.ru (8.14.4/8.14.4/Submit) id p52G8FXG041512; Thu, 2 Jun 2011 23:08:15 +0700 (NOVST) (envelope-from eugen) Message-Id: <201106021608.p52G8FXG041512@eg.sd.rdtc.ru> Date: Thu, 2 Jun 2011 23:08:15 +0700 (NOVST) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: art@FreeBSD.org, avg@FreeBSD.org, jhb@FreeBSD.org Subject: i386/157529: [patch] [i386] r222557 broke buildworld with MODULES_WITH_WORLD=yes X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2011 16:10:11 -0000 >Number: 157529 >Category: i386 >Synopsis: [patch] [i386] r222557 broke buildworld with MODULES_WITH_WORLD=yes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 02 16:10:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 8.2-STABLE i386 >Organization: RDTC JSC >Environment: System: FreeBSD eg.sd.rdtc.ru 8.2-STABLE FreeBSD 8.2-STABLE #23: Mon May 30 15:53:18 NOVST 2011 root@eg.sd.rdtc.ru:/usr/local/obj/usr/local/src/sys/EG i386 >Description: 'make MODULES_WITH_WORLD=yes' was fixed in RELENG_8 13 May only with kern/138341 and now it's broken again for i386: mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I/usr/src/sys/modules/dtrace/dtraceall/../../.. -I. -I@ -I@/contrib/altq /usr/src/sys/modules/dtrace/dtraceall/dtraceall.c /usr/src/sys/modules/dtrace/dtraceall/dtraceall.c:35:24: error: opt_compat.h: No such file or directory >How-To-Repeat: Use FreeBSD 8.2-STABLE/i386: cd /usr/src && make MODULES_WITH_WORLD=yes buildworld >Fix: --- sys/modules/dtrace/dtraceall/Makefile.orig 2011-06-02 22:01:42.000000000 +0700 +++ sys/modules/dtrace/dtraceall/Makefile 2011-06-02 22:02:12.000000000 +0700 @@ -9,6 +9,8 @@ opt_compat.h: .if ${MACHINE_ARCH} == "amd64" echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET} +.else + echo -n >> ${.TARGET} .endif .endif Eugene Grosbein >Release-Note: >Audit-Trail: >Unformatted: