From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 04:21:10 2010 Received: (at submit) by debbugs.gnu.org; 19 Nov 2010 09:21:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJN9Z-0003KT-FT for submit@debbugs.gnu.org; Fri, 19 Nov 2010 04:21:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJMyK-0003F5-7X for submit@debbugs.gnu.org; Fri, 19 Nov 2010 04:09:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJN3F-0005O5-Um for submit@debbugs.gnu.org; Fri, 19 Nov 2010 04:14:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:56953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJN3F-0005O1-Sk for submit@debbugs.gnu.org; Fri, 19 Nov 2010 04:14:37 -0500 Received: from [140.186.70.92] (port=57946 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJN3E-0007oG-Py for bug-automake@gnu.org; Fri, 19 Nov 2010 04:14:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJN3D-0005Ni-FM for bug-automake@gnu.org; Fri, 19 Nov 2010 04:14:36 -0500 Received: from smtp.lrde.epita.fr ([62.39.139.2]:52241 helo=kualalumpur.lrde.epita.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJN3D-0005N8-Aw for bug-automake@gnu.org; Fri, 19 Nov 2010 04:14:35 -0500 Received: from tenochtitlan-eth.lrde.epita.fr ([192.168.101.154]) by kualalumpur.lrde.epita.fr with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from ) id 1PJN3A-00085d-Fn for bug-automake@gnu.org; Fri, 19 Nov 2010 10:14:32 +0100 From: Akim Demaille Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: 1.11.1: Emacs files in subdirs Date: Fri, 19 Nov 2010 10:14:31 +0100 Message-Id: <8F29F10D-FB6E-4CC0-8FC5-45634F4F542E@gmail.com> To: Automake Bugs Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 19 Nov 2010 04:21:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Hi all, When passing _LISP files with a path, Automake produces schizophrenic = Makefiles that expects the elc files to have the same path too, but = produces elc files in `.'. ---- Makefile.am dist_lisp_LISP =3D build-aux/rebox.el build-aux/tiger.el = build-aux/leopard.el ---- Makefile.in LISP =3D $(dist_lisp_LISP) am__ELFILES =3D build-aux/leopard.el build-aux/rebox.el \ build-aux/tiger.el am__ELCFILES =3D $(am__ELFILES:.el=3D.elc) ELCFILES =3D $(LISP:.el=3D.elc) ... elc-stamp: $(LISP) @echo 'WARNING: Warnings can be ignored. :-)' @rm -f elc-temp && touch elc-temp if test "$(EMACS)" !=3D no; then \ set x; \ list=3D'$(LISP)'; for p in $$list; do \ if test -f "$$p"; then d=3D; else d=3D"$(srcdir)/"; fi; \ set x "$$@" "$$d$$p"; shift; \ done; \ shift; \ EMACS=3D"$(EMACS)" $(SHELL) $(elisp_comp) "$$@" || exit 1; \ else : ; fi @mv -f elc-temp $@ So basically, it expects that build-aux/rebox.el be compiled into = build-aux/rebox.elc (which is also what I expected, =E0 la = subdir-objects), but it compiles the files as: $(elisp_comp) $(srcdir)/build-aux/rebox.el and elisp_comp, in that case, produces ./rebox.elc. So: 1. there are compilations at each make because it can't see the elc = files it expects. 2. it fails to install the compiled files 3. it fails to clean them Thanks!= From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 05:05:18 2010 Received: (at 7441) by debbugs.gnu.org; 19 Nov 2010 10:05:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJNqI-0003eP-Cb for submit@debbugs.gnu.org; Fri, 19 Nov 2010 05:05:18 -0500 Received: from mailout-de.gmx.net ([213.165.64.23] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PJNqG-0003eJ-5v for 7441@debbugs.gnu.org; Fri, 19 Nov 2010 05:05:17 -0500 Received: (qmail 20954 invoked by uid 0); 19 Nov 2010 10:10:21 -0000 Received: from 131.220.223.4 by www160.gmx.net with HTTP; Fri, 19 Nov 2010 11:10:19 +0100 (CET) Content-Type: text/plain; charset="utf-8" Date: Fri, 19 Nov 2010 11:10:19 +0100 From: "Ralf Wildenhues" In-Reply-To: <8F29F10D-FB6E-4CC0-8FC5-45634F4F542E@gmail.com> Message-ID: <20101119101019.162190@gmx.net> MIME-Version: 1.0 Organization: Institute for Numerical Simulation, University of Bonn References: <8F29F10D-FB6E-4CC0-8FC5-45634F4F542E@gmail.com> Subject: Re: bug#7441: 1.11.1: Emacs files in subdirs To: Akim Demaille X-Authenticated: #13673931 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Mutt-Fcc: =bug-automake X-Mutt-References: <8F29F10D-FB6E-4CC0-8FC5-45634F4F542E@gmail.com> X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/LgK4wprTLRBM7l8F535/1qALbrZ0eeaiNCmouZi AcnDfbodrqatbitiPqfM32eWmJVCvyDOsuOg== Content-Transfer-Encoding: 8bit X-GMX-UID: aiGNJBJqTlI8QKPAp2hrN/5OU2poZdlT X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7441 Cc: 7441@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Hi Akim, * Akim Demaille wrote on Fri, Nov 19, 2010 at 10:14:31AM CET: > > When passing _LISP files with a path, Automake produces schizophrenic > Makefiles that expects the elc files to have the same path too, but > produces elc files in `.'. Yes. I asked the necessary questions a while ago: answers are still needed. Thanks, Ralf From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 05:31:11 2010 Received: (at 7441) by debbugs.gnu.org; 19 Nov 2010 10:31:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJOFK-0003qi-T3 for submit@debbugs.gnu.org; Fri, 19 Nov 2010 05:31:11 -0500 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJOFI-0003qc-Mk for 7441@debbugs.gnu.org; Fri, 19 Nov 2010 05:31:09 -0500 Received: by wyb29 with SMTP id 29so4465128wyb.3 for <7441@debbugs.gnu.org>; Fri, 19 Nov 2010 02:36:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:x-priority:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=3yXKgmJGNc+K+2krctbKWEc+XMlNptfdO2EXtNAoGHc=; b=cmopy6LqSJXwZDsRpkKXGfS+/LRTqZNp7UQyG7KEKFVgsQvtsIBQJeB6NLS8PRSUAh dW+SAycLK0xhaaouEqc1XGSCw5OYBarLsI0NEkyGFp7j2I3lawNVzYQBsDrVBMVKCYJQ 6lNwaQB7S1k/xzJ9f1Sp9/Ew35jcIdyAeIKZk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:x-priority:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; b=cNBx+wxNpaMjRYPm2Hl5zbi6/ujeweOkjlOU4V9vne2ofJEwHQHp/IiQrqCvlOaNbd VWyPiIP3enUGRcKFkUk2PSh8Zz90t+BMcsuCgnCdoMk7Jw0KNI2rhLDtw/DLzdmnmcne Xh/9hWw1U+NA1E459ZCJQqsPrFujRIgm/KJ0s= Received: by 10.227.136.146 with SMTP id r18mr2003992wbt.98.1290162974758; Fri, 19 Nov 2010 02:36:14 -0800 (PST) Received: from tenochtitlan-eth.lrde.epita.fr (1.139.39-62.rev.gaoland.net [62.39.139.1]) by mx.google.com with ESMTPS id f14sm979348wbe.2.2010.11.19.02.36.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Nov 2010 02:36:13 -0800 (PST) Subject: Re: bug#7441: 1.11.1: Emacs files in subdirs Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=iso-8859-1 From: Akim Demaille X-Priority: 3 In-Reply-To: <20101119101019.162190@gmx.net> Date: Fri, 19 Nov 2010 11:36:11 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <61B6DD69-D817-4F34-B9AE-45BA7714A808@gmail.com> References: <8F29F10D-FB6E-4CC0-8FC5-45634F4F542E@gmail.com> <20101119101019.162190@gmx.net> To: Ralf Wildenhues X-Mailer: Apple Mail (2.1082) X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 7441 Cc: 7441@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) Le 19 nov. 2010 =E0 11:10, Ralf Wildenhues a =E9crit : > Hi Akim, Hi Ralf, > Yes. I asked the necessary questions a while ago: > = >=20 > answers are still needed. Sorry for the noise :( Thanks for looking into it!= From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 04 10:08:37 2012 Received: (at 7441) by debbugs.gnu.org; 4 Aug 2012 14:08:37 +0000 Received: from localhost ([127.0.0.1]:33431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sxf1w-0002dh-Us for submit@debbugs.gnu.org; Sat, 04 Aug 2012 10:08:37 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:55728) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sxf1u-0002dZ-K7 for 7441@debbugs.gnu.org; Sat, 04 Aug 2012 10:08:35 -0400 Received: by weyu54 with SMTP id u54so1076999wey.3 for <7441@debbugs.gnu.org>; Sat, 04 Aug 2012 07:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=XAwvTMDq9L+sdjCmXABYDWjMAQhLqCwnt17uBgKys/o=; b=fuN7uI7q/5N887IQdCUcu7sWSSMz53K4oifO9wnxEE+pg5wZPyJXdmdZUaxzA2UoIs hQItQ7wrFWQL0N7V0l26i2foXZnFzOzUEmponpDbqtBE286FSlNbk/M1kOYPtquNzLmU nEhERhVBvVKGKOgqLUYhAcyrPAO0Estzuqnr59PbQdzUi2+G3L2xmlrkPkKUHBtCHZ3a JhmlclYcijok2p7PPEnD7ABqUf+4aVlN+My+SX1DhY6Sw5698mjsDChg1Z2JAyx6PX29 s/oA7GdSRAEngxvfZrXr1m1UFoSJvoaPDQcAAgJiG5hI7hGUo77kXIBI/rBmmjrbKzS/ LI/Q== Received: by 10.180.95.193 with SMTP id dm1mr4528611wib.10.1344088851865; Sat, 04 Aug 2012 07:00:51 -0700 (PDT) Received: from localhost.localdomain (host152-95-dynamic.2-87-r.retail.telecomitalia.it. [87.2.95.152]) by mx.google.com with ESMTPS id bc2sm5322595wib.0.2012.08.04.07.00.50 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 04 Aug 2012 07:00:51 -0700 (PDT) From: Stefano Lattarini To: automake-ng@gnu.org Subject: [PATCH] {elisp-work} news: document all the recent elisp-related changes and improvements Date: Sat, 4 Aug 2012 16:00:42 +0200 Message-Id: X-Mailer: git-send-email 1.7.12.rc0 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7441 Cc: 7441@debbugs.gnu.org, Akim Demaille , Jack Kelly X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) * NEWS (Elisp byte-compilation): Here. Also notice that the recent changes have fixed the long-standing (almost two years old!) automake bug#7441. Signed-off-by: Stefano Lattarini --- With this patch, I believe the recent work on Elisp support is mature enough for inclusion in master. I will proceed to the merge soon enough. If you have doubts or objections, speak up soon! Thanks, Stefano NEWS | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/NEWS b/NEWS index d2fc46d..5884e78 100644 --- a/NEWS +++ b/NEWS @@ -44,6 +44,30 @@ New in 1.13: - All the "old alias" macros in 'm4/obsolete.m4' have been removed. +* Elisp byte-compilation: + + - The byte compilation of '.el' files into '.elc' files is now done + with a suffix rule. This has simplified the compilation process, and + more importantly made it less brittle. The downside is that emacs is + now invoked once for each '.el' files, which cause some noticeable + slowdowns. These should however be mitigated on multicore machines + (which are becoming the norm today) if concurrent make ("make -j") + is used. + + - Elisp files placed in a subdirectory are now byte-compiled to '.elc' + files in the same subdirectory; for example, byte-compiling of file + 'sub/foo.el' file will result in 'sub/foo.elc' rather than in + 'foo.elc'. This behaviour is backward-incompatible with older + Automake versions, but it is more natural and more sane. See also + automake bug#7441. + + - The Emacs invocation performing byte-compilation of '.el' files honors + the $(AM_ELCFLAGS) and $(ELCFLAGS) variables; as typical, the former + one is developer-reserved and the latter one user-reserved. + + - The 'elisp-comp' script, once provided by Automake, has been rendered + obsoleted by the just-described changes, and thus removed. + * Changes to Automake-generated testsuite harnesses: - The parallel testsuite harness (previously only enabled by the -- 1.7.12.rc0 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 05 05:50:20 2012 Received: (at 7441) by debbugs.gnu.org; 5 Aug 2012 09:50:20 +0000 Received: from localhost ([127.0.0.1]:34659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxxTY-0002jp-BO for submit@debbugs.gnu.org; Sun, 05 Aug 2012 05:50:20 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:49257) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SxxTW-0002jf-3s; Sun, 05 Aug 2012 05:50:18 -0400 Received: by wibhr14 with SMTP id hr14so640290wib.15 for ; Sun, 05 Aug 2012 02:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=w3/3UO7JkDlHPaFmP1AfZ6ehVY9nd0/pWHS1LG+mlIM=; b=Dgr4+jryVRJUnqO0WrsUb5dZ7yWM7+jw/OuISVBuNpEnHaqxQIp+ojtH7DVSbqonH0 DN64ed6xef9jzuaHe4HcrQ7QSawI1OGFVS59uvDvrcC7PQZQYKVCamnoioFNKpyZCACB VeK+Rty+xMXKx6HuDp1My/4Ewo0PBfIBuqL5kCtFrbmNr6AmaozxB2Ad1qzylYY7d2cc WDfl244eJqVF1uQzBHxXRBQRw78Z67a4RxFUU4vDXRV2UO3+rPsawB/p/aKtZifiN05N XmC+jaa+1hHOAcbWUVQ8DZYT3VjioZ3P3YyVl1/i+u22lIhHJH5M2u4QsJ86nCMzY00A 3iQg== Received: by 10.180.79.69 with SMTP id h5mr9970544wix.6.1344159750979; Sun, 05 Aug 2012 02:42:30 -0700 (PDT) Received: from [192.168.178.21] (host152-95-dynamic.2-87-r.retail.telecomitalia.it. [87.2.95.152]) by mx.google.com with ESMTPS id bc2sm12660554wib.0.2012.08.05.02.42.29 (version=SSLv3 cipher=OTHER); Sun, 05 Aug 2012 02:42:30 -0700 (PDT) Message-ID: <501E4003.8030207@gmail.com> Date: Sun, 05 Aug 2012 11:42:27 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: automake-patches@gnu.org Subject: Re: [PATCH 0/3] Last patches for elisp support overhaul References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7441 Cc: 7441@debbugs.gnu.org, Jack Kelly X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) tags 7441 + patch close 7441 thanks On 08/04/2012 04:05 PM, Stefano Lattarini wrote: > With these patched, I believe the recent work on Elisp support is mature > enough for inclusion in master. I will proceed to the merge soon enough. > If you have doubts or objections, speak up soon! > > Thanks, > Stefano > > -*-*-*- > > Stefano Lattarini (3): > elisp: honour AM_ELCFLAFS and ELCFLAGS in byte-compilation > coverage: byte-compiling elisp files in different subdirectories > news: document all the recent elisp-related changes and improvements > > NEWS | 24 +++++++++++++ > doc/automake.texi | 5 ++- > lib/am/lisp.am | 1 + > t/lisp-flags.sh | 41 ++++++++++++++++++++++ > t/lisp-subdir-mix.sh | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > t/list-of-tests.mk | 2 ++ > 6 files changed, 168 insertions(+), 1 deletion(-) > create mode 100755 t/lisp-flags.sh > create mode 100755 t/lisp-subdir-mix.sh > Pushed to master now. And closing automake bug#7441 finally. Regards, Stefano From unknown Sun Jun 22 11:35:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Sep 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator