Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2013 08:15:11 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Stephen Montgomery-Smith <stephen@missouri.edu>
Cc:        FreeBSD Ports <freebsd-ports@FreeBSD.org>
Subject:   Re: Explain staging
Message-ID:  <20131003061511.GF85314@ithaqua.etoilebsd.net>
In-Reply-To: <524CE820.5060003@missouri.edu>
References:  <524CE820.5060003@missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131003061511.GF85314>