Bug 115100 - sysutils/daemontools port does not build on NFS-mounted ports tree
Summary: sysutils/daemontools port does not build on NFS-mounted ports tree
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Peter Pentchev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 02:50 UTC by spork
Modified: 2007-10-30 18:20 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 spork 2007-08-01 02:50:01 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-08-01 03:10:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->roam

Over to maintainer
Comment 2 Peter Pentchev freebsd_committer freebsd_triage 2007-10-30 11:02:02 UTC
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 :)
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-10-30 18:19:11 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"