GNU bug report logs - #15769
building on OpenBSD fails because of a shell pattern problem

Previous Next

Package: emacs;

Reported by: Han Boetes <han <at> boetes.org>

Date: Thu, 31 Oct 2013 16:04:01 UTC

Severity: important

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#15769: closed (building on OpenBSD fails because of a shell
 pattern problem)
Date: Thu, 31 Oct 2013 21:43:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 31 Oct 2013 17:42:29 -0400
with message-id <o04n7x9kxm.fsf <at> fencepost.gnu.org>
and subject line Re: bug#15769: building on OpenBSD fails because of a shell pattern problem
has caused the debbugs.gnu.org bug report #15769,
regarding building on OpenBSD fails because of a shell pattern problem
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
15769: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15769
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Han Boetes <han <at> boetes.org>
To: bug-gnu-emacs <at> gnu.org
Subject: building on OpenBSD fails because of a shell pattern problem
Date: Thu, 31 Oct 2013 14:41:33 +0100
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


[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 15769-done <at> debbugs.gnu.org
Subject: Re: bug#15769: building on OpenBSD fails because of a shell pattern
 problem
Date: Thu, 31 Oct 2013 17:42:29 -0400
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.


This bug report was last modified 11 years and 201 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.