should include expected dependancies

Bug #451923 reported by dwright
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libio-compress-base-perl (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Revision history for this message
dwright (dvwright) wrote :
Revision history for this message
gregor herrmann (gregoa) wrote : Re: [Pkg-perl-maintainers] [Bug 451923] [NEW] should include expected dependancies

On Thu, 15 Oct 2009 06:49:41 -0000, dwright15 wrote:

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

Please note that libio-compress-base-perl is superseded by
libio-compress-perl (apparently only in karmic at the moment) which
also produces a libio-compress-base-perl transitional dummy package.

libio-compress-perl also includes IO-Compress-Bzip2.

Cheers,
gregor

--
 .''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `- NP: Rod Steward: You Wear It Well

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.