From owner-freebsd-ports@FreeBSD.ORG Thu Oct 3 06:15:16 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BAFC5D64 for ; Thu, 3 Oct 2013 06:15:16 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5605C260B for ; Thu, 3 Oct 2013 06:15:16 +0000 (UTC) Received: by mail-we0-f180.google.com with SMTP id q59so1706085wes.25 for ; Wed, 02 Oct 2013 23:15:14 -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=smsi7c9C970y6+yozjehEiCWeZORc58WjV9R4ol4BHI=; b=RHIDk37cRp/7snAPkVjPVgOaWwBwZve+z0cor+wGCIk4/PlaaGRbKNvF0bD6/qAJvJ MxIgjG4ETgZwJlugLM0kZbcTG+zyv8Q/zXaMJSGjlqG91Sgbf4+TlQddNXa+nRITLgWe ZihTZgyhn7pS+qYRb/ybHoNjrNzi4cCmFN85F+Ra4WaJsyL6+vmycp9aksvg6OZk6LbJ ehFaI68OtC4dC9NRQf2nxNf2cgcXT6dK8LGBafPBUbAK3b7ARZf+9KLkQnTHQgCFjh8O uphC3l+fAMma8JzVbXq3VIcCP3Gr+vBCd5xzSzXDNbb+pWh4upXf0v9abrSBVT+GmYyB v+jw== X-Received: by 10.194.201.225 with SMTP id kd1mr5462998wjc.35.1380780914740; Wed, 02 Oct 2013 23:15:14 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id b11sm23303292wik.1.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 02 Oct 2013 23:15:13 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 3 Oct 2013 08:15:11 +0200 From: Baptiste Daroussin To: Stephen Montgomery-Smith Subject: Re: Explain staging Message-ID: <20131003061511.GF85314@ithaqua.etoilebsd.net> References: <524CE820.5060003@missouri.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bGR76rFJjkSxVeRa" Content-Disposition: inline In-Reply-To: <524CE820.5060003@missouri.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Ports 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: Thu, 03 Oct 2013 06:15:16 -0000 --bGR76rFJjkSxVeRa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 02, 2013 at 10:44:32PM -0500, Stephen Montgomery-Smith wrote: > I have not been following discussions recently. There is this new thing > called staging. I don't seem able to find the original emails where > this was introduced. >=20 > Is there an email or a website which explains in some detail how staging > works? It is badly messing with a port I am developing. I can fix it > by setting NO_STAGE=3Dyes, but I would like to get a better idea of why it > is failing. The failure is during the build process. >=20 > Sorry for not following closer. Not a problem. Staging is basically installing everything into a staging area "${WRKSRC}/s= tage" before messing up the system. What most of package system calls DESTDIR or FAKEDIR. =46rom that stage a create can be directly created (even as a single user).= or the stage can be sync into the filesystem. 2 new targets can help you staging your ports: make check-orphans and make makeplist. You should have received 2 mails from me with some details about staging: one called "[HEADSUP] Stage support for the ports tree" and on called "Staging, packages and more" (very recent as of yesterday) The following wiki page https://wiki.freebsd.org/ports/StageDir has been cr= eated for tips and helps around staging. Do not hesitate to add new entries to the wiki page, if you need any help staging your ports I can provide reviews. regards, Bapt --bGR76rFJjkSxVeRa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlJNC28ACgkQ8kTtMUmk6EwDbQCaAljkBDrnVASn4HZp2lyI2EWj QZwAn0aJZX0pVioMHtV2LoIgEChzK4zc =P6qe -----END PGP SIGNATURE----- --bGR76rFJjkSxVeRa--