Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619954 - media-plugins/vdr-epgsearch: uses doman on compressed file
Summary: media-plugins/vdr-epgsearch: uses doman on compressed file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: doman-compressed
  Show dependency tree
 
Reported: 2017-05-28 09:18 UTC by Michał Górny
Modified: 2018-05-05 15:38 UTC (History)
1 user (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-28 09:18:34 UTC
The package uses doman/newman on a compressed file which is invalid per PMS:

   doman man/en/*.gz
   doman -i18n=de man/de/*.gz
Comment 1 Michael Brakemeier 2017-07-02 16:09:00 UTC
Citing from https://devmanual.gentoo.org/eclass-reference/ebuild/index.html:
"doman [-i18n=<locale>] <man-page> [list of more man-pages]
Installs manual-pages into /usr/share/man/man[0-9n] depending on the manual file ending. The files are compressed if they are not already."

Where does the PMS or the guide state that using doman on compressed files is invalid? doman actually handles compressed files transparently. Could you please explain?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-07-02 17:31:11 UTC
(In reply to Michael Brakemeier from comment #1)
> Citing from https://devmanual.gentoo.org/eclass-reference/ebuild/index.html:
> "doman [-i18n=<locale>] <man-page> [list of more man-pages]
> Installs manual-pages into /usr/share/man/man[0-9n] depending on the manual
> file ending. The files are compressed if they are not already."

That seems to be a manpage from Portage, and not any kind of official Gentoo guide.

> Where does the PMS or the guide state that using doman on compressed files
> is invalid? doman actually handles compressed files transparently. Could you
> please explain?

Please see the explanation already given in the following bug:

https://bugs.gentoo.org/show_bug.cgi?id=619942#c3
Comment 3 Larry the Git Cow gentoo-dev 2018-05-05 15:38:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4762549ddfe5d9a8eb912ecaab3a77cde845fbe

commit e4762549ddfe5d9a8eb912ecaab3a77cde845fbe
Author:     Martin Dummer <martin.dummer@ts.fujitsu.com>
AuthorDate: 2018-04-25 22:52:24 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-05-05 15:38:00 +0000

    media-plugins/vdr-epgsearch: no "doman" with *.gz files, EAPI=6
    
    Remove usage of "doman" with pre-compressed files
    Update the ebuild to EAPI=6
    metadata.xml: Add proper use flag description
    
    Closes: https://bugs.gentoo.org/619954
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 .../files/fix-manpage-generation.diff              | 45 ++++++++++++++++++++++
 media-plugins/vdr-epgsearch/metadata.xml           | 18 ++++++---
 ...ild => vdr-epgsearch-1.0.1_p20141227-r1.ebuild} | 41 ++++++++++----------
 3 files changed, 78 insertions(+), 26 deletions(-)