Explain staging

Alexander Yerenkow yerenkow at gmail.com
Fri Oct 4 11:31:57 UTC 2013


I'd recommend to
1) take excerpts from this topic and expand wiki - since here was a lot of
info
2) When port fails due to staging,add there link to wiki, so user / port
developer will see immediately where to dig.
Thanks.


2013/10/4 Baptiste Daroussin <bapt at freebsd.org>

> On Thu, Oct 03, 2013 at 08:21:19PM -0500, Stephen Montgomery-Smith wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 10/03/2013 07:22 AM, Stephen Montgomery-Smith wrote:
> > > On 10/03/2013 04:54 AM, Baptiste Daroussin wrote:
> > >> On Thu, Oct 03, 2013 at 10:58:56AM +0200, Alex Dupre wrote:
> > >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> > >>>
> > >>> Baptiste Daroussin ha scritto:
> > >>>> Here you are:
> > >>>>
> http://lists.freebsd.org/pipermail/freebsd-ports/2013-October/086346.html
> > >>>
> > >>>
> > >>>>
> > >
> > >>>>
> > I
> > >>>>
> > >>> was referring the the previous one: "[HEADSUP] Stage support
> > >>> for the ports tree". Dunno if it had additional info or this
> > >>> second one is enough.
> > >>>
> > >> I mixed both in one :)
> > >
> > > I do appreciate the explanations very much.
> > >
> > > I am having a problem with a port in which if NO_STAGE is not set,
> > > then the build part of the process fails.  As far as I can tell,
> > > staging should not effect the build part of the process in any
> > > way. So two questions: 1.  If I set NO_STAGE=yes in that port, is
> > > this going to be a big problem?  It will have to be a work around
> > > until I can get the next question answered: 2.  Any ideas on why
> > > staging would effect the build process?  The port includes
> > > subpackages that use "./configure; make; make install" and are
> > > supposed to install into $WRKSRC/local, but instead sometimes
> > > installs into $WRKDIR/stage/portname/work/pkgname/local.
> >
> > FYI
> >
> > So when NO_STAGE is not set, MAKE_ARGS includes
> > DESTDIR=$WRKDIR/work/stage.
> >
> > This messes up the build process on this port.
> >
> > This is probably something to be fixed way down the road, and perhaps
> > it is my port that needs fixing.
>
> If for your port DESTDIR means something else, and STAGEDIR is expecting
> to be
> exposed though another variable then change DESTDIRNAME which is DESTDIR by
> default.
>
> regards,
> Bapt
>



-- 
Regards,
Alexander Yerenkow


More information about the freebsd-ports mailing list