Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 18:11:59 +0200
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        Victor Sudakov <vas@mpeks.tomsk.su>
Cc:        freebsd-pkg@freebsd.org, Mathieu Arnold <mat@mat.cc>
Subject:   Re: "poudriere distclean" complains about /etc/make.conf
Message-ID:  <CA%2B7WWSf0JHR=xbdEqeWOHD9CZO_PRgnqMUbrxMDD%2BbuCB5a1sw@mail.gmail.com>
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
On Thu, Feb 19, 2015 at 5:47 PM, Victor Sudakov <vas@mpeks.tomsk.su> wrote:
> Mathieu Arnold wrote:
>
> [dd]
>
>> |> Ah, yes, HOST is not defined, it's why it fails, you need to add:
>> |>
>> |> HOST?=
>> |
>> | Mathieu, what makes you think that HOST is not defined? It's defined
>> | in the environment and should be available to make:
>> |
>> | [sudakov@relay ~] make -V HOST
>> | relay.sibptus.ru
>> | [sudakov@relay ~]
>>
>> It's not defined in my environment, so I'd say it's specific to your setup,
>> so, it's not defined when poudriere runs make, so it fails.
>
> Dear Mathieu, you are right. The definition of "HOST?=" fixes the
> problem. Probably poudriere cleans the environment.
>
> Thank you very much for your help.
>
>
> --
> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> sip:sudakov@sibptus.tomsk.ru
> _______________________________________________

You're probably exporting (setenv in tcsh(1) and the like) HOST
somewhere in your shell init files. Poudriere uses the plain sh(1)
shell that does not create a HOST local variable, other shells like
tcsh(1) and zsh(1) do create it though.

HTH,

-Kimmo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSf0JHR=xbdEqeWOHD9CZO_PRgnqMUbrxMDD%2BbuCB5a1sw>