From nobody@FreeBSD.org  Wed Aug  1 01:48:34 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6614116A418
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 Aug 2007 01:48:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 5D31413C469
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 Aug 2007 01:48:34 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l711mYcX097222
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 1 Aug 2007 01:48:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l711mYIC097219;
	Wed, 1 Aug 2007 01:48:34 GMT
	(envelope-from nobody)
Message-Id: <200708010148.l711mYIC097219@www.freebsd.org>
Date: Wed, 1 Aug 2007 01:48:34 GMT
From: Charles Sprickman <spork@bway.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: daemontools port does not build on NFS-mounted ports tree
X-Send-Pr-Version: www-3.0

>Number:         115100
>Category:       ports
>Synopsis:       sysutils/daemontools port does not build on NFS-mounted ports tree
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    roam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 01 01:50:01 GMT 2007
>Closed-Date:    Tue Oct 30 11:02:50 UTC 2007
>Last-Modified:  Tue Oct 30 18:20:04 UTC 2007
>Originator:     Charles Sprickman
>Release:        6.2 release
>Organization:
Spork, LLC
>Environment:
FreeBSD h19.biglist.com 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Tue Jun  5 18:33:46 EDT 2007     spork@h19.biglist.com:/usr/obj/usr/src/sys/BL-6  i386
>Description:
Building the daemontools port fails when /usr/ports is mounted via NFS.

During the build, it will hang at this point:

./load tai64nlocal unix.a byte.a
env - /bin/sh rts.tests 2>&1 | cat -v > rts

Running the same script by hand shows the following:

111
--- supervise starts, svok works, svstat works, svc -x works
supervise: fatal: unable to acquire test.sv/supervise/lock: operation not supported
^C

I'm guessing that's a socket or something else that is not supported on an NFS mount.
>How-To-Repeat:
Mount /usr/ports via nfs, cd /usr/ports/sysutils/daemontools && make install clean

Wait for the following line of output, it should hang thereafter:

./load tai64nlocal unix.a byte.a
env - /bin/sh rts.tests 2>&1 | cat -v > rts

>Fix:
There probably isn't an easy one, but a warning pre-build that you cannot build in this situation would be helpful.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->roam 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Aug 1 02:10:12 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115100 
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Tue Oct 30 11:02:02 UTC 2007 
State-Changed-Why:  
I just committed a port update that adds a new config knob so that 
the tests may be disabled.  Thanks for the prompting - this has 
actually been a long-standing problem, I just never got around to it :) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115100 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/115100: commit references a PR
Date: Tue, 30 Oct 2007 18:19:11 +0000 (UTC)

 roam        2007-10-30 10:49:16 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/daemontools Makefile 
     sysutils/daemontools/files svscan.sh.sample 
   Added files:
     sysutils/daemontools/files rts-skip.patch 
   Log:
   Add a knob to disable the run-time testsuite, e.g. when building with
   a NFS-mounted work directory (prompted by PR 115100).
   Add support for logging through multilog instead of readproctitle for
   the main svscan process and document the startup script variables
   (loosely based on PR 111749).
   
   PR:             111749, 115100
   Submitted by:   Andrew Hammond<andrew.george.hammond@gmail.com>,
                   Charles Sprickman <spork@bway.net>
   
   Revision  Changes    Path
   1.26      +6 -1      ports/sysutils/daemontools/Makefile
   1.1       +11 -0     ports/sysutils/daemontools/files/rts-skip.patch (new)
   1.14      +34 -6     ports/sysutils/daemontools/files/svscan.sh.sample
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
