Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2016 19:21:01 +0000
From:      Tom Vijlbrief <tvijlbrief@gmail.com>
To:        NGie Cooper <yaneurabeya@gmail.com>
Cc:        freebsd-current@freebsd.org, bdrewery@freebsd.org
Subject:   Re: Installworld fails with TMPDIR pointing to NFS mounted directory
Message-ID:  <CAOQrpVdD0XsKZd_kDPPNfJnF9O8C66pBcEv3yXT1M7GzQ=HJfw@mail.gmail.com>
In-Reply-To: <935599D8-FAC0-4ED3-BC1F-5E2AA6C8ABCE@gmail.com>
References:  <CAOQrpVc9KT4OzmRje9w65vtN-hah3bkaC8M6vxD-jwzDWq5nhQ@mail.gmail.com> <935599D8-FAC0-4ED3-BC1F-5E2AA6C8ABCE@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Op di 12 jan. 2016 om 18:08 schreef NGie Cooper <yaneurabeya@gmail.com>:

>
> > On Jan 12, 2016, at 08:42, Tom Vijlbrief <tvijlbrief@gmail.com> wrote:
> >
> > If have this issue with 11-CURRENT on my raspberry 1 and 2, but I do not
> > think it is raspberry related or even 11-CURRENT related.
> >
> > export TMPDIR=/media/usbdisk/tmp
> >
> > make installword MAKEOBJDIRPREFIX=/media/swan/obj
>
> Hi Tom,
>         MAKEOBJDIRPREFIX should always be set via the environment, not the
> command line, e.g.
>
> export MAKEOBJDIRPREFIX=/media/swan/obj
> make installworld
>
> Cheers,
> -NGie


I think I actually did the export and not as I typed in my mail,
the export is in my shell history :-)

I also added:

rpc_lockd_enable="YES"

to my /etc/rc.conf and rebooted (rpc.lockd is now running) as Bryan
suggested, but I don't think that it is needed if the only client accessing
the NFS tmp dir is the local client?

[root@rpibsd /media/swan/src]# env | grep swan
TMPDIR=/media/swan/tmp
PWD=/media/swan/src
MAKEOBJDIRPREFIX=/media/swan/obj

make installworld DESTDIR=/d/root11

Same result:

===> etc/sendmail (install)
cd /media/swan/src/etc/../share/man; make makedb
makewhatis /d/root11/usr/share/man
makewhatis /d/root11/usr/share/openssl/man
rm: /media/swan/tmp/install.sy3BjziY/locale/en_US.UTF-8: Directory not empty
rm: /media/swan/tmp/install.sy3BjziY/locale: Directory not empty
rm: /media/swan/tmp/install.sy3BjziY: Directory not empty
*** Error code 1

Stop.
make[1]: stopped in /media/swan/src
*** Error code 1

Stop.
make: stopped in /media/swan/src
[root@rpibsd /media/swan/src]#



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