Public bug reported:

Binary package hint: libio-compress-base-perl

issue:
libio-compress-base-perl does not include the necessary dependencies to produce 
desired behavior.

for example:
I would expect installation of this module, libio-compress-base-perl, to 
execute this code correctly for a compressed bzip2 file.

use IO::Uncompress::AnyUncompress qw(anyuncompress $AnyUncompressError)
;

my $status = anyuncompress $input => $output
              or die "anyuncompress failed: $AnyUncompressError\n";

however, since libio-compress-bzip2-perl is not installed the code
'fails' silently, i.e. it does not actually uncompress the file. (and
does not report an error, which would be an upstream bug, except I
believe this situation is not reached often, since IO-Compress has a
dependency of  'Compress::Raw::Bzip2' and 'Compress::Raw::Zlib'  in it's
Makefile.PL)

$ lsb_release -rd
Description:    Ubuntu 9.04
Release:        9.04

$ apt-cache policy libio-compress-base-perl
libio-compress-base-perl:
  Installed: 2.015-1
  Candidate: 2.015-1
  Version table:
 *** 2.015-1 0
        500 http://us.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status


what was expected:
installation of this module should make the following code work as expected, 
for a bz2 file.
(i.e. $input is a bz2 file, $output is the uncompressed file)

use IO::Uncompress::AnyUncompress qw(anyuncompress $AnyUncompressError)
;

my $status = anyuncompress $input => $output
              or die "anyuncompress failed: $AnyUncompressError\n";

in order to make this code work I had to install, sudo apt-get install
libio-compress-bzip2-perl

to reproduce:
a standard install of 'jaunty'

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: libio-compress-base-perl 2.015-1
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: libio-compress-base-perl
Tags:  ubuntu-unr
Uname: Linux 2.6.28-15-generic i686

** Affects: libio-compress-base-perl (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 ubuntu-unr

-- 
should include expected dependancies
https://bugs.launchpad.net/bugs/451923
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to