From owner-freebsd-emulation@freebsd.org Mon Nov 12 12:20:56 2018 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D6911104D1A for ; Mon, 12 Nov 2018 12:20:56 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DF3426D321 for ; Mon, 12 Nov 2018 12:20:55 +0000 (UTC) (envelope-from martin@lispworks.com) Received: by mailman.ysv.freebsd.org (Postfix) id A40951104D19; Mon, 12 Nov 2018 12:20:55 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92A3A1104D18 for ; Mon, 12 Nov 2018 12:20:55 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 203096D31F for ; Mon, 12 Nov 2018 12:20:55 +0000 (UTC) (envelope-from martin@lispworks.com) Received: by freefall.freebsd.org (Postfix) id EBF031D554; Mon, 12 Nov 2018 12:20:54 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id E89421D553 for ; Mon, 12 Nov 2018 12:20:54 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from lwfs1-cam.cam.lispworks.com (mail.lispworks.com [46.17.166.21]) by mx1.freebsd.org (Postfix) with ESMTP id 208B86D313 for ; Mon, 12 Nov 2018 12:20:51 +0000 (UTC) (envelope-from martin@lispworks.com) Received: from higson.cam.lispworks.com (higson.cam.lispworks.com [192.168.1.7]) by lwfs1-cam.cam.lispworks.com (8.15.2/8.15.2) with ESMTP id wACCAVgP075389; Mon, 12 Nov 2018 12:10:31 GMT (envelope-from martin@lispworks.com) Received: from higson.cam.lispworks.com (localhost.localdomain [127.0.0.1]) by higson.cam.lispworks.com (8.14.4) id wACCAVDE007232; Mon, 12 Nov 2018 12:10:31 GMT Received: (from martin@localhost) by higson.cam.lispworks.com (8.14.4/8.14.4/Submit) id wACCAVN8007228; Mon, 12 Nov 2018 12:10:31 GMT Date: Mon, 12 Nov 2018 12:10:31 GMT Message-Id: <201811121210.wACCAVN8007228@higson.cam.lispworks.com> From: Martin Simmons To: Domagoj =?UTF-8?Q?Smol=C4=8Di=C4=87?= CC: vbox@FreeBSD.org 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 +0100) Subject: Re: virtualbox-ose-additions - build fails due to env mixup References: <20181112095317.00005e69@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DF3426D321 X-Spamd-Result: default: False [-5.88 / 200.00]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; FORWARDED(0.00)[emulation@mailman.ysv.freebsd.org]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lispworks.com]; AUTH_NA(1.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: mail2.lispworks.com]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.68)[ip: (-9.84), ipnet: 2001:1900:2254::/48(-4.77), asn: 10310(-3.70), country: US(-0.09)]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[rank1seeker@gmail.com ..,freebsd-emulation@freebsd.org]; RCVD_COUNT_SEVEN(0.00)[10] X-Rspamd-Server: mx1.freebsd.org X-Mailman-Approved-At: Mon, 12 Nov 2018 12:47:30 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 12:20:56 -0000 >>>>> 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