Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2008 23:09:00 -0500
From:      "Scott Ullrich" <sullrich@gmail.com>
To:        "Diane Bruce" <db@db.net>
Cc:        Jeremy Chadwick <koitsu@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: Problems building ports - Error code 2 when attempting to cd
Message-ID:  <d5992baf0811052009w6256e4cfj2cc0315c5fff4142@mail.gmail.com>
In-Reply-To: <20081106034951.GA83583@night.db.net>
References:  <d5992baf0811051149q3e339258se99499e1809a2cd2@mail.gmail.com> <20081106020118.GA26249@icarus.home.lan> <d5992baf0811051804k2ec9a5f7of2080cee50490a91@mail.gmail.com> <20081106034951.GA83583@night.db.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, forgot reply-all.

On Wed, Nov 5, 2008 at 10:49 PM, Diane Bruce <db@db.net> wrote:
> Look for this variable set somewhere. ALWAYS_BUILD_DEPENDS

I enabled this in a last ditch effort to get around the problem.  It
instructs dependencies to rebuild even if the ports tree thinks it is
not necessary.  From what I gather it only adds additional time when
rebuilding the port.

> This message "but building it anyway" is odd. looking in /usr/ports/Mk ,
> I'd like to know why ALWAYS_BUILD_DEPENDS is set.
> That can't be right. What are you typing to do the make?

The problem occurs regardless of if this is defined or not.   The
script being used is:

http://cvs.pfsense.org/cgi-bin/cvsweb.cgi/tools/pfPorts/Makefile.RELENG_1?rev=1.66;content-type=text%2Fplain

Don't let the filename fool you, its a simple shell script that was
originally a sub-port make file quite a while back and we have not
repo moved the file to reflect its new purpose.

I did notice something else odd, even after the cd command fails, the
port starts back over and somehow it finishes building which seems a
bit strange (regardless if ALWAYS_BUILD_DEPENDS is defined).

Scott



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