Debian Bug report logs - #451268
librep-doc: confusing INFO-DIR-ENTRY makes postinst fail

Package: texinfo; Maintainer for texinfo is Debian TeX maintainers <debian-tex-maint@lists.debian.org>; Source for texinfo is src:texinfo (PTS, buildd, popcon).

Reported by: "Aaron M. Ucko" <ucko@debian.org>

Date: Wed, 14 Nov 2007 17:00:01 UTC

Severity: grave

Tags: patch

Done: Norbert Preining <preining@logic.at>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, ucko@debian.org, Christian Marillat <marillat@debian.org>:
Bug#451265; Package librep-doc. (full text, mbox, link).


Acknowledgement sent to "Aaron M. Ucko" <ucko@debian.org>:
New Bug report received and forwarded. Copy sent to ucko@debian.org, Christian Marillat <marillat@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Aaron M. Ucko" <ucko@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: librep-doc: confusing INFO-DIR-ENTRY makes postinst fail
Date: Wed, 14 Nov 2007 11:57:47 -0500
Package: librep-doc
Version: 0.17+svn20070119-5
Severity: grave
Justification: renders package unusable (uninstallable)

librep-doc's post-installation script fails with the following messages:

> Setting up librep-doc (0.17+svn20070119-5) ...
> install-info(/usr/share/info/librep.info): warning, ignoring confusing INFO-DIR-ENTRY in file.
> 
> No `START-INFO-DIR-ENTRY' and no `This file documents'.
> install-info(/usr/share/info/librep.info): unable to determine description for `dir' entry - giving up
> dpkg: error processing librep-doc (--configure):
>  subprocess post-installation script returned error exit status 1

AFAICT, this is because the line

This is librep.info, produced by makeinfo version 4.11 from librep.texi.

somehow wound up within the INFO-DIR-ENTRY block rather than above it
as in other files.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.10 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Christian Marillat <marillat@debian.org>:
Bug#451265; Package librep-doc. (full text, mbox, link).


Acknowledgement sent to Sven Joachim <svenjoac@gmx.de>:
Extra info received and forwarded to list. Copy sent to Christian Marillat <marillat@debian.org>. (full text, mbox, link).


Message #10 received at 451265@bugs.debian.org (full text, mbox, reply):

From: Sven Joachim <svenjoac@gmx.de>
To: "Aaron M. Ucko" <ucko@debian.org>
Cc: 451265@bugs.debian.org
Subject: Re: Bug#451265: librep-doc: confusing INFO-DIR-ENTRY makes postinst fail
Date: Wed, 14 Nov 2007 18:33:43 +0100
clone 451265 -1
reassign -1 texinfo
tags -1 patch
thanks

Aaron M. Ucko <ucko@debian.org> writes:

> Package: librep-doc
> Version: 0.17+svn20070119-5
> Severity: grave
> Justification: renders package unusable (uninstallable)
>
> librep-doc's post-installation script fails with the following messages:
>
>> Setting up librep-doc (0.17+svn20070119-5) ...
>> install-info(/usr/share/info/librep.info): warning, ignoring confusing INFO-DIR-ENTRY in file.
>> 
>> No `START-INFO-DIR-ENTRY' and no `This file documents'.
>> install-info(/usr/share/info/librep.info): unable to determine description for `dir' entry - giving up
>> dpkg: error processing librep-doc (--configure):
>>  subprocess post-installation script returned error exit status 1
>
> AFAICT, this is because the line
>
> This is librep.info, produced by makeinfo version 4.11 from librep.texi.
>
> somehow wound up within the INFO-DIR-ENTRY block rather than above it
> as in other files.

This is a bug in texinfo which was discussed in the thread starting at
http://lists.gnu.org/archive/html/bug-texinfo/2007-10/msg00019.html.
The following patch is taken from that discussion:

--- cmds.c.~1.76.~	2007-09-26 13:53:39.000000000 -0700
+++ cmds.c	2007-10-13 16:43:56.000000000 -0700
@@ -1633,6 +1633,10 @@
         {
+          /* use add_* instead of insert_* because otherwise the
+             file header ("This is ...") will end up inside the
+             dir section markers.  */
           kill_self_indent (-1); /* make sure there's no indentation */
-          insert_string ("INFO-DIR-SECTION ");
-          insert_string (line);
-          insert ('\n');
+          cm_noindent (); /* make sure again */
+          add_word ("INFO-DIR-SECTION ");
+          add_word (line);
+          add_char ('\n');
         }


Cheers,
       Sven




Bug 451265 cloned as bug 451268. Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Wed, 14 Nov 2007 17:33:09 GMT) (full text, mbox, link).


Bug reassigned from package `librep-doc' to `texinfo'. Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Wed, 14 Nov 2007 17:33:11 GMT) (full text, mbox, link).


