Bug#389988: libunicode-map-perl: FTBFS when building with sudo
[$(PWD) usage]
Niko Tyni
ntyni at iki.fi
Thu Sep 28 18:18:12 UTC 2006
Package: libunicode-map-perl
Version: 0.112-9
Severity: serious
Tags: patch
The libunicode-map-perl package fails build from source with sudo.
Installing /debian/tmp/usr/share/man/man3/Unicode::Map.3pm
make[1]: Leaving directory `/tmp/buildd/libunicode-map-perl-0.112'
touch install-stamp
dh_testdir
dh_testroot
dh_install --sourcedir=debian/tmp
cp: cannot stat `debian/tmp//usr/lib': No such file or directory
This is because debian/rules installs files into $(PWD)/..., but the
PWD variable is unset by sudo.
The fix is to use $(CURDIR) instead.
--
Niko Tyni ntyni at iki.fi
More information about the pkg-perl-maintainers
mailing list