Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 14:31:55 +0300
From:      Alexander Yerenkow <yerenkow@gmail.com>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Explain staging
Message-ID:  <CAPJF9w=DaHiNmrc4g-VsjN75CCLuKEQKwjZB7HUaZjbwkY%2B7jg@mail.gmail.com>
In-Reply-To: <20131004055619.GA72453@ithaqua.etoilebsd.net>
References:  <524CE820.5060003@missouri.edu> <20131003061511.GF85314@ithaqua.etoilebsd.net> <524D20AF.4010107@FreeBSD.org> <20131003085127.GD99713@ithaqua.etoilebsd.net> <524D31D0.4090209@FreeBSD.org> <20131003095444.GE99713@ithaqua.etoilebsd.net> <524D618B.30100@missouri.edu> <524E180F.7020307@missouri.edu> <20131004055619.GA72453@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPJF9w=DaHiNmrc4g-VsjN75CCLuKEQKwjZB7HUaZjbwkY%2B7jg>