Subject: pkgsrc: WRKDIR / NFS-mounted pkgsrc
To: None <>
From: Florian Stoehr <>
List: netbsd-users
Date: 12/22/2004 12:11:39

I need to run pkgsrc build from various machines and architectures in 

So on every machine, i added to /etc/mk.conf:


and of course created /var/temp.

Now no dependencies can be built, since after any package completes, the 
build system REMOVES that top-level directory (/var/temp):

===> [Automatic ELF shared object handling]
===> Registering installation for ncurses-5.4nb1
===> Cleaning for ncurses-5.4nb1
===> Returning to build of ettercap-0.6.bnb2
cd: can't cd to /var/temp
cannot create /var/temp/.extract_done: directory nonexistent
*** Error code 2

How to force it not to remove the top-level directory (or make things 
othervise work) ?