I recall at least with gcc 3.4.6 build with USE="doc" you used to get the whole STL in manpages. This is no longer the case (with at least 4.3.2, unsure about 4.1.x as its not on any of my systems any longer). Is this possible to get back? Or has upstream stopped supplying them. Could another package be introduced to meet this end? Reproducible: Always
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 :)