From owner-freebsd-ports@FreeBSD.ORG Fri Dec 7 11:09:45 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F663E9A for ; Fri, 7 Dec 2012 11:09:45 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 287568FC08 for ; Fri, 7 Dec 2012 11:09:44 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo14so374523vcb.13 for ; Fri, 07 Dec 2012 03:09:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=3qvkuPWWUakOQNmotZNFMp91TxTfUqHiXqo5dTZJXJc=; b=t2Fl05vL6qiYXcpoFqktT9tb82WfQ7GoZyPZfOdT5uUrtQs1BofVViSFzlLd9/10CH BUzqe7VRF2h4E0b88ro1ipvwSiHTNdWScfGdSun3Om6aC7mZ6iBT84Vm/5m8Dv9uDmG7 QAMz6JiLaBwCRKPKiLZFUTDNM09/lbGl/G4bloHuRYtYNdPl9A3I0lNhXKhnn1Abb15f hVNvG3wTOOOCCTznAD4nNEVF43+okffAaOdDLNUkje2MJD3t/XDHWfU+B+AIK7czk6Yc 65UKuiQPWp1P+Kndti2X1++Mm10q2soznwZldQFOYlwCP+ZTx2M+T60h15i9NjG9g3Q+ QqlA== MIME-Version: 1.0 Received: by 10.52.36.206 with SMTP id s14mr3042624vdj.93.1354878584485; Fri, 07 Dec 2012 03:09:44 -0800 (PST) Received: by 10.58.209.163 with HTTP; Fri, 7 Dec 2012 03:09:44 -0800 (PST) In-Reply-To: <50BB23C4.7050302@infracaninophile.co.uk> References: <50BA347D.9080301@quip.cz> <50BB0D7D.6030406@infracaninophile.co.uk> <20121202102608.0b091887@it.tim.tetcu.info> <50BB1C64.9010602@infracaninophile.co.uk> <20121202113214.1341314f@it.tim.tetcu.info> <50BB23C4.7050302@infracaninophile.co.uk> Date: Fri, 7 Dec 2012 13:09:44 +0200 Message-ID: Subject: Re: web FreeBSD Ports Search is out of sync From: Kimmo Paasiala To: Matthew Seaman Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 11:09:45 -0000 On Sun, Dec 2, 2012 at 11:47 AM, Matthew Seaman wrote: > On 02/12/2012 09:32, Ion-Mihai Tetcu wrote: >>> If you're running 2.9 OPTIONSng should be handled correctly. It >>> > doesn't matter much: the exact format of the OPTIONS variables >>> > doesn't make much difference to building the INDEX, only detecting >>> > when they've been changed. > >> # pkg info p5-FreeBSD-Portindex >> p5-FreeBSD-Portindex-2.9 Incremental FreeBSD ports INDEX file gene= ration >> >> So what exactly are you checking WRT option files? > > Basically, just the timestamp on the file. If it's newer than the last > time cache-update was run, then the corresponding port needs rechecking. > > Or if there is a new options file. The 'unknown options file' error > comes about by comparing the makefiles included from the ports with the > contents of the /var/db/ports directory. > > ... and thinking about it, after the benefit of sufficient coffee, it's > now clear to me that logic is incorrect: it can't distinguish between a > newly created options file and a leftover from a removed port. > > Does no harm, but won't work out that because there's a new options file > at least one port needs rechecking, or identify the port(s) to recheck. > I should fix that. > > Cheers, > > Matthew > Hi Matthew, With the latest 3.0 version of p5-FreeBSD-PortIndex I get an error at the end of portindex run: Accumulating dependency information: .........[1000].........[2000].........[3000].........[4000].........[5000]= .........[6000].........[7000].........[8000].........[9000].........[10000= ].........[11000].........[12000].........[13000].........[14000].........[= 15000].........[16000].........[17000].........[18000].........[19000].....= ....[20000]........Can't locate object method "accumulate_dependencies" via package "FreeBSD::Portindex::Category" at /usr/local/lib/perl5/site_perl/5.14.2/FreeBSD/Portindex/Tree.pm line 815. No INDEX file is generated. -Kimmo