info diriectory displays empty

  1. When I say info, I get an empty document:

Info: (dir)Top, 1 linii --All

  1. When I say info -f /usr/share/info/dir, I get the same.
  2. When I open [/usr/share/info/dir](file:///usr/share/info/dir) in KWrite, I notice that there are tabulations in the Node: declaration.
  3. When I removed these tabulations, the directory suddenly displayed all right (info -f /tmp/dir).
  4. So I tried the same thing with the file extracted from the current package, and it contains tabulation characters, so I can see nothing there with info.

There is a file called [info-dir](file:///usr/src/packages/SOURCES/info-dir) in texinfo-4.13a-3.1.src.rpm; this file is referenced from [texinfo.spec](file:///usr/src/packages/SPECS/texinfo.spec), and it contains tabulation characters. The offending line is:

install -m 644 %{S:10}       %{buildroot}%{_infodir}/dir

and since this file is %config(noreplace), a simple upgrade does not fix this problem. This is both a good news and a bad news: the good news is you can fix it yourself and the bad news is that RPM will not fix it for you.

However, calling install-info to create a new directory index file produces the same unreadable result.

Escalated to Bug 640417

On 2010-09-20 00:06, yecril71pl wrote:

>
> However, calling install-info to create a new directory index file
> produces the same unreadable result.

So that was why info didn’t work in my system! Thank you.
Please, report this in a Bugzilla (and post the number here), so that it is corrected.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))