GNU bug report logs - #38139
Fwd: Likely bug: generating tags with Emacs Lisp sources present

Previous Next

Package: automake;

Reported by: Luca Saiu <positron <at> gnu.org>

Date: Fri, 8 Nov 2019 23:27:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Luca Saiu <positron <at> gnu.org>
To: Karl Berry <karl <at> freefriends.org>,  38139 <at> debbugs.gnu.org
Subject: bug#38139: Fwd: Likely bug: generating tags with Emacs Lisp sources present
Date: Sun, 10 Nov 2019 14:24:27 +0100
[Message part 1 (text/plain, inline)]
My overcomplicated and probably incorrect Gnus setup keeps misbehaving,
messing up the text I add manually to a message containing attachments.
I apologize for the noise.

Let me reproduce here what was probably encoded incorrectly in the
message I have just sent.


Hello Karl, and thanks for investigating the problem.

On 2019-11-09 at 15:10 -0700, Karl Berry wrote:

> If you can easily make a minimal Makefile.am that exhibits the
> problem, that would be great.

Of course.  I put together a minimal set of files to exhibit the
problem.  Notice that some file in AC_CONFIG_HEADERS is required to
trigger it.

Here is configure.ac:
--8<---------------cut here---------------start------------->8---
AC_INIT([testcase], [1.0])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE
AM_PATH_LISPDIR
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
--8<---------------cut here---------------end--------------->8---

And this is Makefile.am:
--8<---------------cut here---------------start------------->8---
lisp_LISP = the-emacs-mode.el
--8<---------------cut here---------------end--------------->8---

I am attaching a tarball with the two trivial scripts I used.

When preparing this test case on this I noticed a difference in behavior
between lisp_LISP and lisp_DATA , which also allows to work around the
bug: using lisp_DATA rather than lisp_LISP prevents the misbehavior.

I would say that the bug is still there: in either case the generated
definition for am__tagged_files clearly lacks a space separator.

With the provided files,
  make
,
  make install
and every other target I have tested work correctly, except
  make tags
which fails with:
make: *** No rule to make target 'the-emacs-mode.elconfig.h.in', needed by 'tags-am'.  Stop.

Best regards,

-- 
Luca Saiu
* My personal web site:  http://ageinghacker.net
* GNU epsilon:           http://www.gnu.org/software/epsilon
* Jitter:                http://ageinghacker.net/projects/jitter
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 132 days ago.

Previous Next


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