all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#13931: 24.3.50; latest trunk fails to compile on linux
@ 2013-03-12  2:50 Richard Kim
  2013-03-12 14:34 ` Thierry Volpiatto
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Richard Kim @ 2013-03-12  2:50 UTC (permalink / raw)
  To: 13931

Emacs trunk fails to compile on a fresh branch.
However compile succeeds if an older version is used.
Subsequent compilation of latest version also succeeds.
Details follow.

First attempt at compiling latest trunk fails via

    cd $SRC/emacs/emacs-trunk
    bzr pull --overwrite http://bzr.savannah.gnu.org/r/emacs/trunk
    cd ..
    bzr branch emacs-trunk emacs-trunk_20130311
    cd emacs-trunk_20130311
    ./configure --prefix /opt/local
    make all info

Above fails with    

    ...
    Loading loadup.el (source)...
    Using load-path ($SRC/emacs/emacs-trunk_20130311/lisp
    $SRC/emacs/emacs-trunk_20130311/lisp/emacs-lisp
    $SRC/emacs/emacs-trunk_20130311/lisp/language
    $SRC/emacs/emacs-trunk_20130311/lisp/international 
    $SRC/emacs/emacs-trunk_20130311/lisp/textmodes)
    Loading emacs-lisp/byte-run (source)...
    Symbol's function definition is void: \`

However if an older version is used, then the compile succeeds:

    bzr up -r 111990
    ./configure --prefix /opt/local
    make all info

Now going back to latest trunk version (which failed to compile earlier)
succeeds as well:

    bzr up
    ./configure --prefix /opt/local
    make all info

This problem showed up sometime after Feb 28, 2013.  I have been
compiling latest trunk once every week or so for a long time via the
same steps, which worked for me for several years until it started
failing in the past couple of weeks.

I use Ubuntu 12.04 on a 64-bit laptop.






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

* bug#13931: 24.3.50; latest trunk fails to compile on linux
  2013-03-12  2:50 bug#13931: 24.3.50; latest trunk fails to compile on linux Richard Kim
@ 2013-03-12 14:34 ` Thierry Volpiatto
  2013-03-12 17:00 ` bug#13931: 24.3.50; latest trunk fails to compile on GNU/linux Richard Stallman
  2013-03-12 22:07 ` bug#13931: 24.3.50; latest trunk fails to compile on linux Paul Eggert
  2 siblings, 0 replies; 8+ messages in thread
From: Thierry Volpiatto @ 2013-03-12 14:34 UTC (permalink / raw)
  To: 13931

Richard Kim <emacs18@gmail.com> writes:

>     ...
>     Loading loadup.el (source)...
>     Using load-path ($SRC/emacs/emacs-trunk_20130311/lisp
>     $SRC/emacs/emacs-trunk_20130311/lisp/emacs-lisp
>     $SRC/emacs/emacs-trunk_20130311/lisp/language
>     $SRC/emacs/emacs-trunk_20130311/lisp/international 
>     $SRC/emacs/emacs-trunk_20130311/lisp/textmodes)
>     Loading emacs-lisp/byte-run (source)...
>     Symbol's function definition is void: \`

Same error here.

> I use Ubuntu 12.04 on a 64-bit laptop.

Same OS and 64-bit laptop too.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






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

* bug#13931: 24.3.50; latest trunk fails to compile on GNU/linux
  2013-03-12  2:50 bug#13931: 24.3.50; latest trunk fails to compile on linux Richard Kim
  2013-03-12 14:34 ` Thierry Volpiatto
@ 2013-03-12 17:00 ` Richard Stallman
  2013-03-12 17:48   ` Thierry Volpiatto
  2013-03-12 22:07 ` bug#13931: 24.3.50; latest trunk fails to compile on linux Paul Eggert
  2 siblings, 1 reply; 8+ messages in thread
From: Richard Stallman @ 2013-03-12 17:00 UTC (permalink / raw)
  To: emacs18; +Cc: 13931

Thanks for reporting the bug, but I'd like to point out that the system
you are using is not Linux.  It's GNU.  I wrote GNU Emacs in 1984
to be one of the components of this system.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call






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

* bug#13931: 24.3.50; latest trunk fails to compile on GNU/linux
  2013-03-12 17:00 ` bug#13931: 24.3.50; latest trunk fails to compile on GNU/linux Richard Stallman
@ 2013-03-12 17:48   ` Thierry Volpiatto
  0 siblings, 0 replies; 8+ messages in thread
From: Thierry Volpiatto @ 2013-03-12 17:48 UTC (permalink / raw)
  To: 13931

make bootstrap fail when running on head:

--8<---------------cut here---------------start------------->8---
commit bd3a26d7e89903b24017f8cf6886e70bac31ca6a (HEAD, refs/remotes/origin/trunk, refs/remotes/origin/master, refs/remotes/origin/HEAD, refs/heads/master)
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Mon Mar 11 19:40:08 2013 -0700
--8<---------------cut here---------------end--------------->8---

make bootstrap succeed starting on:

--8<---------------cut here---------------start------------->8---
commit c26fdd39ed2f9e9601329f391bd139acc962ec27
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date:   Sun Mar 10 17:39:11 2013 -0400
--8<---------------cut here---------------end--------------->8---

