[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#879526: dgit broken by recent dpkg (Can't locate object method "new" via package "Dpkg::Compression::Process" …)



Ian Jackson <ijackson@chiark.greenend.org.uk> (2017-10-22):
> On stretch:
>   perl -we 'use Dpkg::Source::Package; my $x = new Dpkg::Compression::Process'
> 
> On sid (libdpkg-perl 1.19.0.3):
>   (build)ian@zealot:~$ perl -we 'use Dpkg::Source::Package; my $x = new Dpkg::Compression::Process'
>   Can't locate object method "new" via package "Dpkg::Compression::Process" (perhaps you forgot to load "Dpkg::Compression::Process"?) at -e line 1.
> 
> Sadly I am not aware of a good way of detecting missing `use'
> direcctives other than waiting for things to break when an implicitly
> loaded module is no longer loaded.

I'm not sure what the problem with use-ing Dpkg::Compression::Process
unconditionally would be?


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: