From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: make bootstrap fails. Date: Mon, 2 Feb 2004 12:51:00 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200402021851.i12Ip0028111@raven.dms.auburn.edu> References: <200401301902.16714.hattons@speakeasy.net> <87isirsx88.fsf@emptyhost.emptydomain.de> <200402012052.i11Kq6525375@raven.dms.auburn.edu> <87n0825vic.fsf@emptyhost.emptydomain.de> <200402012227.i11MRmu25469@raven.dms.auburn.edu> <87d68yyn2x.fsf@emptyhost.emptydomain.de> <200402021428.i12ESUP26485@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1075749801 30780 80.91.224.253 (2 Feb 2004 19:23:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2004 19:23:21 +0000 (UTC) Cc: kai@emptydomain.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Feb 02 20:23:15 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Anjf9-0001W9-00 for ; Mon, 02 Feb 2004 20:23:15 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Anjf8-0007xk-00 for ; Mon, 02 Feb 2004 20:23:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AnjBP-0005FV-DD for emacs-devel@quimby.gnus.org; Mon, 02 Feb 2004 13:52:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AnjAn-0005EX-5D for emacs-devel@gnu.org; Mon, 02 Feb 2004 13:51:53 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AnjAH-00054s-Be for emacs-devel@gnu.org; Mon, 02 Feb 2004 13:51:52 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AnjAH-00054m-0F for emacs-devel@gnu.org; Mon, 02 Feb 2004 13:51:21 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i12IpEKt000947; Mon, 2 Feb 2004 12:51:14 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i12Ip0028111; Mon, 2 Feb 2004 12:51:00 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: monnier@iro.umontreal.ca In-reply-to: (message from Stefan Monnier on 02 Feb 2004 12:11:20 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19669 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19669 Stefan Monnier wrote: The SUSv3 does not list CDPATH as a variable that might affect the behavior of /bin/sh, so I think it should be considered as a bug in bash (we'll still need to work around it, but it should be reported to the bash maintainers and/or to the distributions that use bash as /bin/sh). Of course, someone should check that bash invoked as /bin/sh indeed mistakenly obeys an inherited CDPATH envvar, but the reports here lead me to believe this is the case. I could give actual examples of bash invoked as sh obeying an inherited CDPATH, but let me first make sure that I understand you. Are you saying that sh should completely ignore CDPATH? That would be strange, because, for instance, the Solaris 8 version of sh treats CDPATH exactly like Bash invoked as sh does, and `(bash)Bourne Shell Variables' explicitly lists CDPATH as a variable taken over from the Bourne shell. Moreover, other Makefiles, for instance the texinfo-4.6 Makefile use their own CDPATH (they do not just unset CDPATH) even though they use /bin/sh. Sincerely, Luc.