Date: Wed, 14 Dec 2005 09:14:07 -0800 (PST) From: "Michael C. Shultz" <ringworm01@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: bsd-sharp-list@forge.novell.com Subject: ports/90394: [PATCH] lang/mono adds useful info to pkg-message Message-ID: <20051214171407.4E6A6130C22@ringworm.mechee.com> Resent-Message-ID: <200512141720.jBEHK2PO078403@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90394 >Category: ports >Synopsis: [PATCH] lang/mono adds useful info to pkg-message >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Dec 14 17:20:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Michael C. Shultz >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD ringworm.mechee.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Nov 30 13:51:49 PST 2005 root@ringworm.mechee.com:/usr5/obj/usr5/src/sys/RINGWORM5 i386 >Description: lang/mono patch adds useful info to pkg-message pkg-message offers this wonderful advice: - Close apps which use Mono and run `ipcs -sbt`. Remove the semaphores with MODE "--rw-------" and NSEMS "8" yet fails to explain how to remove a semaphore. The patch adds instructions on removing the semaphore. This should save the user from having to reboot just to get rid of open semaphores when trying to build lang/mono. Patch just provides information, no need to bump PORTREVISION With semaphores cleard mono builds OK on the FreeBSD 5.4 machine listed in the uname output at the top of this PR with the following command make CFLAGS="-O -pipe" >How-To-Repeat: N/A >Fix: --- mono.diff begins here --- diff -ruN mono/pkg-message mono-NEW/pkg-message --- mono/pkg-message Wed Nov 9 20:17:26 2005 +++ mono-NEW/pkg-message Wed Dec 14 08:43:16 2005 @@ -16,6 +16,18 @@ * Remove leftover semaphores / increase semaphore limits. - Close apps which use Mono and run `ipcs -sbt`. Remove the semaphores with MODE "--rw-------" and NSEMS "8" + + example ipcs -sbt output: + + Semaphores: + T ID KEY MODE OWNER GROUP NSEMS OTIME CTIME + s 131073 1293514777 --rw------- root wheel 8 8:09:51 8:08:03 + s 65538 1293494224 --rw------- root wheel 8 8:58:41 8:56:39 + s 65539 1293514838 --rw------- root wheel 8 10:15:13 10:13:14 + + to remove ID 131073 + ipcrm -s 131073 + - _OR_ simply reboot which is the safest method. - On multi-user systems the semaphore limits may need to be increased from the FreeBSD default of 10 identifiers and 60 total semaphores. --- mono.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051214171407.4E6A6130C22>