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

Bug 218347

Summary: [Tracker] ecompress/ecompressdir usage in tree
Product: Quality Assurance Reporter: Brian Harring (RETIRED) <ferringb>
Component: TrackersAssignee: Gentoo Quality Assurance Team <qa>
Status: CONFIRMED ---    
Severity: normal CC: coldwind, dev-portage, ulm
Priority: High Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 356499, 356501, 356503, 356505, 356507, 356509, 356511, 356515    
Bug Blocks:    

Description Brian Harring (RETIRED) gentoo-dev 2008-04-18 23:42:57 UTC
Summary says it all- several ebuilds rely on it, and while I don't necessarily agree with it (or implementation), at the least having the interface specified in PMS is needed (even if the docs explicitly state ecompress* calls can be noops).
Comment 1 SpanKY gentoo-dev 2008-04-19 23:15:37 UTC
what ebuilds rely on it ?  it was intended as a backend solution to unify compression handling in portage, not for ebuilds to use ...
Comment 2 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-04-19 23:30:48 UTC
dev-lang/python
Comment 3 SpanKY gentoo-dev 2008-04-19 23:37:11 UTC
let's differentiate here ... are there any packages using these binaries to compress stuff ?

python i see using it for man page symlink updating, but we should handle that in man itself so packages can just do:
echo '.so python2.5.1' > python.1
Comment 4 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-04-20 11:02:38 UTC
This should be a complete list. The following packages all use it for trivial stuff like mansuffix:
app-misc/srm
dev-lang/python
media-gfx/xli
media-gfx/xloadimage
media-sound/aylet
www-apps/viewvc

And the following apparently use if for compressing stuff:
dev-util/subversion
sci-electronics/gerbv
sci-libs/netcdf
Comment 5 SpanKY gentoo-dev 2008-04-21 00:58:23 UTC
subversion, gerbv, and netcdf should all be using prepalldocs / dodoc ... i'd open a bug to get those fixed

as for the man pages, i'll have to make `man` smarter, and then we can fix those like i suggested
Comment 6 SpanKY gentoo-dev 2008-04-21 01:18:33 UTC
looks like the man code already had a TODO to implement what i proposed ... so i just went ahead and implemented it

man-1.6f-r2 will allow things to work without packages having to care about how man pages are compressed.  so python can do:
echo '.so python2.5.1' > python.1

and when you do `man 1 python`, man will search for all the suffixed versions of 'python2.5.1' until it finds one
Comment 7 Ulrich Müller gentoo-dev 2011-02-25 22:21:14 UTC
Almost three years have passed and nothing has happened. On the contrary, the number of packages that are using it has increased:

man/doc suffix:
   app-cdr/cdrkit
   app-misc/srm
   media-sound/aylet

compression:
   app-backup/bacula
   app-crypt/gnupg
   dev-vcs/subversion
   sci-electronics/gerbv
   sci-libs/netcdf

Changing this to a tracker bug. I'll open separate bugs for the affected packages.

@Portage team: Could a repoman check for ecompress/ecompressdir be added?
Comment 8 Zac Medico gentoo-dev 2011-02-26 00:22:50 UTC
(In reply to comment #7)
> @Portage team: Could a repoman check for ecompress/ecompressdir be added?

Yes, it's in git now:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=5aae42eb1cd319c19e92bce890ea7eb3b7d184d7