CC: | bug-POD-Parser [...] rt.cpan.org, rjbs [...] cpan.org |
Subject: | Re: Pod::Parser not indexed correctly |
Date: | Thu, 08 Aug 2013 05:58:11 +0200 |
To: | Tatsuhiko Miyagawa <miyagawa [...] gmail.com> |
From: | Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de> |
Tatsuhiko Miyagawa <miyagawa@gmail.com> writes:
Show quoted text
> Not sure why, but some packages in Pod-Parser distribution are not
> indexed properly with 1.61 tarball.
Reason is the new indexer code that tries to index case insensitively
and fails because there are two packages matching
lower('Pod::Paragraph'):
Show quoted textmysql> select * from packages where lower(package)=lower('Pod::Paragraph');
+----------------+---------+--------------------------------------+-----------------------------------------+------------+------------+---------+--------+
| package | version | dist | file | filemtime | pause_reg | comment | status |
+----------------+---------+--------------------------------------+-----------------------------------------+------------+------------+---------+--------+
| Pod::Paragraph | 1.61 | M/MA/MAREKR/Pod-Parser-1.61.tar.gz | Pod-Parser-1.61/lib/Pod/InputObjects.pm | 1370092126 | 1375930063 | | index |
| Pod::paragraph | 1.01 | M/MA/MAREKR/Pod-Compiler-0.20.tar.gz | Pod-Compiler-0.20/lib/Pod/objects.pm | 1073640796 | 1073644601 | | index |
+----------------+---------+--------------------------------------+-----------------------------------------+------------+------------+---------+--------+
2 rows in set (0.09 sec)
The indexer consequently dies in package.pm, line 582:
$dbh->do($query,
undef,
$package,
$pp->{version},
$dist,
$pp->{infile},
$pp->{filemtime},
$self->{TIME},
$package,
);
Not yet sure how to deal with this sort of breakage. Maybe
Pod-Compiler-0.20 is outdated? It has a timestamp of 2004. If it could
be deleted, the indexer could proceed. Paging Ricardo.
--
andreas