Package: libxml-perl
Version: 0.08-1
Severity: important
Tags: patch
Justification: fails to build from source

If you try to build when your directory name is anything other than
libxml-perl-0.08 the packages builds without error but does not contain
the actualy perl module file.

The problem is relying on the directory name to get the package name.
This is not safe and a bad idea.  Use the control file instead such as:

PACKAGE=`grep Package: debian/control | sed -e "s/.*: *//"`

This works, and is much safer and doesn't rely on the directory name.
sbuild for example can not build the package at the moment, so essentially
if it was submitted to the build system it would almost certainly fail.

-- System Information:
Debian Release: 5.0.3
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxml-perl depends on:
ii  libxml-parser-perl       2.36-1.1+b1     Perl module for parsing XML files
ii  perl                     5.10.0-19lenny2 Larry Wall's Practical Extraction 

libxml-perl recommends no packages.

libxml-perl suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to