"poudriere distclean" complains about /etc/make.conf

Kimmo Paasiala kpaasial at gmail.com
Thu Feb 19 16:12:00 UTC 2015


On Thu, Feb 19, 2015 at 5:47 PM, Victor Sudakov <vas at 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 at relay ~] make -V HOST
>> | relay.sibptus.ru
>> | [sudakov at 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 at 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


More information about the freebsd-pkg mailing list