Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1231568 - man mandb(8) has issues
Summary: man mandb(8) has issues
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: man-db
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Forró
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-14 20:03 UTC by René Genz
Modified: 2015-07-14 15:29 UTC (History)
3 users (show)

Fixed In Version: man-db-2.7.1-6.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-14 15:29:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description René Genz 2015-06-14 20:03:49 UTC
Description of problem:
Some special words have not been replaced with actual values in mandb(8) man page.

Version-Release number of selected component (if applicable):
man-db-2.7.1-5.fc22.x86_64

How reproducible:
100%

Steps to Reproduce:
1. $ man mandb

Actual results:
%thmandb%(8)
%mandb%
%manpath_config_file%
%version%
%date%

Expected results:
actual values

Additional info:
On Fedora 20 (man-db-2.6.5-2.fc20.x86_64) the man page is fine.
I have not tested with Fedora 21.

Comment 1 Jan Chaloupka 2015-06-15 11:02:37 UTC
Hi Colin,

looks like %key% are not replaced in any man page. Maybe run %configure or make with another option?

Jan

Comment 2 Colin Watson 2015-06-15 11:20:19 UTC
Works fine in Debian.  Can you link to a build log?

Comment 3 Jan Chaloupka 2015-06-15 12:46:38 UTC
For example here [1].

[1] https://kojipkgs.fedoraproject.org//packages/man-db/2.7.1/6.fc23/data/logs/x86_64/build.log

Comment 4 Colin Watson 2015-06-15 13:44:39 UTC
OK, it seems to be running the command that should do the substitutions (search for "replace.sed").  I think you're in a better position to debug this than I am: run a build without removing the build tree afterwards, and trace through the various versions of the file from man/man8/mandb.man8 to man/man8/mandb.8 to the version in the temporary install directory to the version actually in the RPM to see where things go wrong.  Remember to check the same things for the translated versions.

Comment 5 Nikola Forró 2015-07-07 10:51:30 UTC
Rebuild with latest packages generates correct man pages.

http://pkgs.fedoraproject.org/cgit/man-db.git/commit/?h=f22&id=3d8ea133133176997a4a79223f182f8c3e10c895

Comment 6 Fedora Update System 2015-07-07 10:53:26 UTC
man-db-2.7.1-6.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/man-db-2.7.1-6.fc22

Comment 7 Fedora Update System 2015-07-10 19:19:05 UTC
Package man-db-2.7.1-6.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing man-db-2.7.1-6.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-11340/man-db-2.7.1-6.fc22
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-07-14 15:29:56 UTC
man-db-2.7.1-6.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


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