On Tue, Jun 24, 2014 at 09:25:25PM +0200, Henning Glawe wrote: > On Tue, Jun 24, 2014 at 06:30:38PM +0300, Niko Tyni wrote:
> > lrwxrwxrwx root/root 0 2014-06-17 14:19 > > ./usr/lib/perl5/PDL/Index.pod -> /var/lib/pdl/Index.pod > > lrwxrwxrwx root/root 0 2014-06-17 14:19 > > ./usr/lib/perl5/PDL/pdldoc.db -> /var/lib/pdl/pdldoc.db > > I stand corrected. There is actually a problem in PDL: > I generate all the documentation (essentially, PODs generated from the > installed modules) at installation time in /var/lib. > pdldoc and the interactive shells 'pdl' and 'pdl2' expect finding docs via > the files symlinked away by my package, this issue may be a major problem to > the users. > Did you, by any means, check the documentation system after the perl update? > I suspect that (on the command line), 'pdldoc -a slice' would give you an > empty list... It seems to be worse than that: # pdldoc -a slice Unable to find PDL/pdldoc.db in /etc/perl:/usr/local/lib/x86_64-linux-gnu/perl/5.20.0:/usr/local/share/perl/5.20.0:/usr/lib/x86_64-linux-gnu/perl5/5.20:/usr/share/perl5:/usr/lib/x86_64-linux-gnu/perl/5.20:/usr/share/perl/5.20:/usr/local/lib/site_perl:. can't open database 1, scan docs first at /usr/lib/x86_64-linux-gnu/perl5/5.20/PDL/Doc.pm line 465. PDL::Doc::ensuredb(PDL::Doc=HASH(0x2836698)) called at /usr/lib/x86_64-linux-gnu/perl5/5.20/PDL/Doc.pm line 583 PDL::Doc::search(PDL::Doc=HASH(0x2836698), "m/slice/", ARRAY(0x2009968), 1) called at /usr/lib/x86_64-linux-gnu/perl5/5.20/PDL/Doc/Perldl.pm line 188 PDL::Doc::Perldl::search_docs("m/slice/", ARRAY(0x2009968), 1) called at /usr/lib/x86_64-linux-gnu/perl5/5.20/PDL/Doc/Perldl.pm line 165 PDL::Doc::Perldl::aproposover("slice") called at /usr/lib/x86_64-linux-gnu/perl5/5.20/PDL/Doc/Perldl.pm line 173 PDL::Doc::Perldl::apropos("slice") called at /usr/bin/pdldoc line 57 > my PDL package has a trigger installed for doc/doc-index rebuild if > any package installs sth into its namespace, so no explicite action on the > side of a dependee pkg should be necessary. > I suspect that, besides PDL being possibly broken by the transition, the > dependee libpdl-stats-perl is doing something explicitely that it > shouldn't... The PDL-Stats upstream Makefile.PL has this postamble: install :: @echo "Updating PDL documentation database ..." @$(PERL) add_doc.pl and add_doc.pl uses PDL::Doc methods to update the doc database it finds on @INC. So should the libpdl-stats-perl Debian package be disabling that and relying on the trigger instead? -- Niko Tyni nt...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org