Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16785 - dodoc installs empty files
Summary: dodoc installs empty files
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-03 21:27 UTC by Mr. Bones. (RETIRED)
Modified: 2011-10-30 22:21 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mr. Bones. (RETIRED) gentoo-dev 2003-03-03 21:27:27 UTC
dodoc currently just uses -e to make sure the file that were passed to it
are there before doing the install.  However, a lot of the times, several
of the files are empty.  I can't see the point of installing a documentation
file if it's empty since the whole point of documentation is to document.

dodoc could use -s instead of -e to make me happy.

Reproducible: Always
Steps to Reproduce:
1. (for example) emerge slocate
2. cd /usr/doc/slocate-2.7
3. zcat NEWS.gz COPYING.gz

Actual Results:  
You see....Nothing!

Expected Results:  
Those files shouldn't even be there.  Their presence doesn't add any information
that their absence wouldn't convey just as well.

Portage 2.0.47-r8 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r7 i586 Pentium MMX
GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/bash_completion /etc/ssmtp /etc/sound/events
/etc/X11/rstart /etc/X11/xdm /etc/pango /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses
pdflib spell truetype xml2 xmms xv berkdb esd gdbm gif gnome gnome-libs gtk
guile java libwww oggvorbis pam perl png python readline slang snmp ssl tcpd
tetex tiff X -avi -dvd -opengl -doc -quicktime -sdl -svga -motif -nls -imlib
-kde -qt -arts gpm mozilla"
COMPILER=""
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -O3 -pipe"
CXXFLAGS="-march=i586 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-04-19 05:07:48 UTC
Any progress on this?

I can supply a patch to use -s if you think that is the right thing to do
but such a small change is hardly worth generating a patch for, eh?
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-04-21 19:28:36 UTC
Done.
Thanks.