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

Bug 298319

Summary: app-emulation/coldfire: documentation installed outside /usr/share/doc/${PF}
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Embedded Team (OBSOLETE) <dev-embedded+disabled>
Status: RESOLVED NEEDINFO    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-25 14:44:59 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 SpanKY gentoo-dev 2010-10-10 04:28:40 UTC
no actual info on what files are being installed outside of /usr/share/doc/$PF.  i dont see any.

/var/tmp/portage/app-emulation/coldfire-0.3.1/image/
`-- usr
    |-- bin
    |   `-- coldfire
    |-- lib
    |   `-- debug
    |       `-- usr
    |           `-- bin
    |               `-- coldfire.debug
    `-- share
        |-- coldfire
        |   |-- arnewsh-5206.board
        |   |-- cjdesign-5307.board
        |   |-- elia-5307.board
        |   `-- lite-5206e.board
        `-- doc
            `-- coldfire-0.3.1
                |-- CONTRIBUTORS.xz
                |-- HACKING.xz
                `-- README.xz