GNU bug report logs - #13931
24.3.50; latest trunk fails to compile on linux

Previous Next

Package: emacs;

Reported by: emacs18 <at> gmail.com

Date: Tue, 12 Mar 2013 02:52:02 UTC

Severity: normal

Tags: patch

Merged with 13929

Found in version 24.3.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13931 in the body.
You can then email your comments to 13931 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13931; Package emacs. (Tue, 12 Mar 2013 02:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to emacs18 <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 12 Mar 2013 02:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Richard Kim <emacs18 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; latest trunk fails to compile on linux
Date: Mon, 11 Mar 2013 19:50:30 -0700
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.





Merged 13929 13931. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 12 Mar 2013 06:32:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13931; Package emacs. (Tue, 12 Mar 2013 14:37:01 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#13931: 24.3.50; latest trunk fails to compile on linux
Date: Tue, 12 Mar 2013 15:34:55 +0100
Richard Kim <emacs18 <at> 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 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13931; Package emacs. (Tue, 12 Mar 2013 17:02:02 GMT) Full text and rfc822 format available.

Message #13 received at 13931 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: emacs18 <at> gmail.com
Cc: 13931 <at> debbugs.gnu.org
Subject: Re: bug#13931: 24.3.50; latest trunk fails to compile on GNU/linux
Date: Tue, 12 Mar 2013 13:00:24 -0400
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





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13931; Package emacs. (Tue, 12 Mar 2013 17:57:02 GMT) Full text and rfc822 format available.

Message #16 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#13931: 24.3.50; latest trunk fails to compile on GNU/linux
Date: Tue, 12 Mar 2013 18:48:39 +0100
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 <at> 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 <at> 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 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13931; Package emacs. (Tue, 12 Mar 2013 22:09:02 GMT) Full text and rfc822 format available.

Message #19 received at 13931 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 13931 <at> debbugs.gnu.org
Subject: Re: 24.3.50; latest trunk fails to compile on linux
Date: Tue, 12 Mar 2013 15:07:08 -0700
Here's a patch that fixes things for me:

2013-03-12  Paul Eggert  <eggert <at> 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)))))
 
 
@@ -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)))
 





Added tag(s) patch. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Tue, 12 Mar 2013 22:24:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13931; Package emacs. (Wed, 13 Mar 2013 01:18:01 GMT) Full text and rfc822 format available.

Message #24 received at 13931 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 13931 <at> debbugs.gnu.org
Subject: Re: bug#13931: 24.3.50; latest trunk fails to compile on linux
Date: Tue, 12 Mar 2013 21:16:42 -0400
> === 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





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Wed, 13 Mar 2013 03:55:03 GMT) Full text and rfc822 format available.

Notification sent to emacs18 <at> gmail.com:
bug acknowledged by developer. (Wed, 13 Mar 2013 03:55:03 GMT) Full text and rfc822 format available.

Message #29 received at 13931-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 13931-done <at> debbugs.gnu.org
Subject: Re: bug#13931: 24.3.50; latest trunk fails to compile on linux
Date: Tue, 12 Mar 2013 20:53:02 -0700
Thanks for installing a patch (trunk bzr 112029).
It works for me and I'm marking this as done.




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Wed, 13 Mar 2013 03:55:03 GMT) Full text and rfc822 format available.

Notification sent to <rcopley <at> gmail.com>:
bug acknowledged by developer. (Wed, 13 Mar 2013 03:55:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13931; Package emacs. (Wed, 13 Mar 2013 09:54:01 GMT) Full text and rfc822 format available.

Message #37 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#13931: 24.3.50; latest trunk fails to compile on linux
Date: Wed, 13 Mar 2013 10:51:34 +0100
Paul Eggert <eggert <at> 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 





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Apr 2013 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.