It might as well be a debhelper bug. Happens due to the following glob
pattern usage in the package install files:
usr/share/man/{.,*}/man1/*
which glob expands to:
debian/tmp/usr/share/man/./man1/any2djvu.1
dh_install chokes on this dot in the path and cannot guess the
destination directory correctly, because that single dot is exactly the
same as $srcdir for dh_install itself. During processing:
# Guess at destination directory.
$dest=$src;
$dest=~s/^(.*\/)?\Q$srcdir\E\///;
$dest=~s/^(.*\/)?debian\/tmp\///;
$dest=dirname("/".$dest);
the 2nd regexp reduces the path to:
man1/any2djvu.1
the 4th regexp makes it:
/man1
That's it. Possible solution could be to use canonpath() during initial
$src processing or fiddle with regexp somehow, or just refrain from
using this kind of pattern in install files. Attached is a quick fix to
replace the faulty glob pattern with two normal ones for the affected
package.
** Patch added: "djvulibre.patch"
http://launchpadlibrarian.net/41125812/djvulibre.patch
--
djvulibre-bin produces garbage in the root (/man1/*)
https://bugs.launchpad.net/bugs/462193
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs