Bug 238873 - brp-compress problem with man pages
Summary: brp-compress problem with man pages
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: redhat-rpm-config   
(Show other bugs)
Version: 5.0
Hardware: All Linux
Target Milestone: ---
: ---
Assignee: Jon Masters
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-05-03 15:51 UTC by Brenton Leanhardt
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-20 13:22:40 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Brenton Leanhardt 2007-05-03 15:51:11 UTC
Description of problem:
I was packaging a mouse driver and I kept getting the following error:
File not found: /var/tmp/mouseemu-0.16-1-buildroot/usr/share/man/man8/mouseemu.8
It seems so how related to brp-compress being run.  If I comment that line out
in /usr/lib/rpm/redhat/macros rpm will not report an error.  I'm not how to
determine if this is a problem with brp-compress, my specfile or the mouseemu.8.
 After doing some research it does seem there has been problems with
brp-compress and man pages (though everything I found was from a few years back).

Version-Release number of selected component (if applicable):

Comment 1 Ben Konrath 2007-05-03 17:28:34 UTC
Reassigning to component owner.

Comment 2 Jeremy Katz 2007-06-19 18:18:24 UTC
It's just trying to compress the man page -- is it a broken link as opposed to
an actual file? 

Comment 3 Brenton Leanhardt 2007-06-20 12:30:29 UTC
My problem had to do with my lack up understanding the RPM system.  Here was my
specfile's %doc section:


Since brp-compress compresses the man page I realized I had to list
"/usr/share/man/man8/mouseemu.8.gz" as the file RPM should look for. 

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