On Wed, Nov 30, 2016 at 06:54:28AM +0000, David Barnett wrote: > 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
That implies that $(DESTDIR) is being set to debian/tmp/debian/tmp. $(DESTDIR) is set by the line: install-stamp-indep: DESTDIR=$(CURDIR)/debian/tmp so is $(CURDIR) somehow debian/tmp when install-stamp-indep is run? > 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 that's actually the case. It seems to be related to the above problem. It's odd that you're encountering this but it's not being hit elsewhere. Is it somehow being evaluated twice or $(CURDIR) being carried over into the sub-make which then expands? Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB