--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
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 |
User-agent: |
Mozilla Thunderbird |
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
Description: Text Data
--- End Message ---