From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#15769: building on OpenBSD fails because of a shell pattern problem Date: Thu, 31 Oct 2013 13:27:24 -0400 Message-ID: References: <20131031134133.GF5834@boetes.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1383240486 2098 80.91.229.3 (31 Oct 2013 17:28:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2013 17:28:06 +0000 (UTC) Cc: 15769@debbugs.gnu.org To: Han Boetes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 31 18:28:09 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vbw2T-0002sK-2O for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Oct 2013 18:28:09 +0100 Original-Received: from localhost ([::1]:58586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbw2S-0003UU-9q for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Oct 2013 13:28:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbw2O-0003UH-4L for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 13:28:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vbw2M-0004Lt-Jl for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 13:28:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbw2M-0004Lo-Gv for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 13:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vbw2M-0006CH-Av for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2013 13:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Oct 2013 17:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15769 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15769-submit@debbugs.gnu.org id=B15769.138324044723755 (code B ref 15769); Thu, 31 Oct 2013 17:28:02 +0000 Original-Received: (at 15769) by debbugs.gnu.org; 31 Oct 2013 17:27:27 +0000 Original-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 Original-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 Original-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 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-Attribution: GM In-Reply-To: <20131031134133.GF5834@boetes.org> (Han Boetes's message of "Thu, 31 Oct 2013 14:41:33 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79822 Archived-At: 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 ... ?