Bug#839167: perl: pod2man generates empty man page when pod file begins with =begin pod

Dominique Dumont dod at debian.org
Thu Sep 29 17:39:43 UTC 2016


Package: perl
Version: 5.24.1~rc3-3
Severity: normal
Tags: upstream

Dear Maintainer,

Unfortunately, pod2man from perl 5.24 generates empty man page when pod file begins with =begin pod.
This worked fine with perl 5.22

To reproduce:

$ wget https://anonscm.debian.org/cgit/pkg-rakudo/pkg-rakudo.git/plain/docs/running.pod
$ pod2man running.pod | nroff -man

Only the header and footer are shown

Workaround:
$ perl -n -i -e 'print unless /=begin pod/' running.pod

Then pod2man shows normal output.

This behavior causes #839059 (empty man pages delivered by rakudo).
Other packages may be affected.

In the meantime I'll patch rakudo source to workaround this problem.

All the best

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages perl depends on:
ii  dpkg               1.18.10
ii  libperl5.24        5.24.1~rc3-3
ii  perl-base          5.24.1~rc3-3
ii  perl-modules-5.24  5.24.1~rc3-3

Versions of packages perl recommends:
ii  netbase  5.3
ii  rename   0.20-4

Versions of packages perl suggests:
ii  libterm-readline-gnu-perl   1.34-1+b1
ii  libterm-readline-perl-perl  1.0303-1
ii  make                        4.1-9
ii  perl-doc                    5.24.1~rc3-3

-- no debconf information




More information about the Perl-maintainers mailing list