Subject: read-only nfs mounted pkgsrc problems
To: None <tech-pkg@netbsd.org>
From: Axel Scheepers <ascheepers@vianetworks.nl>
List: tech-pkg
Date: 02/23/2004 12:45:14
Hello All,

I have a problem with a read-only mouted pkgsrc:
janis:~ root$ mount
...
sirius:/usr/src on /usr/src type nfs (read-only)
sirius:/usr/pkgsrc on /usr/pkgsrc type nfs (read-only)
janis:~ root$ cd /usr/pkgsrc/pkgtools/digest/
janis:/usr/pkgsrc/pkgtools/digest root$ make install PKG_DEBUG_LEVEL=2 2>&1
| tee /tmp/build.log
...
+ cd /usr/pkgsrc/pkgtools/digest
+ make DIGEST=/usr/local/bin/digest HOST_OSTYPE=NetBSD-1.6.2-i386
LOWER_OPSYS=netbsd OPSYS=NetBSD OS_VERSION=1.6.2 PKGTOOLS_VERSION=20030918
PKG_DEBUG_LEVEL=2 _SRC_TOP_= OPSYS=NetBSD OS_VERSION=1.6.2
LOWER_OPSYS=netbsd /tmp/pkgsrc/work/pkgtools/digest/work/.PLIST
make: don't know how to make /tmp/pkgsrc/work/pkgtools/digest/work/.PLIST.
Stop

make: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 2

janis:~ root$ cat /etc/mk.conf

# package stuff. Install in /usr/local by default and
# keep obj's local (when we nfs mount pkgsrc)
LOCALBASE="/usr/local"

WRKOBJDIR="/tmp/pkgsrc/work"
DISTDIR="/tmp/pkgsrc/distfiles"

So far, all building is done ok, but it keeps failing with above error after
installing the binaries.

If possible I don't want to use a union mount.

Anyone an idea about what I'm doing wrong here?
(please cc: me, I'm not on the list (yet))

Thanks a million,
Axel