Bug#309790: dpkg: [Emacs] compiling *.el files shoudl display errors, not just log file name
Package: dpkg Version: 1.10.27 Severity: normal Recent install of dpkg-dev-el reads: Fetched 131kB in 4s (27.4kB/s) Selecting previously deselected package debian-el. (Reading database ... 130273 files and directories currently installed.) Unpacking debian-el (from .../debian-el_24.10-1_all.deb) ... Selecting previously deselected package dpkg-dev-el. Unpacking dpkg-dev-el (from .../dpkg-dev-el_24.10-1_all.deb) ... Setting up debian-el (24.10-1) ... install/debian-el: Handling emacs21, logged in /tmp/elc_oXqYUf.log install/debian-el: Handling xemacs21, logged in /tmp/elc_dzTAtg.log However, this is not enough. dpkg _should_ display all Emacs Lisp compiler warnings if there were any during making the *.elc files. Now the user does not know form this output if all went ok or not. SUGGESTION Add a simple grep call to check the results. Emacs Lisp compilation always print ** in front of warnings and errors. Like from above it would have noticed this warning: emacs21 -q -no-site-file --no-site-file -batch -l path.el -f batch-byte-compile deb ian-bts-control.el debian-changelog-mode.el debian-control-mode.el debian-copyright .el dpkg-dev-el-loaddefs.el dpkg-dev-el.el readme-debian.el Wrote /usr/share/emacs21/site-lisp/dpkg-dev-el/debian-bts-control.elc While compiling toplevel forms in file /usr/share/emacs21/site-lisp/dpkg-dev-el/deb ian-changelog-mode.el: ** `(fboundp (quote imenu))' called for effect Wrote /usr/share/emacs21/site-lisp/dpkg-dev-el/debian-changelog-mode.elc Wrote /usr/share/emacs21/site-lisp/dpkg-dev-el/debian-control-mode.elc Wrote /usr/share/emacs21/site-lisp/dpkg-dev-el/debian-copyright.elc Wrote /usr/share/emacs21/site-lisp/dpkg-dev-el/dpkg-dev-el-loaddefs.elc Wrote /usr/share/emacs21/site-lisp/dpkg-dev-el/dpkg-dev-el.elc Wrote /usr/share/emacs21/site-lisp/dpkg-dev-el/readme-debian.elc Done -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US) Versions of packages dpkg depends on: ii dselect 1.10.27 a user tool to manage Debian packa ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#309790: dpkg: [Emacs] compiling *.el files shoudl display errors, not just log file name
package dpkg reassign 309790 emacs-goodies-el thanks On Thu, 2005-05-19 at 18:21 +0300, Jari Aalto wrote: Package: dpkg Version: 1.10.27 Severity: normal Recent install of dpkg-dev-el reads: [...] Setting up debian-el (24.10-1) ... install/debian-el: Handling emacs21, logged in /tmp/elc_oXqYUf.log install/debian-el: Handling xemacs21, logged in /tmp/elc_dzTAtg.log However, this is not enough. dpkg _should_ display all Emacs Lisp compiler warnings if there were any during making the *.elc files. Now the user does not know form this output if all went ok or not. Neither dpkg-dev-el nor debian-el are provided by dpkg. dpkg knows nothing about Emacs Lisp, yet alone its compiler warnings. Reassigning to emacs-goodies-el, which is where both packages come from. Regards, Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]