GNU bug report logs - #61782
About some warning building Emacs master on MSYS2/MINGW64 [autogen, configure]

Previous Next

Package: emacs;

Reported by: Angelo Graziosi <angelo.g0 <at> libero.it>

Date: Sat, 25 Feb 2023 08:47:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

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 61782 in the body.
You can then email your comments to 61782 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#61782; Package emacs. (Sat, 25 Feb 2023 08:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Angelo Graziosi <angelo.g0 <at> libero.it>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 25 Feb 2023 08:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: About some warning building Emacs master on MSYS2/MINGW64 [autogen,
 configure]
Date: Sat, 25 Feb 2023 09:45:56 +0100 (CET)
I noticed that building Emacs (master) on Windows with MSYS2/MINGW64 now shows these warnings

$ ./autogen.sh
[...]
Running 'autoreconf -fi -I m4' ...
ac-wrapper: autoreconf: warning: auto-detected versions not found ( ); falling back to latest available
You can now run './configure'.

./configure
[...]
checking for xattr library with ATTR_ACTION_PERMISSIONS... no
configure: WARNING: libattr development library was not found or not usable.
configure: WARNING: GNU Emacs will be built without xattr support.
checking whether readlink signature is correct... yes
[...]

I wonder if they are to be expected and if we can do something to avoid them.

