Your message dated Mon, 23 Dec 2019 23:04:57 +0000
with message-id <[email protected]>
and subject line Bug#946868: fixed in groff 1.22.4-4
has caused the Debian Bug report #946868,
regarding groff-base: error when mdoc .Lk argument starts with a dot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
946868: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946868
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: groff-base
Version: 1.22.4-3
Severity: normal
Tags: patch

Dear Maintainer,

There is a bug in groff 1.22.4 that causes groff to print a diagnostic
to stderr when an argument to .Lk starts with a dot:

troff: man/SSL_CTX_set_max_cert_list.3:126: name expected (got '\c'):
treated as missing

This issue is reproducible by rendering man/SSL_CTX_set_max_cert_list.3
in LibreSSL-portable with groff -mdoc;
you may have to pipe to something other than less(1) to see the
diagnostic.

This has been fixed in upstream groff 1.22.4 (but reportbug(1) wouldn't
let me tag this fixed-upstream for some reason) in git commit
76e4db6e839904d2e2a28b29b483678214598f3b on 2019-01-12.

I've tested the attached patch and it seemed to resolve the issue for
me.

Thank you for your time.

-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages groff-base depends on:
ii  libc6         2.28-10
ii  libgcc1       1:8.3.0-6
ii  libstdc++6    8.3.0-6
ii  libuchardet0  0.0.6-3

groff-base recommends no packages.

Versions of packages groff-base suggests:
ii  groff  1.22.4-3

-- no debconf information
diff --git a/tmac/doc.tmac-u b/tmac/doc.tmac-u
index f172fd89..70236c04 100644
--- a/tmac/doc.tmac-u
+++ b/tmac/doc.tmac-u
@@ -6485,10 +6485,11 @@
 .  if (\n[doc-arg-ptr] <= \n[doc-lasttext-Lk]) \{\
 .    nop \*[doc-Em-font]\c
 .    while (\n[doc-arg-ptr] < \n[doc-lasttext-Lk]) \{\
-.      nop \*[doc-arg\n[doc-arg-ptr]]
+.      nop \&\*[doc-arg\n[doc-arg-ptr]]
 .      nr doc-arg-ptr +1
 .    \}
-.    nop \*[doc-arg\n[doc-arg-ptr]]\f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]:
+.    nop \&\*[doc-arg\n[doc-arg-ptr]]\c
+.    nop \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]:
 .    nr doc-arg-ptr +1
 .  \}
 .
@@ -6498,7 +6499,7 @@
 .
 .  \" Print the delimiters, if any.
 .  while (\n[doc-arg-ptr] <= \n[doc-arg-limit]) \{\
-.    nop \*[doc-arg\n[doc-arg-ptr]]\c
+.    nop \&\*[doc-arg\n[doc-arg-ptr]]\c
 .    nr doc-arg-ptr +1
 .  \}
 .  nop \&

--- End Message ---
--- Begin Message ---
Source: groff
Source-Version: 1.22.4-4

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

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated groff 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 23 Dec 2019 22:38:19 +0000
Source: groff
Architecture: source
Version: 1.22.4-4
Distribution: unstable
Urgency: medium
Maintainer: Colin Watson <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 867123 946868
Changes:
 groff (1.22.4-4) unstable; urgency=medium
 .
   [ Colin Watson ]
   * Use debhelper-compat instead of debian/compat.
   * Cherry-pick from upstream:
     - Correctly handle groff_mdoc(7) .Lk arguments starting with a dot
       (closes: #946868).
     - Update NetBSD, OpenBSD, FreeBSD, Darwin, and DragonFly version strings
       (closes: #867123).
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Bump debhelper from old 9 to 12.
   * Set upstream metadata fields: Bug-Submit (from ./configure), Name
     (from ./configure), Repository.
   * Drop unnecessary dependency on dh-autoreconf.
   * Drop unnecessary dh arguments: --parallel
   * Rely on pre-initialized dpkg-architecture variables.
Checksums-Sha1:
 1e667872c565f9b44fc1eec9aca739e7e025d67c 2432 groff_1.22.4-4.dsc
 3478a2aac763c355dd09c6bd1497977282223c8a 49872 groff_1.22.4-4.debian.tar.xz
Checksums-Sha256:
 eb05cafe35e3e3cef8cb2af4e488d7d1d6b1876a63dd405635c3f7fa4546b825 2432 
groff_1.22.4-4.dsc
 69332e36cf90946036cf813f479a734dd1c4bd9692d380fc0b837874db2d63a3 49872 
groff_1.22.4-4.debian.tar.xz
Files:
 629489dccc3007fe66ceaba7e9a03c48 2432 text important groff_1.22.4-4.dsc
 137310cbaf936714928fed228ded91b7 49872 text important 
groff_1.22.4-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAl4BRIUACgkQOTWH2X2G
UAt8GA/+KWgX0OitvRZdboZzSFFHBiUvNFgoHKwy79o2OKdMz0CrIMbs4GNyFMaw
Lc1OqCPpJhNr9r0oVkBFtErqkh/LGDr84hTsLJFuTXWrRTU0w1q8vrr8HvsmvEi7
MhyBumHmHBr2eryPdJ2AfCHYVs2UTryrO5GDjkP5A7P4v7WEQDBmMJQVIy0rB0DZ
7+CD6k9X+2c5Ysb4lJM0/qlpYHxwAq6DaF76uZOIaDr7SIo2So0+RB62RrI2QFE/
gx7rq5Di87YvOv+WUf2UCMxdXAOKJHE7ERLWgDW6dnkyAV+iw3fTI3Rta4bj4FHd
MncRLUGsFWpb8vs+PijTaxPoyZCsSkxQy7N3+UPcSBgXpWBDkaNf4ZI2j6QI0aH0
hKpwVO8bqCE0CTYxysMBvozRsKkh27yY9TxUaA/KReXrE3IistpzmkiydvreYP87
lvmWKohR/XNicgz2ptrr7ceeCqhdQD59F71TsonO2xtDCRhHKUv/KxQTPbGWQjs7
h1GYK7FY0DwFQeyfnesSoFOHa1nvM9RqT2f0KPkd/fiLY7ClOYGvKDt5oFnCqht4
+C2KQmdNW39OelMz8WdCLtYbaiCKn7jigpYE83WBh/rJwn+tDjoiqyPRkCJV2N5E
Vb+s2gioiIn8WDJkD0CU6tSswKHht9NTIHCvOmjXgwSrm3vVKd0=
=olTK
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to