Problems building ports - Error code 2 when attempting to cd

Scott Ullrich sullrich at gmail.com
Wed Nov 5 20:09:03 PST 2008


Sorry, forgot reply-all.

On Wed, Nov 5, 2008 at 10:49 PM, Diane Bruce <db at 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


More information about the freebsd-ports mailing list