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

Bug 415687

Summary: app-benchmarks/bootchart2-0.14.2-r2 post-emerge message points user to wrong README file
Product: Gentoo Linux Reporter: David <write2David>
Component: Current packagesAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David 2012-05-13 03:11:51 UTC
After installing bootchart2, there is a post-emerge message that says:

 * Please review /usr/share/doc/bootchart2-0.14.2-r2/README
 * for further usage informations.



However, that file doesn't exist; the actual file is:

/usr/share/doc/bootchart2-0.14.2-r2/README.bz2


So, maybe something like this message would be helpful:


 * Please run the following for further usage instructions...
 * bzless /usr/share/doc/bootchart2-0.14.2-r2/README.bz2
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-15 14:26:02 UTC
The problem is that the filename extensions in the documentation directories depend on the PORTAGE_COMPRESS setting that emerge uses to set the compression command used to compress the files. By default this happens to be bzip2.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-15 14:27:11 UTC
It would be best if no ebuilds mentioned documentation in pkg_postinst() at all, but presumed users could figure it all out themselves.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-05-15 14:31:36 UTC
That is right.


+  15 May 2012; Justin Lecher <jlec@gentoo.org> bootchart2-0.14.2-r1.ebuild,
+  bootchart2-0.14.2-r2.ebuild:
+  Remove reference on documentation from postinst(), #415687
+