From owner-freebsd-ports@FreeBSD.ORG Sat Dec 3 00:09:04 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E598516A41F for ; Sat, 3 Dec 2005 00:09:04 +0000 (GMT) (envelope-from db@db.net) Received: from heceta.db.net (heceta.db.net [142.46.199.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 849BD43D53 for ; Sat, 3 Dec 2005 00:09:04 +0000 (GMT) (envelope-from db@db.net) Received: from heceta.db.net ([142.46.199.182] helo=localhost ident=mailnull) by heceta.db.net with esmtp (Exim 4.24; FreeBSD 4.8) id 1EiKz3-000Imd-0K; Fri, 02 Dec 2005 19:10:33 -0500 Received: from localhost.dbn ([127.0.0.1] helo=night.dbn) by night.dbn with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1EiL00-00010b-Bk; Fri, 02 Dec 2005 19:11:32 -0500 Received: (from db@localhost) by night.dbn (8.13.4/8.13.4/Submit) id jB30BRCa003880; Fri, 2 Dec 2005 19:11:27 -0500 (EST) (envelope-from db@night.dbn) Date: Fri, 2 Dec 2005 19:11:27 -0500 From: Diane Bruce To: Kris Kennaway Message-ID: <20051203001127.GA3532@night.dbn> References: <20051129192509.GA54936@night.dbn> <20051129204003.GA56311@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051129204003.GA56311@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i Cc: Diane Bruce , freebsd-ports@freebsd.org Subject: Re: Just a note about include files in ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 00:09:05 -0000 On Tue, Nov 29, 2005 at 03:40:03PM -0500, Kris Kennaway wrote: > On Tue, Nov 29, 2005 at 02:25:09PM -0500, Diane Bruce wrote: > > Hi, > > > > Be careful with includes in a port build. I have caught two ports using ... > > can break or at least compile incorrectly if the port include files change > > between releases. If you are lucky, it will fail. > > Parts of KDE and GNOME do this :-( It's one of the main reasons that I don't think it should be a big problem with the average port, provided the upgraded port is compiled with the old port still installed. A port picking up an obsolete include file which is missing a new structure, will break the compile thus showing the problem. I was just surprised to see two ports with the problem fairly close together in time. I'd suggest folks at the very least test that their spanking brand new port upgrade with the old include files from the last port still in place. It is also easy to spot wrong order of -I as it compiles. Seeing as Pav and others have refuted the KDE and GNOME include theory, I guess it is not a huge problem after all, since no one else has commented. ;-) -- - db@db.net http://www.db.net/~db