Bug#557149: libtext-diff-perl: Fails to build from source when directory name is anything non default
Len Sorensen
lennartsorensen at ruggedcom.com
Thu Nov 19 22:23:53 UTC 2009
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
More information about the pkg-perl-maintainers
mailing list