From: Eli Zaretskii <eliz@gnu.org>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: emacs-devel@gnu.org
Subject: Re: MinGW build on master fails with Error 127
Date: Sat, 24 Dec 2022 21:10:26 +0200 [thread overview]
Message-ID: <83lemw4nz1.fsf@gnu.org> (raw)
In-Reply-To: <87zgbczl3g.fsf@telefonica.net> (message from Óscar Fuentes on Sat, 24 Dec 2022 19:56:51 +0100)
> From: Óscar Fuentes <ofv@wanadoo.es>
> Cc: emacs-devel@gnu.org
> Date: Sat, 24 Dec 2022 19:56:51 +0100
>
> > Does the wording in nt/INSTALL.W64 guide users to only one of these
> > two variants (and if so, to which one), or is it generic, and the user
> > will have to choose when they install MinGW?
>
> It definitively points to the MINGW64 variant (the traditional one that
> uses MSVCRT *and* runs on x86_64) because it lists the packages with the
> mingw-w64-x86_64- prefix.
OK, that's good.
> A cursory look also shows some important problems with that document.
> For instance, gives a link to download the MSYS2 installer instead of
> directing the user to the MSYS2 project webpage (msys2.org). That link
> is no longer valid.
Fixes for stale and outdated URLs will be appreciated.
> In general, I don't know why we (Emacs) make the effort of providing so
> much guidance for building under MSYS2 when no similar level of detail
> is provided for Debian, Fedora, Cygwin, etc.
The Windows users typically need to do more to arrange for a working
build environment than users on Posix hosts.
> Actually, building Emacs under MSYS2 is almost the same as the other
> platforms.
Once you have a suitable build environment, yes. But until you get
there, no.
> >> The commit message says "fclose fail during atexit as if they were
> >> already closed" but indeed it doesn't describe a user-visible problem. I
> >> can ask for more details, if you are interested.
> >
> > I am.
>
> Ok, I'll ask the patch author.
My guess is that close_stream (which is a Gnulib module) does
something that fails with UCRT. For example, it uses __fpending, and
AFAIR that's defined in Emacs for Windows using the MSVCRT internals
of the FILE object, so maybe it needs to be amended.
In general, I would suggest to step into close_stream and see what
exactly fails there.
next prev parent reply other threads:[~2022-12-24 19:10 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-12 15:26 MinGW build on master fails with Error 127 Loreno Heer
2022-12-12 15:40 ` Eli Zaretskii
2022-12-12 15:44 ` Loreno Heer
2022-12-12 15:56 ` Eli Zaretskii
2022-12-12 16:03 ` Loreno Heer
2022-12-12 16:11 ` Eli Zaretskii
2022-12-12 16:54 ` Loreno Heer
2022-12-23 21:45 ` Loreno Heer
2022-12-24 6:36 ` Eli Zaretskii
2022-12-24 14:18 ` Loreno Heer
2022-12-24 14:43 ` Eli Zaretskii
2022-12-24 15:11 ` Loreno Heer
2022-12-24 15:44 ` Eli Zaretskii
2022-12-24 22:50 ` Loreno Heer
2022-12-24 15:31 ` Óscar Fuentes
2022-12-24 15:50 ` Eli Zaretskii
2022-12-24 16:14 ` Óscar Fuentes
2022-12-24 16:46 ` Eli Zaretskii
2022-12-24 16:58 ` Óscar Fuentes
2022-12-24 17:08 ` Óscar Fuentes
2022-12-24 17:20 ` Eli Zaretskii
2022-12-24 17:57 ` Óscar Fuentes
2022-12-24 18:09 ` Eli Zaretskii
2022-12-24 18:56 ` Óscar Fuentes
2022-12-24 19:10 ` Eli Zaretskii [this message]
2022-12-25 2:46 ` Óscar Fuentes
2022-12-25 8:29 ` Eli Zaretskii
2022-12-25 14:25 ` Óscar Fuentes
2022-12-26 13:02 ` Eli Zaretskii
2022-12-26 13:33 ` Óscar Fuentes
2022-12-24 19:19 ` Óscar Fuentes
2022-12-24 19:27 ` Eli Zaretskii
2022-12-25 0:13 ` Po Lu
2022-12-25 0:48 ` Óscar Fuentes
2022-12-25 6:46 ` Eli Zaretskii
2022-12-24 18:03 ` Óscar Fuentes
2022-12-24 18:49 ` Eli Zaretskii
2022-12-24 19:23 ` Óscar Fuentes
2022-12-24 19:29 ` Eli Zaretskii
2022-12-24 19:44 ` Óscar Fuentes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83lemw4nz1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=ofv@wanadoo.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).