unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: pRoMMMModE@outlook.com
Cc: 59744@debbugs.gnu.org
Subject: bug#59744: 30.0.50; package-vc can't build info file on windows/MSYS2
Date: Thu, 01 Dec 2022 18:12:56 +0200	[thread overview]
Message-ID: <83tu2fgl13.fsf@gnu.org> (raw)
In-Reply-To: <ME3P282MB24031C4BD9A53DAAC36EB2E9DF149@ME3P282MB2403.AUSP282.PROD.OUTLOOK.COM> (pRoMMMModE@outlook.com)

tags 59744 wontfix
thanks

> Date: Thu, 1 Dec 2022 23:01:34 +0800
> From: pRoMMMModE@outlook.com
> 
> To build info file one need makeinfo executable, on windows the makeinfo
> from MSYS2 is a perl script, therefore not recognized as executable. When
> trying to build info files `package-vc--build-documentation' will throw a
> "Permission Denied" error.
> 
> There are makeinfo.exe provide by MinGW/MSYS/GnuWin project, but those
> binaries haven't got a update since 2010...I suggest modify
> `package-vc--build-documentation` a bit so that when makeinfo is in the
> PATH but not a executatble, run (call-process "perl" nil t
> nil "makeinfo"...) instead.

I don't like this solution.  The root cause is that apparently MSYS2 doesn't
provide a functional native Windows port of Texinfo that works outside of
MSYS2 Bash.  It is not hard to provide such a port, and the proof is here:

  https://sourceforge.net/projects/ezwinports/files/texinfo-6.8-3-w32-bin.zip/download

So if MSYS2 folks don't get their act together soon, you may wish trying the
above port, which works for me on MS-Windows very well without any problems
(and I build Emacs all the time, as you may guess).  It is a 32-bit port,
not a 64-bit port, but I don't think this should matter for your purposes.

(And if you must have the latest Texinfo 7 instead of 6.8, just wait for a
few days.)

But tweaking Emacs because of this is IMNSHO a kludge, especially since a
simple solution is already available.  So I don't think we should do this.





  reply	other threads:[~2022-12-01 16:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01 15:01 bug#59744: 30.0.50; package-vc can't build info file on windows/MSYS2 pRoMMMModE
2022-12-01 16:12 ` Eli Zaretskii [this message]
     [not found]   ` <ME3P282MB2403BA1B8CB0ECF2067FB3C8DF179@ME3P282MB2403.AUSP282.PROD.OUTLOOK.COM>
2022-12-02  8:16     ` Eli Zaretskii

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=83tu2fgl13.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=59744@debbugs.gnu.org \
    --cc=pRoMMMModE@outlook.com \
    /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).