Bug#856532: Error: Can't locate object method "get_user"

David Nebauer davidnebauer at hotkey.net.au
Thu Mar 2 04:40:19 UTC 2017


Package: dh-make-perl
Version: 0.93
Severity: important
Tags: upstream

When trying to build Dn::Role using dh-make-perl with the following
command:

    dh-make-perl Dn-Role-v0.1

the following error occurred:

-------------------------------------

== dh-make-perl 0.93 ==
Trying /PATH/TO/MODULE/DISTRIBUTION/Dn-Role-v0.1/../Dn-Role-v0.1.tar .gz... found!
Using META.json
Found: Dn-Role 0.1 (libdn-role-perl arch=all)
Can't locate object method "get_user" via package "DhMakePerl::Command::make" at /usr/share/perl5/DhMakePerl/Command/Packaging.pm line 130.

-------------------------------------

Line 130 from Packaging.pm is:

    $email = $self->get_user . '@' . $mailh;

I looked for method 'get_user' in the DhMakePerl package using:

    grep -R get_user /usr/share/perl5/DhMakePerl/*

and

    grep -R get_user /usr/share/perl5/DhMakePerl.pm

but the only match was line 130 of Packaging.pm where the method is
called.


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (995, 'testing'), (750, 'stable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages dh-make-perl depends on:
ii  debhelper                              10.2.5
ii  dpkg-dev                               1.18.22
ii  fakeroot                               1.21-3.1
ii  libapt-pkg-perl                        0.1.30
ii  libarray-unique-perl                   0.08-2
ii  libclass-accessor-perl                 0.34-1
ii  libconfig-ini-perl                     1:0.025-1
ii  libcpan-meta-perl                      2.150010-1
ii  libdebian-source-perl                  0.93
ii  libdpkg-perl                           1.18.22
ii  libemail-address-perl                  1.908-1
ii  libemail-date-format-perl              1.005-1
ii  libfile-which-perl                     1.21-1
ii  liblist-moreutils-perl                 0.416-1+b1
ii  libmodule-depends-perl                 0.16-3
ii  libparse-debianchangelog-perl          1.2.0-12
ii  libsoftware-license-perl               0.103012-1
ii  libtie-ixhash-perl                     1.23-2
ii  libwww-mechanize-perl                  1.83-1
ii  libwww-perl                            6.15-1
ii  libyaml-libyaml-perl                   0.63-2
ii  libyaml-perl                           1.21-1
ii  make                                   4.1-9.1
ii  perl                                   5.24.1-1
ii  perl-modules-5.22 [libcpan-meta-perl]  5.22.2-5
ii  perl-modules-5.24 [libcpan-meta-perl]  5.24.1-1

Versions of packages dh-make-perl recommends:
ii  apt                   1.4~rc2
ii  apt-file              3.1.4
ii  git                   1:2.11.0-2
ii  libdpkg-parse-perl    0.03-1
ii  libmodule-build-perl  0.422000-1
ii  pristine-tar          1.38

dh-make-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list