Tags added: patch Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Wed, 14 Nov 2007 17:33:11 GMT) (full text, mbox, link).


Reply sent to Norbert Preining <preining@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to "Aaron M. Ucko" <ucko@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #21 received at 451268-close@bugs.debian.org (full text, mbox, reply):

From: Norbert Preining <preining@debian.org>
To: 451268-close@bugs.debian.org
Subject: Bug#451268: fixed in texinfo 4.11.dfsg.1-2
Date: Wed, 14 Nov 2007 18:17:02 +0000
Source: texinfo
Source-Version: 4.11.dfsg.1-2

We believe that the bug you reported is fixed in the latest version of
texinfo, which is due to be installed in the Debian FTP archive:

info_4.11.dfsg.1-2_i386.deb
  to pool/main/t/texinfo/info_4.11.dfsg.1-2_i386.deb
texinfo_4.11.dfsg.1-2.diff.gz
  to pool/main/t/texinfo/texinfo_4.11.dfsg.1-2.diff.gz
texinfo_4.11.dfsg.1-2.dsc
  to pool/main/t/texinfo/texinfo_4.11.dfsg.1-2.dsc
texinfo_4.11.dfsg.1-2_i386.deb
  to pool/main/t/texinfo/texinfo_4.11.dfsg.1-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 451268@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated texinfo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 14 Nov 2007 18:52:13 +0100
Source: texinfo
Binary: texinfo info
Architecture: source i386
Version: 4.11.dfsg.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description: 
 info       - Standalone GNU Info documentation browser
 texinfo    - Documentation system for on-line information and printed output
