From unknown Tue Jun 17 01:30:41 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#15769 <15769@debbugs.gnu.org> To: bug#15769 <15769@debbugs.gnu.org> Subject: Status: building on OpenBSD fails because of a shell pattern problem Reply-To: bug#15769 <15769@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:30:41 +0000 retitle 15769 building on OpenBSD fails because of a shell pattern problem reassign 15769 emacs submitter 15769 Han Boetes severity 15769 important thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 12:03:12 2013 Received: (at submit) by debbugs.gnu.org; 31 Oct 2013 16:03:13 +0000 Received: from localhost ([127.0.0.1]:55032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbuiF-0003sB-Pw for submit@debbugs.gnu.org; Thu, 31 Oct 2013 12:03:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43522) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbsVd-0000Fg-Qj for submit@debbugs.gnu.org; Thu, 31 Oct 2013 09:42:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbsVT-000729-Q3 for submit@debbugs.gnu.org; Thu, 31 Oct 2013 09:41:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbsVT-000725-N6 for submit@debbugs.gnu.org; Thu, 31 Oct 2013 09:41:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbsVP-0001Mp-27 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 09:41:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbsVJ-00070z-II for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 09:41:47 -0400 Received: from boetes.org ([212.83.153.54]:22183 helo=difool.boetes.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbsVJ-00070t-8u for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 09:41:41 -0400 X-boetes-org-MailScanner-From: han@boetes.org X-boetes-org-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.101, required 5, autolearn=not spam, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, NO_RELAYS -0.00) X-boetes-org-MailScanner: Found to be clean X-boetes-org-MailScanner-ID: E57F8CD14.A821F X-boetes-org-MailScanner-Information: Please contact the ISP for more information Received: by difool.boetes.org (Postfix, from userid 1000) id E57F8CD14; Thu, 31 Oct 2013 14:41:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=boetes.org; s=20111208; t=1383226893; bh=BzoUpggWJQa2mwrV48NMH194ytxoPniQ7TpM1fIb9Ho=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=evWtEvCDjvBiBrvvM2MLURBfUPalZj0MAOz7O77n5MT9lsI7FQ02jZ0PP0j8DHsMB OXc6oLrVYpIkErz+YbfJ21PcAYG68QvjFnh/1qnO4hV9hOi6lfZYLS6zX4UwKePbnu tOa5WxsLs9aAY8r8Lrw3dkdd3c6x0GP31ftJKPCI= Date: Thu, 31 Oct 2013 14:41:33 +0100 From: Han Boetes To: bug-gnu-emacs@gnu.org Subject: building on OpenBSD fails because of a shell pattern problem Message-ID: <20131031134133.GF5834@boetes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: OpenBSD 4.x-5.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 31 Oct 2013 12:03:10 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.1 (----) I really don't know why the old version fails on a directory without any non ascii chars but this patch fixes it. If this is acceptable for everyone then please apply this patch. diff --git a/configure.ac b/configure.ac index 9263d39..87df628 100644 --- a/configure.ac +++ b/configure.ac @@ -92,7 +92,7 @@ for var in "`pwd`" "$temp_srcdir" "$prefix" "$exec_prefix" \ dnl configure sets LC_ALL=C early on, so this range should work. case "$var" in - *[[^\ -~]]*) AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) ;; + *[[^\ ~-]]*) AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) ;; esac done # Han From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 13:27:27 2013 Received: (at 15769) by debbugs.gnu.org; 31 Oct 2013 17:27:27 +0000 Received: from localhost ([127.0.0.1]:55240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vbw1m-0006B5-W6 for submit@debbugs.gnu.org; Thu, 31 Oct 2013 13:27:27 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:60818 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vbw1l-0006Ax-Pw for 15769@debbugs.gnu.org; Thu, 31 Oct 2013 13:27:26 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Vbw1k-0006TD-LW; Thu, 31 Oct 2013 13:27:24 -0400 From: Glenn Morris To: Han Boetes Subject: Re: bug#15769: building on OpenBSD fails because of a shell pattern problem References: <20131031134133.GF5834@boetes.org> X-Spook: FIPS140 Noriega bomb arrangements PET assassination Craig X-Ran: ?bs8um;V9HKs;bR=r/|AsEG+aWL.m![3>7h.fkPmJ?q]="zHTT7y7-]wA~cs;y)P"zh7\f X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 31 Oct 2013 13:27:24 -0400 In-Reply-To: <20131031134133.GF5834@boetes.org> (Han Boetes's message of "Thu, 31 Oct 2013 14:41:33 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 15769 Cc: 15769@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.5 (-----) This will become irrelevant if http://debbugs.gnu.org/15260 gets fixed, but in the meantime, please give details of: exactly what version of OpenBSD this is what shell /bin/sh is and send the config.log as attachment Han Boetes wrote: > - *[[^\ -~]]*) AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) ;; > + *[[^\ ~-]]*) AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) ;; These are not the same thing. [^\ -~] is supposed to match any character not in the range " " to "~", which, under LC_ALL=C, should be the range of ASCII characters, AFAIK. Maybe someone knows a better, portable way to test for non-ASCII? I'd rather not do: [^a-zA-Z0-9...] if at all possible. Yours, [^\ ~-], should match any character that is not " " , "~", or "-". I have no idea how this can work for you... Maybe "^" does not work as negation in your shell? The autoconf manual does say that [^...] is not portable (apparently we should use [!...] instead), but [^...] is extensively used elsewhere in the Emacs build rules, and [!...] not at all. Does it work for you if you use: *[[!\ ~-]]*) AC_MSG_ERROR ... ? From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 13:30:13 2013 Received: (at 15769) by debbugs.gnu.org; 31 Oct 2013 17:30:13 +0000 Received: from localhost ([127.0.0.1]:55254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vbw4R-0006HV-At for submit@debbugs.gnu.org; Thu, 31 Oct 2013 13:30:12 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:60876 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vbw4O-0006HN-Tr for 15769@debbugs.gnu.org; Thu, 31 Oct 2013 13:30:09 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Vbw4N-0003rA-Vb; Thu, 31 Oct 2013 13:30:08 -0400 From: Glenn Morris To: Han Boetes Subject: Re: bug#15769: building on OpenBSD fails because of a shell pattern problem References: <20131031134133.GF5834@boetes.org> X-Spook: sniper 2600 Magazine Bruxelles diwn Guantanamo Area 51 X-Ran: m&b5c+,Nd&8c1"x9_SyONTws'Hm^$5+ck-~D7)zku@Ac]AGR>y (Glenn Morris's message of "Thu, 31 Oct 2013 13:27:24 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 15769 Cc: 15769@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.5 (-----) Glenn Morris wrote: > Does it work for you if you use: > > *[[!\ ~-]]*) AC_MSG_ERROR ... Argh, I meant to say *[[!\ -~]]*) AC_MSG_ERROR ... Ie, just swap "^" for "!". From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 14:06:53 2013 Received: (at 15769) by debbugs.gnu.org; 31 Oct 2013 18:06:53 +0000 Received: from localhost ([127.0.0.1]:55357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vbwdw-0008OO-Dj for submit@debbugs.gnu.org; Thu, 31 Oct 2013 14:06:52 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:33302 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vbwdu-0008OE-Aw for 15769@debbugs.gnu.org; Thu, 31 Oct 2013 14:06:50 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Vbwds-0003Ch-RT; Thu, 31 Oct 2013 14:06:48 -0400 From: Glenn Morris To: Han Boetes Subject: Re: bug#15769: building on OpenBSD fails because of a shell pattern problem References: <20131031134133.GF5834@boetes.org> X-Spook: bce Bush Wired STARLAN rs9512c Mole blackjack Kosovo X-Ran: LGn?3+jpj5#%j{]lR|PP5%|5Q$N&?sm(tcA*nU%T4+`z3|QC*l;"&uA`$8{d$1f{[<`"sp X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 31 Oct 2013 14:06:48 -0400 In-Reply-To: (Glenn Morris's message of "Thu, 31 Oct 2013 13:27:24 -0400") Message-ID: <58fvrhs4av.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 15769 Cc: 15769@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.5 (-----) Or maybe sed will work better than the shell? *** configure.ac 2013-10-27 18:57:20 +0000 --- configure.ac 2013-10-31 18:02:36 +0000 *************** *** 91,99 **** "$datarootdir" "$bindir" "$datadir" "$sharedstatedir" "$libexecdir"; do dnl configure sets LC_ALL=C early on, so this range should work. ! case "$var" in ! *[[^\ -~]]*) AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) ;; ! esac done --- 91,100 ---- "$datarootdir" "$bindir" "$datadir" "$sharedstatedir" "$libexecdir"; do dnl configure sets LC_ALL=C early on, so this range should work. ! dnl This seems more portable than using a case statement with *[[^\ -~]]*) ! var=`echo "$var" | sed 's/[[ -~]]//g'` ! ! test -n "$var" && AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) done From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 16:52:01 2013 Received: (at 15769) by debbugs.gnu.org; 31 Oct 2013 20:52:01 +0000 Received: from localhost ([127.0.0.1]:55602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbzDk-0004MI-1L for submit@debbugs.gnu.org; Thu, 31 Oct 2013 16:52:00 -0400 Received: from boetes.org ([212.83.153.54]:4952 helo=difool.boetes.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbzDf-0004M2-QY for 15769@debbugs.gnu.org; Thu, 31 Oct 2013 16:51:56 -0400 X-Spam-Status: No X-boetes-org-MailScanner-From: han@boetes.org X-boetes-org-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.101, required 5, autolearn=not spam, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, NO_RELAYS -0.00) X-boetes-org-MailScanner: Found to be clean X-boetes-org-MailScanner-ID: 10BEECD3A.A7691 X-boetes-org-MailScanner-Information: Please contact the ISP for more information Received: by difool.boetes.org (Postfix, from userid 1000) id 10BEECD3A; Thu, 31 Oct 2013 21:51:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=boetes.org; s=20111208; t=1383252709; bh=9f4aKOxR69BDgOy5jld5rV2Zj8jCrEppjmyUbA0/FPI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=qx7fCgJFUZIexHDN/76M0Pho0L4Ay8yjHDqIqU4lImJUXzETvO2XP4ln4NEOcyoUp X4dPsXFOcdfCDS6gAZEZHPPN4kv0xXxnVoylubJrjlXbHK7UpA9UqhFbD9fC5r/SnP JU8lbscEgYHKbACT5d3PduMfZPU1BZ3Fhl0lB6B0= Date: Thu, 31 Oct 2013 21:51:49 +0100 From: Han Boetes To: 15769@debbugs.gnu.org Subject: Re: bug#15769: building on OpenBSD fails because of a shell pattern problem Message-ID: <20131031205149.GI5834@boetes.org> References: <20131031134133.GF5834@boetes.org> <58fvrhs4av.fsf@fencepost.gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58fvrhs4av.fsf@fencepost.gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 15769 Cc: Glenn Morris X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.5 (/) Hello Glenn, The /bin/sh implementation of OpenBSD is ksh; http://www.openbsd.org/cgi-bin/man.cgi?query=ksh&sektion=1 This patch does fix the issue. But it does beg the question why this fails with ksh and not with bash and zsh. I also asked the question on the OpenBSD mailinglist. It would be nice if we could run this in the shell of course and not depend on an external application. http://marc.info/?l=openbsd-bugs&m=138323779500515&w=2 More to follow soon in that thread. # Han From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 17:11:25 2013 Received: (at 15769) by debbugs.gnu.org; 31 Oct 2013 21:11:25 +0000 Received: from localhost ([127.0.0.1]:55625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbzWW-0004sF-Mo for submit@debbugs.gnu.org; Thu, 31 Oct 2013 17:11:24 -0400 Received: from boetes.org ([212.83.153.54]:23359 helo=difool.boetes.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbzWU-0004s1-Iy for 15769@debbugs.gnu.org; Thu, 31 Oct 2013 17:11:22 -0400 X-Spam-Status: No X-boetes-org-MailScanner-From: han@boetes.org X-boetes-org-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.101, required 5, autolearn=not spam, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, NO_RELAYS -0.00) X-boetes-org-MailScanner: Found to be clean X-boetes-org-MailScanner-ID: 0B86ECD3A.A8268 X-boetes-org-MailScanner-Information: Please contact the ISP for more information Received: by difool.boetes.org (Postfix, from userid 1000) id 0B86ECD3A; Thu, 31 Oct 2013 22:11:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=boetes.org; s=20111208; t=1383253878; bh=qd3yMQ/csDKahgYxnlqoz19ij2g7fSXnxc3eKhG5DXw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=RIH2CElacPiHdpYqvk+roeOtaVNc/gRen1rP+SW+OB+QW3Jf+E/xaAn7gvBgU7TGD TJZ41oeDabik+x12yBPF0kX7RaoYZ/hJCOoLs4atK533sqYzxzRW46OBqOFjQdQkTB ooCLCoDEP8Wpr9BBN7cjBxE4MBdrIuIldTwNtOXw= Date: Thu, 31 Oct 2013 22:11:18 +0100 From: Han Boetes To: 15769@debbugs.gnu.org Subject: Re: bug#15769: building on OpenBSD fails because of a shell pattern problem Message-ID: <20131031211118.GJ5834@boetes.org> References: <20131031134133.GF5834@boetes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 15769 Cc: Glenn Morris X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.5 (/) Glenn Morris wrote: > Argh, I meant to say > > *[[!\ -~]]*) AC_MSG_ERROR ... > > Ie, just swap "^" for "!". I just got a portability hint from Thorsten Glaser: "mirabilos| in shell moet je ! ipv ^ gebruiken voor inverted match" So yes indeed, we have to use ! and not ^ in the shell. :-) # Han From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 17:42:34 2013 Received: (at 15769-done) by debbugs.gnu.org; 31 Oct 2013 21:42:34 +0000 Received: from localhost ([127.0.0.1]:55690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vc00f-0005in-Kl for submit@debbugs.gnu.org; Thu, 31 Oct 2013 17:42:33 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37567 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vc00d-0005if-C6 for 15769-done@debbugs.gnu.org; Thu, 31 Oct 2013 17:42:31 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Vc00c-00032e-5H; Thu, 31 Oct 2013 17:42:30 -0400 From: Glenn Morris To: 15769-done@debbugs.gnu.org Subject: Re: bug#15769: building on OpenBSD fails because of a shell pattern problem References: <20131031134133.GF5834@boetes.org> <20131031211118.GJ5834@boetes.org> X-Spook: assassination rail gun diwn lynch infowar bomb enforcers X-Ran: 1:3aU\B$9/\ X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 31 Oct 2013 17:42:29 -0400 In-Reply-To: <20131031211118.GJ5834@boetes.org> (Han Boetes's message of "Thu, 31 Oct 2013 22:11:18 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 15769-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.5 (-----) Version: 24.4 >> Ie, just swap "^" for "!". Well, you live and learn. Bash and zsh allow either [^...] or [!...], but ksh only the latter. I guess every other instance of [^...] in the Emacs build rules must be in sed rather than the shell. So I changed ^ for !, but the whole check is likely to get removed soon anyway. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 17:51:55 2013 Received: (at 15769-done) by debbugs.gnu.org; 31 Oct 2013 21:51:55 +0000 Received: from localhost ([127.0.0.1]:55706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vc09i-0005y0-Uv for submit@debbugs.gnu.org; Thu, 31 Oct 2013 17:51:55 -0400 Received: from boetes.org ([212.83.153.54]:30136 helo=difool.boetes.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vc09g-0005xo-C0 for 15769-done@debbugs.gnu.org; Thu, 31 Oct 2013 17:51:53 -0400 X-Spam-Status: No X-boetes-org-MailScanner-From: han@boetes.org X-boetes-org-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.101, required 5, autolearn=not spam, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, NO_RELAYS -0.00) X-boetes-org-MailScanner: Found to be clean X-boetes-org-MailScanner-ID: 15F02CD3A.AE41E X-boetes-org-MailScanner-Information: Please contact the ISP for more information Received: by difool.boetes.org (Postfix, from userid 1000) id 15F02CD3A; Thu, 31 Oct 2013 22:51:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=boetes.org; s=20111208; t=1383256304; bh=2a6doutmxNbm68Qw+zQwQAjkB80qGqQ9ZbV4zjB2Zn8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=XgOXhllLZVKQ+/sLeOeSGilWNaEEdYbvjhK4DL1iTE/Bwl7vm/LvhKrxv9OJyOH6d 6/aTi0B4xFmwS0c3py7i3DdsdGtsYUzHDuI9hdeufFhKR/YgeXyHI8Pb0WJJI1qO1j fTOToLC2Y2mW0wiJl39n7RgYcfaSJw716SOQonXU= Date: Thu, 31 Oct 2013 22:51:44 +0100 From: Han Boetes To: Glenn Morris Subject: Re: bug#15769: building on OpenBSD fails because of a shell pattern problem Message-ID: <20131031215144.GL5834@boetes.org> References: <20131031134133.GF5834@boetes.org> <20131031211118.GJ5834@boetes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 15769-done Cc: 15769-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.5 (/) Glenn Morris wrote: > Well, you live and learn. Bash and zsh allow either [^...] or [!...], > but ksh only the latter. I guess every other instance of [^...] in the > Emacs build rules must be in sed rather than the shell. > > So I changed ^ for !, but the whole check is likely to get removed soon > anyway. Incase you run debian I can recommend installing mksh and use it for testing. mksh is a clone of this ksh version. They both try to be as POSIX compliant as possible. It's great for finding bashisms. # Han From unknown Tue Jun 17 01:30:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 29 Nov 2013 12:24:03 +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