Control: tags -1 - patch On 2023-01-03 11:03 +0100, Sven Joachim wrote:
> Control: reassign -1 vim-common 2:9.0.1000-2 > Control: retitle -1 vim-common: debian.vim installed into the wrong directory > Control: severity -1 serious > Control: tags -1 patch > > On 2023-01-03 10:20 +0400, Cyril Lacoux wrote: > >> Same here, it seems that the M from VIM is gone : no history on undo command, >> no completion when opening a new file and a lot things are broken. >> >> $ dpkg -L vim-common | grep debian.vim >> /usr/share/vim/@VIMCUR@/debian.vim > > This is obviously very wrong and breaks vim quite badly. I have > therefore increased the severity again. > >> Everything seem ok after moving the file to /usr/share/vim/vim90. > > Looks like commit 9526d1380774 ("Update to debhelper-compat 13") created > the problem. Attached patch should fix that, but I have not tested it > yet. Tested the patch now, and it did not work. :-( > diff --git a/debian/rules b/debian/rules > index 4c4f8e6ef..0f05d2cf7 100755 > --- a/debian/rules > +++ b/debian/rules > @@ -148,7 +148,8 @@ VERSION = $(basename $(DEB_VERSION_UPSTREAM)) > VIMCUR = $(NAME)$(subst .,,$(VERSION)) > LANGS = da de fr it ja pl ru tr > > -DOT_IN_DEPS = debian/vim-runtime.postrm > +DOT_IN_DEPS = vim-common.install > +DOT_IN_DEPS += debian/vim-runtime.postrm > DOT_IN_DEPS += debian/vim-runtime.preinst > DOT_IN_DEPS_TINY = debian/tiny/vimrc.tiny This resulted in the following error. ,---- | make[1]: Leaving directory '/<<PKGBUILDDIR>>' | debian/rules override_dh_install-indep | make[1]: Entering directory '/<<PKGBUILDDIR>>' | /usr/bin/make -f debian/rules vim-common.install debian/vim-runtime.postrm debian/vim-runtime.preinst | make[2]: Entering directory '/<<PKGBUILDDIR>>' | make[2]: warning: -j2 forced in makefile: resetting jobserver mode. | dh vim-common.install.in | dh: error: Unknown sequence vim-common.install.in (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep) | make[2]: *** [debian/rules:162: vim-common.install.in] Error 25 `---- For now I leave it up to the package maintainers to figure out a fix. Cheers, Sven