From unknown Sun Aug 10 16:49:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62896 <62896@debbugs.gnu.org> To: bug#62896 <62896@debbugs.gnu.org> Subject: Status: [Configure] Bug with check for PERL when path has spaces (i.e. Windows) Reply-To: bug#62896 <62896@debbugs.gnu.org> Date: Sun, 10 Aug 2025 23:49:35 +0000 retitle 62896 [Configure] Bug with check for PERL when path has spaces (i.e= . Windows) reassign 62896 automake submitter 62896 Dan Rosser severity 62896 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 17 02:53:44 2023 Received: (at submit) by debbugs.gnu.org; 17 Apr 2023 06:53:44 +0000 Received: from localhost ([127.0.0.1]:52968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poIk9-0003wk-3B for submit@debbugs.gnu.org; Mon, 17 Apr 2023 02:53:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:49412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poFzw-0007A1-0A for submit@debbugs.gnu.org; Sun, 16 Apr 2023 23:57:48 -0400 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 1poFzv-0006kk-En for bug-automake@gnu.org; Sun, 16 Apr 2023 23:57:47 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1poFzt-0000YC-RY for bug-automake@gnu.org; Sun, 16 Apr 2023 23:57:47 -0400 Received: by mail-wm1-x335.google.com with SMTP id o6-20020a05600c4fc600b003ef6e6754c5so10956717wmq.5 for ; Sun, 16 Apr 2023 20:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681703862; x=1684295862; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=MNXeXywNQoELuEanAlZPdzxMEoI5q4Q+ekAL4cvdr7U=; b=FRGWX4rPiAYeqIh5A8DLRlwT/y5IHYxwVKUrZX4aNQzpYcGPyFWvd26Cs9/1AVwjgP b8HZvlUr6pmbqgPDRQI9bDx1/KxXGVSMeEGPStTq82cuwK8ARiPPx9wNkkoKQImzBNV1 Bm3TizP3EQg9LXeByknDwtcKN8+Cqm+EznjzaYYgHImBvQjgJCOwl5K2IvDlknfNHz3k rcGmO9deKiLqKvlWheHn4HEOfdZtgZXIKLTd27+YVc5De/SLejiT5LILnlqXvulPei4Q snYdi2CQx6IiNW/xlGFwb/LEqILtjArsMp4laNSVPo4IrXBLQ/66Ki06m5wcaMqGyWPZ cl+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681703862; x=1684295862; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MNXeXywNQoELuEanAlZPdzxMEoI5q4Q+ekAL4cvdr7U=; b=Byx6Rv0+fmt26fexeKgQvDi0mkVVFGJDY7axLglxr9hNYG74M5Y2uS7rO9PNHw1Paj TvRFGjuthx8oDt3pl7KAuknC4yf1Wl5S9vmSQtBpeX+EmrkijKcYEX0NLanoGGjFuN8/ /WfeBRwzEy8V22VWQZ5XoAvKIM0fPKqGzimmDEqr1OBNzqp5aNuqlQ35HRh464/YbhzU MswxfP9Sh9MZwJuzy4qdjQ6IED0kgKjXjJHJuUy/tpLXyTrFMDdoAs/V7PgND+8yi0us mMn45Vrtvfvx/rIH3RjOBSVjhaF7Gzx6650OAPC7V8n7mlDvXO6VPJ4ymHYqhzu1A8MI r4uQ== X-Gm-Message-State: AAQBX9dHEx+NC5fvWyQRqNnlsrEtpRUMgjQaD1i55K7K+pykSHNakQjH z82EEmjYuy3Y6N46rqTYE1u3zDGZEINMFVkjhOBIGLGDebq1kA== X-Google-Smtp-Source: AKy350Z7zBxwr7X+zVNyXFBDrjVZFmiCK41NgrqGgMQ8zlen0SHpJlaSY0s0SGSkQ19fTCMMgkx6lfqApiFYA7McpOY= X-Received: by 2002:a1c:f302:0:b0:3f0:3d8e:3096 with SMTP id q2-20020a1cf302000000b003f03d8e3096mr2782882wmq.6.1681703862381; Sun, 16 Apr 2023 20:57:42 -0700 (PDT) MIME-Version: 1.0 From: Dan Rosser Date: Mon, 17 Apr 2023 13:57:30 +1000 Message-ID: Subject: [Configure] Bug with check for PERL when path has spaces (i.e. Windows) To: bug-automake@gnu.org Content-Type: multipart/alternative; boundary="00000000000055b14d05f98031c0" Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=danoli3@gmail.com; helo=mail-wm1-x335.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 17 Apr 2023 02:53:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) --00000000000055b14d05f98031c0 Content-Type: text/plain; charset="UTF-8" VER=1.16.4 Building "automake" checking whether make supports nested variables... no checking build system type... x86_64-pc-mingw64 checking host system type... x86_64-pc-mingw64 checking for a BSD-compatible install... ./lib/install-sh -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /c/Program Files/Git/usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... no checking whether ln -s works... no, using cp -pR checking for perl... /c/Program Files/Git/usr/bin/perl ./configure: line 3475: /c/Program: No such file or directory configure: error: perl 5.6 or better is required; perl 5.8.2 or better is recommended. If you have several perl versions installed, select the one Automake should use using ./configure PERL=/path/to/perl --00000000000055b14d05f98031c0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
VER=3D1.16.4

Building "automake"

