Debian Bug report logs - #871225
Man.pm: False point size changes

version graph

Package: src:perl; Maintainer for src:perl is Niko Tyni <ntyni@debian.org>;

Reported by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

Date: Mon, 7 Aug 2017 01:39:02 UTC

Severity: minor

Tags: patch

Found in version perl/5.26.0-5

Fixed in version perl/5.38.0~rc2-1

Done: Niko Tyni <ntyni@debian.org>

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, Niko Tyni <ntyni@debian.org>:
Bug#871225; Package perl-modules-5.26. (Mon, 07 Aug 2017 01:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Bjarni Ingi Gislason <bjarniig@rhi.hi.is>:
New Bug report received and forwarded. Copy sent to Niko Tyni <ntyni@debian.org>. (Mon, 07 Aug 2017 01:39:04 GMT) (full text, mbox, link).


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

From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Man.pm: False point size changes
Date: Mon, 7 Aug 2017 01:37:15 +0000
Package: perl-modules-5.26
Version: 5.26.0-5
Severity: minor
Tags: patch

Dear Maintainer,

   * What led up to the situation?

"man gcc" with

MAN_KEEP_STDERR=yes
MANOPT=--encoding=latin1 --no-hyphenation --warnings=w --no-justification
MANWIDTH=80

   * What was the outcome of this action?

<standard input>:3310: warning: \s escape results in non-positive point size; set to 1
<standard input>:3311: warning: \s escape results in non-positive point size; set to 1
<standard input>:25: backtrace: string `C+'
<standard input>:3311: warning: \s escape results in non-positive point size; set to 1
<standard input>:3320: warning: \s escape results in non-positive point size; set to 1
<standard input>:3323: warning: \s escape results in non-positive point size; set to 1
<standard input>:3326: warning: \s escape results in non-positive point size; set to 1
<standard input>:3331: warning: \s escape results in non-positive point size; set to 1
<standard input>:3333: warning: \s escape results in non-positive point size; set to 1
<standard input>:3333: warning: \s escape results in non-positive point size; set to 1
<standard input>:3336: warning: \s escape results in non-positive point size; set to 1
<standard input>:3337: warning: \s escape results in non-positive point size; set to 1
<standard input>:4668: warning: \s escape results in non-positive point size; set to 1
<standard input>:25: backtrace: string `C+'
<standard input>:4668: warning: \s escape results in non-positive point size; set to 1
<standard input>:4670: backtrace
/home/bg/git/groff/tmac/an-old.tmac:493: backtrace: macro `IP'
<standard input>:4670: warning: \s escape results in non-positive point size; set to 1
<standard input>:4670: backtrace
/home/bg/git/groff/tmac/an-old.tmac:493: backtrace: macro `IP'
<standard input>:4670: warning: \s escape results in non-positive point size; set to 1
<standard input>:9001: warning [p 93, 4.5i]: can't break line
<standard input>:9023: warning [p 93, 8.2i]: can't break line
<standard input>:9234: warning [p 95, 7.3i]: can't break line

   * What outcome did you expect instead?

  No warnings

  The escape '\s0' does not get the right former size if another '\s0' comes
after it (like '\s-1...\s-2...\s0...\s0').

  The string '\*(C+' gets resized in the manual for "gcc" in some lines.
  Each use of this string gets the previous size smaller, the warning is not
issued until the size is down to less than 1 point.

Patch:

