Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87324 - dev-lang/perl ebuild installs HTML content without using dohtml ebuild command
Summary: dev-lang/perl ebuild installs HTML content without using dohtml ebuild command
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 12:56 UTC by Gavin
Modified: 2007-02-25 13:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin 2005-03-30 12:56:46 UTC
The ebuild for dev-lang/perl does not use the dohtml command to install HTML pages.  This bypasses the logic and code of the dohtml command normally used to install HTML pages as part of an ebuild.

For example, my version of dohtml has some "extras" that are skipped by this ebuild.  From dev-lang/perl-5.8.6-r4.ebuild:

        dodir /usr/share/doc/${PF}/html
        ./perl installhtml \
            --podroot='.' \
            --podpath='lib:ext:pod:vms' \
            --recurse \
            --htmldir="${D}/usr/share/doc/${PF}/html" \
            --libpods='perlfunc:perlguts:perlvar:perlrun:perlop'

It should instead install to a temporary location and then use dohtml to complete the HTML installation using the "normal" ebuild API.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-04 04:12:16 UTC
Mass re-assign.
Comment 2 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-09-19 06:26:16 UTC
Sorry, but this just adds overhead to the install process, with no real gain. 
IOW, sorry, but the way perl's html docs are installed is staying as-is. ;)
Comment 3 Gavin 2005-09-24 17:16:42 UTC
Err.. whatever happended to "follow the API", specifically the GLEPs.

GLEPs are not supposed to be optional.

If everyone just ignored them as they please, Gentoo would become pure chaos.

If dohtml is broken (too slow for you), then it should be fixed.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-11-09 09:11:04 UTC
Mass re-assign.
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2006-04-06 13:50:51 UTC
gavin,

not trying to be a pain (see, didn't close the bug :) but can you paste a patch or something for this? atm, it would seem pod2html would be the quicker and more efficient route. thanks!
Comment 6 Chris White (RETIRED) gentoo-dev 2006-09-17 03:26:54 UTC
Looking at the dohtml code, the main difference is dohtml does the same path installation, but has a couple of modifiers on what exactly gets installed.  As this is not configurable by the end user, the question then remains what do you not want installed that dohtml would normally control?
Comment 7 Gavin 2006-09-18 13:58:12 UTC
Most missed the point.
The GLEP's specify an API, a way of doing things.  The vast collection of portage scripts are supposed to conform to a standard.  This allows defined extension points amongst other things.

Installing HTML pages without using the dohtml script bypasses a defined API mechanism.  This breaks any external process that might ever be created using this API point.

Using pod2html is fine to *create* the HTML, but the dohtml script should be used in the ebuild to actually install the HTML.  There is no performance hit, if things are coded correctly in the ebuild.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 09:55:33 UTC
This just doesn't make any sense... emake DESTDIR=${D} install which installs docs (instead of using dodoc) also bypasses the "API"? Plus what GLEP are you talking about here anyway?

Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 13:28:15 UTC
Closing.