Re: MAKEOBJDIRPREFIX and installkernel

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Thu, 20 May 2010 23:16:38 +0400
On Thu, 20 May 2010 22:58:00 +0400 Yuri Pankov wrote:
> On Thu, May 20, 2010 at 09:59:25PM +0400, Boris Samorodov wrote:
> > Hi List,
> > 
> > here is something strange with current CURRENT:
> > -----
> > [~]bsam_at_izar% LANG=C svn info FreeBSD/base/head/src
> > Path: FreeBSD/base/head/src
> > URL: svn+ssh://svn.freebsd.org/base/head
> > Repository Root: svn+ssh://svn.freebsd.org/base
> > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> > Revision: 208354
> > Node Kind: directory
> > Schedule: normal
> > Last Changed Author: jkim
> > Last Changed Rev: 208353
> > Last Changed Date: 2010-05-20 20:24:12 +0400 (Thu, 20 May 2010)
> > 
> > [~]bsam_at_izar% echo $MAKEOBJDIRPREFIX
> > /home/bsam/FreeBSD/base/head/obj
> > 
> > [~]bsam_at_izar% sudo make -C FreeBSD/base/head/src installkernel
> > --------------------------------------------------------------
> > >>> Installing kernel
> > --------------------------------------------------------------
> > cd /usr/obj/usr/home/bsam/FreeBSD/base/head/src/sys/IZAR;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/home/bsam/FreeBSD/base/head/src/tmp/legacy/usr/bin  GROFF_FONT_PATH=/usr/obj/usr/home/bsam/FreeBSD/base/head/src/tmp/legacy/usr/share/groff_font  GROFF_TMAC_PATH=/usr/obj/usr/home/bsam/FreeBSD/base/head/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/home/bsam/FreeBSD/base/head/src/tmp/legacy/usr/sbin:/usr/obj/usr/home/bsam/FreeBSD/base/head/src/tmp/legacy/usr/bin:/usr/obj/usr/home/bsam/FreeBSD/base/head/src/tmp/legacy/usr/games:/usr/obj/usr/home/bsam/FreeBSD/base/head/src/tmp/usr/sbin:/usr/obj/usr/home/bsam/FreeBSD/base/head/src/tmp/usr/bin:/usr/obj/usr/home/bsam/FreeBSD/base/head/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  make KERNEL=kernel install
> > cd: can't cd to /usr/obj/usr/home/bsam/FreeBSD/base/head/src/sys/IZAR
> > *** Error code 2
> > 
> > Stop in /usr/home/bsam/FreeBSD/base/head/src.
> > *** Error code 1
> > 
> > Stop in /usr/home/bsam/FreeBSD/base/head/src.
> > [~]bsam_at_izar%
> > -----
> > 
> > That command used to work fine for years...

> Works here. May you've recently changed your sudoers to not keep env
> variables?

Hm. I've upgraded ports recently. However sudoers is the same.
Thanks for the tip. I'll try to find out what has changed at my
system.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Received on Thu May 20 2010 - 17:16:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC