Summary: | sys-devel/gcc no longer builds c++ stl man pages with USE="doc" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Flogeras <dflogeras2> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | ainsaar, andy.dalton, ansla80, facorread |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | libstdc++-manpages/libstdc++-manpages-4.3.0.ebuild |
Description
David Flogeras
2009-06-10 21:38:57 UTC
sys-devel/gcc-4.1.2 with USE=doc has STL man pages for me. According to <http://gcc.gnu.org/gcc-4.3/changes.html>, the documentation has been reworked and can now be viewed online. It is supposedly included with the source tree as well, but the "API and Source Level Documentation" has only an index file in the source tree. The rest of it is probably built at some phase. Prebuilt tarballs of both manual pages and HTML pages are available at <ftp://gcc.gnu.org/pub/gcc/libstdc++/doxygen/> and corresponding mirrors. The most expedient approach may be to handle the STL documentation similar to how Gentoo presently handles Python documentation: have USE=doc add a dependency on a separate package which just installs the documentation. That would allow users to install or remove documentation later without rebuilding the compiler. Created attachment 204541 [details]
libstdc++-manpages/libstdc++-manpages-4.3.0.ebuild
An ebuild for convenience, until a full solution (useflags etc) comes out.
Sorry for a careless copy-paste in the ebuild I posted, its description should rather read something like "Collection of libstdc++ manpages, mostly STL". I've noticed that the toolchain eclass now tries to build gcc's libstdc++ doxygen man pages if USE=doc is set (I found out since I have a system where USE=doc is set, but doxygen itself is not installed, and i got a warning). However, it doesn't result in any difference after the package is merged. With or without doxygen, the STL manpages are not generated (in fact no new man pages are made) Is this bug the right spot for this still? I know it is old, should I open a new bug, or is someone still monitoring this? Comment on attachment 204541 [details]
libstdc++-manpages/libstdc++-manpages-4.3.0.ebuild
while i like the idea of this ebuild, i'm not sure upstream keeps the tarballs up to date enough for it to be too useful :(
atm, it looks like 4.5.2 is the latest posted ... and we're at 4.5.3 / 4.6.2
the original issue of man pages not being installed with gcc-4.3+ should now be fixed by the commit: http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.483&r2=1.484 (In reply to comment #6) > the original issue of man pages not being installed with gcc-4.3+ should now be > fixed by the commit: > http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.483&r2=1.484 Thanks, just re-emerged gcc 4.5.3-r1 and got back my manpages :) |