Bug#1024997: install-info: dir entry for emacs is bolloxed

2023-01-30 Thread Brendan O'Dea
On Mon, Jan 30, 2023 at 10:37:00AM +0100, Hilmar Preuße wrote:
>Am 30.01.2023 um 06:51 teilte Brendan O'Dea mit:
>> This is still present in the unstable version of the package.  You
>> should probably keep this open until 7.0 gets to unstable.
>> 
>IIRC the Debian BTS is based on versions, unless it is an RC bug. So
>I'll probably forget about this bug. Please be so kind to close it, when
>TInfo 7.0.x entered unstable. I'm not sure, if this will happen before
>bookworm.

There is no automatic promotion from experimental.

It is reasonable to mark a bug as fixed/closed on successful upload to
unstable, because over time that fix will make it to testing, stable,
old-stable, etc without further involvement from the maintainer.

You shouldn't mark a bug as fixed however when only the experimental
version works, since making that fix more widely available will take an
additional upload to unstable.  That unstable upload should be the one
which closes the bug.

https://www.debian.org/Bugs/Developer#closing says that problems are
considered fixed when "the bug fix enters the Debian archive".  The
experimental distribution is not "the Debian archive".

>From https://www.debian.org/doc/manuals/debian-faq/ftparchives.en.html#dists:

  "Experimental is used for packages which are still being developed,
   and with a high risk of breaking your system." and "Users shouldn't
   be using packages from there [..]"

--bod



Bug#1024997: install-info: dir entry for emacs is bolloxed

2023-01-30 Thread Hilmar Preuße

Am 30.01.2023 um 06:51 teilte Brendan O'Dea mit:

Hi Brendan,


On Mon, Nov 28, 2022 at 11:46:49PM +0100, Hilmar Preuße wrote:

Version: 7.0-1

Am 28.11.2022 um 23:28 teilte Barak A. Pearlmutter mit:


Yes! That fixes it.


Closing then.


This is still present in the unstable version of the package.  You
should probably keep this open until 7.0 gets to unstable.


IIRC the Debian BTS is based on versions, unless it is an RC bug. So
I'll probably forget about this bug. Please be so kind to close it, when
TInfo 7.0.x entered unstable. I'm not sure, if this will happen before
bookworm.

Hilmar
--
sigfault



Bug#1024997: install-info: dir entry for emacs is bolloxed

2023-01-29 Thread Brendan O'Dea
reopen 1024997 !
thanks

On Mon, Nov 28, 2022 at 11:46:49PM +0100, Hilmar Preuße wrote:
>Version: 7.0-1
>
>Am 28.11.2022 um 23:28 teilte Barak A. Pearlmutter mit:
>
>> Yes! That fixes it.
>> 
>Closing then.

This is still present in the unstable version of the package.  You
should probably keep this open until 7.0 gets to unstable.

This can be reproduced reliably by running:

  rm -f /tmp/dir[12]
  install-info /usr/share/info/muttrc-mode.info.gz /tmp/dir1
  install-info /usr/share/info/mutt-alias.info.gz /tmp/dir2

The contents of both resulting files have garbage in them.  There may be
other info files which have this problem, but those were the two on my
system which were corrupting the directory.

Package versions:

  install-info 6.8-6+b1
  elpa-muttrc-mode 1.2.1-3
  elpa-mutt-alias  1.5-4

--bod



Bug#1024997: install-info: dir entry for emacs is bolloxed

2022-11-28 Thread Barak A. Pearlmutter
Yes! That fixes it.


Bug#1024997: install-info: dir entry for emacs is bolloxed

2022-11-28 Thread Hilmar Preuße

Am 28.11.2022 um 15:41 teilte Barak A. Pearlmutter mit:

Hi Barak,


Note the strange characters here that mess up the entry:

$ cat -v /usr/share/info/dir | egrep -2 '[(]emacs[)]'
* Magit: (magit).   Using Git from Emacs with Magit.
* With-Editor: (with-editor).   Using the Emacsclient as $EDITOR.
^ZM-^L}[^EM-^KM-6M-bd^E* Emacs: (emacs).   The extensible 
self-documenting text editor.
* Emacs FAQ: (efaq).Frequently Asked Questions about Emacs.
* Haskell Mode: (haskell-mode). Haskell Development Environment for Emacs(en)



I've uploaded texinfo 7.0 to experimental. Could you test if that
eventually solves the issue?

Hilmar
--
sigfault



Bug#1024997: install-info: dir entry for emacs is bolloxed

2022-11-28 Thread Barak A. Pearlmutter
Package: install-info
Version: 6.8-6+b1
Severity: normal
X-Debbugs-Cc: none, Barak A. Pearlmutter 
The directory file /usr/share/info/dir entry for emacs itself is messed
up, even after a clean regeneration.

Note the strange characters here that mess up the entry:

$ cat -v /usr/share/info/dir | egrep -2 '[(]emacs[)]'
* Magit: (magit).   Using Git from Emacs with Magit.
* With-Editor: (with-editor).   Using the Emacsclient as $EDITOR.
^ZM-^L}[^EM-^KM-6M-bd^E* Emacs: (emacs).   The extensible 
self-documenting text editor.
* Emacs FAQ: (efaq).Frequently Asked Questions about Emacs.
* Haskell Mode: (haskell-mode). Haskell Development Environment for Emacs(en)

I'd also note that /usr/sbin/update-info-dir does not ignore *~ files,
but it *does* ignore symbolic links.

$ egrep find /usr/sbin/update-info-dir
find "$INFODIR" -type f | while read file ; do

$ ls -l /usr/share/info/emacs.info.gz
lrwxrwxrwx 1 root root 31 Sep 26  2019 /usr/share/info/emacs.info.gz -> 
/etc/alternatives/emacs.info.gz

In fact, one might wonder why the above "find" looks for anything other
than *.info.gz files.  One might also wonder whether install-info.c
needs to be rewritten from scratch in something sane, but I digress.

In any case, tracing through the construction of /usr/share/info/dir by
hot-wiring update-info-dir to pause after each invocation of
install-info, I found that the "bad" material is installed by processing
of /usr/share/info/mutt-alias.info.gz, which is installed because
emacs-goodies-el depends on elpa-mutt-alias, even though I do not have
mutt installed.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'proposed-updates'), (510, 
'stable-updates'), (500, 'stable'), (450, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages install-info depends on:
ii  libc6  2.36-5

install-info recommends no packages.

install-info suggests no packages.

-- no debconf information