Package: libtext-diff-perl
Version: 0.35-3
Severity: important
Tags: patch
Justification: fails to build from source

When building under sbuild the directory name isn't the default that
dpkg-source -x would pick.  In cases like that (but really any where
the directory name is changed) the package fails to build correctly
(it silently leaves out the actual perl module files but gives no error
anything went wrong).

The fix is to get the package name from the control file instead using
something like:

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

With this change, it builds perfectly even if the directory is named
doggy-123.

-- 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 libtext-diff-perl depends on:
ii  libalgorithm-diff-perl   1.19.02-1       a perl library for finding Longest
ii  perl                     5.10.0-19lenny2 Larry Wall's Practical Extraction 

libtext-diff-perl recommends no packages.

libtext-diff-perl suggests no packages.

-- no debconf information



-- 
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