From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83tu2fgl13.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16583"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59744@debbugs.gnu.org To: pRoMMMModE@outlook.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 01 17:14:25 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p0mCf-00046V-2b for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Dec 2022 17:14:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p0mCK-0006Hw-JN; Thu, 01 Dec 2022 11:14:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0mCI-0006HP-UT for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2022 11:14:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p0mCI-0002nk-MU for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2022 11:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p0mCI-0000lk-Cm for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2022 11:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Dec 2022 16:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59744 X-GNU-PR-Package: emacs Original-Received: via spool by 59744-submit@debbugs.gnu.org id=B59744.16699112132933 (code B ref 59744); Thu, 01 Dec 2022 16:14:02 +0000 Original-Received: (at 59744) by debbugs.gnu.org; 1 Dec 2022 16:13:33 +0000 Original-Received: from localhost ([127.0.0.1]:40588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0mBp-0000lD-3d for submit@debbugs.gnu.org; Thu, 01 Dec 2022 11:13:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p0mBn-0000l4-Df; Thu, 01 Dec 2022 11:13:31 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0mBh-0002hu-Od; Thu, 01 Dec 2022 11:13:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=noH2ulnvefiqrt2spise1uHmMzkYaaaL57kN1N4HolM=; b=H6V2HXNi9M/t rrHd82gN1O1UofEwtfLtMCA1JiKQNU6vi6N60CfaAeYHSLjRXpWU8hZZ5LGPgRTNwVYco4krrWWZX oHyVRIV/qnsd8Qb30sD6nHFWMh9qe/NN5KroOngwgMqr0BpjItXvfh2rzmE69QPH1SkkbK4Ge9FHl 0i85ZK/Ofo4boLl1T8QUYQcBfRRELm5X6hmcnsTwmjHE87MhnqNhAlOW8rWiOXOMvDgiLKVlF4L8J fqfVfqqqZubviWwZ3WVc3S8jjs1Hv/08BKynsOYrNJUzjdWAzEqaOw4vGU0HnXR5hN3z2iDQoelQO 4e5Ab7VhbVay64Z509f5kw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p0mBf-0003cp-T2; Thu, 01 Dec 2022 11:13:25 -0500 In-Reply-To: (pRoMMMModE@outlook.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249648 Archived-At: 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.