When cups-1.1.23-r4 is emerged, the directory /usr/share/doc/cups-1.1.23-r4 and its contents are not installed. Reproducible: Always Steps to Reproduce: ================================================================= System uname: 2.6.11-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3000+ dev-lang/python: 2.3.5, 2.4.1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-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/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg collision-protect distlocks multilib-strict sandbox sfperms strict usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.ISO8859-1" LINGUAS="en pt_BR fr de" MAKEOPTS="-j2" PKGDIR="/usr/local/portage/packages.amd64" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3dnowex X Xaw3d a52 aac aalib acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdr eds emacs encode fam fbcon ffmpeg font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 java jp2 jpeg kde ldap libcaca libwww lirc lzw lzw-tiff mad mbox motif mozilla mp3 mpeg nas ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl pam perl png ppds python qt quicktime readline samba sdl slang spell ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 vcd vorbis wmf xine xml xml2 xmms xpm xrandr xv xvmc zlib linguas_en linguas_pt_BR linguas_fr linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
it does, there was only a bug when unmerging cups-1.1.23-r3 that deleted your whole /usr/share/doc
Ok. I have unmerged cups before reemerging it. Now /usr/share/doc/cups-1.1.23-r4 is correctly installed. But if cups-1.1.23-r4 is not unmerged before reemerging it, that directory is still removed. Therefore there is a bug with cups-1.1.23-r4, not with cups-1.1.23-r3, which removes the directory /usr/share/doc/cups-1.1.23-r4 when the package is reinstalled.
you are right, fixed
Seeing the problem in comment #1: my whole /usr/share/doc was wiped some days ago. I checked the ebuild and (even if I don't like it) pkg_preinst() seems okay. Should I file a new bug? Anyone has some idea of why this is happening again?