Whenever I merge a package that causes portage to regenerate the /usr/share/info/dir file, the function index from libc is prepended to the top level list of package. The result is that I end having to scroll through hundreds of lines of C functions to reach the info menu items for other GNU programs. I can manually edit the dir file to remove the C index, but my changes are lost the next time it is regenerated. -- Gentoo Base System version 1.6.15 Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r4, 2.6.16.16 i686) ================================================================= System uname: 2.6.16.16 i686 Intel(R) Xeon(TM) CPU 3.60GHz app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.11 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r2 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 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apm avi berkdb bitmap-fonts cdr cjk cli crypt cups dbus dlloader dri dvd eds emboss encode firefox font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imap imlib ipv6 isdnlog jpeg libg++ libwww logrotate mad mikmod mp3 mpeg ncurses nethack nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt4 quicktime readline reflection sdl session spell spl ssl tcpd threads truetype truetype-fonts type1-fonts vorbis xml2 xmms xorg xscreensaver xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vmware" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
It seems like the same think happened to me and it's only started recently. My info index didn't used to look like this.
In svn r4239 I've fixed it so that the directory contents are sorted prior to processing with install-info. At least the results will be consistent that way. If you don't want any of the glibc info docs then you'll have to remove /usr/share/info/libc.info*.
This has been released in 2.1.1_pre5-r1.