Package: dh-elpa Version: 1.13 Hi,
when trying to switch the package tpp (which also ships "tpp-mode.el" to edit tpp files), dh_elpa expects a file named debian/.debhelper/elpa/tpp.desc despite debian/elpa lists "contrib/tpp-mode.el". The content of the debian/elpa file seems to be ignored when calculating the path to the .desc file. Error message: dh_elpa Using elpa package name tpp emacs -batch -Q -l package --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa-src\")" -f package-initialize -l dh-elpa.el -f dhelpa-batch-install-file debian/tpp//usr/share/emacs/site-lisp/elpa-src contrib/tpp-mode.el /home/abe/tpp/tpp/debian/.debhelper/elpa 1533407657 dh_elpa: failed to open /home/abe/tpp/tpp/debian/.debhelper/elpa/tpp.desc make[1]: *** [debian/rules:23: override_dh_elpa] Error 2 Existing file: → ls -l debian/.debhelper/elpa/*.desc -rw-r--r-- 1 abe abe 54 Aug 5 02:20 debian/.debhelper/elpa/tpp-mode.desc Since this is not primarily an emacs mode package but only ships an emacs mode as an add-on, the package is not named elpa-tpp-mode or tpp-mode but just tpp. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (990, 'unstable'), (980, 'unstable-debug'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental'), (105, 'experimental-debug') Architecture: amd64 (x86_64) Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dh-elpa depends on: ii debhelper 11.3.5 ii dh-make-perl 0.102 ii emacs25 1:25.2+1-8 ii libarray-utils-perl 0.5-1 ii libconfig-tiny-perl 2.23-1 ii libdebian-source-perl 0.102 ii libdpkg-perl 1.19.0.5 ii libfile-find-rule-perl 0.34-1 ii libtext-glob-perl 0.10-1 ii perl 5.26.2-6 dh-elpa recommends no packages. dh-elpa suggests no packages. -- no debconf information