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

Bug 169150

Summary: dev-ruby/ruby-config breaks man page unless PORTAGE_COMPRESS set to "gzip"
Product: Gentoo Linux Reporter: vvy
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED WONTFIX    
Severity: normal CC: matt+bugzilla
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 251833    
Bug Blocks: 182366    

Description vvy 2007-03-03 16:12:06 UTC
ruby-config (tested with 0.3.2) contains a hardcoded .gz suffix for man pages:

| alternatives_makesym \
|	/usr/share/man/man1/ruby.1.gz \
|	/usr/share/man/man1/ruby{$suf,18,16,19}.1.gz

This won't work unless PORTAGE_COMPRESS is set to "gzip" (which is not the default anymore in recent portage).

Additionally, if ruby was already installed in the same slot with PORTAGE_COMPRESS=gzip and is now reinstalled with PORTAGE_COMPRESS != gzip,
a broken symlink will be lying around.

Reproducible: Always

Steps to Reproduce:
(1. Optional: install ruby with PORTAGE_COMPRESS set to "gzip")
2. Install ruby with PORTAGE_COMPRESS not set to "gzip" in fairly recent portage.
3. Missing/broken symlinks to man pages
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-12-30 12:54:23 UTC
*** Bug 203755 has been marked as a duplicate of this bug. ***
Comment 2 Hans de Graaff gentoo-dev Security 2008-12-21 09:41:58 UTC
dev-ruby/ruby-config will be removed from the tree and is currently package.masked