c= hecking whether make supports nested variables... no
checking build syst= em type... x86_64-pc-mingw64
checking host system type... x86_64-pc-ming= w64
checking for a BSD-compatible install... ./lib/install-sh -c
chec= king whether build environment is sane... yes
checking for a race-free m= kdir -p... /c/Program Files/Git/usr/bin/mkdir -p
checking for gawk... ga= wk
checking whether make sets $(MAKE)... no
checking whether ln -s wo= rks... no, using cp -pR
checking for perl... /c/Program Files/Git/usr/bi= n/perl
./configure: line 3475: /c/Program: No such file or directory
= configure: error: perl 5.6 or better is required; perl 5.8.2 or better
i= s recommended.=C2=A0 If you have several perl versions
installed, select= the one Automake should use using
=C2=A0 ./configure PERL=3D/path/to/pe= rl
--00000000000055b14d05f98031c0-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 13:47:46 2023 Received: (at 62896) by debbugs.gnu.org; 21 Apr 2023 17:47:46 +0000 Received: from localhost ([127.0.0.1]:41085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppurJ-0007hv-AX for submit@debbugs.gnu.org; Fri, 21 Apr 2023 13:47:46 -0400 Received: from mout.gmx.net ([212.227.15.19]:55661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppurF-0007gs-Sa for 62896@debbugs.gnu.org; Fri, 21 Apr 2023 13:47:44 -0400 Received: from [192.168.1.226] ([90.227.12.124]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MfYPi-1qVaKS0i3k-00fyqd; Fri, 21 Apr 2023 19:47:32 +0200 Content-Type: multipart/mixed; boundary="------------2QomZOYdNDSvPYlEuAvBc0YC" Message-ID: Date: Fri, 21 Apr 2023 19:47:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-GB From: Bogdan To: 62896@debbugs.gnu.org, danoli3@gmail.com Subject: [bug#62896] [Configure] Bug with check for PERL when path has spaces (i.e. Windows) X-Provags-ID: V03:K1:dge60P1yTbCbaO715RSHBl0AKSBwqiaDB29kW3DiN7NbMq0fqSX Tun5+6Od0EtnwrlgTXjTbC5iAPh2gPKTWSInxgcgHskD189Bnqy6GUQcVnGSnmmYcITWgVK 02/ZMP35BjmLYkVGT+9F7KPmN95qE+0GJKRL0PndLbLUlP01gTQcIdyt4TfUw7kdnTfGd3Q 6SBHaO8ps66GQUZTTYbUQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Kh3bZDl11HQ=;muAe/SdrjbooTbc2esfEDVlsjp7 NTVMR3ubrVeWQ+lrSYoqvr0qrJb+2/9WB/1qbHynADm0gdZqPZDynAiybiW6OWSoDA6EA5yzy cJQfecqH76BIAtN7vGHrlAMGtM+FeMGhsEoUjmkZP5thnLA/cI3QEVfRaUhpZeQ3uXI9iQddY l9W3ZaOp4YZ+R3UUxHVUhdpZ6bcDbFNpVyU5tsX0zspAq3+XJsk98P6kEFsN5JShyM9ARe/YN Au1cV9tXCucKbqY/GDTY7GHAU9k73l4kre1v2LOaamF447xUOiSLyeExBFF1Ex77LbhQIt0cu 3j1x4Kc75gvr/vNBMV/8Yj7UfpJjca0ORbQ7lgjZZuUSkPmcIcVEintFULGVoMaKX/u6L0R17 YG/eLlBcM1aIWldpfJXzufdBGeG/y2ntaNN18N/1LHCkbUKCEfzrK7Ye4tjG6lhLsehqknLm9 oMJ0cIVXY9hmXmsBReLF9LYnBVs2AA/U3btfxNY2jPivHsgaKGSl2AAcYAysZCdZj/HzkjDiq oJ5n2847VMK59xaPRWev5MdGGyjGcLeNN4uGVguy8Xkng7Pz+jJkOR2/7QGqCDMGENQwFdkTf 0pNJVUO7iOMkk78Vu5m0US3yGupEKKoh/1+SX/8BgICUp+1DmdlSXPKbSkEBWRUR7RXoAUm0l jPcXCysuBdzqYOtNSCbPw1wCwf0LnxoYNowuse0ubWcZMUIwht4HeODdq75ko9bgHStJVYRsz zCFY6ciRFYqcySz2QIse4tnond2YN/b+l429xq0on+9lWdk2Zf/NTKhznaGr/NzuuZeDrTrmY eT7tl8z5mGsOXyXtU3X5CC8xJSme/1/f7LmhofTfx3e1o96AQEW+a2kncc1MeGpQoIJ//kNj4 Llf64vfI7a3VhxZNXsF/5hkC1HmTiXsUWr6q3SoC179fN1pIyQObmE+DFPSQVLJbYt+i28g2q A136aw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62896 Cc: karl@freefriends.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------2QomZOYdNDSvPYlEuAvBc0YC Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello. Thank you for the bug report. The problem is a bit more complicated, unfortunately. At least from my point of view. I did a bit of an analysis. The problem can be replicated on current master on a Linux - just do ln -s /usr/bin 'User bins' export PATH='User bins':$PATH and reconfigure. I can surround $PERL and $(PERL) with parentheses (patch attached), but: 1) this doesn't fix the "shebang" lines, like #!/bin/bash, leaving e.g. bin/aclocal with #!User bins/perl and that not only will not work, it still stops the build with help2man: can't get `--help' info from bin/aclocal because of $ bin/aclocal --help bash: bin/aclocal: User: bad interpreter: No such file or directory 2) this won't work if the correct perl command has options, like when we need to, for some reason, have e.g. PERL=perl -W 3) I noticed problem 2) because my fake "User bins" appears also in $(INSTALL) and in $(MKDIR_P) in the generated Makefile. Those cannot be quoted, because "/whatever/mkdir -p" is not a correct program name. It's "/whatever/mkdir" and "-p" is a parameter. Sorry to say this, but until someone provides a better solution, I recommend installing Perl (and other GNU tools - MinGW, coreutils, etc.) in paths without spaces, like c:\perl or c:\users\your_username\perl (assuming "your_username" doesn't have spaces, of course). This may also save you headaches with all those scripts which have "#!/bin/bash" or just "bash". -- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org --------------2QomZOYdNDSvPYlEuAvBc0YC Content-Type: text/x-patch; charset=UTF-8; name="automake-perl-path-spaces-mail.diff" Content-Disposition: attachment; filename="automake-perl-path-spaces-mail.diff" Content-Transfer-Encoding: base64 RnJvbSBmMzU0ZTljNzRkNGI4ZDZjM2E1MTAxNmZiNmJmZmU2OThjYzc0MWM5IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCb2dkYW4gRHJvemRvd3NraSA8PgpEYXRlOiBGcmks IDIxIEFwciAyMDIzIDE5OjM0OjU3ICswMjAwClN1YmplY3Q6IFtQQVRDSF0gUGFydGlhbCBm aXggZm9yIHNwYWNlcyBpbiBQZXJsIHBhdGgKCi0tLQogY29uZmlndXJlLmFjICAgfCA0ICsr LS0KIGRvYy9sb2NhbC5tayAgIHwgMiArLQogbGliL2dlbmRvY3Muc2ggfCAyICstCiB0L2xv Y2FsLm1rICAgICB8IDQgKystLQogNCBmaWxlcyBjaGFuZ2VkLCA2IGluc2VydGlvbnMoKyks IDYgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvY29uZmlndXJlLmFjIGIvY29uZmlndXJl LmFjCmluZGV4IGQwOTVjY2IxYS4uZTk1MmMzZDFhIDEwMDY0NAotLS0gYS9jb25maWd1cmUu YWMKKysrIGIvY29uZmlndXJlLmFjCkBAIC03Miw4ICs3Miw4IEBAIGlmIHRlc3QgLXogIiRQ RVJMIjsgdGhlbgogICAgQUNfTVNHX0VSUk9SKFtwZXJsIG5vdCBmb3VuZF0pCiBmaQogIyBT YXZlIGRldGFpbHMgYWJvdXQgdGhlIHNlbGVjdGVkIHBlcmwgaW50ZXJwcmV0ZXIgaW4gY29u ZmlnLmxvZy4KLUFNX1JVTl9MT0coWyRQRVJMIC0tdmVyc2lvbl0pCi0kUEVSTCAtZSAncmVx dWlyZSA1LjAwNjsnIHx8IHsKK0FNX1JVTl9MT0coWyIkUEVSTCIgLS12ZXJzaW9uXSkKKyIk UEVSTCIgLWUgJ3JlcXVpcmUgNS4wMDY7JyB8fCB7CiAgICBBQ19NU0dfRVJST1IoCiBbcGVy bCA1LjYgb3IgYmV0dGVyIGlzIHJlcXVpcmVkOyBwZXJsIDUuMTAgb3IgYmV0dGVyCiBpcyBy ZWNvbW1lbmRlZC4gIElmIHlvdSBoYXZlIHNldmVyYWwgcGVybCB2ZXJzaW9ucwpkaWZmIC0t Z2l0IGEvZG9jL2xvY2FsLm1rIGIvZG9jL2xvY2FsLm1rCmluZGV4IGQ3MmU4ZTZiYi4uOGI3 ZDk4Y2FhIDEwMDY0NAotLS0gYS9kb2MvbG9jYWwubWsKKysrIGIvZG9jL2xvY2FsLm1rCkBA IC0zNyw3ICszNyw3IEBAIEVYVFJBX0RJU1QgKz0gJUQlL2hlbHAybWFuCiB1cGRhdGVfbWFu cyA9IFwKICAgJChBTV9WX0dFTik6IFwKICAgICAmJiAkKE1LRElSX1ApICVEJSBcCi0gICAg JiYgQVVUT01BS0VfSEVMUDJNQU49dHJ1ZSAuL3ByZS1pbnN0LWVudiAkKFBFUkwpICQoc3Jj ZGlyKS8lRCUvaGVscDJtYW4gLS1vdXRwdXQ9JEAgLS1pbmZvLXBhZ2U9YXV0b21ha2UKKyAg ICAmJiBBVVRPTUFLRV9IRUxQMk1BTj10cnVlIC4vcHJlLWluc3QtZW52ICIkKFBFUkwpIiAk KHNyY2RpcikvJUQlL2hlbHAybWFuIC0tb3V0cHV0PSRAIC0taW5mby1wYWdlPWF1dG9tYWtl CiAKICVEJS9hY2xvY2FsLjEgJUQlL2F1dG9tYWtlLjE6CiAJJChBTV9WX0dFTik6IFwKZGlm ZiAtLWdpdCBhL2xpYi9nZW5kb2NzLnNoIGIvbGliL2dlbmRvY3Muc2gKaW5kZXggOWFmZTMx MDBlLi41OGVhNmNlZTAgMTAwNzU1Ci0tLSBhL2xpYi9nZW5kb2NzLnNoCisrKyBiL2xpYi9n ZW5kb2NzLnNoCkBAIC0yNDYsNyArMjQ2LDcgQEAgY29weV9pbWFnZXMoKQogICBsb2NhbCBv ZGlyCiAgIG9kaXI9JDEKICAgc2hpZnQKLSAgJFBFUkwgLW4gLWUgIgorICAiJFBFUkwiIC1u IC1lICIKIEJFR0lOIHsKICAgXCRtZSA9ICckcHJvZyc7CiAgIFwkb2RpciA9ICckb2Rpcic7 CmRpZmYgLS1naXQgYS90L2xvY2FsLm1rIGIvdC9sb2NhbC5tawppbmRleCA0ZmE0NmEwNzEu LjkxMmRlNTMxMSAxMDA2NDQKLS0tIGEvdC9sb2NhbC5taworKysgYi90L2xvY2FsLm1rCkBA IC0yNTYsNyArMjU2LDcgQEAgaW5zdGFsbGNoZWNrLWxvY2FsOiBpbnN0YWxsY2hlY2stdGVz dHN1aXRlCiBpbnN0YWxsY2hlY2stdGVzdHN1aXRlOgogCSQoQU1fVl9HRU4pJChNQUtFKSAk KEFNX01BS0VGTEFHUykgY2hlY2sgXAogCSAgTE9HX0NPTVBJTEVSPSQoQU1fVEVTVF9SVU5O RVJfU0hFTEwpIFwKLQkgIFBMX0xPR19DT01QSUxFUj0kKFBFUkwpIFwKKwkgIFBMX0xPR19D T01QSUxFUj0iJChQRVJMKSIgXAogCSAgYW1fcnVubmluZ19pbnN0YWxsY2hlY2s9eWVzCiAK ICMgRW5zdXJlIHRoYXQgdGhlIGluc3RhbGxlZCBBdXRvbWFrZSBwZXJsIG1vZHVsZXMgYXJl IGZvdW5kIHdoZW4gcnVubmluZyAnaW5zdGFsbGNoZWNrJyB0YXJnZXQKQEAgLTI3OCw2ICsy NzgsNiBAQCBFWFRSQV9ESVNUICs9ICQocGVyZl9URVNUUykKIGNsZWFuLWxvY2FsOiBjbGVh bi1sb2NhbC1jaGVjawogLlBIT05ZOiBjbGVhbi1sb2NhbC1jaGVjawogY2xlYW4tbG9jYWwt Y2hlY2s6Ci0JJChBTV9WX0dFTikkKFBFUkwpICQoc3JjZGlyKS90L2F4L2RlbHRyZWUucGwg dC8qLmRpciB0LyovKi5kaXIgKi90LyouZGlyCisJJChBTV9WX0dFTikiJChQRVJMKSIgJChz cmNkaXIpL3QvYXgvZGVsdHJlZS5wbCB0LyouZGlyIHQvKi8qLmRpciAqL3QvKi5kaXIKIAog IyB2aW06IGZ0PWF1dG9tYWtlIG5vZXQKLS0gCjIuMzUuMQoK --------------2QomZOYdNDSvPYlEuAvBc0YC-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 21 17:57:18 2023 Received: (at 62896) by debbugs.gnu.org; 21 Apr 2023 21:57:18 +0000 Received: from localhost ([127.0.0.1]:41333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppyko-0006ka-2d for submit@debbugs.gnu.org; Fri, 21 Apr 2023 17:57:18 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:48674 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppykm-0006kQ-G7 for 62896@debbugs.gnu.org; Fri, 21 Apr 2023 17:57:17 -0400 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 33LLvD0R015760 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Apr 2023 15:57:13 -0600 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 33LLvCHm015759; Fri, 21 Apr 2023 15:57:12 -0600 Date: Fri, 21 Apr 2023 15:57:12 -0600 Message-Id: <202304212157.33LLvCHm015759@freefriends.org> From: Karl Berry To: bogdro_rep@gmx.us Subject: Re: [bug#62896] [Configure] Bug with check for PERL when path has spaces (i.e. Windows) In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62896 Cc: 62896@debbugs.gnu.org, danoli3@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks for the report, Dan, and for looking into this, Bogdan. #!User bins/perl Apart from anything else, this cannot be solved. Shebang lines do not support quoting. Thus I think what we should do is have configure give a better error message when the Perl path contains whitespace, that is, explicitly stating it can't be supported. Instead of just failing "by the way" due to the lack of quoting. Would you be up for making a patch for that? Thanks, Karl From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 23 07:25:56 2023 Received: (at 62896) by debbugs.gnu.org; 23 Apr 2023 11:25:56 +0000 Received: from localhost ([127.0.0.1]:44682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqXqt-00026p-TE for submit@debbugs.gnu.org; Sun, 23 Apr 2023 07:25:56 -0400 Received: from mout.gmx.net ([212.227.15.19]:50085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqXqr-00026T-0K for 62896@debbugs.gnu.org; Sun, 23 Apr 2023 07:25:54 -0400 Received: from [192.168.1.226] ([90.227.12.124]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MiaY9-1qTQxt1S0l-00fhXG; Sun, 23 Apr 2023 13:25:42 +0200 Content-Type: multipart/mixed; boundary="------------UDv7Pr0JWwsyYXC9nvYHoktE" Message-ID: Date: Sun, 23 Apr 2023 13:25:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [bug#62896] [Configure] Bug with check for PERL when path has spaces (i.e. Windows) Content-Language: en-GB, sv-SE, pl To: Karl Berry References: <202304212157.33LLvCHm015759@freefriends.org> From: Bogdan In-Reply-To: <202304212157.33LLvCHm015759@freefriends.org> X-Provags-ID: V03:K1:WC3xJmoEapxp+nuajxqGFRoSolSJeaJ4hwfNjTper2d14IqIBen NFfTEfhTXyIxJBstje8LEIdc3cjeF8Jw/n8nN0akgPxbtWshYhCFyD1SSLEJpgmlTwvz2lz +ze9Usbg3FraOZOVdM67EqFtZYLMGSzoEGJhhEMkPyALhHGpJk7rqaCeWpskk2CzQEdIwP2 DngxsnC8B2r5JwdQz6nYA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:uzP/nEBc/EI=;qmJN/0Dnuw/2Vz+TSRU64S1DKBP LHov4/KP8WywZNIvAsO0Xi/VrnsXh9KTsz2EOMeuLOL6atZRZFXh9fqGWO9WAfgCCyhXNxVj7 MnxzcGOdv2m8Kcj1wT/UeiyPXO0EwmsHAdNcrZywO4+Ggv1rtRBSavKUZW3r9YKERG7xoaIB7 l39imjBhLCFFpSTqInMcrB8o+ERhUxHSyoYfHBYVbFpeIumzQ+HKdE6vm7IZhXQbE6BsT4teQ 1HOTDXzC37NQNcrmqyJF3gAcpVKeFTflwqnPT5RoVrx+S6MtTHGYwkOLCnfEek4sFGMp3i/oO 7kH+J8vQgWHLDpDdcqdXBqY82ioJ5rNp64DZZDNBfx7Bv31chQE/Pc9CQYHGvy79OGI8UF4gu K/l6uIDwuiDedinwLizkZKvWC/x69ItZxDw091xfg9S4qTOvsaymwNnZvB9Y09URta+k4FJJU KJ3l73qtKQ25JJhFD9Ws881m12bsFfnDDogdnuWVeXbNd/LJB7b9Yef6wzvWswZ4/fXYfWlDg Ir1RbqdcpzZGKvCixV0ji91+K2oGeslyAbALH+m1zggEKsuY+GLWF58xad7hWOl2NM+P0x8O6 NavQ5mDzebphgXfzavYMNmmJcVALqGfk8tBM6FwI6yuv9pQYF2AeBvoJ7+Q3c0Huy4ETFZjv2 JVM5SM8lI5EXeR28zGVVFw5H4DzjA8D+2V3nd8D8qXcgtSh1ndkeQSaUquDOOcNLaI7qqoAor GaANxzKYjuoPX/kdHlOAQ/42ghHZhZXE99xl4DPhlG7q60DDmgTb7nJa2r2TaGteEuAhrhrAY 0gCMitUWVRi++fay1W/6lFZDPPRJe1xXeaZ6zQaVtJmhiQ2iC4bkdYVcyd6PQv8NI5s2J7Fws DLG4a2+mGRmKx8klZOUo+PQQVMIc2oJs8oYaX7HH1UozFwsqNnOEhdIeIUMy7Ffq4G0QkwbnC nPjBtw== X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 62896 Cc: 62896@debbugs.gnu.org, danoli3@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) This is a multi-part message in MIME format. --------------UDv7Pr0JWwsyYXC9nvYHoktE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Karl Berry , Fri Apr 21 2023 23:57:12 GMT+0200 (Central European Summer Time) > Thanks for the report, Dan, and for looking into this, Bogdan. > > #!User bins/perl > > Apart from anything else, this cannot be solved. Shebang lines do not > support quoting. > > Thus I think what we should do is have configure give a better error > message when the Perl path contains whitespace, that is, explicitly > stating it can't be supported. Instead of just failing "by the way" due > to the lack of quoting. Would you be up for making a patch for that? Sure, seems easy. Too bad I don't see where configure is checking for 'mkdir -p' and 'install -c', I could fix that as well. But anyway, patch for the Perl path attached. I thought about using 'grep -q' and checking the exit code, but maybe this version is more portable. -- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org --------------UDv7Pr0JWwsyYXC9nvYHoktE Content-Type: text/x-patch; charset=UTF-8; name="automake-perl-path-spaces2-mail.diff" Content-Disposition: attachment; filename="automake-perl-path-spaces2-mail.diff" Content-Transfer-Encoding: base64 RnJvbSAyYzNkMjA0MGIzOWE1ZGZlN2Q2MzM1ZmJmMzYxOTc1NTkwMGM1NDI0IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCb2dkYW4gRHJvemRvd3NraSA8PgpEYXRlOiBTdW4s IDIzIEFwciAyMDIzIDEzOjIwOjI2ICswMjAwClN1YmplY3Q6IFtQQVRDSF0gU2hvdyBlcnJv ciBpZiBQZXJsIHBhdGggY29udGFpbnMgc3BhY2VzCgotLS0KIGNvbmZpZ3VyZS5hYyB8IDYg KysrKysrCiAxIGZpbGUgY2hhbmdlZCwgNiBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEv Y29uZmlndXJlLmFjIGIvY29uZmlndXJlLmFjCmluZGV4IGQwOTVjY2IxYS4uMGM1ZGM1NTEx IDEwMDY0NAotLS0gYS9jb25maWd1cmUuYWMKKysrIGIvY29uZmlndXJlLmFjCkBAIC03MSw2 ICs3MSwxMiBAQCBBQ19QQVRIX1BST0coW1BFUkxdLCBbcGVybF0pCiBpZiB0ZXN0IC16ICIk UEVSTCI7IHRoZW4KICAgIEFDX01TR19FUlJPUihbcGVybCBub3QgZm91bmRdKQogZmkKK2lm IHRlc3QgeCJgZWNobyAkUEVSTCB8IGdyZXAgJyAnYCIgIT0gIngiOyB0aGVuCisgIEFDX01T R19FUlJPUihbVGhlIHBhdGggdG8geW91ciBQZXJsIGNvbnRhaW5zIHNwYWNlcy4KK1RoaXMg d291bGQgY2F1c2UgYnVpbGQgZmFpbHVyZXMgbGF0ZXIgb3IgdW51c2FibGUgcHJvZ3JhbXMu CitQbGVhc2UgdXNlIGEgcGF0aCB3aXRob3V0IHNwYWNlcyBhbmQgdHJ5IGFnYWluLl0pCitm aQorCiAjIFNhdmUgZGV0YWlscyBhYm91dCB0aGUgc2VsZWN0ZWQgcGVybCBpbnRlcnByZXRl ciBpbiBjb25maWcubG9nLgogQU1fUlVOX0xPRyhbJFBFUkwgLS12ZXJzaW9uXSkKICRQRVJM IC1lICdyZXF1aXJlIDUuMDA2OycgfHwgewotLSAKMi4zNS4xCgo= --------------UDv7Pr0JWwsyYXC9nvYHoktE-- From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 23 17:25:49 2023 Received: (at 62896) by debbugs.gnu.org; 23 Apr 2023 21:25:49 +0000 Received: from localhost ([127.0.0.1]:47046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqhDR-00023G-Ev for submit@debbugs.gnu.org; Sun, 23 Apr 2023 17:25:49 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:54709 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqhDP-000233-IB for 62896@debbugs.gnu.org; Sun, 23 Apr 2023 17:25:48 -0400 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 33NLPiTF003103 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 23 Apr 2023 15:25:44 -0600 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 33NLPiYI003102; Sun, 23 Apr 2023 15:25:44 -0600 Date: Sun, 23 Apr 2023 15:25:44 -0600 Message-Id: <202304232125.33NLPiYI003102@freefriends.org> From: Karl Berry To: bogdro_rep@gmx.us Subject: Re: [bug#62896] [Configure] Bug with check for PERL when path has spaces (i.e. Windows) In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62896 Cc: 62896@debbugs.gnu.org, danoli3@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) But anyway, patch for the Perl path attached. Thanks. Your method seems as good as any to me. I thought about using 'grep -q' and checking the exit code, but maybe this version is more portable. Indeed, grep -q is not portable. It's necessary to >/dev/null instead. --thanks again, karl. From debbugs-submit-bounces@debbugs.gnu.org Sat May 27 21:12:45 2023 Received: (at 62896) by debbugs.gnu.org; 28 May 2023 01:12:45 +0000 Received: from localhost ([127.0.0.1]:52775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q34xg-0007xO-PV for submit@debbugs.gnu.org; Sat, 27 May 2023 21:12:45 -0400 Received: from frenzy.freefriends.org ([198.99.81.75]:58994 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q34xe-0007xA-7w; Sat, 27 May 2023 21:12:43 -0400 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 34S1Cfo6021827 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 May 2023 19:12:41 -0600 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 34S1Cf8V021826; Sat, 27 May 2023 19:12:41 -0600 Date: Sat, 27 May 2023 19:12:41 -0600 Message-Id: <202305280112.34S1Cf8V021826@freefriends.org> From: Karl Berry To: bogdro_rep@gmx.us Subject: Re: [bug#62896] [Configure] Bug with check for PERL when path has spaces (i.e. Windows) In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62896 Cc: 62896@debbugs.gnu.org, danoli3@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I (finally) installed this patch to quit early if the perl path has spaces. Thanks. As for MKDIR_P and INSTALL, I guess it is somewhere in the prerequisite/autoconf stuff. I suppose it would be rare that they would be found in a path with spaces while perl was not, so I think it's ok to let that go. --best, karl. --- a/configure.ac +++ b/configure.ac @@ -71,6 +71,12 @@ AC_PATH_PROG([PERL], [perl]) if test -z "$PERL"; then AC_MSG_ERROR([perl not found]) fi +if test x"`echo $PERL | grep ' '`" != "x"; then + AC_MSG_ERROR([The path to your Perl contains spaces. +This would cause build failures later or unusable programs. +Please use a path without spaces and try again.]) +fi + # Save details about the selected perl interpreter in config.log. AM_RUN_LOG([$PERL --version]) $PERL -e 'require 5.006;' || { From unknown Sun Aug 10 16:49:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 25 Jun 2023 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 02 05:29:52 2023 Received: (at control) by debbugs.gnu.org; 2 Dec 2023 10:29:52 +0000 Received: from localhost ([127.0.0.1]:56696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9NFv-0000By-UJ for submit@debbugs.gnu.org; Sat, 02 Dec 2023 05:29:52 -0500 Received: from dev.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:33035 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9NFu-0000Bc-19 for control@debbugs.gnu.org; Sat, 02 Dec 2023 05:29:50 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id 56A26335CAF; Sat, 2 Dec 2023 10:29:34 +0000 (UTC) From: Mike Frysinger To: control@debbugs.gnu.org Subject: Control message User-Agent: GNU debbugs/0 Message-Id: <20231202102934.56A26335CAF@smtp.gentoo.org> Date: Sat, 2 Dec 2023 10:29:34 +0000 (UTC) X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) unarchive 62896 reopen 62896 thankyou From unknown Sun Aug 10 16:49:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Sat, 02 Dec 2023 10:30:01 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 02 05:41:33 2023 Received: (at 62896) by debbugs.gnu.org; 2 Dec 2023 10:41:33 +0000 Received: from localhost ([127.0.0.1]:56722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9NRF-00039C-Cz for submit@debbugs.gnu.org; Sat, 02 Dec 2023 05:41:33 -0500 Received: from dev.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:41857 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9NRD-00038x-9W for 62896@debbugs.gnu.org; Sat, 02 Dec 2023 05:41:32 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id 83665335CB4; Sat, 2 Dec 2023 10:41:16 +0000 (UTC) Date: Sat, 2 Dec 2023 05:41:14 -0500 From: Mike Frysinger To: 62896@debbugs.gnu.org, karl@freefriends.org Subject: Re: bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows) Message-ID: References: <202305280112.34S1Cf8V021826@freefriends.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hUJ3bHIXNCs3anlA" Content-Disposition: inline In-Reply-To: <202305280112.34S1Cf8V021826@freefriends.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62896 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --hUJ3bHIXNCs3anlA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 27 May 2023 19:12, Karl Berry wrote: > I (finally) installed this patch to quit early if the perl path has > spaces. Thanks. >=20 > As for MKDIR_P and INSTALL, I guess it is somewhere in the > prerequisite/autoconf stuff. I suppose it would be rare that they would > be found in a path with spaces while perl was not, so I think it's ok to > let that go. --best, karl. >=20 > --- a/configure.ac > +++ b/configure.ac > @@ -71,6 +71,12 @@ AC_PATH_PROG([PERL], [perl]) > if test -z "$PERL"; then > AC_MSG_ERROR([perl not found]) > fi > +if test x"`echo $PERL | grep ' '`" !=3D "x"; then this is expanding $PERL unquoted and letting the shell normalize the whites= pace by passing the resulting args to echo. how strict do we need to be with th= is ? for example, this will let some pathological values pass that shouldn't. $ PERL=3D" /usr/bin/perl " $ echo $PERL | grep ' '; echo $? 1 the advantage of the check as-written is that it normalizes all whitespace = (e.g. tabs) into just spaces which we can grep on. i'm assuming we can't rely on `[:space:]` and such. but maybe including that is portable enough ? echo "$PERL" | grep '[ \t]' also, can we really not trust the exit status of grep ? if echo "$PERL" | grep -q '[\t ]'; then -mike --hUJ3bHIXNCs3anlA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmVrCcoACgkQQWM7n+g3 9YEkUg/+N4mrrYW06F7e9KdRnWdECFOlhBFagTb+9p3ydxBAM3BK4+v25cOQELsl B9zxnwpD0AZxwXUcdBCvzDXg6Yauojc2j3oc3Fc05An6qS8PP/3dpFFvAvV+yNCj AdUY5wXRkV1uQrlAKylcvKKKzJDMGyCHrTC5P58jv++5PF7qrYH68WXfBjBC9Ins 6FDMQp4mYas0slT4XDXdbuJ4mNRdAgBJaoyc41WZnH9gD1cWUIkJPwh0wwK8TuNE 0vXGL2jCruBZrq8ungrQi0n5RZbRSRSH6A7zcqHTqTjriZuOMw1LpftE0NuIl6JJ 7vfS2ZPfdK4IRxM/Ah4OTJYYkO5PGJQLror3FEX87dLty6jEYyxGfoxd3J1Up6GF r7Tdvo7LyPlB3E9xcLA+MPtgiISv9OL/713aY8HtQYK9swc6QUrjYq/z66ApOQS2 QnNiYpAdMO12f2+tP8h30GclVTWD9vi+m2kiIMeC0VECNZCdljexvRFKqKa53inH BxQX1r03a8dLUF4pe5/dUq8NZL5DtC3phaB7PROJ3EzxWg7epCOBa397xb3dx+YV o5Oh9GERhb51CsJrlPKFdGWqXt9jYLCA23+aHE43Qk8IdNEzp3wUjwQCTLfE76hI 5aYCGmRXSam1qymhdejmnQpS8OsQVFgiX9iVckKeOsoj0QCx8AA= =4x7o -----END PGP SIGNATURE----- --hUJ3bHIXNCs3anlA-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 02 17:53:41 2023 Received: (at 62896) by debbugs.gnu.org; 2 Dec 2023 22:53:41 +0000 Received: from localhost ([127.0.0.1]:58865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9Yrl-0002dT-HP for submit@debbugs.gnu.org; Sat, 02 Dec 2023 17:53:41 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:54124 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9Yrj-0002dL-Hb for 62896@debbugs.gnu.org; Sat, 02 Dec 2023 17:53:40 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 3B2MrSvn023491 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 2 Dec 2023 15:53:29 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 3B2MrSJR023490; Sat, 2 Dec 2023 15:53:28 -0700 Date: Sat, 2 Dec 2023 15:53:28 -0700 Message-Id: <202312022253.3B2MrSJR023490@freefriends.org> From: Karl Berry To: vapier@gentoo.org Subject: Re: bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows) In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62896 Cc: 62896@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) echo "$PERL" | grep '[ \t]' I don't think there's any portable way to use \t to insert a tab in a shell string, besides literally. There's something like tab=`printf '\t'` .. "$tab" ... but I don't see a need to go that far here. I just used a literal tab char. also, can we really not trust the exit status of grep ? if echo "$PERL" | grep -q '[\t ]'; then Exit status yes, but at least historically, grep -q has been considered non-portable, in favor of grep ... >/dev/null. I committed the change as below. --thanks, karl. -- configure: better check for the perl patch containing whitespace. More for https://bugs.gnu.org/62896. * configure.ac: quote "$PERL" and check directly with grep. diff --git a/configure.ac b/configure.ac index 23a9f97f5..946fecb67 100644 --- a/configure.ac +++ b/configure.ac @@ -70,8 +70,8 @@ AC_PROG_LN_S AC_PATH_PROG([PERL], [perl]) if test -z "$PERL"; then AC_MSG_ERROR([perl not found]) -elif test x"`echo $PERL | grep ' '`" != "x"; then - AC_MSG_ERROR([The path to your Perl contains spaces. +elif echo "$PERL" | grep '[ ]' >/dev/null; then + AC_MSG_ERROR([The path to your Perl contains spaces or tabs. This would cause build failures later or unusable programs. Please use a path without spaces and try again.]) fi compile finished at Sat Dec 2 14:52:38 2023 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 02 21:08:27 2023 Received: (at 62896) by debbugs.gnu.org; 3 Dec 2023 02:08:27 +0000 Received: from localhost ([127.0.0.1]:58975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9buF-0007iq-95 for submit@debbugs.gnu.org; Sat, 02 Dec 2023 21:08:27 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:54086 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9buD-0007ic-IT for 62896@debbugs.gnu.org; Sat, 02 Dec 2023 21:08:25 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id 86F7C335CAF; Sun, 3 Dec 2023 02:08:09 +0000 (UTC) Date: Sat, 2 Dec 2023 21:08:08 -0500 From: Mike Frysinger To: Karl Berry Subject: Re: bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows) Message-ID: References: <202312022253.3B2MrSJR023490@freefriends.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="93AHnS452lpLhUKX" Content-Disposition: inline In-Reply-To: <202312022253.3B2MrSJR023490@freefriends.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62896 Cc: 62896@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --93AHnS452lpLhUKX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 02 Dec 2023 15:53, Karl Berry wrote: > also, can we really not trust the exit status of grep ? > if echo "$PERL" | grep -q '[\t ]'; then >=20 > Exit status yes, but at least historically, grep -q has been considered > non-portable, in favor of grep ... >/dev/null. i get that `grep -q` is something historically we've avoided, but i think i= t's one of those bad habits we should just get out of. i'll note that gnuconfig uses `grep -q` in a bunch of places. not that i'm going to spend time going through the codebase to update all t= he usage, so if automake itself currently does it this way, OK. > I committed the change as below. --thanks, karl. thanks, lgtm -mike --93AHnS452lpLhUKX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmVr4wgACgkQQWM7n+g3 9YFItA/+ODSm6AyjxPL8F8Z+mmd8wYb0heNzU0m6JbI4hXAupm9FfLTsIfCyiQru 9mCwrdVfbtwoPZeAy6Xoq343NkQfH4xK5oXnKHxk3GxumpDmvS/DiLg1zXQdeWY4 cWYjTAhmvxqRWMZRpRBUxFRhGDqj7fVMFJrw7kyFw7lHTowcFkiQGymz0zDCVkzR i9ewuIeIsccd+3Wj6OnqfWVoBHOvSYYzWwZehvzMDU5MjYakq2kut+lGgbgWP4/l QUALo/BbyllXNkp3Snfs/R9aWkHzSbw0flocxboOsicEu+qSX6bWH2gSm6AI4ERp 3zyuF7Yn28aKqwQkNkJBzsgbvqpdWhuJJd16bdHqdqv9OiMGV5z6fWQjoEeS4bVW 7opkY8oFj1gzZkIHN4EBDIANKlgVRgsfG+TOefH9S8b/91GkRDN8Q0GfzZUXw/Zo Qt4aDWrWUpJ1eXlCfDJcIwN+7UpK1zCygiyQnm3aWVrL0dsvtUoFVssRToFEgzzF F+m3LHPX1rbK2rez6sh18BL9uEEK2Y+enWZP7MdDCrFVyAjZMSEi+BvrWqc4oqhg MamPUsdY3oeZplamjG2ncx1wT0SGe72JpafiA4Dg4efEw5dXK1bcKU4s37bPJVZX W5fRO1rVyxnIXBYIvojcgjUuJvZaSJbf5b8xJ1NLG98u1JFgpeU= =9A5K -----END PGP SIGNATURE----- --93AHnS452lpLhUKX-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 02 22:30:53 2023 Received: (at 62896) by debbugs.gnu.org; 3 Dec 2023 03:30:53 +0000 Received: from localhost ([127.0.0.1]:58998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9dC0-0001FQ-Vd for submit@debbugs.gnu.org; Sat, 02 Dec 2023 22:30:53 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:49305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9dBx-0001FA-Qc for 62896@debbugs.gnu.org; Sat, 02 Dec 2023 22:30:51 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 9E6A05C0110; Sat, 2 Dec 2023 22:30:34 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute5.internal (MEProxy); Sat, 02 Dec 2023 22:30:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owlfolio.org; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1701574234; x=1701660634; bh=qz wSRMx8qrzsS+eSu2q20dRRLORxSWtJB+m+ghI6tSU=; b=XZbiLsmx/+VRNtTEd9 iKZmNTQ02OnoGcHWjQtDAfKTo7SEeq6l3ZhpjipveT7cAxIbOVr7oyvLNbSgkytO rKmRQoV6oplda3+tVX18LswEkkLsYJgd5+m7ZDt5MCxRUWpDZoIQpNs+OdHXq5Ct QSDfzh1HOJ6W3B4NpZFVyjNO8c9UFIrwirQlRIt1HqGYEzBZurr2A1MuEOLarOa5 ntppAJLBtg/Vmki6Li8U6YhV2q+JiArGLtjpakNtUSpRNT+7SzeFQ0oLxq8g3Jm4 5/CB2DjpCyF+gAbb4xLqR/akLeuNyVYpeFBqb4vIG6hQbyCbbuH6ybFPuSjfOQX8 kESw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1701574234; x=1701660634; bh=qzwSRMx8qrzsS +eSu2q20dRRLORxSWtJB+m+ghI6tSU=; b=MDtqlvVDaxchbWLRyihARlQd4CbsF rLAqIHl9OVv7MP9aWNLcWNn8DXU5vK6TfYbNZGvqB0J73UcpGv0I2kybMME/TqVN tvKaNYUfGyQGjU3FQ88rZMsDFRGmR/ZFTc3/X2uaoB2znj5Gh5sXFYbOzWIUPHEH N58hyRW+iiPgxLdzm+lX2j1RO2BQefR7hu0MhBWhXSHlHpHgOe59Iy1JFYj6dXT7 Dkuef1WHk79/m7L/kuiIWAjxsYS/DDeOAmHSDX2Hg5ACFK9/2E9hlotMeJTqjuSu +WNdCJvA3m+lpWRtM8ChgBI1g1G6rs6vVbQuaKy/APMt2yWwlqHTg4PWA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejvddgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfkggr tghkucghvghinhgsvghrghdfuceoiigrtghksehofihlfhholhhiohdrohhrgheqnecugg ftrfgrthhtvghrnhepgeevhfehheetleejudeuueefgefffedtteelgeegheeukeffkeff udduteffffdunecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepiigrtghksehofihlfhholhhiohdrohhr gh X-ME-Proxy: Feedback-ID: i876146a2:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0C49E272007B; Sat, 2 Dec 2023 22:30:34 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1178-geeaf0069a7-fm-20231114.001-geeaf0069 MIME-Version: 1.0 Message-Id: <85cbbaaa-1b5a-44e7-85f6-c8768293734b@app.fastmail.com> In-Reply-To: References: <202312022253.3B2MrSJR023490@freefriends.org> Date: Sat, 02 Dec 2023 22:29:55 -0500 From: "Zack Weinberg" To: "Mike Frysinger" , "Karl Berry" , "Paul Eggert" Subject: Re: bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows) Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62896 Cc: 62896@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sat, Dec 2, 2023, at 9:08 PM, Mike Frysinger wrote: > On 02 Dec 2023 15:53, Karl Berry wrote: >> Exit status yes, but at least historically, grep -q has been >> considered non-portable, in favor of grep ... >/dev/null. > > i get that `grep -q` is something historically we've avoided, but i > think it's one of those bad habits we should just get out of. Hmm, `grep -q` *is* in POSIX, but I seem to recall tripping over a system that didn't have it (probably either a Solaris successor, or AIX) during the run-up to Autoconf 2.71. I'm cc:ing Paul Eggert for comment as I believe he's the person who most recently revised the grep section of https://www.gnu.org/software/autoconf/manual/autoconf-2.71/html_node/Limitations-of-Usual-Tools.html . zw From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 03 00:56:13 2023 Received: (at 62896-done) by debbugs.gnu.org; 3 Dec 2023 05:56:14 +0000 Received: from localhost ([127.0.0.1]:59045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9fSf-0007W7-Dc for submit@debbugs.gnu.org; Sun, 03 Dec 2023 00:56:13 -0500 Received: from mail.cs.ucla.edu ([131.179.128.66]:49404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9fSb-0007Vp-2h for 62896-done@debbugs.gnu.org; Sun, 03 Dec 2023 00:56:12 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 4AB2C3C011BE8; Sat, 2 Dec 2023 21:55:53 -0800 (PST) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id QDZVlhyQUSje; Sat, 2 Dec 2023 21:55:52 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 862B43C011BE9; Sat, 2 Dec 2023 21:55:52 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 862B43C011BE9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1701582952; bh=4yE2NAYgZm0OVchP5pFlIkNyL/4uNzTI/9saEz0GiOo=; h=Message-ID:Date:MIME-Version:To:From; b=X17c/DclGpAxTbSZ4DkUPw6SWB3RYsjAZf4/su8m8GfiOXlTb6vjoE9uA5mbZVP/U eFGGMDXOdWNrZQZS2W71TgBYS7ti276lb1ZC2L7CJC4kiTCVtrw/Tdvo5pEZSdOYNZ NMRILfK4hj1mW7XH/d5yNE4BasoDx4Vz7TU6fOzn7FdJtrZ5UZF8popB3DhbVGXeho xKOmcx4crJdvRnmIEZKlfn9J6RvwLoo/drHOAr1bmUh+UCoiclJb0TV4kuXbgOnBlm qxTXI85c3OxgHc4LjPfe5n7IpcVF+0xbVk279B3vXT1DrjiZCr3BTGZal1A7ACW/QV eoy6yOKTjv2iA== X-Virus-Scanned: amavisd-new at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aa0Ogd_A-S5B; Sat, 2 Dec 2023 21:55:52 -0800 (PST) Received: from [192.168.254.12] (unknown [47.148.192.211]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 5CAF93C011BE8; Sat, 2 Dec 2023 21:55:52 -0800 (PST) Content-Type: multipart/mixed; boundary="------------tz0VxROa0UXqWRaIN0TyOvf6" Message-ID: <8cb44340-d6be-4197-8aca-4bd188a933c0@cs.ucla.edu> Date: Sat, 2 Dec 2023 21:55:52 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows) Content-Language: en-US To: Zack Weinberg , Mike Frysinger , Karl Berry References: <202312022253.3B2MrSJR023490@freefriends.org> <85cbbaaa-1b5a-44e7-85f6-c8768293734b@app.fastmail.com> From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <85cbbaaa-1b5a-44e7-85f6-c8768293734b@app.fastmail.com> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62896-done Cc: 62896-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------tz0VxROa0UXqWRaIN0TyOvf6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2023-12-02 19:29, Zack Weinberg wrote: > `grep -q` *is* in POSIX, but I seem to recall tripping over a > system that didn't have it (probably either a Solaris successor, or AIX) > during the run-up to Autoconf 2.71. Solaris 10 /usr/bin/grep does not support -e, -E, -f, -F, -q, or -x. Solaris 10 is supported by its supplier through January 2025; that's the usual guideline we use for how long to support a sorta-POSIX OS. However, the script shouldn't use 'grep'. Instead, it should just use the shell's builtin pattern matching. That's faster and more portable. I installed the attached into Automake. The original bug was fixed before I got to this, so I'm boldly closing the bug report. --------------tz0VxROa0UXqWRaIN0TyOvf6 Content-Type: text/x-patch; charset=UTF-8; name="0001-Simplify-recent-PERL-check.patch" Content-Disposition: attachment; filename="0001-Simplify-recent-PERL-check.patch" Content-Transfer-Encoding: base64 RnJvbSA2NjhlOGEyMGUzNTYxMDYzZWU3NDc4ZTkxYzlmODFiYjQwY2ZlZDdhIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1 PgpEYXRlOiBTYXQsIDIgRGVjIDIwMjMgMjE6NTA6NDUgLTA4MDAKU3ViamVjdDogW1BBVENI XSBTaW1wbGlmeSByZWNlbnQgJFBFUkwgY2hlY2sKTUlNRS1WZXJzaW9uOiAxLjAKQ29udGVu dC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFyc2V0PVVURi04CkNvbnRlbnQtVHJhbnNmZXItRW5j b2Rpbmc6IDhiaXQKCiogY29uZmlndXJlLmFjOiBEb27igJl0IHNwaW4gb2ZmIHN1YnByb2Nl c3NlcyB0byBjaGVjayAkUEVSTC4KLS0tCiBjb25maWd1cmUuYWMgfCA5ICsrKysrKy0tLQog MSBmaWxlIGNoYW5nZWQsIDYgaW5zZXJ0aW9ucygrKSwgMyBkZWxldGlvbnMoLSkKCmRpZmYg LS1naXQgYS9jb25maWd1cmUuYWMgYi9jb25maWd1cmUuYWMKaW5kZXggOTQ2ZmVjYjY3Li41 Y2RhODBhMTggMTAwNjQ0Ci0tLSBhL2NvbmZpZ3VyZS5hYworKysgYi9jb25maWd1cmUuYWMK QEAgLTY4LDEzICs2OCwxNiBAQCBBVVRPTUFLRT0iXCJgcHdkYC9wcmUtaW5zdC1lbnZcIiBh dXRvbWFrZS0kQVBJVkVSU0lPTiIKIEFDX1BST0dfTE5fUwogCiBBQ19QQVRIX1BST0coW1BF UkxdLCBbcGVybF0pCi1pZiB0ZXN0IC16ICIkUEVSTCI7IHRoZW4KK2Nhc2UgJFBFUkwgaW4K KyAnJykKICAgIEFDX01TR19FUlJPUihbcGVybCBub3QgZm91bmRdKQotZWxpZiBlY2hvICIk UEVSTCIgfCBncmVwICdbIAldJyA+L2Rldi9udWxsOyB0aGVuCisgICA7OworIConICcqIHwg KicJJyopCiAgIEFDX01TR19FUlJPUihbVGhlIHBhdGggdG8geW91ciBQZXJsIGNvbnRhaW5z IHNwYWNlcyBvciB0YWJzLgogVGhpcyB3b3VsZCBjYXVzZSBidWlsZCBmYWlsdXJlcyBsYXRl ciBvciB1bnVzYWJsZSBwcm9ncmFtcy4KIFBsZWFzZSB1c2UgYSBwYXRoIHdpdGhvdXQgc3Bh Y2VzIGFuZCB0cnkgYWdhaW4uXSkKLWZpCisgIDs7Citlc2FjCiAKICMgU2F2ZSBkZXRhaWxz IGFib3V0IHRoZSBzZWxlY3RlZCBwZXJsIGludGVycHJldGVyIGluIGNvbmZpZy5sb2cuCiBB TV9SVU5fTE9HKFskUEVSTCAtLXZlcnNpb25dKQotLSAKMi40MC4xCgo= --------------tz0VxROa0UXqWRaIN0TyOvf6-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 03 07:37:59 2023 Received: (at 62896-done) by debbugs.gnu.org; 3 Dec 2023 12:37:59 +0000 Received: from localhost ([127.0.0.1]:59215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9ljT-0007Ju-8A for submit@debbugs.gnu.org; Sun, 03 Dec 2023 07:37:59 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:44360 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9ljN-0007JU-8W for 62896-done@debbugs.gnu.org; Sun, 03 Dec 2023 07:37:57 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id B7FF8335D76; Sun, 3 Dec 2023 12:37:36 +0000 (UTC) Date: Sun, 3 Dec 2023 07:37:35 -0500 From: Mike Frysinger To: Paul Eggert Subject: Re: bug#62896: [Configure] Bug with check for PERL when path has spaces (i.e. Windows) Message-ID: References: <202312022253.3B2MrSJR023490@freefriends.org> <85cbbaaa-1b5a-44e7-85f6-c8768293734b@app.fastmail.com> <8cb44340-d6be-4197-8aca-4bd188a933c0@cs.ucla.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="v7Y+7AESsb7JeY3s" Content-Disposition: inline In-Reply-To: <8cb44340-d6be-4197-8aca-4bd188a933c0@cs.ucla.edu> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62896-done Cc: 62896-done@debbugs.gnu.org, Zack Weinberg , Karl Berry X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --v7Y+7AESsb7JeY3s Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On 02 Dec 2023 21:55, Paul Eggert wrote: > -if test -z "$PERL"; then > +case $PERL in AS_CASE ? -mike --v7Y+7AESsb7JeY3s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmVsdo4ACgkQQWM7n+g3 9YFuKxAA3gpj+nbG84iQL/2nKmHXxggoqvmzZCUW4bpOSHjtcVR+z1LGX6wr27FT Q3dLqsAXoxhG5q4WJd8S+pkQYwvP/xqTKp6cTcPc43tdiv60ZkFpGzZ0j/6HdT6g rKssXLCKFZKFPIYNtKz+BhcxFfhXOotXGSYXtz+dOD4/usqPSuC9iaxscROpEunI RHqbLH7gzOW6VQLfUdiiv3g3wwoaCjQN4hyF1PScz2cOalzKw2A70VckYdstn40R XsheAwy5145fFbhyGW+vcNRaaSGO5twQr0W+8uR+Prg8ZVs1c1oIyG949G7zazgn tkOMmOSL5PD+IGj136dcuwozk86ZcXY8rm3kR/3/iUo+nMKBKvZuYQWN8NUT0KXF TZWD2VpxeEsGs4LBcSXdui/kfncISDN17hm42GXwxun0ogsjeEbaNHxTekYa1ska LekZw1+LMvDxFTCgpAK/wbcOHT4l8wzSEH5kfw+SR1OpBXaDaP6aIOPwdL31KXQH obTCV47dXx0fGF0hLEjF5x1NR2u9A0nLVSJSQJEEs/WAlF89xjSH/aVqyPq6Vw7o jz9/mscr7AQvC62sP5igvJ+jRNzfjL2Qu2ZtMoUmpkHykiEMCqfpF9CAkeCW2AwV DZzfMs/GAC6hC6N0413uNC9HGYraN8PBN4M9WYgTceXpO44Z+V0= =IEcg -----END PGP SIGNATURE----- --v7Y+7AESsb7JeY3s-- From unknown Sun Aug 10 16:49:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Jan 2024 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator