Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 241316

Summary: sci-chemistry/apbs: documentation installed outside /usr/share/doc/${PF}
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Markus Dittrich (RETIRED) <markusle>
Status: RESOLVED FIXED    
Severity: minor CC: sci-chemistry
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-11 11:02:08 UTC
[very long snip]
./usr/share/doc/tutorial/tutorial/stylesheet-images/toc-plus.gif
./usr/share/doc/tutorial/tutorial/stylesheet-images/up.gif
./usr/share/doc/tutorial/tutorial/stylesheet-images/warning.gif
./usr/share/doc/tutorial/tutorial.xml
./usr/share/doc/user-guide/
./usr/share/doc/user-guide/apbs-input.xml
./usr/share/doc/user-guide/apolar.xml
./usr/share/doc/user-guide/elec.xml
./usr/share/doc/user-guide/file-formats.xml
./usr/share/doc/user-guide/getting-help.xml
./usr/share/doc/user-guide/images/
./usr/share/doc/user-guide/images/caution.png
./usr/share/doc/user-guide/images/edens.gif
./usr/share/doc/user-guide/images/epsilon_of_x.gif
./usr/share/doc/user-guide/images/important.png
./usr/share/doc/user-guide/images/lap.gif
./usr/share/doc/user-guide/images/lennard-jones.png
./usr/share/doc/user-guide/images/ndens.gif
./usr/share/doc/user-guide/images/nlev_dime.gif
./usr/share/doc/user-guide/images/nonpolar-energy.png
./usr/share/doc/user-guide/images/nonpolar-force.png
./usr/share/doc/user-guide/images/note.png
./usr/share/doc/user-guide/images/overline_kappa_2_of_x.gif
./usr/share/doc/user-guide/images/pointer.png
./usr/share/doc/user-guide/images/proc_rank.gif
./usr/share/doc/user-guide/images/qdens.gif
./usr/share/doc/user-guide/images/tip.png
./usr/share/doc/user-guide/images/warning.png
./usr/share/doc/user-guide/index.html
./usr/share/doc/user-guide/installation.xml
./usr/share/doc/user-guide/introduction.xml
./usr/share/doc/user-guide/invocation.xml
./usr/share/doc/user-guide/license.xml
./usr/share/doc/user-guide/Makefile
./usr/share/doc/user-guide/overview.xml
./usr/share/doc/user-guide/print.xml
./usr/share/doc/user-guide/programming.xml
./usr/share/doc/user-guide/read.xml
./usr/share/doc/user-guide/user-guide.xml
./usr/share/doc/user-guide/using-apbs.xml
sci-chemistry/apbs-1.0.0.tbz2

You're getting this bug because the package in summary installs its documentation (or at least part of it) outside the usual /usr/share/doc/${PF} directory.

First, please keep in mind that this bug might not be noticeable for -r0 ebuilds, but it might be for -r1 and later, since if the ebuild has same name and version of the package, for -r0 it might correspond properly.

To fix this, if the package uses autotools, recent version (autoconf 2.61+) have two ./configure switches: --docdir and --htmldir to decide where to put the documentation. Older versions might require you override docdir/htmldir or other custom variables during make install.

For non-autotooled build systems, good luck, since I cannot tell you how to achieve the proper results, the same holds true with totally broken buildsystems even when based on autotools.

Thanks,
Diego
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2008-10-11 17:31:02 UTC
Thanks much for the note, Diego.

This should be fixed in -r1.

Best,
Markus