Closes: 451268
Changes: 
 texinfo (4.11.dfsg.1-2) unstable; urgency=low
 .
   * edit the changelog entry from 4.11.dfsg.1-1 to close the bugs in a
     more explicit way
   * fix erronous direntries (Closes: #451268)
Files: 
 52c249b657bbb38db67d0998d5a00b9a 877 doc standard texinfo_4.11.dfsg.1-2.dsc
 a32e3573d2a9a801c8d9f7a11f6e4134 30130 doc standard texinfo_4.11.dfsg.1-2.diff.gz
 479a8f8fea5726ff47423271bcbabad8 709686 text standard texinfo_4.11.dfsg.1-2_i386.deb
 84cbd74f55661457932a4c5b0002fdaf 186156 doc important info_4.11.dfsg.1-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHOzqD0r9KownFsJQRAm7sAJ41YHgoi4LtHO/5K8X/zy7Zhz0ZMQCdFGnp
io46/hSsAhb8Dgf6Q8zh8mA=
=QCdg
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, Debian TeX maintainers <debian-tex-maint@lists.debian.org>:
Bug#451268; Package texinfo. (full text, mbox, link).


Acknowledgement sent to Luis Rodrigo Gallardo Cruz <rodrigo@nul-unu.com>:
Extra info received and forwarded to list. Copy sent to Debian TeX maintainers <debian-tex-maint@lists.debian.org>. (full text, mbox, link).


Message #26 received at 451268@bugs.debian.org (full text, mbox, reply):

From: Luis Rodrigo Gallardo Cruz <rodrigo@nul-unu.com>
To: debian-devel@lists.debian.org
Cc: 451268@bugs.debian.org, 456791@bugs.debian.org
Subject: Re: Bug in makeinfo or install-info?
Date: Mon, 17 Dec 2007 17:53:09 -0600
[Message part 1 (text/plain, inline)]
reopen 451268
block 456791 451268 
thanks

On Mon, Dec 17, 2007 at 07:01:11PM +0100, Santiago Ruano Rincón wrote:
> ...
> Unpacking replacement bzip2 ...
> Setting up bzip2 (1.0.3-7) ...
> install-info(/usr/share/info/bzip2.info): warning, ignoring confusing INFO-DIR-ENTRY in file.
> 
> No `START-INFO-DIR-ENTRY' and no `This file documents'.
> install-info(/usr/share/info/bzip2.info): unable to determine description for `dir' entry - giving up
> dpkg: error processing bzip2 (--install):
>  subprocess post-installation script returned error exit status 1
> 
> The problem is with bzip2.info, produced by makeinfo during the building
> process.

A very similar bug hit librep-doc about a week ago (#451265) and, just
today, sawfish (#456791) It was cloned as #451268 and supposedly solved on
Nov 14, but it seems to have come back.

-- 
Rodrigo Gallardo
GPG-Fingerprint: 7C81 E60C 442E 8FBC D975  2F49 0199 8318 ADC9 BC28
[signature.asc (application/pgp-signature, inline)]

Bug reopened, originator not changed. Request was from Luis Rodrigo Gallardo Cruz <rodrigo@nul-unu.com> to control@bugs.debian.org. (Mon, 17 Dec 2007 23:54:04 GMT) (full text, mbox, link).


Blocking bugs of 456791 added: 451268 Request was from Luis Rodrigo Gallardo Cruz <rodrigo@debian.org> to control@bugs.debian.org. (Tue, 18 Dec 2007 00:42:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian TeX maintainers <debian-tex-maint@lists.debian.org>:
Bug#451268; Package texinfo. (full text, mbox, link).


Acknowledgement sent to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian TeX maintainers <debian-tex-maint@lists.debian.org>. (full text, mbox, link).


Message #35 received at 451268@bugs.debian.org (full text, mbox, reply):

From: Norbert Preining <preining@logic.at>
To: Karl Berry <karl@freefriends.org>
Cc: 451268@bugs.debian.org, bug-texinfo@gnu.org, debian-tex-maint@lists.debian.org
Subject: wrong direntries from makeinfo 4.11
Date: Wed, 19 Dec 2007 16:30:13 +0100
Hi Karl,

you remember
http://lists.gnu.org/archive/html/bug-texinfo/2007-10/msg00020.html
where the
	This is foobar, produced by ...
ended up in the START-INFO-DIR-ENTRY?

With 4.11 PLUS your patch from the above it is still happening, minimal
not working texi file I could generate:

\input texinfo
@setfilename untitled.info

@direntry
* aaaa: (aaaa).               aaa bbbb.
@end direntry

@bye


generates output:
START-INFO-DIR-ENTRY
This is foo.info, produced by makeinfo version 4.11 from foo.texi.

* aaaa: (aaaa).               aaa bbbb.
END-INFO-DIR-ENTRY


Which is bad. The problem is that your fix is only done in cmds.c, but
not for cm_direntry (in the begin_insertion function) in insertion.c.

Could you comment on the following fix I tried. It does in fact generate
the right dir entry code in the output file, but may have other
consequences I do not forsee. Here is that diff:
--- texinfo-4.11.dfsg.1.orig/makeinfo/insertion.c	2007-12-19 16:19:35.000000000 +0100
+++ texinfo-4.11.dfsg.1/makeinfo/insertion.c	2007-12-19 16:19:41.000000000 +0100
@@ -488,7 +488,7 @@
       close_single_paragraph ();
       filling_enabled = no_indent = 0;
       inhibit_paragraph_indentation = 1;
-      insert_string ("START-INFO-DIR-ENTRY\n");
+      add_word ("START-INFO-DIR-ENTRY\n");
       break;
 
     case documentdescription:

Thanks a lot

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>        Vienna University of Technology
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
LUBCROY (n.)
The telltale little lump in the top of your swimming trunks which
tells you you are going to have to spend half an hour with a safety
pin trying to pull the drawstring out again.
			--- Douglas Adams, The Meaning of Liff




Information forwarded to debian-bugs-dist@lists.debian.org, Debian TeX maintainers <debian-tex-maint@lists.debian.org>:
Bug#451268; Package texinfo. (full text, mbox, link).


Acknowledgement sent to karl@freefriends.org (Karl Berry):
Extra info received and forwarded to list. Copy sent to Debian TeX maintainers <debian-tex-maint@lists.debian.org>. (full text, mbox, link).


Message #40 received at 451268@bugs.debian.org (full text, mbox, reply):

From: karl@freefriends.org (Karl Berry)
To: preining@logic.at
Cc: 451268@bugs.debian.org, bug-texinfo@gnu.org, debian-tex-maint@lists.debian.org
Subject: Re: wrong direntries from makeinfo 4.11
Date: Wed, 19 Dec 2007 17:40:21 -0600
    With 4.11 PLUS your patch from the above it is still happening, 

Ah, the case before had a @dircategory.  I didn't try without.
(I surmise that's the difference, anyway.)

    -      insert_string ("START-INFO-DIR-ENTRY\n");
    +      add_word ("START-INFO-DIR-ENTRY\n");

I installed it.  Thanks very much.

karl




Reply sent to Norbert Preining <preining@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to "Aaron M. Ucko" <ucko@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #45 received at 451268-close@bugs.debian.org (full text, mbox, reply):

From: Norbert Preining <preining@debian.org>
To: 451268-close@bugs.debian.org
Subject: Bug#451268: fixed in texinfo 4.11.dfsg.1-3
Date: Thu, 20 Dec 2007 07:02:03 +0000
Source: texinfo
Source-Version: 4.11.dfsg.1-3

We believe that the bug you reported is fixed in the latest version of
texinfo, which is due to be installed in the Debian FTP archive:

info_4.11.dfsg.1-3_i386.deb
  to pool/main/t/texinfo/info_4.11.dfsg.1-3_i386.deb
texinfo_4.11.dfsg.1-3.diff.gz
  to pool/main/t/texinfo/texinfo_4.11.dfsg.1-3.diff.gz
texinfo_4.11.dfsg.1-3.dsc
  to pool/main/t/texinfo/texinfo_4.11.dfsg.1-3.dsc
texinfo_4.11.dfsg.1-3_i386.deb
  to pool/main/t/texinfo/texinfo_4.11.dfsg.1-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 451268@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated texinfo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 20 Dec 2007 07:42:31 +0100
Source: texinfo
Binary: texinfo info
Architecture: source i386
Version: 4.11.dfsg.1-3
Distribution: unstable
Urgency: low
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description: 
 info       - Standalone GNU Info documentation browser
 texinfo    - Documentation system for on-line information and printed output
Closes: 451268 452582
Changes: 
 texinfo (4.11.dfsg.1-3) unstable; urgency=low
 .
   * do not trigger regeneration of texi2dvi.1 at build time, remove the
     B-D on help2man (Closes: #452582)
   * really fix the erronous direntries (Closes: #451268)
   * bump standards version to 3.7.3, no changes needed
Files: 
 1b524f7a6d44c0e208f05eee0be82b3c 867 doc standard texinfo_4.11.dfsg.1-3.dsc
 b9b9066a212fb65666682b67366cbc14 30350 doc standard texinfo_4.11.dfsg.1-3.diff.gz
 67670b45149d478d4e16f93b4dc928fa 709582 text standard texinfo_4.11.dfsg.1-3_i386.deb
 a5749f35ca9d1147bc0700f892c9e1b9 187056 doc important info_4.11.dfsg.1-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHahA70r9KownFsJQRAlUJAJ9eOJEssn+qDnvwt8PIDM5bfdmTLQCeOxue
XEMCXAtJegR979AR9QpWQ+Y=
=DHxT
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, Debian TeX maintainers <debian-tex-maint@lists.debian.org>:
Bug#451268; Package texinfo. (full text, mbox, link).


Acknowledgement sent to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian TeX maintainers <debian-tex-maint@lists.debian.org>. (full text, mbox, link).


Message #50 received at 451268@bugs.debian.org (full text, mbox, reply):

From: Norbert Preining <preining@logic.at>
To: Karl Berry <karl@freefriends.org>, Sven Joachim <svenjoac@gmx.de>, 457741@bugs.debian.org
Cc: 451268@bugs.debian.org, bug-texinfo@gnu.org, debian-tex-maint@lists.debian.org
Subject: Re: wrong direntries from makeinfo 4.11
Date: Tue, 25 Dec 2007 12:17:48 +0100
reopen 451268
thanks

Hi Karl,

you remember that for sure ...

On Mi, 19 Dez 2007, Norbert Preining wrote:
> you remember
> http://lists.gnu.org/archive/html/bug-texinfo/2007-10/msg00020.html
> where the
> 	This is foobar, produced by ...
> ended up in the START-INFO-DIR-ENTRY?

[...]

I sent a "trial fix" ...

> --- texinfo-4.11.dfsg.1.orig/makeinfo/insertion.c	2007-12-19 16:19:35.000000000 +0100
> +++ texinfo-4.11.dfsg.1/makeinfo/insertion.c	2007-12-19 16:19:41.000000000 +0100
> @@ -488,7 +488,7 @@
>        close_single_paragraph ();
>        filling_enabled = no_indent = 0;
>        inhibit_paragraph_indentation = 1;
> -      insert_string ("START-INFO-DIR-ENTRY\n");
> +      add_word ("START-INFO-DIR-ENTRY\n");
>        break;
>  
>      case documentdescription:

which you installed.

But it seems something else is broken:

On Di, 25 Dez 2007, Sven Joachim wrote:
[ again problems with install-info ]


Not working version, created with makeinfo including the fix from above:

> This is the header of /usr/share/info/zsh.info.gz:
> 
> ,----
> | This is zsh.info, produced by makeinfo version 4.11 from tzsh.texi.
> | 
> | INFO-DIR-SECTION Utilities
> | START-INFO-DIR-ENTRY
> |      * ZSH: (zsh).                     The Z Shell Manual.
> | END-INFO-DIR-ENTRY
> `----

Working entry created with the old version of makeinfo 4.11 without the
fix:
> 
> And here is the header of /usr/share/info/zsh.info.gz in the working
> 4.3.4-dev-6-1 version:
> 
> ,----
> | This is zsh.info, produced by makeinfo version 4.11 from tzsh.texi.
> | 
> | INFO-DIR-SECTION Utilities
> | START-INFO-DIR-ENTRY
> | * ZSH: (zsh).                     The Z Shell Manual.
> | END-INFO-DIR-ENTRY
> `----

I cannot check now for the format of these START-INFO-DIR-ENTRY but
could it be that the additional spaces at the beginning are wrong?

Strange enough I cannot see anything in the above fix which might cause
this problem. Do you have any idea?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>        Vienna University of Technology
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
Ford grabbed him by the lapels of his dressing gown and
spoke to him as slowly and distinctly and patiently as if
he were somebody from a telephone company accounts
department.
                 --- Ford trying to rectify that situation.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy




Bug reopened, originator not changed. Request was from Norbert Preining <preining@logic.at> to control@bugs.debian.org. (Tue, 25 Dec 2007 11:21:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian TeX maintainers <debian-tex-maint@lists.debian.org>:
Bug#451268; Package texinfo. (full text, mbox, link).


Acknowledgement sent to Clint Adams <schizo@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian TeX maintainers <debian-tex-maint@lists.debian.org>. (full text, mbox, link).


Message #57 received at 451268@bugs.debian.org (full text, mbox, reply):

From: Clint Adams <schizo@debian.org>
To: Norbert Preining <preining@logic.at>, 457741@bugs.debian.org
Cc: Karl Berry <karl@freefriends.org>, Sven Joachim <svenjoac@gmx.de>, 451268@bugs.debian.org, bug-texinfo@gnu.org, debian-tex-maint@lists.debian.org, zsh-workers@sunsite.dk
Subject: Re: Bug#457741: wrong direntries from makeinfo 4.11
Date: Tue, 25 Dec 2007 11:30:14 -0500
On Tue, Dec 25, 2007 at 12:17:48PM +0100, Norbert Preining wrote:
> Not working version, created with makeinfo including the fix from above:
> 
> > This is the header of /usr/share/info/zsh.info.gz:
> > 
> > ,----
> > | This is zsh.info, produced by makeinfo version 4.11 from tzsh.texi.
> > | 
> > | INFO-DIR-SECTION Utilities
> > | START-INFO-DIR-ENTRY
> > |      * ZSH: (zsh).                     The Z Shell Manual.
> > | END-INFO-DIR-ENTRY
> > `----
> 
> Working entry created with the old version of makeinfo 4.11 without the
> fix:
> > 
> > And here is the header of /usr/share/info/zsh.info.gz in the working
> > 4.3.4-dev-6-1 version:
> > 
> > ,----
> > | This is zsh.info, produced by makeinfo version 4.11 from tzsh.texi.
> > | 
> > | INFO-DIR-SECTION Utilities
> > | START-INFO-DIR-ENTRY
> > | * ZSH: (zsh).                     The Z Shell Manual.
> > | END-INFO-DIR-ENTRY
> > `----
> 
> I cannot check now for the format of these START-INFO-DIR-ENTRY but
> could it be that the additional spaces at the beginning are wrong?

Can you explain what's incorrect about the leading spaces?

--- orig/Doc/ztexi.yo
+++ mod/Doc/ztexi.yo
@@ -71,7 +71,7 @@
   NOTRANS(@ifinfo)+NL()\
   NOTRANS(@dircategory Utilities)+NL()\
   NOTRANS(@direntry)+NL()\
-  NOTRANS(     * ZSH: (zsh).                     The Z Shell Manual.)+NL()\
+  NOTRANS(* ZSH: (zsh).                     The Z Shell Manual.)+NL()\
   NOTRANS(@end direntry)+NL()\
   NOTRANS(@end ifinfo)+NL()\
 )


> Strange enough I cannot see anything in the above fix which might cause
> this problem. Do you have any idea?




Information forwarded to debian-bugs-dist@lists.debian.org, Debian TeX maintainers <debian-tex-maint@lists.debian.org>:
Bug#451268; Package texinfo. (full text, mbox, link).


Acknowledgement sent to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian TeX maintainers <debian-tex-maint@lists.debian.org>. (full text, mbox, link).


Message #62 received at 451268@bugs.debian.org (full text, mbox, reply):

From: Norbert Preining <preining@logic.at>
To: 457741@bugs.debian.org, Karl Berry <karl@freefriends.org>, Sven Joachim <svenjoac@gmx.de>, 451268@bugs.debian.org, bug-texinfo@gnu.org, debian-tex-maint@lists.debian.org, zsh-workers@sunsite.dk
Subject: Re: Bug#457741: wrong direntries from makeinfo 4.11
Date: Tue, 25 Dec 2007 17:40:09 +0100
reassign 457741 dpkg
title 457741 allow leading white space in DIR-ENTRY
severity 457741 wishlist
thanks

Hi all,

for Karl: forget all what I wrote, please don't bother!

On Di, 25 Dez 2007, Clint Adams wrote:
> Can you explain what's incorrect about the leading spaces?

[...]

> -  NOTRANS(     * ZSH: (zsh).                     The Z Shell Manual.)+NL()\
> +  NOTRANS(* ZSH: (zsh).                     The Z Shell Manual.)+NL()\

Nothing, complain to DEBIAN (!!!!) install-info which did give the error
message. It matches:
        } elsif ($asread =~ m/^\*\s*([^:]+):(\s*\(([^\)]+)\)\.|:)\s*/) {
            $menuentry= $1;
            $description = $';

thus without leading spaces. I reassigned this bug to dpkg.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>        Vienna University of Technology
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
WYOMING (participial vb.)
Moving in hurried desperation from one cubicle to another in a public
lavatory trying to find one which has a lock on the door, a seat on
the bowl and no brown steaks on the seat.
			--- Douglas Adams, The Meaning of Liff




Reply sent to Norbert Preining <preining@logic.at>:
You have taken responsibility. (full text, mbox, link).


Notification sent to "Aaron M. Ucko" <ucko@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #67 received at 451268-done@bugs.debian.org (full text, mbox, reply):

From: Norbert Preining <preining@logic.at>
To: 451268-done@bugs.debian.org
Subject: close
Date: Tue, 25 Dec 2007 18:11:32 +0100
Why did I reopen that one, it is a dpkg problem ...

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>        Vienna University of Technology
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
MAARUIG (n.)
The inexpressible horror experienced on walking up in the morning and
remembering that you are Andy Stewart.
			--- Douglas Adams, The Meaning of Liff




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 23 Jan 2008 07:29:24 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 21:07:51 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.