Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127315 - missing std::basic_string.3 manpage with gcc-3.4.5 due to locale issues
Summary: missing std::basic_string.3 manpage with gcc-3.4.5 due to locale issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 132478 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-23 07:57 UTC by Evgeniy Dushistov
Modified: 2006-05-06 22:11 UTC (History)
1 user (show)

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


Attachments
MAKEOPTS=-j1 emerge ~gcc-3.4.5 >& log (log.bz2,69.30 KB, application/octet-stream)
2006-04-16 23:48 UTC, Evgeniy Dushistov
Details
86_all_gcc-3.4-doxygen-filter-locale.patch (86_all_gcc-3.4-doxygen-filter-locale.patch,377 bytes, patch)
2006-04-19 22:55 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy Dushistov 2006-03-23 07:57:11 UTC
$ LANG="en_EN" man std::string
fopen: No such file or directory
Cannot open man page /usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::basic_string.3.gz
 No manual entry for std::string

but

"man std::basicstring" works fine.

I suppose this a bug in "gcc ebuild" instead of link from std::string -> std::basicstring it contains
link to std::basic_string - which invalid.
Comment 1 SpanKY gentoo-dev 2006-04-15 23:27:34 UTC
works fine for me

you forgot to post `emerge info`

also, post `gcc-config -l` and `ls /usr/share/gcc-data/*/*/man/man3/std::*string*`
Comment 2 Evgeniy Dushistov 2006-04-16 01:41:50 UTC
>you forgot to post `emerge info`

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -msse -mmmx -m3dnow -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -mfpmath=sse -msse -mmmx -m3dnow -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/evgeniy/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cjk crypt cups curl dlloader doc dri eds emacs emboss encode esd exif expat fam fbcon firefox flac font-server foomaticdb fortran gd gdbm gif gimpprint glut gmp gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib ipv6 isdnlog java jpeg junit kde kdeenablefinal kdexdeltas lcms libcaca libg++ libwww logrotate lua mad maildir mhash mikmod ming mmx mng motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd python qt quicktime readline recode ruby scanner sdl slang speex spel spell sqlite sse ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf xml xml2 xv xvid zlib linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS
Comment 3 Evgeniy Dushistov 2006-04-16 01:43:06 UTC
>gcc-config -l
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
 [6] i686-pc-linux-gnu-3.4.5 *
 [7] i686-pc-linux-gnu-3.4.5-hardened
 [8] i686-pc-linux-gnu-3.4.5-hardenednopie
 [9] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [10] i686-pc-linux-gnu-3.4.5-hardenednossp
 [11] i686-pc-linux-gnu-4.1.0-beta20051105

$ ls /usr/share/gcc-data/*/*/man/man3/std::*string*
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::basicistringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::basicostringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::basicstring.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::basicstringbuf.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::basicstringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::istringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::ostringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::string.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::stringbuf.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::stringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::wistringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::wostringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::wstring.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::wstringbuf.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man/man3/std::wstringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::basicistringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::basicostringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::basicstring.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::basicstring_Allochider.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::basicstringbuf.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::basicstring_Rep.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::basicstring_Repbase.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::basicstringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::istringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::ostringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::string.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::stringbuf.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::stringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::wistringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::wostringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::wstring.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::wstringbuf.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::wstringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::basic_istringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::basic_ostringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::basic_string.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::basic_stringbuf.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::basic_stringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::istringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::ostringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::string.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::stringbuf.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::stringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::wistringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::wostringstream.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::wstring.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::wstringbuf.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::wstringstream.3.gz

Comment 4 Evgeniy Dushistov 2006-04-16 01:56:27 UTC
>works fine for me
I suppose you use gcc 4.1 by default:
$ zcat /usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std\:\:string.3.gz
.so man3/std::basic_string.3
$ ls /usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std\:\:basic_string.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051105/man/man3/std::basic_string.3.gz

but with gcc 3.4.5

$ zcat /usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std\:\:string.3.gz
.so man3/std::basic_string.3

$ ls /usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std\:\:basicstring.3.gz
/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man/man3/std::basicstring.3.gz

you see?
Comment 5 SpanKY gentoo-dev 2006-04-16 15:30:44 UTC
no ... when i said it works for me i meant it:

zcat /usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.5/man/man3/std\:\:string.3.gz
.so man3/std::basic_string.3

ls /usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.5/man/man3/std\:\:basic_string.3.gz
/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.5/man/man3/std::basic_string.3.gz

your gcc install is missing the std::basic_string.3 man page

run this: MAKEOPTS=-j1 emerge ~gcc-3.4.5 >& log
and post the log as an attachment
Comment 6 Evgeniy Dushistov 2006-04-16 23:43:10 UTC
>your gcc install is missing the std::basic_string.3 man page
It is not missing, it has another name: std::basicstring.3, without "_",
the same situation with std::basic_fstream.3.gz,
It has name "std::basicfstream" instead of "std::basic_fstream",
and man std::fstream failed because of this reason,
I suppose there are another examples.

Comment 7 Evgeniy Dushistov 2006-04-16 23:48:12 UTC
Created attachment 84817 [details]
MAKEOPTS=-j1 emerge ~gcc-3.4.5 >& log
Comment 8 SpanKY gentoo-dev 2006-04-16 23:51:39 UTC
whatever, the point is your pages are being installed incorrectly

if you disable your LANG settings, does it work ?  in other words, force LC_ALL/LANG to C and make sure your /etc/profile isnt forcing it back in
Comment 9 Evgeniy Dushistov 2006-04-17 02:10:52 UTC
>if you disable your LANG settings, does it work ?
yes, if set LANG to en_EN and LC_ALL to "C" basic_string apears and basicstring disappers
Comment 10 SpanKY gentoo-dev 2006-04-19 22:38:58 UTC
it's a bug in doxygen ... when generating the manpages, it uses things like 'A-Z' and 'a-z' which ends up generating broken files
Comment 11 SpanKY gentoo-dev 2006-04-19 22:42:10 UTC
actually, i lie ... when trying to put together a reduced test case, i found it's a bug in gcc ;)

it uses a INPUT_FILTER which is not locale safe ... sorry for the noise Steve
Comment 12 SpanKY gentoo-dev 2006-04-19 22:55:29 UTC
Created attachment 84998 [details, diff]
86_all_gcc-3.4-doxygen-filter-locale.patch

give this patch a try please
Comment 13 SpanKY gentoo-dev 2006-04-20 20:09:50 UTC
worked for me ... and it's queued for our next 3.3.6/3.4.[56] patchset
Comment 14 SpanKY gentoo-dev 2006-05-06 22:11:05 UTC
*** Bug 132478 has been marked as a duplicate of this bug. ***