Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2012 13:09:44 +0200
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: web FreeBSD Ports Search is out of sync
Message-ID:  <CA%2B7WWSdm-d=uc%2B-TfK%2BaYu5_uKZmc5WafPHrX=Vuk8RAQP58dg@mail.gmail.com>
In-Reply-To: <50BB23C4.7050302@infracaninophile.co.uk>
References:  <50BA347D.9080301@quip.cz> <CAF6rxgkhbOLN3ZZhxRZgYtQWF4yeHjiPS68YryKE-vAqitAvFg@mail.gmail.com> <CAN6yY1tqH857Ju2C8ADVPYG9VzhJYmY3Rya9fAvP=pcbVvvuRA@mail.gmail.com> <CA%2B7WWSeT-FTD=YBvbBcjhWWSWUbcMjfUiwtwaXYVPW=yZruo8w@mail.gmail.com> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 2, 2012 at 11:47 AM, Matthew Seaman
<m.seaman@infracaninophile.co.uk> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSdm-d=uc%2B-TfK%2BaYu5_uKZmc5WafPHrX=Vuk8RAQP58dg>