Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2002 16:35:06 -0700 (PDT)
From:      Paul te Bokkel <paul@teBokkel.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/43439: setting CDPATH causes compiling ports and installworld to fail
Message-ID:  <200209272335.g8RNZ6MT014901@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209272335.g8RNZ6MT014901>