From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 5 19:40:05 2010 Return-Path: Delivered-To: freebsd-ports-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 1518310656DC for ; Sun, 5 Sep 2010 19:40:05 +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 DE3A68FC08 for ; Sun, 5 Sep 2010 19:40:04 +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 o85Je42j012170 for ; Sun, 5 Sep 2010 19:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o85Je4O1012169; Sun, 5 Sep 2010 19:40:04 GMT (envelope-from gnats) Date: Sun, 5 Sep 2010 19:40:04 GMT Message-Id: <201009051940.o85Je4O1012169@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: keramida@freebsd.org (Giorgos Keramidas) Cc: Subject: Re: ports/150235: sysutils/smartmontools build system bug X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Giorgos Keramidas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2010 19:40:05 -0000 The following reply was made to PR ports/150235; it has been noted by GNATS. From: keramida@freebsd.org (Giorgos Keramidas) To: Garrett Wollman Cc: Alex Samorukov , bug-followup@freebsd.org, developers@freebsd.org Subject: Re: ports/150235: sysutils/smartmontools build system bug Date: Sun, 05 Sep 2010 22:16:46 +0300 On Sun, 5 Sep 2010 14:53:10 -0400, Garrett Wollman wrote: > < said: > >> Very funny. I don`t think so. Try to argue your position next time, >> this may help. > > Only if someone is willing to actually engage in an argument. > >> BTW - this "bug" was in smartmontools from early beginning and only >> you hit this condition - i think that is very good indicator of its >> importance, isn`t it? > > A bug is a bug. > >> Your commit will break smartmontools functionality, as i mentioned >> before. Thats why i`m against it. Try to read before posting. > > What commit? I haven't committed anything. > >> The required file was never included in the /usr/include. And it was >> changed more then once from the beginning. > > If anything in userland links against a kernel header, then that > header needs to be installed in /usr/include, end of story. > -I/usr/src/sys is never acceptable in userland code. We support building the kernel itself from arbitrary locations, even using arbitrary OBJDIR locations. I don't think userland code should depend on /usr/src or /usr/obj as absolute paths. They are not part of the 'published interface' of the kernel and they should never be, as long as we want to support building e.g. with MAKEOBJDIRPREFIX set to something like '/home/keramida/work/freebsd/obj.i386'.