From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 30 11:40:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AC151065673 for ; Sun, 30 Aug 2009 11:40:03 +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 2D4BF8FC12 for ; Sun, 30 Aug 2009 11:40:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7UBe2tl075126 for ; Sun, 30 Aug 2009 11:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7UBe2SO075125; Sun, 30 Aug 2009 11:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 30 Aug 2009 11:40:02 GMT Resent-Message-Id: <200908301140.n7UBe2SO075125@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@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 21043106566C; Sun, 30 Aug 2009 11:37:56 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from grosbein.pp.ru (grosbein.pp.ru [89.189.172.146]) by mx1.freebsd.org (Postfix) with ESMTP id 7E2688FC13; Sun, 30 Aug 2009 11:37:54 +0000 (UTC) Received: from grosbein.pp.ru (localhost [127.0.0.1]) by grosbein.pp.ru (8.14.3/8.14.3) with ESMTP id n7UBN7V9001671; Sun, 30 Aug 2009 19:23:07 +0800 (KRAST) (envelope-from eugen@kuzbass.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.14.3/8.14.3/Submit) id n7UBN6M7001670; Sun, 30 Aug 2009 19:23:06 +0800 (KRAST) (envelope-from eugen) Message-Id: <200908301123.n7UBN6M7001670@kuzbass.ru> Date: Sun, 30 Aug 2009 19:23:06 +0800 (KRAST) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: stable@freebd.org, qa@FreeBSD.org Subject: kern/138341: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Aug 2009 11:40:03 -0000 >Number: 138341 >Category: kern >Synopsis: [patch] 8.0-BETA3: nanobsd build broken due to sysipc kernel module >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 30 11:40:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 8.0-BETA3 i386 >Organization: Private person >Environment: System: FreeBSD grosbein.pp.ru 8.0-BETA3 FreeBSD 8.0-BETA3 #6: Fri Aug 28 22:34:15 KRAST 2009 eugen@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386 >Description: NanoBSD does not builds: ===> sys/modules/sysvipc/sysvmsg (depend) machine -> /usr/local/src/sys/i386/include :> opt_sysvipc.h @ -> /usr/local/src/sys rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -I@/contrib/altq /usr/local/src/sys/modules/sysvipc/sysvmsg/../../../kern/sysv_msg.c /usr/local/src/sys/modules/sysvipc/sysvmsg/../../../kern/sysv_msg.c:53:24: error: opt_compat.h: No such file or directory mkdep: compile failed *** Error code 1 >How-To-Repeat: Try to build NanoBSD. >Fix: Apply next patch to /usr/src: --- sys/modules/sysvipc/sysvmsg/Makefile.orig 2009-08-30 19:12:16.000000000 +0800 +++ sys/modules/sysvipc/sysvmsg/Makefile 2009-08-30 19:14:13.000000000 +0800 @@ -5,4 +5,11 @@ KMOD= sysvmsg SRCS= sysv_msg.c opt_sysvipc.h +.if !defined(KERNBUILDDIR) +opt_compat.h: + echo "#define COMPAT_FREEBSD8 1" > ${.TARGET} + +SRCS+= opt_compat.h +.endif + .include >Release-Note: >Audit-Trail: >Unformatted: