Bug 26480 - Remove automatic addition of info-install from rpms with info files (e.g. bash)
Summary: Remove automatic addition of info-install from rpms with info files (e.g. bash)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-14 14:25 CEST by Joseph Wang
Modified: 2020-04-16 21:10 CEST (History)
3 users (show)

See Also:
Source RPM: rpm-mageia-setup-build-2.53-4.mga8
CVE:
Status comment:


Attachments
bash dependency diagram (29.98 KB, image/svg+xml)
2020-04-14 14:26 CEST, Joseph Wang
Details

Description Joseph Wang 2020-04-14 14:25:56 CEST
Description of problem:

The build system has a rule that automatically requires info-install whenever
a package has .info files.  This creates bloat for packages such as bash.

Note that info-install requires user action to execute.


Steps to Reproduce:
1. install bash
2. see that it requires a lot of packages

I can find this problem, but what feedback if this is the right thing to do
Comment 1 Joseph Wang 2020-04-14 14:26:36 CEST
Created attachment 11587 [details]
bash dependency diagram
Comment 2 Lewis Smith 2020-04-14 22:04:33 CEST
My immediate thought was that if a package uses INFO, it wants it. However, man pages for such programs say "if you have info installed...", implying that they can live without it. Unsure of the importance of 'info-install' re 'info':
info:
 A stand-alone TTY-based reader for GNU texinfo documentation
info-install:
 Program to update the GNU texinfo documentation main page

$ urpmq --requires info | grep info
 libtinfo.so.6()(64bit)
$ urpmq --requires-recursive info | grep info
 info-install
The latter does not require info.

Are you suggesting that we change all these programs to make info optional: 'recommends' rather than 'requires' perhaps? I am not qualified to say.
 $ urpmq --requires bash | grep info
info-install
libtinfo.so.6()(64bit)

CC: (none) => lewyssmith

Comment 3 Frank Griffin 2020-04-14 22:16:48 CEST
Most man pages are coded in tex.  The info versions are available if wanted, but can usually be looked up online.

CC: (none) => ftg

Comment 4 Thierry Vignaud 2020-04-16 09:30:27 CEST
This was fixed 2 minutes before you opening your bug report :-)
Those deps are no more emitted.
Affected packages will lost this dep on next rebuild…

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED

Comment 5 Lewis Smith 2020-04-16 21:10:59 CEST
Thanks Thierry!

Note You need to log in before you can comment on or make changes to this bug.