From owner-freebsd-ports@FreeBSD.ORG Mon Feb 13 14:00:36 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 545451065688 for ; Mon, 13 Feb 2012 14:00:36 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo103.cox.net (eastrmfepo103.cox.net [68.230.241.215]) by mx1.freebsd.org (Postfix) with ESMTP id E8AD28FC1C for ; Mon, 13 Feb 2012 14:00:35 +0000 (UTC) Received: from eastrmimpo306.cox.net ([68.230.241.238]) by eastrmfepo103.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120213140030.WZWQ8874.eastrmfepo103.cox.net@eastrmimpo306.cox.net>; Mon, 13 Feb 2012 09:00:30 -0500 Received: from serene.no-ip.org ([98.164.84.176]) by eastrmimpo306.cox.net with bizsmtp id ZS0V1i00M3oG0Ji02S0VaH; Mon, 13 Feb 2012 09:00:30 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020204.4F39177E.0054,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=EOltIU3gFOiP+Yd372C7uOHVS+WlsEi6NI0CF+cJbCg= c=1 sm=1 a=RZ1bGRBPj6cA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=qwmwShWo9LG1Fa0ONy89vg==:17 a=WF2pI21SAAAA:8 a=kviXuzpPAAAA:8 a=kHXs2sgh-o1hdVFSZekA:9 a=4OJ-gEfBAQ3MQ0GCvvsA:7 a=CjuIK1q_8ugA:10 a=MHmzl5aOqcYA:10 a=4vB-4DCPJfMA:10 a=qwmwShWo9LG1Fa0ONy89vg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q1DE0S9I019259; Mon, 13 Feb 2012 08:00:29 -0600 (CST) (envelope-from conrads@cox.net) Date: Mon, 13 Feb 2012 08:00:23 -0600 From: "Conrad J. Sabatier" To: Matthew Seaman Message-ID: <20120213080023.5fa25afe@cox.net> In-Reply-To: <4F390486.8020807@infracaninophile.co.uk> References: <20120213054451.650b7e88@cox.net> <4F390486.8020807@infracaninophile.co.uk> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Duplicate INDEX entries of long standing 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: Mon, 13 Feb 2012 14:00:36 -0000 On Mon, 13 Feb 2012 12:39:34 +0000 Matthew Seaman wrote: > On 13/02/2012 11:44, Conrad J. Sabatier wrote: > > I've been seeing the following it seems like forever in my nightly > > scheduled ports tree maintenance script output: > > > > Starting rebuild of INDEX-10 at Mon Feb 13 03:52:55 CST 2012 > > > > Generating INDEX-10 - please wait..Warning: Duplicate INDEX entry: > > gdb-insight-6.6 Warning: Duplicate INDEX entry: > > petsc-mpich-2.3.3.p0_6,1 Done. > > > > Rebuild of INDEX-10 completed at Mon Feb 13 04:10:29 CST 2012 > > > > Anyone know what's the story with these? And/or how to get rid of > > them? Are there any plans in the works to remove them from the > > ports tree, or otherwise fix them? > > Duplicates like this are usually a result of setting variables in > /etc/make.conf. This causes the package name of some ports to change, > and that can result in pkgname conflicts. > > The conflict arises when eg. you have a master-slave setup, where the > slave port is used to provide a different set of default options. So, > for instance one of the packages you highlight is > petsc-mpich-2.3.3.p0_6,1 > > That package would normally be obtained from math/petsc-mpich: > > # cd math/petsc-mpich > # make -V PKGNAME > petsc-mpich-2.3.3.p0_6,1 > > but you can also end up with the same pkg name from math/petsc by > setting WITH_MPI: > > # cd math/petsc > # make -DWITH_MPI -V PKGNAME > petsc-mpich-2.3.3.p0_6,1 > > Cheers, > > Matthew > Hmm, you got me looking around for something like that, and I just discovered some files under /usr/local/etc that I had no idea even existed, with names starting with mpi*. Checking them out right now. Thanks, you've definitely got me on track here, I think. -- Conrad J. Sabatier conrads@cox.net