[Reproducible-builds] Bug#777405: perl: pod2man puts object references into man page headers when used inside a pipe

Axel Beckert abe at debian.org
Sat Feb 7 23:49:15 UTC 2015


Package: perl
Version: 5.20.1-5
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain, randomness
Affects: wml

Dear Perl Package Maintainers,
Dear Russ,

> What led up to the situation?

Trying to make my package "wml" building reproducibly:
https://reproducible.debian.net/rb-pkg/wml.html

> What exactly did you do (or not do) that was effective (or
> ineffective)?

wml uses pod2man to generate its man pages.

> What was the outcome of this action?

Calling "man wml" on Jessie or Sid shows the following line as first
line of the man page:

| IO::FILE=IO(0XE7C2F0)(1)           EN Tools           IO::FILE=IO(0XE7C2F0)(1)

The source code of the man page shows:

|    135 .IX Title "IO::FILE=IO(0XE7C2F0) 1"
|    136 .TH IO::FILE=IO(0XE7C2F0) 1 "2014-10-12" "EN Tools" "EN Tools"

> What outcome did you expect instead?

Not having stringified object references in the man page's title.

Some context information: The man pages are build by using pod2man
inside a pipe. From wml_frontend/Makefile.in:

|     69 .src.1:
|     70         cp $< $*.pod
|     71         cat $*.pod | sed -e 's|\@WML_VERSION\@|$(WML_VERSION)|g' | \
|     72                 pod2man --section=1 --center="EN Tools" --release="EN Tools" > $@
|     73         rm -f $*.pod

Minimal example to reproduce:

| $ echo '=pod' | pod2man | fgrep IO::FILE
| .IX Title "IO::FILE=IO(0X23BF810) 1"
| .TH IO::FILE=IO(0X23BF810) 1 "2015-02-08" "perl v5.20.1" "User Contributed Perl Documentation"

According to pod2man(1) this kind of usage is supported.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (909, 'testing'), (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 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: sysvinit (via /sbin/init)

Versions of packages perl depends on:
ii  dpkg          1.17.23
ii  libbz2-1.0    1.0.6-7+b2
ii  libc6         2.19-13
ii  libdb5.3      5.3.28-7~deb8u2
ii  libgdbm3      1.8.3-13.1
ii  perl-base     5.20.1-5
ii  perl-modules  5.20.1-5
ii  zlib1g        1:1.2.8.dfsg-2+b1

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

Versions of packages perl suggests:
ii  libterm-readline-gnu-perl   1.24-2+b1
ii  libterm-readline-perl-perl  1.0303-1
ii  make                        4.0-8.1
ii  perl-doc                    5.20.1-5

-- no debconf information



More information about the Reproducible-builds mailing list