Bug#862739: devscripts: Undefined subroutine in debchange
Hi Adam! /usr/share/perl/5.20.2/File$ ls -al | grep Copy -rw-r--r-- 1 root root 950 May 5 10:53 Copy.pm Looks like the execute permission is missing. After chmod +x Copy.pm it works, but looks like the default state doesn't have this permission, since a reinstall using apt-get install --reinstall perl-modules removes the executable permission. Should it be then a bug for perl-modules? Regards, Adam On Tue, 16 May 2017 20:07:51 +0100 "Adam D. Barratt"wrote: > Control: tags -1 + moreinfo unreproducible > > On Tue, 2017-05-16 at 12:21 +, ZOVITS Adam wrote: > > * Reproduction: > > The problem can be reproduced by running debchange without any parameters > > and saving the generated changelog (even without any changes). > > > > * The complete error message: > > Undefined subroutine ::copy called at /usr/bin/debchange line 1575. > > copy() there comes from File::Copy. At the top of the script (line 39, > specifically) you should have: > > use File::Copy; > > which is provided by: > > perl-modules: /usr/share/perl/5.20.2/File/Copy.pm > > The "perl" package (which you appear to have installed) depends on the > "perl-modules" package. > > Can you check that you have the above file, and what it's size and > permissions are? > > Regards, > > Adam > > >
Bug#862739: devscripts: Undefined subroutine in debchange
Control: tags -1 + moreinfo unreproducible On Tue, 2017-05-16 at 12:21 +, ZOVITS Adam wrote: > * Reproduction: > The problem can be reproduced by running debchange without any parameters and > saving the generated changelog (even without any changes). > > * The complete error message: > Undefined subroutine ::copy called at /usr/bin/debchange line 1575. copy() there comes from File::Copy. At the top of the script (line 39, specifically) you should have: use File::Copy; which is provided by: perl-modules: /usr/share/perl/5.20.2/File/Copy.pm The "perl" package (which you appear to have installed) depends on the "perl-modules" package. Can you check that you have the above file, and what it's size and permissions are? Regards, Adam
Bug#862739: devscripts: Undefined subroutine in debchange
Package: devscripts Version: 2.15.3+deb8u1 Severity: important Dear Maintainer, I apologize in advance for any mistakes I might have made during the reporting of this bug. The following is the output generated by the reportbug command, but the system where the bug was observed has no internet connection so I'm sending the results from my work PC. Hope I haven't forgotten anything important, in any case, I'm happy to assist in debugging. Thank you all for your hard work! * Reproduction: The problem can be reproduced by running debchange without any parameters and saving the generated changelog (even without any changes). * The complete error message: Undefined subroutine ::copy called at /usr/bin/debchange line 1575. * Tried solution: Using different arguments did not help (resulted in the exact same error message). Removing and reinstalling devscripts and perl resulted in no change. * Expected outcome: debchange functions correctly without failure messages. -- Package-specific info: --- /etc/devscripts.conf --- --- ~/.devscripts --- Not present -- System Information: Debian Release: 8.8 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages devscripts depends on: ii dpkg-dev 1.17.27 ii libc62.19-18+deb8u9 ii perl 5.20.2-3+deb8u6 ii python3 3.4.2-2 pn python3:any Versions of packages devscripts recommends: pn at pn dctrl-tools pn debian-keyring pn dput | dupload pn equivs ii fakeroot1.20.2-1 ii file1:5.22+15-2+deb8u3 ii gnupg 1.4.18-7+deb8u3 pn libdistro-info-perl pn libencode-locale-perl pn libjson-perl pn liblwp-protocol-https-perl pn libparse-debcontrol-perl pn libsoap-lite-perl pn liburi-perl pn libwww-perl pn lintian ii man-db 2.7.0.2-5 ii patch 2.7.5-1 pn patchutils pn python3-debian pn python3-magic ii sensible-utils 0.0.9 pn strace pn unzip pn wdiff ii wget1.16-1+deb8u2 ii xz-utils5.1.1alpha+20120614-2+b3 Versions of packages devscripts suggests: pn bsd-mailx | mailx pn build-essential pn cvs-buildpackage pn debbindiff pn devscripts-el pn gnuplot ii gpgv 1.4.18-7+deb8u3 pn libauthen-sasl-perl pn libfile-desktopentry-perl pn libnet-smtp-ssl-perl pn libterm-size-perl ii libtimedate-perl 2.3000-2 pn libyaml-syck-perl pn mutt ii openssh-client [ssh-client] 1:6.7p1-5+deb8u3 pn svn-buildpackage pn w3m -- no debconf information