Bug 449348 - texinfo change causes psacct failure
Summary: texinfo change causes psacct failure
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: texinfo
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-02 10:57 UTC by Ivana Varekova
Modified: 2008-06-02 14:53 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-06-02 14:53:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ivana Varekova 2008-06-02 10:57:07 UTC
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 14:53:01 UTC
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.