Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 415971

Summary: sys-apps/portage: emerge should not install (or, at least, warn) when trying to install empty files with dodoc and similar helpers
Product: Portage Development Reporter: Pacho Ramos <pacho>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2012-05-14 17:33:04 UTC
When rebuilding intel drive git version from x11 overlay I noticed the file:

$ ls -l /usr/share/doc/xf86-video-intel-9999/ChangeLog 
-rw-r--r-- 1 root root 0 may 14 19:29 /usr/share/doc/xf86-video-intel-9999/ChangeLog

Was installed even being empty. This is not desired when talking about docs, man pages... I think portage should, at least, show a warning when installing this kind of empty files

Thanks

Reproducible: Always