Thanks,
 Angelo.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61782; Package emacs. (Sat, 25 Feb 2023 09:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 61782 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Angelo Graziosi <angelo.g0 <at> libero.it>, Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 61782 <at> debbugs.gnu.org
Subject: Re: bug#61782: About some warning building Emacs master on
 MSYS2/MINGW64 [autogen, configure]
Date: Sat, 25 Feb 2023 11:49:39 +0200
> Date: Sat, 25 Feb 2023 09:45:56 +0100 (CET)
> From: Angelo Graziosi <angelo.g0 <at> libero.it>
> 
> I noticed that building Emacs (master) on Windows with MSYS2/MINGW64 now shows these warnings
> 
> $ ./autogen.sh
> [...]
> Running 'autoreconf -fi -I m4' ...
> ac-wrapper: autoreconf: warning: auto-detected versions not found ( ); falling back to latest available
> You can now run './configure'.
> 
> ./configure
> [...]
> checking for xattr library with ATTR_ACTION_PERMISSIONS... no
> configure: WARNING: libattr development library was not found or not usable.
> configure: WARNING: GNU Emacs will be built without xattr support.
> checking whether readlink signature is correct... yes
> [...]
> 
> I wonder if they are to be expected and if we can do something to avoid them.

The first one doesn't happen here.

The second one is due to m4/xattr.m4.  Paul, this test should not be
run on MS-Windows (although running it is mostly harmless), as xattr
will not be supported there.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61782; Package emacs. (Sat, 25 Feb 2023 16:52:02 GMT) Full text and rfc822 format available.

Message #11 received at 61782 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Eli Zaretskii <eliz <at> gnu.org>, Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 61782 <at> debbugs.gnu.org
Subject: Re: bug#61782: About some warning building Emacs master on
 MSYS2/MINGW64 [autogen, configure]
Date: Sat, 25 Feb 2023 17:51:21 +0100 (CET)
> Il 25/02/2023 10:49 Eli Zaretskii ha scritto:
> 
> The first one doesn't happen here.
>

Are you using MSYS2/MINGW64? It occurs in the build I did on Feb. 04 but not on the one I did on Jan. 01. My installation is updated daily..

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61782; Package emacs. (Sat, 25 Feb 2023 17:18:02 GMT) Full text and rfc822 format available.

Message #14 received at 61782 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 61782 <at> debbugs.gnu.org, eggert <at> cs.ucla.edu
Subject: Re: bug#61782: About some warning building Emacs master on
 MSYS2/MINGW64 [autogen, configure]
Date: Sat, 25 Feb 2023 19:17:52 +0200
> Date: Sat, 25 Feb 2023 17:51:21 +0100 (CET)
> From: Angelo Graziosi <angelo.g0 <at> libero.it>
> Cc: 61782 <at> debbugs.gnu.org
> 
> 
> > Il 25/02/2023 10:49 Eli Zaretskii ha scritto:
> > 
> > The first one doesn't happen here.
> >
> 
> Are you using MSYS2/MINGW64?

No, I'm using MSYS and MinGW.  I guess your autoconf version is newer
or something.  Curiously, I cannot find anything about this warning on
the net.

> It occurs in the build I did on Feb. 04 but not on the one I did on Jan. 01. My installation is updated daily..

I never update my installation unless strictly necessary.  Keeps me
sane.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61782; Package emacs. (Sat, 25 Feb 2023 23:39:02 GMT) Full text and rfc822 format available.

Message #17 received at 61782 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>, Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 61782 <at> debbugs.gnu.org
Subject: Re: bug#61782: About some warning building Emacs master on
 MSYS2/MINGW64 [autogen, configure]
Date: Sat, 25 Feb 2023 15:38:38 -0800
[Message part 1 (text/plain, inline)]
On 2023-02-25 01:49, Eli Zaretskii wrote:

> The second one is due to m4/xattr.m4.  Paul, this test should not be
> run on MS-Windows (although running it is mostly harmless), as xattr
> will not be supported there.

Perhaps something like the attached untested patch? Please feel free to 
install it if it works.
[xattr.diff (text/x-patch, attachment)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 26 Feb 2023 06:57:02 GMT) Full text and rfc822 format available.

Notification sent to Angelo Graziosi <angelo.g0 <at> libero.it>:
bug acknowledged by developer. (Sun, 26 Feb 2023 06:57:02 GMT) Full text and rfc822 format available.

Message #22 received at 61782-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 61782-done <at> debbugs.gnu.org, angelo.g0 <at> libero.it
Subject: Re: bug#61782: About some warning building Emacs master on
 MSYS2/MINGW64 [autogen, configure]
Date: Sun, 26 Feb 2023 08:56:38 +0200
> Date: Sat, 25 Feb 2023 15:38:38 -0800
> Cc: 61782 <at> debbugs.gnu.org
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> 
> On 2023-02-25 01:49, Eli Zaretskii wrote:
> 
> > The second one is due to m4/xattr.m4.  Paul, this test should not be
> > run on MS-Windows (although running it is mostly harmless), as xattr
> > will not be supported there.
> 
> Perhaps something like the attached untested patch? Please feel free to 
> install it if it works.

Thanks, installed.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61782; Package emacs. (Sun, 26 Feb 2023 21:35:01 GMT) Full text and rfc822 format available.

Message #25 received at 61782 <at> debbugs.gnu.org (full text, mbox):

From: Angelo Graziosi <angelo.g0 <at> libero.it>
To: Eli Zaretskii <eliz <at> gnu.org>, Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 61782 <at> debbugs.gnu.org
Subject: Re: bug#61782: About some warning building Emacs master on
 MSYS2/MINGW64 [autogen, configure]
Date: Sun, 26 Feb 2023 22:34:35 +0100 (CET)
> Il 25/02/2023 10:49 Eli Zaretskii ha scritto:
> 
> > From: Angelo Graziosi
> > 
> > I noticed that building Emacs (master) on Windows with MSYS2/MINGW64 now shows these warnings
> > 
> > $ ./autogen.sh
> > [...]
> > Running 'autoreconf -fi -I m4' ...
> > ac-wrapper: autoreconf: warning: auto-detected versions not found ( ); falling back to latest available
> > You can now run './configure'.
> 
> The first one doesn't happen here.

For the sake of completeness, someone made a deep analysis of that warning: https://github.com/msys2/MSYS2-packages/issues/3588




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61782; Package emacs. (Mon, 27 Feb 2023 11:14:02 GMT) Full text and rfc822 format available.

Message #28 received at 61782 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: eggert <at> cs.ucla.edu, Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 61782 <at> debbugs.gnu.org
Subject: Re: bug#61782: About some warning building Emacs master on
 MSYS2/MINGW64 [autogen, configure]
Date: Mon, 27 Feb 2023 13:13:14 +0200
> Date: Sun, 26 Feb 2023 22:34:35 +0100 (CET)
> From: Angelo Graziosi <angelo.g0 <at> libero.it>
> Cc: 61782 <at> debbugs.gnu.org
> 
> > > $ ./autogen.sh
> > > [...]
> > > Running 'autoreconf -fi -I m4' ...
> > > ac-wrapper: autoreconf: warning: auto-detected versions not found ( ); falling back to latest available
> > > You can now run './configure'.
> > 
> > The first one doesn't happen here.
> 
> For the sake of completeness, someone made a deep analysis of that warning: https://github.com/msys2/MSYS2-packages/issues/3588

Thanks.

Paul, is there something we should do about this nuisance?  I'm okay
with doing nothing if what we have is a reasonable compromise.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#61782; Package emacs. (Mon, 27 Feb 2023 20:42:02 GMT) Full text and rfc822 format available.

Message #31 received at 61782 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>, Angelo Graziosi <angelo.g0 <at> libero.it>
Cc: 61782 <at> debbugs.gnu.org, Sam James <sam <at> gentoo.org>
Subject: Re: bug#61782: About some warning building Emacs master on
 MSYS2/MINGW64 [autogen, configure]
Date: Mon, 27 Feb 2023 12:41:25 -0800
On 2/27/23 03:13, Eli Zaretskii wrote:
>> Date: Sun, 26 Feb 2023 22:34:35 +0100 (CET)
>> From: Angelo Graziosi <angelo.g0 <at> libero.it>
>> Cc: 61782 <at> debbugs.gnu.org
>>
>>>> $ ./autogen.sh
>>>> [...]
>>>> Running 'autoreconf -fi -I m4' ...
>>>> ac-wrapper: autoreconf: warning: auto-detected versions not found ( ); falling back to latest available
>>>> You can now run './configure'.
>>>
>>> The first one doesn't happen here.
>>
>> For the sake of completeness, someone made a deep analysis of that warning: https://github.com/msys2/MSYS2-packages/issues/3588
> 
> Thanks.
> 
> Paul, is there something we should do about this nuisance?  I'm okay
> with doing nothing if what we have is a reasonable compromise.


I'd like to know why that warning is being given before trying to 
suppress it, as it could be a valid version-mismatch warning for that 
user's build configuration.

For what it's worth, I don't get the warning when running the latest 
autotools-wrappers on Fedora 37. I got my copy of autotools-wrappers 
from <https://gitweb.gentoo.org/proj/autotools-wrappers.git/> commit 
afe80def609c91d72df73837ce2c51fed8b69f28. Perhaps the user in question 
could try that version of autotools-wrappers.

I'll cc this to Sam James to see if he has any advice about this. Sam, 
the thread is in <https://bugs.gnu.org/61782>.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 28 Mar 2023 11:24:13 GMT) Full text and rfc822 format available.

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

Previous Next


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