Subject: Re: Another build failure - "unexpected operator" in maketars
To: Alan Barrett <apb@cequrux.com>
From: Charlie Root <root@whooppee.com>
List: current-users
Date: 02/05/2007 04:10:03
On Mon, 5 Feb 2007, Alan Barrett wrote:

>> 	MACHINE_ARCH=${1} ${MAKE} -f- all <<EOMAKE
>> 	.include <bsd.own.mk>
>> 	all:
>> 		@echo \${MACHINE_CPU}
>> 	EOMAKE
>>
>> Unfortunately when running make with -j3, [...]
>
> How did "-j3" find its way into the value of ${MAKE}?  (How did you
> invoke build.sh and/or nmbake-foo?)

The -j3 isn't in the value of ${MAKE} but it gets passed in from 
build.sh which was invoked with -j3.  My entire build.sh command line:

 	./build.sh -T /usr/obj/tools.x86_64.i386 \
 	           -D /usr/obj/destdir.i386 \
 	           -O /usr/obj/objdir.i386 \
 	           -R /usr/obj/reldir \
 	           -m i386 -j3 -x -u release iso-image

> Anyway, try inserting "-j1" between "${MAKE}" and "-f-".

I can always give it a try.

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | FA29 0E3B 35AF E8AE 6651 |  paul@whooppee.com   |
|                  | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------