web FreeBSD Ports Search is out of sync

Kimmo Paasiala kpaasial at gmail.com
Fri Dec 7 11:09:45 UTC 2012


On Sun, Dec 2, 2012 at 11:47 AM, Matthew Seaman
<m.seaman at 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 generation
>>
>> 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


More information about the freebsd-ports mailing list