From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 29 05:50:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 95B06190 for ; Mon, 29 Jul 2013 05:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 73D362C72 for ; Mon, 29 Jul 2013 05:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6T5o10E084876 for ; Mon, 29 Jul 2013 05:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6T5o19U084875; Mon, 29 Jul 2013 05:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 29 Jul 2013 05:50:01 GMT Resent-Message-Id: <201307290550.r6T5o19U084875@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 [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 48F3C13B for ; Mon, 29 Jul 2013 05:45:28 +0000 (UTC) (envelope-from eugen@k-45-monitor.sd.rdtc.ru) Received: from k-45-monitor.sd.rdtc.ru (k-45-monitor.sd.rdtc.ru [62.231.191.161]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AA39F2C55 for ; Mon, 29 Jul 2013 05:45:27 +0000 (UTC) Received: from k-45-monitor.sd.rdtc.ru (localhost [127.0.0.1]) by k-45-monitor.sd.rdtc.ru (8.14.7/8.14.7) with ESMTP id r6T5anKs000755; Mon, 29 Jul 2013 12:36:50 +0700 (NOVT) (envelope-from eugen@k-45-monitor.sd.rdtc.ru) Received: (from eugen@localhost) by k-45-monitor.sd.rdtc.ru (8.14.7/8.14.7/Submit) id r6T5amis000746; Mon, 29 Jul 2013 12:36:48 +0700 (NOVT) (envelope-from eugen) Message-Id: <201307290536.r6T5amis000746@k-45-monitor.sd.rdtc.ru> Date: Mon, 29 Jul 2013 12:36:48 +0700 (NOVT) From: Eugene Grosbein To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: misc/180918: [patch] [modules] stable/9 buildworld is broken with MODULES_WITH_WORLD=yes X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jul 2013 05:50:01 -0000 >Number: 180918 >Category: misc >Synopsis: [patch] [modules] stable/9 buildworld is broken with MODULES_WITH_WORLD=yes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 29 05:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 9.1-STABLE amd64 >Organization: RDTC JSC >Environment: System: FreeBSD k-45-monitor 9.1-STABLE FreeBSD 9.1-STABLE #9 r252026M: Thu Jun 20 20:09:10 NOVT 2013 root@k-45-monitor:/usr/obj/usr/local/src/sys/K-45-MONITOR amd64 >Description: make MODULES_WITH_WORLD=yes buildworld is broken for 9-STABLE: ===> sys/modules/ixgbe (depend) machine -> /usr/local/src/sys/amd64/include @ -> /usr/local/src/sys x86 -> /usr/local/src/sys/x86/include awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h rm -f .depend mkdep -f .depend -a -nostdinc -DSMP -DIXGBE_FDIR -D_KERNEL -DKLD_MODULE -I/usr/local/src/sys/modules/ixgbe/../../dev/ixgbe -I . -I@ -I@/contrib/altq -std=iso9899:1999 /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe.c /usr/local/src/sys/modules/ ixgbe/../../dev/ixgbe/ixv.c /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_common.c /usr/local/src/sys/modules/ixgbe/.. /../dev/ixgbe/ixgbe_api.c /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_phy.c /usr/local/src/sys/modules/ixgbe/../../d ev/ixgbe/ixgbe_mbx.c /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_vf.c /usr/local/src/sys/modules/ixgbe/../../dev/ixg be/ixgbe_dcb.c /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_dcb_82598.c /usr/local/src/sys/modules/ixgbe/../../dev/ix gbe/ixgbe_dcb_82599.c /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_82599.c /usr/local/src/sys/modules/ixgbe/../../dev /ixgbe/ixgbe_82598.c /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_x540.c /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe.c:36:22: error: opt_inet.h: No such file or directory /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe.c:37:23: error: opt_inet6.h: No such file or directory /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixv.c:35:22: error: opt_inet.h: No such file or directory /usr/local/src/sys/modules/ixgbe/../../dev/ixgbe/ixv.c:36:23: error: opt_inet6.h: No such file or directory mkdep: compile failed *** [.depend] Error code 1 1 error *** [depend] Error code 2 1 error *** [depend] Error code 2 1 error *** [sys.depend__D] Error code 2 Same for sys/modules/rdma/krping and sys/modules/toecore. >How-To-Repeat: See above. >Fix: --- sys/modules/ixgbe/Makefile.orig 2013-07-29 11:27:57.000000000 +0700 +++ sys/modules/ixgbe/Makefile 2013-07-29 11:58:20.000000000 +0700 @@ -7,6 +7,15 @@ SRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c SRCS += ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c SRCS += ixgbe_82599.c ixgbe_82598.c ixgbe_x540.c +SRCS += opt_inet.h opt_inet6.h CFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP -DIXGBE_FDIR +.if !defined(KERNBUILDDIR) +opt_inet.h: + echo "#define INET 1" >> ${.TARGET} + +opt_inet6.h: + echo "#define INET6 1" >> ${.TARGET} +.endif + .include --- sys/modules/rdma/krping/Makefile.orig 2013-07-29 10:49:55.000000000 +0700 +++ sys/modules/rdma/krping/Makefile 2013-07-29 12:05:47.000000000 +0700 @@ -5,8 +5,16 @@ KMOD= krping SRCS= krping.c krping_dev.c getopt.c -SRCS+= bus_if.h device_if.h opt_sched.h pci_if.h pcib_if.h +SRCS+= bus_if.h device_if.h opt_inet.h opt_inet6.h opt_sched.h pci_if.h pcib_if.h SRCS+= vnode_if.h CFLAGS+= -I${.CURDIR}/../../../ofed/include +.if !defined(KERNBUILDDIR) +opt_inet.h: + echo "#define INET 1" >> ${.TARGET} + +opt_inet6.h: + echo "#define INET6 1" >> ${.TARGET} +.endif + .include --- sys/modules/toecore/Makefile.orig 2013-07-29 12:09:18.000000000 +0700 +++ sys/modules/toecore/Makefile 2013-07-29 12:09:57.000000000 +0700 @@ -4,6 +4,14 @@ KMOD= toecore SRCS= toecore.c -SRCS+= opt_ofed.h +SRCS+= opt_inet.h opt_inet6.h opt_ofed.h + +.if !defined(KERNBUILDDIR) +opt_inet.h: + echo "#define INET 1" >> ${.TARGET} + +opt_inet6.h: + echo "#define INET6 1" >> ${.TARGET} +.endif .include >Release-Note: >Audit-Trail: >Unformatted: