Bug 1973 - configure doesn't check for nfs mounted source tree.
Summary: configure doesn't check for nfs mounted source tree.
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.7
Hardware: All FreeBSD
: P3 minor
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-25 17:58 UTC by Sherwood Botsford
Modified: 2004-10-26 06:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sherwood Botsford 2004-10-25 17:58:53 UTC
Build platform was fresh install of FreeBSD 5.2.1
Source tree was NFS mounted from LAN /usr/ports/LOCAL collection.

Note:  I don't know that this affects all platforms, but from the nature 
of the fix, I suspect that it can affect any nfs file system.

On running ./configure, it barfs partway through, "Unable to create locking 
method" or some such.

I can reproduce the error and send you config.log on request.

Workaround:
Copy source tree to local disk.

Possible solutions:
./configure should verify local disk.  (E.g. /tmp is nearly always local)
OR
Install commentary should tell people that it should be built on a local 
partition.
OR
configure flag to use local partition for testing lock files.
(Note in passing:  Sysadmins with multiple OS to support really like having
a single tree that they can use for keeping all versions up to date.)
Comment 1 Tim Potter 2004-10-25 18:17:57 UTC
You should be able to configure and build samba out of tree although it isn't
something that developers do very often so is sometimes broken.

For example:

$ mkdir /tmp/samba && cd /tmp/samba
$ /usr/local/src/samba-3.0.7/source/configure --with-foo
$ make

Does this help out?  I'm not sure there is a portable way to work out whether
you are trying to configure samba on a NFS mounted partition.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2004-10-26 06:27:00 UTC
tpot's right.