Package: libdpkg-perl
Version: 1.16.9
Severity: minor

Hi,

I am not sure where it happens, but:

"""
 $ perl -w -MDpkg::Source::Package -MDpkg::Source::Archive -e ''
 Subroutine Dpkg::Source::Archive::getcwd redefined at 
/usr/share/perl/5.14/Exporter.pm line 67.
  at /usr/share/perl5/Dpkg/Source/Archive.pm line 32
"""

This even occurs if you only load Dpkg::Source::Package and then
create a new instance of it[1]:

"""
 $ perl -w -MDpkg::Source::Package -e 'Dpkg::Source::Package->new (filename => 
"../lintian_2.5.10.2.dsc");'
 Subroutine Dpkg::Source::Archive::getcwd redefined at 
/usr/share/perl/5.14/Exporter.pm line 67.
  at /usr/share/perl5/Dpkg/Source/Archive.pm line 32
"""

I guess the trigger in this case is the "upgrade" in
Dpkg::Source::Package (line 230), which causes Dpkg::Source::Archive
to loaded.

~Niels

[1] Admittedly, I only tested with "3.0 (native)", but tbh, I doubt
that is the deciding factor.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to