Bug#862739: devscripts: Undefined subroutine in debchange

ZOVITS Adam Adam.ZOVITS at thalesgroup.com
Wed May 17 11:23:24 UTC 2017


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" <adam at adam-barratt.org.uk> wrote: 
> Control: tags -1 + moreinfo unreproducible 
> 
> On Tue, 2017-05-16 at 12:21 +0000, 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 &main::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 
> 
> 
> 



More information about the devscripts-devel mailing list