GNU bug report logs -
#68464
30.0.50; autogen.sh creating modified files in build-aux with Autoconf 2.72
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68464 in the body.
You can then email your comments to 68464 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68464
; Package
emacs
.
(Mon, 15 Jan 2024 06:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Gerd Möllmann <gerd.moellmann <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 15 Jan 2024 06:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68464
; Package
emacs
.
(Mon, 15 Jan 2024 13:02:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 68464 <at> debbugs.gnu.org (full text, mbox):
tags 68464 notabug wontfix
thanks
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> 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 is a known issue with Autoconf 2.71 and later, see
https://lists.gnu.org/archive/html/emacs-devel/2021-05/msg00130.html
https://lists.gnu.org/archive/html/emacs-devel/2021-05/msg00187.html
My only recommendation is to downgrade back to an older version of
Autoconf. I'm a happy user of 2.69.
Added tag(s) notabug and wontfix.
Request was from
Eli Zaretskii <eliz <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 15 Jan 2024 13:02:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68464
; Package
emacs
.
(Mon, 15 Jan 2024 20:41:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 68464 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Le lundi 15 janv. 2024 à 15:01, Eli Zaretskii <eliz <at> gnu.org> a écrit :
> tags 68464 notabug wontfix
> thanks
>
>> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
>> 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 is a known issue with Autoconf 2.71 and later, see
>
> https://lists.gnu.org/archive/html/emacs-devel/2021-05/msg00130.html
> https://lists.gnu.org/archive/html/emacs-devel/2021-05/msg00187.html
>
> My only recommendation is to downgrade back to an older version of
> Autoconf. I'm a happy user of 2.69.
>
For the two files (build-aux/config.guess, build-aux/config.sub) this is
triggered by the timestamp in those files that is older than the release
of autoconf 2.71. May you consider applying the attached patch which
fixes it (based on emacs-29) ?
It also fixes two copyright years and an typo
[0001-Fix-build-aux-config.guess-build-aux-config.sub.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68464
; Package
emacs
.
(Mon, 15 Jan 2024 21:11:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 68464 <at> debbugs.gnu.org (full text, mbox):
Pierre Téchoueyres <pierre.techoueyres <at> free.fr> writes:
> For the two files (build-aux/config.guess, build-aux/config.sub) this is
> triggered by the timestamp in those files that is older than the release
> of autoconf 2.71. May you consider applying the attached patch which
> fixes it (based on emacs-29) ?
>
> It also fixes two copyright years and an typo
Is that really the right thing?
I see no reason not to fix the athalon/athlon typo though.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68464
; Package
emacs
.
(Mon, 15 Jan 2024 21:15:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 68464 <at> debbugs.gnu.org (full text, mbox):
If you want to update config.sub and config.guess you should copy them
verbatim from the config project, not edit them randomly.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68464
; Package
emacs
.
(Tue, 16 Jan 2024 03:32:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 68464 <at> debbugs.gnu.org (full text, mbox):
> From: Andreas Schwab <schwab <at> linux-m68k.org>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, Gerd Möllmann
> <gerd.moellmann <at> gmail.com>,
> 68464 <at> debbugs.gnu.org
> Date: Mon, 15 Jan 2024 22:13:59 +0100
>
> If you want to update config.sub and config.guess you should copy them
> verbatim from the config project, not edit them randomly.
Right. We don't maintain these files, so the changes, if they are
needed, should be submitted to their upstream.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68464
; Package
emacs
.
(Tue, 16 Jan 2024 20:25:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 68464 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Le mardi 16 janv. 2024 à 05:30, Eli Zaretskii <eliz <at> gnu.org> a écrit :
>> From: Andreas Schwab <schwab <at> linux-m68k.org>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>, Gerd Möllmann
>> <gerd.moellmann <at> gmail.com>,
>> 68464 <at> debbugs.gnu.org
>> Date: Mon, 15 Jan 2024 22:13:59 +0100
>>
>> If you want to update config.sub and config.guess you should copy them
>> verbatim from the config project, not edit them randomly.
>
> Right. We don't maintain these files, so the changes, if they are
> needed, should be submitted to their upstream.
>
So, I've used the latest ones availables on https://git.savannah.gnu.org/cgit/config.git/
And updated the patch consequently.
This should prevent their overwritting by autoreconf.
[0001-Update-files-changed-by-autoreconf-i-I-m4-force.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68464
; Package
emacs
.
(Sat, 20 Jan 2024 09:56:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 68464 <at> debbugs.gnu.org (full text, mbox):
> From: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>
> Cc: Andreas Schwab <schwab <at> linux-m68k.org>, gerd.moellmann <at> gmail.com,
> 68464 <at> debbugs.gnu.org
> Date: Tue, 16 Jan 2024 21:24:37 +0100
>
> >> From: Andreas Schwab <schwab <at> linux-m68k.org>
> >> Cc: Eli Zaretskii <eliz <at> gnu.org>, Gerd Möllmann
> >> <gerd.moellmann <at> gmail.com>,
> >> 68464 <at> debbugs.gnu.org
> >> Date: Mon, 15 Jan 2024 22:13:59 +0100
> >>
> >> If you want to update config.sub and config.guess you should copy them
> >> verbatim from the config project, not edit them randomly.
> >
> > Right. We don't maintain these files, so the changes, if they are
> > needed, should be submitted to their upstream.
> >
>
> So, I've used the latest ones availables on https://git.savannah.gnu.org/cgit/config.git/
> And updated the patch consequently.
>
> This should prevent their overwritting by autoreconf.
Thanks.
Paul, is this version okay to install on our master branch?
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Sun, 21 Jan 2024 00:52:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Gerd Möllmann <gerd.moellmann <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 21 Jan 2024 00:52:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 68464-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (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)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68464
; Package
emacs
.
(Sun, 21 Jan 2024 06:54:02 GMT)
Full text and
rfc822 format available.
Message #36 received at 68464-done <at> debbugs.gnu.org (full text, mbox):
Paul Eggert <eggert <at> cs.ucla.edu> writes:
> Boldly closing the bug report; we can reopen it if there are still
> issues here.
Works perfectly here, macOS with Autoconf 2.72. Thanks, Paul!
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#68464
; Package
emacs
.
(Sun, 21 Jan 2024 09:57:02 GMT)
Full text and
rfc822 format available.
Message #39 received at 68464 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 20 Jan 2024 16:51:06 -0800
> Cc: schwab <at> linux-m68k.org, gerd.moellmann <at> gmail.com,
> 68464-done <at> debbugs.gnu.org, Pierre Téchoueyres
> <pierre.techoueyres <at> free.fr>
> From: Paul Eggert <eggert <at> cs.ucla.edu>
>
> 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.
Thanks.
> 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.
And thanks.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 18 Feb 2024 12:24:16 GMT)
Full text and
rfc822 format available.
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.