From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 14 17:20:12 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D23CC16A420 for ; Wed, 14 Dec 2005 17:20:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0ED343D60 for ; Wed, 14 Dec 2005 17:20:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBEHK2vs078404 for ; Wed, 14 Dec 2005 17:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBEHK2PO078403; Wed, 14 Dec 2005 17:20:02 GMT (envelope-from gnats) Resent-Date: Wed, 14 Dec 2005 17:20:02 GMT Resent-Message-Id: <200512141720.jBEHK2PO078403@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Michael C. Shultz" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BED116A422 for ; Wed, 14 Dec 2005 17:14:30 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD94F43D5A for ; Wed, 14 Dec 2005 17:14:29 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from ringworm.mechee.com ([71.102.14.129]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IRH0006AZVJUAQ3@vms042.mailsrvcs.net> for FreeBSD-gnats-submit@freebsd.org; Wed, 14 Dec 2005 11:14:08 -0600 (CST) Received: by ringworm.mechee.com (Postfix, from userid 1001) id 4E6A6130C22; Wed, 14 Dec 2005 09:14:07 -0800 (PST) Message-Id: <20051214171407.4E6A6130C22@ringworm.mechee.com> Date: Wed, 14 Dec 2005 09:14:07 -0800 (PST) From: "Michael C. Shultz" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: bsd-sharp-list@forge.novell.com Subject: ports/90394: [PATCH] lang/mono adds useful info to pkg-message X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Michael C. Shultz" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 17:20:13 -0000 >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: