Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297590 - app-benchmarks/sysbench: documentation installed outside /usr/share/doc/${PF}
Summary: app-benchmarks/sysbench: documentation installed outside /usr/share/doc/${PF}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: benchmarks
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-19 23:38 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-12-27 05:09 UTC (History)
1 user (show)

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


Attachments
sysbench-docs.patch (sysbench-docs.patch,561 bytes, patch)
2011-10-12 13:35 UTC, Michael Palimaka (kensington)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-19 23:38:21 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 Michael Palimaka (kensington) gentoo-dev 2011-10-12 13:35:21 UTC
Created attachment 289653 [details, diff]
sysbench-docs.patch

The offending file (/usr/share/doc/sysbench/manual.html) turns out to be just an empty placeholder.

Since the extra docs are never actually built, the attached patch simply excludes that directory. It also fixes QA warnings caused by running eautoreconf in src_configure.
Comment 2 Patrick Lauer gentoo-dev 2011-12-27 05:09:52 UTC
+  27 Dec 2011; Patrick Lauer <patrick@gentoo.org> +sysbench-0.4.12-r1.ebuild,
+  -sysbench-0.4.12.ebuild:
+  Fix for #297590