From owner-freebsd-ports@FreeBSD.ORG Sat Mar 12 21:07:24 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C1741065673 for ; Sat, 12 Mar 2011 21:07:24 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id F28DE8FC1C for ; Sat, 12 Mar 2011 21:07:23 +0000 (UTC) Received: by qyk27 with SMTP id 27so3252191qyk.13 for ; Sat, 12 Mar 2011 13:07:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=m3bfqPirPuwifM8L0F7d1GEovx/5jV6xUIULpeRrnd0=; b=qKrMjy8CGm+EQ6vjjaAlywKUDwuLtw9PtGspJ0c6nObQy7J1eQ9ljAcKszaEgxsxI8 rGxI8OfScX1k20RpdNnT2X3TAuQaHLlhIekehyR4AUmVLMmZIZWN7BvfvYO8KMVj+Rml y2cch+/gzVg2IoBpNUuDzZ66VXCb8xD8Wwr8g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bF24ZacHc5c3D/2XZ/A3hOsiCKj2fxrFDamK7pP7MvHpNS8qHHAcCSzfClXaW2MZGq ZGPO8Uk93gKRYlUfov71ijmgQ6dJorLhlkG2YH8PoGET4BF9XsJrMAxSfyehWzhQnRCy gurfrC9gQZXfTJmFx25NhCdldi/zqkxpvpQAE= MIME-Version: 1.0 Received: by 10.229.126.210 with SMTP id d18mr8663242qcs.179.1299964042772; Sat, 12 Mar 2011 13:07:22 -0800 (PST) Received: by 10.229.235.7 with HTTP; Sat, 12 Mar 2011 13:07:22 -0800 (PST) In-Reply-To: <4D7BD9AE.5030609@FreeBSD.org> References: <4D7BD9AE.5030609@FreeBSD.org> Date: Sun, 13 Mar 2011 00:07:22 +0300 Message-ID: From: Subbsd To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: ports-list freebsd Subject: Re: some ports doesn't build with non standard WRKDIRPREFIX X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2011 21:07:24 -0000 On Sat, Mar 12, 2011 at 11:38 PM, Doug Barton wrote: > On 03/12/2011 00:37, Subbsd wrote: >> >> Hi. >> >> Ive have server with huge of RAM (32 GB) and after mounting tmpfs on >> /tmp try use it for more faster port building. Most of the ports work >> when set WRKDIRPREFIX="/tmp/ports" in /etc/make.conf is magnificently. >> But part of ports not, for example: /usr/ports/devel/ode >> >> % make -V WRKDIRPREFIX -C/usr/ports/devel/ode >> "/tmp/ports" >> >> % make -C/usr/ports/devel/ode extract >> make: don't know how to make >> /tmp/ports/usr/ports/devel/ode/work/.extract_done.ode._usr_local. Stop >> *** Error code 2 >> >> Stop in /usr/ports/devel/ode. >> >> >> Why might this happen? Some Makefile have bsd.{pre|post}.mk and some - >> bsd.port.mk - that's all difference i see. > > I have WRKDIRPREFIX set and I don't have the same problem you have; whether > I use -C or cd into the directory. Perhaps you have some other make > variables that are affecting this? > With "cd to /usr/ports/*/* is no diffrence" Some variables is presents in my system, but for test i remove all - no changes. Probrem reproduce for ports who have WRKSRC variable: /usr/ports/devel/{ode,orc,mico} .... etc. Also, i see "_extract_done" only in one Mk file: grep extract_done /usr/ports/Mk/* /usr/ports/Mk/bsd.port.mk:EXTRACT_COOKIE?= ${WRKDIR}/.extract_done.${PORTNAME}.${PREFIX:S/\//_/g} But Mk system currently is too difficult for me to understand - whether it applies