all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Mark Oteiza <mvoteiza@udel.edu>
Cc: 19786-done@debbugs.gnu.org
Subject: bug#19786: 25.0.50; broken build (Attempt to modify RO object)
Date: Fri, 06 Feb 2015 14:06:38 +1100	[thread overview]
Message-ID: <877fvvu4ap.fsf@building.gnus.org> (raw)
In-Reply-To: <87mw4rhp57.fsf@udel.edu> (Mark Oteiza's message of "Thu, 05 Feb 2015 19:14:44 -0500")

Mark Oteiza <mvoteiza@udel.edu> writes:

> In toplevel form:
> progmodes/gdb-mi.el:92:1:Error: Attempt to modify read-only object: (error)
> Makefile:287: recipe for target 'progmodes/gdb-mi.elc' failed
> make[2]: *** [progmodes/gdb-mi.elc] Error 1
> make[2]: *** Waiting for unfinished jobs....

This was due to the new error object in json.el which inherited from a
list of error conditions, which triggered this code:

         (if (consp parent)
             (apply #'nconc
                    (mapcar (lambda (parent)
                              (cons parent
                                    (or (get parent 'error-conditions)
                                        (error "Unknown signal `%s'" parent))))

(get parent 'error-conditions) may return a constant list, so I just
changed the `nconc' to `append'.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  reply	other threads:[~2015-02-06  3:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06  0:14 bug#19786: 25.0.50; broken build (Attempt to modify RO object) Mark Oteiza
2015-02-06  3:06 ` Lars Ingebrigtsen [this message]
2015-02-06 15:23   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fvvu4ap.fsf@building.gnus.org \
    --to=larsi@gnus.org \
    --cc=19786-done@debbugs.gnu.org \
    --cc=mvoteiza@udel.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.