<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>241974</bug_id>
          
          <creation_ts>2008-10-14 13:10 0000</creation_ts>
          <short_desc>dev-util/oprofile: documentation installed outside /usr/share/doc/${PF}</short_desc>
          <delta_ts>2009-03-22 07:52:15 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>flameeyes@gentoo.org</reporter>
          <assigned_to>spock@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>flameeyes@gentoo.org</who>
            <bug_when>2008-10-14 13:10:01 0000</bug_when>
            <thetext>./usr/share/doc/oprofile/
./usr/share/doc/oprofile/oprofile.html
./usr/share/doc/oprofile/internals.html
./usr/share/doc/oprofile/opreport.xsd
./usr/share/doc/oprofile/op-jit-devel.html
./dev-util/oprofile-0.9.4.tbz2

You&apos;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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2008-10-14 19:24:08 0000</bug_when>
            <thetext>Fixed -- thanks for reporting the problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@42productions.org</who>
            <bug_when>2009-03-14 22:20:44 0000</bug_when>
            <thetext>The pkg_postinst message should be modified as well.

elog &quot;Then read manpages and this html doc:&quot;
elog &quot;  /usr/share/doc/oprofile/oprofile.html&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2009-03-22 07:52:15 0000</bug_when>
            <thetext>Fixed, thanks.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>