[debhelper-devel] Bug#730723: debhelper: emacsen postinst checking /var/lib/emacsen-common/state/package/installed/emacsen-common

Kevin Ryde user42 at zip.com.au
Thu Nov 28 18:22:17 UTC 2013


Package: debhelper
Version: 9.20131127
Severity: normal
File: /usr/share/debhelper/autoscripts/postinst-emacsen

dh_installemacsen adds to a lisp add-on

    if [ "$1" = "configure" ] && [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common ]
    then
      /usr/lib/emacsen-common/emacs-package-install --postinst #PACKAGE#

But for me this means the package does not byte compile on install
because I have no such file
/var/lib/emacsen-common/state/package/installed/emacsen-common.

I thought the postinst would test for the script it's about to run,
ie. test /usr/lib/emacsen-common/emacs-package-install and if it exists
then run it.

I see /usr/share/doc/emacsen-common/debian-emacs-policy.gz says
/var/lib/emacsen-common/state/package/installed/emacsen-common as a
guard, but it doesn't seem to work.  In any case I might hope that if
debhelper checked just /usr/lib/emacsen-common/emacs-package-install the
way it has done up to now then a newly built package can still work on
an earlier emacsen-common too.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils    2.23.90.20131017-1
ii  dpkg        1.17.1
ii  dpkg-dev    1.17.1
ii  file        1:5.14-2
ii  man-db      2.6.5-2
ii  perl        5.18.1-4
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make  <none>

-- no debconf information




More information about the debhelper-devel mailing list