Package: vim Version: 8.0.0095-1 When I try to build the v8.0.0095-1 tag from https://anonscm.debian.org/cgit/pkg-vim/vim.git using pbuilder, I get an error from the dh_install command: dh_install cp: cannot stat ‘debian/tmp/debian/tmp/usr/share/man/ru/man1/vim.1’: No such file or directory dh_install: cp -a debian/tmp/debian/tmp/usr/share/man/ru/man1/vim.1 debian/vim-common/usr/share/man/ru/man1// returned exit code 1 make: *** [install-stamp-indep] Error 2
The issue here seems to be that the munge-man-directories helper in debian/rules is not getting invoked, those directory moves are skipped, and there is no man/ru/ directory at the expected path (only man/ru.UTF-8/ and man/ru.KOI8-R/, which never got moved/deleted). I'm not sure why the $(munge-man-directories) invocation is completely skipped for me, but inlining the body of munge-man-directories into the places it's supposed to get invoked fixes the issues on my system. David