Then starting from here, I check out revision by revision and ran "make"
alone on each of them until I reach HEAD without errors.

Then from HEAD again I ran "make bootstrap" and it fail to compile with
same error.

Hope that help.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






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

* bug#13931: 24.3.50; latest trunk fails to compile on linux
  2013-03-12  2:50 bug#13931: 24.3.50; latest trunk fails to compile on linux Richard Kim
  2013-03-12 14:34 ` Thierry Volpiatto
  2013-03-12 17:00 ` bug#13931: 24.3.50; latest trunk fails to compile on GNU/linux Richard Stallman
@ 2013-03-12 22:07 ` Paul Eggert
  2013-03-13  1:16   ` Stefan Monnier
  2 siblings, 1 reply; 8+ messages in thread
From: Paul Eggert @ 2013-03-12 22:07 UTC (permalink / raw)
  To: 13931

Here's a patch that fixes things for me:

2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>

	Fix bug that broke 'make bootstrap' (Bug#13931).
	This is presumably temporary, until Stefan gets around to a real fix.
	* emacs-lisp/byte-run.el (dont-compile, with-no-warnings):
	Revert 2013-03-10 patch for now.

=== modified file 'lisp/emacs-lisp/byte-run.el'
--- lisp/emacs-lisp/byte-run.el	2013-03-10 21:40:55 +0000
+++ lisp/emacs-lisp/byte-run.el	2013-03-12 21:53:02 +0000
@@ -378,7 +378,7 @@
 (defmacro dont-compile (&rest body)
   "Like `progn', but the body always runs interpreted (not compiled).
 If you think you need this, you're probably making a mistake somewhere."
-  (declare (debug t) (indent 0) (obsolete nil "24.4"))
+  (declare (debug t) (indent 0))
   (list 'eval (list 'quote (if (cdr body) (cons 'progn body) (car body)))))
 
 \f
@@ -402,9 +402,9 @@
   ;; macroexpansion.
   (list 'quote (eval (cons 'progn body) lexical-binding)))
 
+(put 'with-no-warnings 'lisp-indent-function 0)
 (defun with-no-warnings (&rest body)
   "Like `progn', but prevents compiler warnings in the body."
-  (declare (indent 0))
   ;; The implementation for the interpreter is basically trivial.
   (car (last body)))
 






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

* bug#13931: 24.3.50; latest trunk fails to compile on linux
  2013-03-12 22:07 ` bug#13931: 24.3.50; latest trunk fails to compile on linux Paul Eggert
@ 2013-03-13  1:16   ` Stefan Monnier
  2013-03-13  3:53     ` Paul Eggert
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Monnier @ 2013-03-13  1:16 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 13931

> === modified file 'lisp/emacs-lisp/byte-run.el'
> --- lisp/emacs-lisp/byte-run.el	2013-03-10 21:40:55 +0000
> +++ lisp/emacs-lisp/byte-run.el	2013-03-12 21:53:02 +0000
> @@ -378,7 +378,7 @@
>  (defmacro dont-compile (&rest body)
>    "Like `progn', but the body always runs interpreted (not compiled).
>  If you think you need this, you're probably making a mistake somewhere."
> -  (declare (debug t) (indent 0) (obsolete nil "24.4"))
> +  (declare (debug t) (indent 0))
>    (list 'eval (list 'quote (if (cdr body) (cons 'progn body) (car body)))))
 
IIUC this is the only part needed.


        Stefan






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

* bug#13931: 24.3.50; latest trunk fails to compile on linux
  2013-03-13  1:16   ` Stefan Monnier
@ 2013-03-13  3:53     ` Paul Eggert
  2013-03-13  9:51       ` Thierry Volpiatto
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Eggert @ 2013-03-13  3:53 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 13931-done

Thanks for installing a patch (trunk bzr 112029).
It works for me and I'm marking this as done.





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

* bug#13931: 24.3.50; latest trunk fails to compile on linux
  2013-03-13  3:53     ` Paul Eggert
@ 2013-03-13  9:51       ` Thierry Volpiatto
  0 siblings, 0 replies; 8+ messages in thread
From: Thierry Volpiatto @ 2013-03-13  9:51 UTC (permalink / raw)
  To: 13931

Paul Eggert <eggert@cs.ucla.edu> writes:

> Thanks for installing a patch (trunk bzr 112029).
> It works for me and I'm marking this as done.

Works here too, thanks.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






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

end of thread, other threads:[~2013-03-13  9:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12  2:50 bug#13931: 24.3.50; latest trunk fails to compile on linux Richard Kim
2013-03-12 14:34 ` Thierry Volpiatto
2013-03-12 17:00 ` bug#13931: 24.3.50; latest trunk fails to compile on GNU/linux Richard Stallman
2013-03-12 17:48   ` Thierry Volpiatto
2013-03-12 22:07 ` bug#13931: 24.3.50; latest trunk fails to compile on linux Paul Eggert
2013-03-13  1:16   ` Stefan Monnier
2013-03-13  3:53     ` Paul Eggert
2013-03-13  9:51       ` Thierry Volpiatto

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.