Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2018 12:10:31 GMT
From:      Martin Simmons <martin@lispworks.com>
To:        Domagoj =?UTF-8?Q?Smol=C4=8Di=C4=87?= <rank1seeker@gmail.com>
Cc:        vbox@FreeBSD.org
Subject:   Re: virtualbox-ose-additions - build fails due to env mixup
Message-ID:  <201811121210.wACCAVN8007228@higson.cam.lispworks.com>
In-Reply-To: <20181112095317.00005e69@gmail.com> (message from Domagoj =?UTF-8?Q?Smol=C4=8Di=C4=87?= on Mon, 12 Nov 2018 09:53:17 %2B0100)
References:  <20181112095317.00005e69@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Mon, 12 Nov 2018 09:53:17 +0100, Domagoj Smolčić said:
> 
> virtualbox-ose-additions-5.2.22 and below
> 
> If user which su-ed to root, has in it's .shrc file, inclusion of i.e;
> . $HOME/_some_file.sh, during build, that file is included from /root/
> instead and build fails with:
>     .: Can't open /root/_some_file.sh
> As /usr/local/bin/kmk reports (kBuild-0.1.9998_11)
> 
> WORKAROUND:
>     Uncomment inclusion line
>   OR
>     Log in directly as a root

I suggest using "su - root" to become root.

__Martin



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