Control: tag -1 + moreinfo

Hi Jörg,

Thank you very much for your bug report, reply follows inline.

On Wed, Aug 01, 2018 at 08:30:19PM +0200, Jörg Sommer wrote:
> Package: emacs-goodies-el
> Version: 40.0
> Severity: normal
> 
> Hi,
> 
> today, I've upgraded to 40.0, but it failed:
...
> Remove emacs-goodies-el for emacs25
...
> Install emacsen-common for emacs25
> emacsen-common: Handling install of emacsen flavor emacs25
> Install emacs-goodies-el for emacs25
> install/emacs-goodies-el: Handling emacs25, logged in /tmp/elc_wIafhR.log
> Building autoloads for emacs25 in 
> /usr/share/emacs25/site-lisp/emacs-goodies-el
> ERROR: install script from emacs-goodies-el package failed

Just to confirm, is your emacs25 a transitional package to
emacs (unversioned)?

> remove/emacs-goodies-el: purging byte-compiled files for emacs25
> Unpacking emacs-goodies-el (40.0) over (39.0) ...
> dpkg: error processing package emacs-goodies-el (--configure):
>  installed emacs-goodies-el package post-installation script subprocess 
> returned error exit status 1
> Setting up libthai0:amd64 (0.1.28-1) ...
> Setting up libthai0:i386 (0.1.28-1) ...
> Processing triggers for libc-bin (2.27-5) ...
> Errors were encountered while processing:
>  emacs-goodies-el
> Log ended: 2018-08-01  20:12:00
> ```
> 
> /var/log/apt/term.log
> ```
> emacs25 -batch --no-site-file --multibyte --eval (setq load-path (cons "." 
> load-path)) -l autoload --eval (setq generated-autoload-file 
> (expand-file-name "emacs-goodies-loaddefs.el")) --eval (setq 
> make-backup-files nil) -f batch-update-autoloads .
> Warning (initialization): Ignoring obsolete arg --multibyte
> align-string.el:0:0: error: file-error: (Opening input file No such file or 
> directory /usr/share/emacs25/site-lisp/emacs-goodies-el/align-string.el)
> ```
> 
> ```shell
> % print -l /usr/share/emacs25/site-lisp/emacs-goodies-el/*(-@)
> /usr/share/emacs25/site-lisp/emacs-goodies-el/apache-mode.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/ascii.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/bar-cursor.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/boxquote.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/browse-huge-tar.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/button-lock.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/clipper.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/coffee.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/color-theme.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/color-theme-library.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/color-theme_seldefcustom.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/ctypes.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/dedicated.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/df.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/edit-env.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/egocentric.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/floatbg.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/initsplit.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/joc-toggle-buffer.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/joc-toggle-case.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/keydef.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/keywiz.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/lcomp.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/maplev.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/map-lines.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/marker-visit.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/miniedit.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/mutt-alias.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/pack-windows.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/perldoc.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/pp-c-l.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/protbuf.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/setnu.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/shell-command.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/silly-mail.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/slang-mode.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/tc.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/tlc.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/todoo.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/toggle-option.el
> /usr/share/emacs25/site-lisp/emacs-goodies-el/under.el
> ```
> 
> I've removed these files and the package install (`apt install -f`) went
> fine.

I wonder why only
/usr/share/emacs25/site-lisp/emacs-goodies-el/align-string.el was
missing?  Kudos for the proactive workaround :-)  In response to this
bug I'm trying to determine if a maintscript is necessary to prevent
others from encountering this issue.  P.S, a Debian Emacsen team
goal for buster is for emacs-goodies-el to become a documentation-only
transitional package.

> -- System Information:
> Debian Release: buster/sid
>   APT prefers unstable-debug
>   APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
> 'experimental-debug'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.18.0-rc3-amd64 (SMP w/8 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
> LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages emacs-goodies-el depends on:
> ii  bash               4.4.18-3.1
> ii  dpkg               1.19.0.5+b1
> ii  emacs              47.0
> ii  emacs25 [emacsen]  25.2+1-6+b3

This seems a bit strange.  emacs25/25.2+1-8 is in sid, and I believe
that's the version where emacs was unversioned and where emacs25
became a dummy transitional package.  25.2+1-6 is in buster.  Was
25.2+1-6+b3 from experimental?  In sid, emacs has 1:25.2+1-8 and not
version 47.0 (also from buster).

> ii  emacsen-common     2.0.8
> ii  install-info       6.5.0.dfsg.1-4
> 
> Versions of packages emacs-goodies-el recommends:
> pn  elpa-apache-mode        <none>
> pn  elpa-bar-cursor         <none>
> pn  elpa-bm                 <none>
> pn  elpa-boxquote           <none>
> ii  elpa-browse-kill-ring   2.0.0-1
> pn  elpa-csv-mode           <none>
> ii  elpa-debian-el          37.5
> ii  elpa-devscripts         40.1
> pn  elpa-diminish           <none>
> ii  elpa-dpkg-dev-el        37.4
> pn  elpa-eproject           <none>
> pn  elpa-graphviz-dot-mode  <none>
> pn  elpa-htmlize            <none>
> pn  elpa-initsplit          <none>
> ii  elpa-markdown-mode      2.3+154-1
> ii  elpa-pod-mode           1.03-1
> pn  elpa-session            <none>
> pn  elpa-tabbar             <none>
> ii  perl-doc                5.26.2-6
> ii  wget                    1.19.5-1
> 
> emacs-goodies-el suggests no packages.
> 
> -- no debconf information

When were these elpa-packages marked for purging?  By aptitude before
applying the upgrade?  When it becomes a true dummy transition
package, emacs-goodies-el should change these recommends to hard
depends, because these are modes and libraries that goodies used to
provide, and hard depends are part of the dummy transition package
definition.

Once again, thank you very much for this report.  Once we figure out
how to reproduce it I'll get to work on a fix.

I've tested the following:
Sid: emacs-goodies-el 38.0 to 40.0 succeeded
     emacs-goodies-el 39.0 to 40.0 succeeded
     - note, I did not test a simultaneous emacs25-to-emacs (unversioned)


Stretch: installed emacs-nox (uses emacs24-nox)
         installed emacs-goodies-el
         modified /etc/apt/sources.list and ran dist-upgrade
         dist-upgrade succeeded
         emacs-goodies-el 36.3+nmu1 to 40.0 succeeded
         simultaneous emacs24-nox to emacs-nox (unversioned) succeeded

Stretch: installed emacs25-nox directly
         installed emacs-goodies-el
         modified /etc/apt/sources.list and ran dist-upgrade
         dist-upgrade succeeded
         emacs-goodies-el 36.3+nmu1 to 40.0 succeeded
         simultaneous emacs25-nox to emacs-nox (unversioned) succeeded

Regards,
Nicholas

Attachment: signature.asc
Description: PGP signature

Reply via email to