Bug#987264: git-el: fails to install with xemacs21
For what it's worth, here's a patch for git-el to have the directory created, after Agustin's suggestion. diff -Naur git-2.30.2/debian/git-el.dirs git_2.30.2-1.1/debian/git-el.dirs --- git-2.30.2/debian/git-el.dirs 1970-01-01 01:00:00.0 +0100 +++ git_2.30.2-1.1/debian/git-el.dirs 2021-05-22 23:52:16.409330369 +0200 @@ -0,0 +1 @@ +usr/share/emacs/site-lisp
Bug#987264: git-el: fails to install with xemacs21
On Sat, 24 Apr 2021 02:59:40 +0300 Adrian Bunk wrote: > On Tue, Apr 20, 2021 at 05:10:16PM +0200, Andreas Beckmann wrote: > > Package: git-el > > Version: 1:2.30.2-1 > > Severity: serious > > User: debian...@lists.debian.org > > Usertags: piuparts > > > > Hi, > > > > during a test with piuparts I noticed your package failed to install if > > xemacs21 is already installed. > > Most relevant is that emacs-common is *not* installed > and neither any other package that ships /usr/share/emacs/site-lisp/ IIRC emacs-common is only for FSF Emacs packages. The quickest workaround would be to add a debian/git-el.dirs file containing usr/share/emacs/site-lisp. I wonder if emacsen-common package should provide that dir for all emacs flavours. -- Agustin
Bug#987264: git-el: fails to install with xemacs21
On Tue, Apr 20, 2021 at 05:10:16PM +0200, Andreas Beckmann wrote: > Package: git-el > Version: 1:2.30.2-1 > Severity: serious > User: debian...@lists.debian.org > Usertags: piuparts > > Hi, > > during a test with piuparts I noticed your package failed to install if > xemacs21 is already installed. Most relevant is that emacs-common is *not* installed, and neither any other package that ships /usr/share/emacs/site-lisp/ > >From the attached log (scroll to the bottom...): > > Setting up git-el (1:2.31.0+next.20210315-1) ... > Install git for emacs > install/git: Handling install of emacsen flavor emacs > mkdir: cannot create directory '/usr/share/emacs/site-lisp/git': No such > file or directory > /usr/lib/emacsen-common/packages/install/git emacs xemacs21 failed at > /usr/lib/emacsen-common/lib.pl line 19, line 1. > dpkg: error processing package git-el (--configure): >installed git-el package post-installation script subprocess returned > error exit status 2 > Processing triggers for libc-bin (2.31-11) ... > Errors were encountered while processing: >git-el > > > cheers, > > Andreas cu Adrian
Bug#987264: git-el: fails to install with xemacs21
Package: git-el Version: 1:2.30.2-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package failed to install if xemacs21 is already installed. >From the attached log (scroll to the bottom...): Setting up git-el (1:2.31.0+next.20210315-1) ... Install git for emacs install/git: Handling install of emacsen flavor emacs mkdir: cannot create directory '/usr/share/emacs/site-lisp/git': No such file or directory /usr/lib/emacsen-common/packages/install/git emacs xemacs21 failed at /usr/lib/emacsen-common/lib.pl line 19, line 1. dpkg: error processing package git-el (--configure): installed git-el package post-installation script subprocess returned error exit status 2 Processing triggers for libc-bin (2.31-11) ... Errors were encountered while processing: git-el cheers, Andreas git-el=1:2.30.2-1_xemacs21.log.gz Description: application/gzip