--- Man.pm	2017-07-30 16:15:47.000000000 +0000
+++ Man.pm.new	2017-08-07 00:03:59.000000000 +0000
@@ -527,7 +527,7 @@ sub guesswork {
             ( [A-Z] [A-Z] (?: \s? [/A-Z+:\d_\$&] | \\- | \s? [.,\"] )* )  # (2)
             (?= [\s>\}\]\(\)\'\".?!,;] | \\*\(-- | \\[ ] | $ )            # (3)
         } {
-            $1 . '\s-1' . $2 . '\s0'
+            $1 . '\s-1' . $2 . '\s+1'
         }egx;
     }
 
@@ -1521,7 +1521,7 @@ sub preamble_template {
 .\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
 .\" nothing in troff, for use with C<>.
 .tr \(*W-
-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s+2\v'.1v'\h'-1p'
 .ie n \{\
 .    ds -- \(*W-
 .    ds PI pi

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

Kernel: Linux 4.9.30-2u2 (SMP w/2 CPU cores)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE=is_IS.iso88591 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages perl-modules-5.26 depends on:
ii  dpkg       1.18.24
ii  perl-base  5.26.0-5

Versions of packages perl-modules-5.26 recommends:
ii  perl  5.26.0-5

perl-modules-5.26 suggests no packages.

-- no debconf information

-- 
Bjarni I. Gislason



Bug reassigned from package 'perl-modules-5.26' to 'src:perl'. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 24 Aug 2019 11:27:10 GMT) (full text, mbox, link).


No longer marked as found in versions perl/5.26.0-5. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 24 Aug 2019 11:27:11 GMT) (full text, mbox, link).


Marked as found in versions perl/5.26.0-5. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 24 Aug 2019 11:27:12 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Niko Tyni <ntyni@debian.org>:
Bug#871225; Package src:perl. (Sat, 26 Nov 2022 17:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Russ Allbery <rra@debian.org>:
Extra info received and forwarded to list. Copy sent to Niko Tyni <ntyni@debian.org>. (Sat, 26 Nov 2022 17:39:04 GMT) (full text, mbox, link).


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

From: Russ Allbery <rra@debian.org>
To: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Cc: 871225@bugs.debian.org
Subject: Re: Bug#871225: Man.pm: False point size changes
Date: Sat, 26 Nov 2022 09:34:15 -0800
Bjarni Ingi Gislason <bjarniig@rhi.hi.is> writes:

> "man gcc" with

> MAN_KEEP_STDERR=yes
> MANOPT=--encoding=latin1 --no-hyphenation --warnings=w --no-justification
> MANWIDTH=80

>    * What was the outcome of this action?

> <standard input>:3310: warning: \s escape results in non-positive point size; set to 1
> <standard input>:3311: warning: \s escape results in non-positive point size; set to 1
> <standard input>:25: backtrace: string `C+'
[...]

The code that caused these bugs was from minor formatting adjustments
visible only in troff output (and, at least in my opinion, somewhat
dubious).  That code has also been a constant source of bugs and weird
issues for years.

In podlators 5.00, released yesterday, I dropped nearly all of the
troff-only guesswork on the grounds that the minor improvements in
formatting for an output format almost no one uses weren't worth the
maintenance burden.  (I suspect that anyone who wants to print Perl
documentation these days would be better-served by using the rendered
output of one of the excellent POD to HTML converters.)

This bug can therefore be closed once podlators 5.00 is incorporated into
the Perl packages in Debian.  That may still be a bit, since I'm not sure
if it will be pulled into a point release or only the next major release
of Perl.

-- 
Russ Allbery (rra@debian.org)              <https://www.eyrie.org/~eagle/>



Reply sent to Niko Tyni <ntyni@debian.org>:
You have taken responsibility. (Tue, 04 Jul 2023 18:03:41 GMT) (full text, mbox, link).


Notification sent to Bjarni Ingi Gislason <bjarniig@rhi.hi.is>:
Bug acknowledged by developer. (Tue, 04 Jul 2023 18:03:41 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 871225-close@bugs.debian.org
Subject: Bug#871225: fixed in perl 5.38.0~rc2-1
Date: Tue, 04 Jul 2023 18:00:25 +0000
Source: perl
Source-Version: 5.38.0~rc2-1
Done: Niko Tyni <ntyni@debian.org>

We believe that the bug you reported is fixed in the latest version of
perl, 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 871225@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niko Tyni <ntyni@debian.org> (supplier of updated perl 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@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 02 Jul 2023 13:12:07 +0300
Binary: libperl5.38 libperl-dev perl perl-base perl-debug perl-doc perl-modules-5.38
Source: perl
Architecture: all amd64 source
Version: 5.38.0~rc2-1
Distribution: experimental
Urgency: medium
Maintainer: Niko Tyni <ntyni@debian.org>
Changed-By: Niko Tyni <ntyni@debian.org>
Closes: 871225 941980 944883 954089 1006280 1020574 1021955 1029753 1033649 1035109
Description: 
 libperl5.38 - shared Perl library
 libperl-dev - Perl library: development files
 perl-base  - minimal Perl system
 perl-debug - debug-enabled Perl interpreter
 perl-doc   - Perl documentation
 perl       - Larry Wall's Practical Extraction and Report Language
 perl-modules-5.38 - Core Perl modules
Changes:
 perl (5.38.0~rc2-1) experimental; urgency=medium
 .
   * Update to new upstream release candidate 5.38.0-RC2.
     + [SECURITY] CVE-2023-31484: CPAN.pm now verifies TLS certificates.
                                  (Closes: #1035109)
     + [SECURITY] CVE-2023-31486: HTTP-Tiny now verifies TLS certificates
                                  by default.  (Closes: #954089)
     + no longer panics on s///gre with tainted utf8 strings.
       (Closes: #1006280)
     + fixes a syntax error in Math::Complex documentation.
       (Closes: #944883)
     + improves perlretut formatting.(Closes: #1033649)
     + POD with italics inside C<> now gets correctly formatted.
       (Closes: #1021955)
     + zero-width space in POD is now converted correctly.
       (Closes: #941980)
     + converted POD no longer causes point size warnings from troff
       specific heuristics. (Closes: #871225)
     + Pod::Text now does output encoding correctly. (Closes: #1020574)
   * Add build dependency on libcrypt-dev. (Closes: #1029753)
Checksums-Sha1: 
 7bb328d72a9a9fffe92f5eef3a198b46ce89000f 1085840 libperl-dev_5.38.0~rc2-1_amd64.deb
 79bb04faa2499d459708a3c3002678bc13f055e1 4301708 libperl5.38_5.38.0~rc2-1_amd64.deb
 b23a87d490bea5543af3db46a6f779c6b664a369 1650024 perl-base_5.38.0~rc2-1_amd64.deb
 0f297e8cd03ff3fce279d5c3a9e593ae540a1edc 12969604 perl-debug_5.38.0~rc2-1_amd64.deb
 0d096122a2212107264cd7a15fbf77ea931aef40 7838532 perl-doc_5.38.0~rc2-1_all.deb
 03b1a1ff2baece43c2c630e2de087e3cd8748f23 2900592 perl-modules-5.38_5.38.0~rc2-1_all.deb
 eca435db84119568ac264789c56eb83d0cae0a92 7852 perl_5.38.0~rc2-1_amd64.buildinfo
 c8c9f0a50b3e6760f66bcc49094591420aeb160a 235268 perl_5.38.0~rc2-1_amd64.deb
 7e00f701b90bb031f18d302f8771aece4fb1544e 2940 perl_5.38.0~rc2-1.dsc
 64a5804418a34ad0ccbf82b5ee13e82e72458d74 418376 perl_5.38.0~rc2.orig-regen-configure.tar.xz
 70ad9c27a7173d764d8cb4dafa41ef2b92f7908f 13557644 perl_5.38.0~rc2.orig.tar.xz
 ac618a34dbe9280222a9b7c063bcf0d87c94cccd 164056 perl_5.38.0~rc2-1.debian.tar.xz
 1a0b9a66e9ac0e9a82c16b28af70506d7c008d63 6089 perl_5.38.0~rc2-1_source.buildinfo
Checksums-Sha256: 
 f880f204d2ad2b1df9e8204fc0a6ac2cb3535e1660e88fbda33e5d69961c9927 1085840 libperl-dev_5.38.0~rc2-1_amd64.deb
 0136e3edfe171ebd70c9bf4fcde38001790961342da0211b6b33c776d5018f46 4301708 libperl5.38_5.38.0~rc2-1_amd64.deb
 10ad10699d7f84421b40f3dcdd2ec27c52a746ff9fbb4cb66241bfcaf5335deb 1650024 perl-base_5.38.0~rc2-1_amd64.deb
 dd1fff8068f9df5ec3f17aa509896ecbad3ba3009be354cd8e7085c1267171c1 12969604 perl-debug_5.38.0~rc2-1_amd64.deb
 acc7ba2201db405cfa8d55ee8e4231031c0cdf98cdf5ec22e97c50aa81dcca9e 7838532 perl-doc_5.38.0~rc2-1_all.deb
 5b884d6a9a1e7cb0bf7b0e7810115de341caa6a431d0110305eccd6c8b596f07 2900592 perl-modules-5.38_5.38.0~rc2-1_all.deb
 5f9b97a5a99c15228ef36fe402cd71e6ef134b4f03f9169fbe1af09a6dbea8ca 7852 perl_5.38.0~rc2-1_amd64.buildinfo
 327a112ef0a0097855e6c4e7200a5668e29dea65ee34dd37bbe26e0d410f5a56 235268 perl_5.38.0~rc2-1_amd64.deb
 931c774e337fda73929b9015a7c0b9d0f21260ab06b9e368581bb388a9ced4fa 2940 perl_5.38.0~rc2-1.dsc
 a116165f3412e4fa69b4ee5113c140fc0f4651bdab01c3b7b683a7772608d8d2 418376 perl_5.38.0~rc2.orig-regen-configure.tar.xz
 1bb4b25a99378eea914263d6078390e90413b72711d7b9a9ccfe0c0d65559509 13557644 perl_5.38.0~rc2.orig.tar.xz
 beddb1c4182f42a841fe74c7c5ee31a2f1144646f249138a047b8c7ffce7cd00 164056 perl_5.38.0~rc2-1.debian.tar.xz
 5b5bd8b103cb822d45244d3afa76db619b42cb4b090d6954bc628b27a66bb569 6089 perl_5.38.0~rc2-1_source.buildinfo
Files: 
 fcfed2dad8b980aa0ba202d91099d018 1085840 libdevel optional libperl-dev_5.38.0~rc2-1_amd64.deb
 ca38a50c69096f1fdce6b2fea6dd2cab 4301708 libs optional libperl5.38_5.38.0~rc2-1_amd64.deb
 69d128dd635980314047c28c51cd75e3 1650024 perl required perl-base_5.38.0~rc2-1_amd64.deb
 adc7f6062be324695819361a6cb4cb3d 12969604 devel optional perl-debug_5.38.0~rc2-1_amd64.deb
 812bdc7966b47fc33f043984e2c0d188 7838532 doc optional perl-doc_5.38.0~rc2-1_all.deb
 f5153bc3f475e54e317b25e92166fc16 2900592 libs optional perl-modules-5.38_5.38.0~rc2-1_all.deb
 16ae19d6ec231eaf760c8ce91c8c613f 7852 perl standard perl_5.38.0~rc2-1_amd64.buildinfo
 1f7e246ccc84a1162369037bec4525f4 235268 perl standard perl_5.38.0~rc2-1_amd64.deb
 4afcb1b13932fbf40920b9f94665e8e5 2940 perl standard perl_5.38.0~rc2-1.dsc
 58d62bcf23f0e3693ed4dac282ec230f 418376 perl standard perl_5.38.0~rc2.orig-regen-configure.tar.xz
 aec4ce786de3bd68506dff8ad9e0548c 13557644 perl standard perl_5.38.0~rc2.orig.tar.xz
 f8a7057d7381c503eb45c84ee5cafd00 164056 perl standard perl_5.38.0~rc2-1.debian.tar.xz
 f6c1b3269b968f8978ba6ae3232a0abf 6089 perl standard perl_5.38.0~rc2-1_source.buildinfo

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

iQIzBAEBCAAdFiEEdqKOQsmBHZHoj7peLsD/s7cwGx8FAmShqTIACgkQLsD/s7cw
Gx+xjxAAhR6TjzZDDfajtB7GTJtUdDCexFIQNfj7ur7omdZZFm9pqtUdnxZT4TZM
uvOtKdKn2ruaZnbbERc0OoVUxRJGk2u3PXOTHVzA9oIFXCz5TByYcqJhXFIsIciP
BcPpi3QpzQZr9vqLkOfMzhCerDzO5pNq7OcFZcneAaQM/so5asL+DEtfj3bRBwPR
JOF9spCfKOaxUDkEzjETO+URqNrJON7qigOIXvN3x7oO6X0VhM35+bsaMQ2q7pvc
O9H36OYONdWmoc00PhOYMsLQyalDKUBMUv94TAJer60Ixt3vlMjIPkHksz0/zAhq
2v0YEkOv5MBvedDMfSYwGc4HZbSZxHK4oATR3PYMHiY5eaKiqRwPJ4PbpDeJ3AC/
3WbuExag2eOltwracOaUrtVBfD5j/qIvLRIpvMJazPN2L14q1QyxsvNKxMPSDlgF
PckLuQxMxKjkJzL3HF/uWnzCXOFoGave9qixtShHQqMoMtFq/SeMlghHqGlZqe4S
bhIY8qsN0Bc5orZCUSuKwxyAJ0crxTcQogpgWgBjYU+du0lCdJsb616M1d69xs4n
V/7fEnNUtVQ2G58uJMf8air4ocku+/IqyDmz+WN7xK19eMFr+QPq0iI9Hq4hOcnU
+CBuhKg0b4AIg4OB5j2BUG27LshFvELCcj4W70IoKlyXVZA2IRg=
=nj6i
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 20 Jan 2024 07:25:52 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: Fri Apr 26 04:04:59 2024; 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.