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. Fix: There probably isn't an easy one, but a warning pre-build that you cannot build in this situation would be helpful. 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
Responsible Changed From-To: freebsd-ports-bugs->roam Over to maintainer
State Changed From-To: open->closed 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 :)
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"