GNU bug report logs - #68464
30.0.50; autogen.sh creating modified files in build-aux with Autoconf 2.72

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Mon, 15 Jan 2024 06:35:02 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 30.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Subject: bug#68464: closed (Re: bug#68464: 30.0.50; autogen.sh creating
 modified files in build-aux with Autoconf 2.72)
Date: Sun, 21 Jan 2024 00:52:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#68464: 30.0.50; autogen.sh creating modified files in build-aux with Autoconf 2.72

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 68464 <at> debbugs.gnu.org.

-- 
68464: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68464
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: gerd.moellmann <at> gmail.com, schwab <at> linux-m68k.org, 68464-done <at> debbugs.gnu.org,
 Pierre Téchoueyres <pierre.techoueyres <at> free.fr>
Subject: Re: bug#68464: 30.0.50; autogen.sh creating modified files in
 build-aux with Autoconf 2.72
Date: Sat, 20 Jan 2024 16:51:06 -0800
[Message part 3 (text/plain, inline)]
On 2024-01-20 01:55, Eli Zaretskii wrote:
> Paul, is this version okay to install on our master branch?

Something was off, as that patch said the timestamps of 
build-aux/config.guess and build-aux/config.sub were both 2022-09-17, 
whereas the master branch said they were 2023-07-20 and 2023-07-31 
respectively. I suppose this patch was generated against some other 
Emacs branch?

Anyway, these two files (along with other Gnulib-derived files in the 
Emacs repository) are updated automatically by admin/merge-gnulib. Today 
I did such an update on the master branch, so config.guess and 
config.sub are now updated to their latest versions.

I then reproduced the problem that Gerd mentioned. Gnulib's config.guess 
etc. tend to be more up-to-date, and anyway the Emacs build is more 
reproducible if we use the Emacs repository version of config.guess etc. 
(instead of whatever version the developer's Autoconf happens to have), 
so I installed the attached patch which fixed the problem for me.

Boldly closing the bug report; we can reopen it if there are still 
issues here.
[0001-Fix-autogen.sh-s-spurious-git-diff-output.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; autogen.sh creating modified files in build-aux with
 Autoconf 2.72
Date: Mon, 15 Jan 2024 07:33:53 +0100
Don't know if this is something that should be fixed.

In master,

  git clean -xdf
  ./autogen.sh

creates a number of modified files in build-aux

  git status

  On branch master
  Your branch is up to date with 'origin/master'.

  Changes not staged for commit:
    (use "git add <file>..." to update what will be committed)
    (use "git restore <file>..." to discard changes in working directory)
          modified:   build-aux/config.guess
          modified:   build-aux/config.sub
          modified:   build-aux/install-sh
          modified:   exec/config.guess
          modified:   exec/config.sub
          modified:   exec/install-sh

This is on macOS 14.2.1 (23C71), with

  brew info autoconf
  ==> autoconf: stable 2.72 (bottled)
  Automatic configure script builder
  https://www.gnu.org/software/autoconf
  /usr/local/Cellar/autoconf/2.72 (71 files, 3.6MB) *
    Poured from bottle using the formulae.brew.sh API on 2024-01-04 at 21:35:37
  
  brew info automake
  ==> automake: stable 1.16.5 (bottled)

So it looks like I got a new Autconf recently.



This bug report was last modified 1 year and 178 days ago.

Previous Next


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