From owner-freebsd-questions@FreeBSD.ORG Sat Mar 22 17:14:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23EC21065671 for ; Sat, 22 Mar 2008 17:14:23 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7C0A18FC16; Sat, 22 Mar 2008 17:14:22 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47E53E73.1010205@FreeBSD.org> Date: Sat, 22 Mar 2008 18:14:27 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Dmitry RCL Rekman References: <47E51D4B.5050008@FreeBSD.org> <47E53826.4070503@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: "Mutex unlock failure" when compiling KDE (upgrade from 6.x) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2008 17:14:23 -0000 Dmitry RCL Rekman wrote: > Hi, > > On Sat, Mar 22, 2008 at 5:47 PM, Kris Kennaway wrote: > >> Dmitry RCL Rekman wrote: >>> Hi, >>> >>> On Sat, Mar 22, 2008 at 3:52 PM, Kris Kennaway wrote: >>> >>>> RCL wrote: >>>>> Hi, >>>>> >>>>> I'm having the same troubles as Leslie Jensen when compiling KDE (or >>>>> anything that uses uic, e.g. amarok): >>>>> compile process stucks with the following message: >>>>> >>>>> Mutex unlock failure: Operation not permitted >>> Well, it actually did not rebuild the KDE & friends (because of >>> aforementioned problem with unlocking the mutex), so I had to interrupt >>> that, leaving some ports alone. I admit that is a deviation from upgrade >>> procedure, but it is not perhaps the reason of mutex problem, because it >>> appeared while rebuilding the ports for the first time. >> There is no reference in your log file to "Mutex unlock failure". >> > > It does not appear when building Qt, but when building e.g. kdebase3 (when > uic is used). > > Actually, the problem was tracked down to be inside uic. When built on my > (and Leslie's) 7.0 "upgraded" from 6.x system, uic does not link to > libthr.so, while in a newly-installed 7.0 it does. It should not be linking (directly) to libthr at all, it should be linking to libpthread (which is a symlink to it). > So one of people here (Mel) asked to provide the actual commandline used to > link uic (see this for reference: > http://docs.freebsd.org/cgi/mid.cgi?200803161912.18248.fbsd.questions ), > which is what I did. It links to libqt-mt and presumably gets its thread library from there, so the question extends there. > Log of the actual "mutex unlock failure" error was already posted in this > list, it's here: http://docs.freebsd.org/cgi/mid.cgi?47D8DBC0.3010106 OK, I suppose I was confused because you posted this under a new subject instead of as a followup to the earlier messages, so context was lost from your mails. Kris