Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2015 09:56:50 +0600
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        Mathieu Arnold <mat@mat.cc>, freebsd-pkg@freebsd.org
Subject:   Re: "poudriere distclean" complains about /etc/make.conf
Message-ID:  <20150220035650.GA62448@admin.sibptus.tomsk.ru>
In-Reply-To: <20150219154718.GA51357@admin.sibptus.tomsk.ru>
References:  <20150217043049.GA68755@admin.sibptus.tomsk.ru> <F8556CC1B58CDE1EE7646029@ogg.in.absolight.net> <20150218163739.GA24716@admin.sibptus.tomsk.ru> <D0B4CE058DA7FBAEB1615050@atuin.in.mat.cc> <20150219031446.GA32820@admin.sibptus.tomsk.ru> <C0C2840FF666978F32157E03@atuin.in.mat.cc> <20150219154718.GA51357@admin.sibptus.tomsk.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Victor Sudakov wrote:
> 
> Dear Mathieu, you are right. The definition of "HOST?=" fixes the
> problem. Probably poudriere cleans the environment.

Indeed, the last line in /usr/local/bin/poudriere is 
exec env -i ${CMD_ENV} /bin/sh ${SETX} "${POUDRIEREPREFIX}/${CMD}.sh" $@

where  ${CMD_ENV} contains only PATH and POUDRIERE_VERSION. That's
where HOST is being stripped from the environment.

Case closed IMHO. Thanks to everyone who replied.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



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