Bug#862739: devscripts: Undefined subroutine in debchange

Adam D. Barratt adam at adam-barratt.org.uk
Tue May 16 19:07:51 UTC 2017


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