Bug 449348 - texinfo change causes psacct failure
texinfo change causes psacct failure
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: texinfo (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Vitezslav Crhonek
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-02 06:57 EDT by Ivana Varekova
Modified: 2008-06-02 10:53 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-02 10:53:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ivana Varekova 2008-06-02 06:57:07 EDT
Description of problem:
install info package creates unwanted %{_infodir}/dir file

Version-Release number of selected component (if applicable):
info-4.12-2.fc10.i386

How reproducible:


Steps to Reproduce:
1. try to build psacct in rawhide
  
Actual results:
...
install-info
--info-dir=/var/tmp/psacct-6.3.2-50.fc10-root-mockbuild/usr/share/info
/var/tmp/psacct-6.3.2-50.fc10-root-mockbuild/usr/share/info/accounting.info
install-info: warning: no info dir entry in
`/var/tmp/psacct-6.3.2-50.fc10-root-mockbuild/usr/share/info/accounting.info'
true
...
error: Installed (but unpackaged) file(s) found:
   /usr/share/info/dir.gz


Expected results:
no error

Additional info:
Comment 1 Vitezslav Crhonek 2008-06-02 10:53:01 EDT
From "info install-info":

If DIR-FILE (however specified) does not exist, `install-info'
creates it if possible (with no entries).

So this is correct behavior. If older version of install-info did not create it,
it was unable to did so, or it was a bug.

This line in %install section (before you gzip content in %{_infodir}) will
solve your problem:
rm -f $RPM_BUILD_ROOT%{_infodir}/dir

The same technique is used in other Fedora packages (e.g. findutils, coreutils,
etc.)

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