all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#19786: 25.0.50; broken build (Attempt to modify RO object)
@ 2015-02-06  0:14 Mark Oteiza
  2015-02-06  3:06 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Oteiza @ 2015-02-06  0:14 UTC (permalink / raw)
  To: 19786


On current HEAD:

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....

In end of data:
progmodes/cc-defs.el:2454:1:Warning: the following functions might not be
    defined at runtime: cc-bytecomp-restore-environment,
    cc-bytecomp-setup-environment, cc-bytecomp-load,
    cc-bytecomp-compiling-or-loading
make[2]: Leaving directory '/tmp/makepkg/emacs-git/src/emacs/lisp'
Makefile:310: recipe for target 'compile-main' failed
make[1]: *** [compile-main] Error 2
make[1]: Leaving directory '/tmp/makepkg/emacs-git/src/emacs/lisp'
Makefile:385: recipe for target 'lisp' failed
make: *** [lisp] Error 2





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#19786: 25.0.50; broken build (Attempt to modify RO object)
  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
  2015-02-06 15:23   ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2015-02-06  3:06 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 19786-done

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/





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#19786: 25.0.50; broken build (Attempt to modify RO object)
  2015-02-06  3:06 ` Lars Ingebrigtsen
@ 2015-02-06 15:23   ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2015-02-06 15:23 UTC (permalink / raw)
  To: 19786; +Cc: mvoteiza, larsi

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

Thanks.  Even if the list is not read-only, using nconc is an error.


        Stefan





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-06 15:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-02-06 15:23   ` Stefan Monnier

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.