[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
For the record, emacs23 and emacs-snapshot do not store the byte compilation logs in a temporary file. Only emacs22 users would see this, and of course, there aren't a lot of them any more. (Can't remember which category xemacs21 was but I guess it's also not very relevant.) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/413110 Title: apport emacs bugs should include failed byte-compilation logs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
Ping? I see the code in Lucid but it doesn't appear to be doing anything. Should the hook be moved so it doesn't require the package to be Emacs specifically? -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
Did this ever make it to production? I have yet to see a bug report with an attached byte compilation log. -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
I've uploaded that change now, sorry for the delay -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
Nope, I don't, but the change should be trivial -- just change emacs to x?emacs everywhere. This is based on the listing of Emacs package names in the Debian Emacs policy, as included in /usr/share/doc/emacsen-common (I have a slightly old version; this system is still on Jaunty). As of Karmic, only xemacs21 seems to be availble. Off the top of my head: -if report['Package'] in ['emacs22', 'emacs23', 'emacs-snapshot']: +if report['Package'] in ['emacs22', 'emacs23', 'emacs-snapshot', 'xemacs21']: # emacs add-on packages trigger byte compilation, which might fail # we are very interested in reading the compilation log to determine # where to reassign this report to - regex = r'^!! Byte-compilation for emacs\S+ failed!' + regex = r'^!! Byte-compilation for x?emacs\S+ failed!' if 'DpkgTerminalLog' in report and re.search(regex, report['DpkgTerminalLog'], re.MULTILINE): for line in report['DpkgTerminalLog'].split('\n'): m = re.search(r'^!! and attach the file (\S+)', line) -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
yes, that seems to be a good idea. Do you have a patch or branch at hand? -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
From the bzr branch: if report['Package'] in ['emacs22', 'emacs23', 'emacs-snapshot']: Although I don't have any experience with xemacs, I'm wondering if it shouldn't be included here just like the other emacsen, for completeness if nothing else. -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
Oh, and by the by, that probably requires the regex a few lines down to be updated a bit as well. Thanks for your work on this, it's much appreciated! -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
as discussed in https://lists.launchpad.net/ubuntu-elisp/msg00036.html, this is best implemented in apport. ** Also affects: apport (Ubuntu) Importance: Undecided Status: New ** Changed in: apport (Ubuntu) Assignee: (unassigned) = Reinhard Tartler (siretart) ** Changed in: apport (Ubuntu) Status: New = In Progress ** Changed in: apport (Ubuntu) Importance: Undecided = Medium ** Changed in: emacs22 (Ubuntu) Status: Confirmed = Invalid ** Changed in: emacs23 (Ubuntu) Status: Confirmed = Invalid -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
** Branch linked: lp:~siretart/apport/bug.413110 -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
This bug was fixed in the package apport - 1.11-0ubuntu3 --- apport (1.11-0ubuntu3) lucid; urgency=low * Attach emacs compilation logs in order to assist bug triaging. LP: #413110 -- Reinhard Tartler siret...@tauware.de Thu, 07 Jan 2010 22:14:45 +0100 ** Changed in: apport (Ubuntu) Status: In Progress = Fix Released -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
the code that print outs these temporary files is implemented directly in the emacs22/emacs23/emacs-snapshot postinst scripts. All postinst scripts must be fixed seperately. Documenation how to write apport scripts can be found here: https://wiki.ubuntu.com/Apport/DeveloperHowTo However AFAIUI there is no direct way to invoke apport properly from a postinst script without causing apport to be triggered twice. Does someone know a package that does this properly? ** Also affects: emacs22 (Ubuntu) Importance: Undecided Status: New ** Also affects: emacs23 (Ubuntu) Importance: Undecided Status: New ** Changed in: emacs22 (Ubuntu) Importance: Undecided = High ** Changed in: emacs22 (Ubuntu) Status: New = Confirmed ** Changed in: emacs23 (Ubuntu) Status: New = Confirmed ** Changed in: emacs23 (Ubuntu) Importance: Undecided = High ** Changed in: emacsen-common (Ubuntu) Status: Confirmed = Invalid -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 413110] Re: apport emacs bugs should include failed byte-compilation logs
triaging this bug. I feel that we should implement this better sooner than later. ** Changed in: emacsen-common (Ubuntu) Importance: Undecided = High ** Changed in: emacsen-common (Ubuntu) Status: New = Confirmed -- apport emacs bugs should include failed byte-compilation logs https://bugs.launchpad.net/bugs/413110 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs