From owner-freebsd-ports@FreeBSD.ORG Sun Oct 13 11:50:36 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E680D7F5 for ; Sun, 13 Oct 2013 11:50:36 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 80A372FB8 for ; Sun, 13 Oct 2013 11:50:36 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id z12so4183523wgg.12 for ; Sun, 13 Oct 2013 04:50:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=VuLtpFayZ02Z1Xz6NeWN5TUr2/uzZnmiIL1QCFShcYI=; b=HT/drnMelwkblN/lATcUb0oXjyuuMcwXP6NbbDBgaNs0w0AwwMprpTIUaV3BJybG9Y InmCeBC5oBapzIaGbBVuUD+2+/2ryHdlbWUs8VkARtTveWF6Nn/Rwufv/P+5njUdm8+8 276ic7Otr9M+1MJqw5kBUFfElFtSaCOBCyU8r3526rANrMr7swmd6D5Rbr6Hp5WYANU5 44RP+uoi/kIfmva6jkqBtlWG9JE7rAuKrwN8FRu0ir/iLQBaYCWGD+f0OwLCkhO100Sb S5/h1F6r78MQscHzsqMcpEqSBcZtII04otHHaq13xCC0vIMiz/7QzyMGbtn0E7FBmQwf iCfw== X-Received: by 10.194.63.228 with SMTP id j4mr1470985wjs.34.1381665034902; Sun, 13 Oct 2013 04:50:34 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id s4sm23715216wiy.1.2013.10.13.04.50.33 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 13 Oct 2013 04:50:34 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 13 Oct 2013 13:50:32 +0200 From: Baptiste Daroussin To: Ekkehard Gehm Subject: Re: stagedir vs. jail Message-ID: <20131013115031.GF91605@ithaqua.etoilebsd.net> References: <20131013105853.GA63463@doom-labs.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="27ZtN5FSuKKSZcBU" Content-Disposition: inline In-Reply-To: <20131013105853.GA63463@doom-labs.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Oct 2013 11:50:37 -0000 --27ZtN5FSuKKSZcBU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 13, 2013 at 12:58:53PM +0200, Ekkehard Gehm wrote: > Hey! >=20 > I resently have some problems installing/updating ports. The main problem= is that the stagedir path is somehow messed up. >=20 > The system is running FreeBSD 9.1-RELEASE-p6 and I'm working in a jail. W= hile building it creates the stagedir in /s/portbuild/usr/ports/...../usr/l= ocal/ > BUT: When it comes to the pkg building it suddently is looking in .../usr= -local/.. witch acctualy is a part of the symlink. (In the jail /usr/local = is a symlink to /s/usr-local). Resulting in an failure.=20 we would need more details about your setup and what you use for buildling packages. the packages builder cluster are builind things in jail and it perfectly works. >=20 > The only workiaround is disabling stage completly thru make.conf... > As this is very quick'n'dirty I wonder if there is any other solution! >=20 Nope that doesn't work as there is no way to globally disable staging, if you add NO_STAGE in make.conf all you end up with is a messed package db= , if you are very very lucky it might sometime work. Bapt --27ZtN5FSuKKSZcBU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlJaiQcACgkQ8kTtMUmk6Eww/wCeOTQh0Ylwc3HF5xtg581eTWYR JiUAnieqCQAWCAR0y3GenItZgGl1W/pP =GYyu -----END PGP SIGNATURE----- --27ZtN5FSuKKSZcBU--