Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80733 - pdldoc (for PDL-2.4.1) looks in /var/portage/PDL-2.4.1/work for PDL documentation.
Summary: pdldoc (for PDL-2.4.1) looks in /var/portage/PDL-2.4.1/work for PDL documenta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-04 08:42 UTC by David Heavens
Modified: 2005-03-07 09:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
scantree (scantree.pl,2.47 KB, text/plain)
2005-03-07 09:14 UTC, Michael Cummings (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Heavens 2005-02-04 08:42:03 UTC
The pdldoc function in PDL seems to try and refer to the portage work (build) directory for documentation.

Reproducible: Always
Steps to Reproduce:
1. Have PDL installed (version 2.4.1)
2. $> pdldoc random 
   or in the pdl shell (perldl)
   perldl> help random
Actual Results:  
can't find file
'/var/tmp/portage/PDL-2.4.1/work/PDL-2.4.1/blib/lib/PDL/Primitive.pm' at
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi/PDL/Doc.pm line 724
Module PDL::Primitive
   or
Module  PDL::Primitive
can't find file
'/var/tmp/portage/PDL-2.4.1/work/PDL-2.4.1/blib/lib/PDL/Primitive.pm' at
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi/PDL/Doc.pm line 724


Expected Results:  
To be shown the documentation from perl modules in the PDL directory.

Portage 2.0.51-r15 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4,dev-lang/python-2.1.3-r1 [2.3.4 (#1,
Dec 28 2004, 17:04:48)]
dev-lang/python:     2.3.4, 2.1.3-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.4, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox"
GENTOO_MIRRORS="http://212.219.56.162/sites/www.ibiblio.org/gentoo/
ftp://212.219.56.131/sites/www.ibiblio.org/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib acpi alsa apache2 atlas audiofile avi bash-completion
berkdb blas bonobo bzlib caps cdr cjk crypt cups curl dga dnd doc dvd emacs
encode faac faad fbcon fftw flac foomaticdb gdbm gif ginac gmp gnutls graphviz
gstreamer gtk gtk2 gtkhtml hal hdf hdf5 howl imagemagick imlib java jikes jpeg
kerberos krb4 lapack lcms ldap leim lesstif libgda libwww mad mailwrapper mmx
mpeg mysql nls oggvorbis opengl pam pcre pdflib perl plotutils png ppds python
qt quicktime readline ruby samba sdl slp speex spell sse ssl svg szip tcltk tcpd
tetex theora tiff truetype unicode usb wmf xml xml2 xmms xv zlib video_cards_radeon"
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-03-07 09:14:27 UTC
Created attachment 52857 [details]
scantree
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-03-07 09:21:30 UTC
The attached file is what is run to generate the pdlconf.db - if you run it manually it will update your db with correct values. I've added 2.4.2 to the tree, tested it out, and corrected it to run this in the right sequence. You can either upgrade or just run the script attached (pulled from the source tar file if you'd rather confirm it). Reopen if this doesn't solve it for you, but I'm so confident it will I'm closing this out :)