Bug#846312: vim package fails to build with missing man files

David Barnett davidbarnett2 at gmail.com
Wed Nov 30 06:54:28 UTC 2016

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20161130/a85720ba/attachment-0001.html>

More information about the pkg-vim-maintainers mailing list