From owner-freebsd-bugs Fri Sep 27 16:40: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 197E437B401 for ; Fri, 27 Sep 2002 16:40:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69DEC43E7B for ; Fri, 27 Sep 2002 16:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8RNe3Co085477 for ; Fri, 27 Sep 2002 16:40:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8RNe3fe085476; Fri, 27 Sep 2002 16:40:03 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0383437B401 for ; Fri, 27 Sep 2002 16:35:07 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B982D43E65 for ; Fri, 27 Sep 2002 16:35:06 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g8RNZ67R014902 for ; Fri, 27 Sep 2002 16:35:06 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g8RNZ6MT014901; Fri, 27 Sep 2002 16:35:06 -0700 (PDT) Message-Id: <200209272335.g8RNZ6MT014901@www.freebsd.org> Date: Fri, 27 Sep 2002 16:35:06 -0700 (PDT) From: Paul te Bokkel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/43439: setting CDPATH causes compiling ports and installworld to fail Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43439 >Category: misc >Synopsis: setting CDPATH causes compiling ports and installworld to fail >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 27 16:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Paul te Bokkel >Release: 4.7 RC#0 (02/09/26@03:00GMT) >Organization: >Environment: FreeBSD devil.tebokkel.com 4.7-RC FreeBSD 4.7-RC #0: Thu Sep 26 05:09:56 CEST 2002 root@naya.internal.tebokkel.com:/usr/obj/usr/src/sys/DEVIL i386 >Description: Having a CDPATH in the environment set to (for example) ~:/usr:/usr/local causes the building of ports (for example nessus or proftpd) to fail and also an installworld (prepared on another machine). The symptoms are the failing of build, ending in a 'Cannot cd to xxxx'. I normally use bash2 (05b) but it also seem to occur with tcsh. >How-To-Repeat: export CDPATH=~:/usr:/usr/local cd /usr/src && make installworld cd /usr/ports/ftp/proftpd && make >Fix: I think _unsetting_ the CDPATH in de mk-files is advisable. At least a warning or doc-change would do the trik. I didn't look into the actual cause. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message