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

Bug 299103

Summary: www-apps/swish-e: documentation installed outside /usr/share/doc/${PF}
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED WONTFIX    
Severity: minor CC: maintainer-needed
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: swish-e-2.4.7.ebuild.diff
qlist -e www-apps/swish-e
swish-e-2.4.7.ebuild.diff
qlist_swish-e

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-31 12:10:12 UTC
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 David Abbott (RETIRED) gentoo-dev 2010-01-01 19:49:10 UTC
Created attachment 214872 [details]
swish-e-2.4.7.ebuild.diff
Comment 2 David Abbott (RETIRED) gentoo-dev 2010-01-01 19:52:14 UTC
Created attachment 214874 [details]
qlist -e www-apps/swish-e
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-13 15:28:04 UTC
@David:
You are using ./configure instead of econf, such behaviour needs to be explicitely commented and reason for doing so properly explained.
Comment 4 David Abbott (RETIRED) gentoo-dev 2010-01-13 21:26:48 UTC
Created attachment 216416 [details]
swish-e-2.4.7.ebuild.diff
Comment 5 David Abbott (RETIRED) gentoo-dev 2010-01-13 21:27:14 UTC
Created attachment 216417 [details]
qlist_swish-e
Comment 6 Dawid Węgliński (RETIRED) gentoo-dev 2010-01-19 12:31:58 UTC
Still outside.

/usr/share/doc/swish-e/examples/filters/README
/usr/share/doc/swish-e/examples/prog-bin/file.pl
/usr/share/doc/swish-e/examples/prog-bin/index_hypermail.pl
/usr/share/doc/swish-e/examples/prog-bin/README
Comment 7 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-09-27 21:02:00 UTC
Gone.