From owner-freebsd-questions@FreeBSD.ORG Sat Mar 22 07:13:38 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 518C2106564A for ; Sat, 22 Mar 2008 07:13:38 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from hawk.thalamus.net (hawk.thalamus.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 00CF38FC18 for ; Sat, 22 Mar 2008 07:13:37 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost.thalamus.net [127.0.0.1]) by hawk.thalamus.net (Postfix) with ESMTP id 7D2A41EE86D for ; Sat, 22 Mar 2008 08:13:36 +0100 (CET) X-Virus-Scanned: by amavisd-new at thalamus.net X-Spam-Flag: NO X-Spam-Score: 3.031 X-Spam-Level: *** X-Spam-Status: No, score=3.031 tagged_above=-999 required=4.2 tests=[AWL=-2.069, HELO_LH_HOME=3.169, MISSING_HEADERS=1.581, RDNS_DYNAMIC=0.1, URIBL_GREY=0.25] Received: from hawk.thalamus.net ([127.0.0.1]) by localhost (hawk.thalamus.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gavzvVFSPL4S for ; Sat, 22 Mar 2008 08:13:27 +0100 (CET) Received: from lesbsdpc.homenet.home (c-195-216-040-164.cust.thalamus.net [195.216.40.164]) by hawk.thalamus.net (Postfix) with ESMTP id A76871EE830 for ; Sat, 22 Mar 2008 08:13:27 +0100 (CET) Message-ID: <47E4B197.6050809@eskk.nu> Date: Sat, 22 Mar 2008 08:13:27 +0100 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.12 (X11/20080314) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 07:13:38 -0000 RCL skrev: > 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 > > I found out that the problem was already being investigated here on > the list, but no solution has yet been proposed :( > If it helps, I performed the steps that Mel asked to perform and > here's the log file of Qt build process: > > http://rcl.mine.nu/outbound/freebsd/qt-copy-3.3.8_6.log.tar.gz > > The actual command that is used to link uic is: > c++ -fno-exceptions -Wl,-rpath,/usr/local/lib > -Wl,-rpath,/usr/local/lib -pthread -o ../../../bin/uic > .obj/release-shared-mt/main. > o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o > .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing > .o .obj/release-shared-mt/embed.o > .obj/release-shared-mt/widgetdatabase.o > .obj/release-shared-mt/domtool.o .obj/release-shared- > mt/parser.o -L/usr/local/lib > -L/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/lib > -L/usr/local/lib -lqt-mt -lmng -ljpeg -lp > ng -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype > -lfontconfig -lXext -lX11 -lm -lSM -lICE > > There's no file libpthread.* in /usr/local/lib. These are > libpthread.so/a files I have: > > # ls -la `locate libpthread.{a,so}` > lrwxrwxrwx 1 root wheel 19 Feb 29 13:57 > /usr/compat/linux/lib/libpthread.so.0 -> libpthread-2.3.6.so > lrwxrwxrwx 1 root wheel 18 Feb 29 13:57 > /usr/compat/linux/lib/obsolete/linuxthreads/libpthread.so.0 -> > libpthread-0.10.so > lrwxr-xr-x 1 root wheel 8 Feb 29 12:21 /usr/lib/libpthread.a -> libthr.a > -r--r--r-- 1 root wheel 136020 Feb 29 16:16 > /usr/local/lib/compat/libpthread.so.1 > -r-xr-xr-x 1 root wheel 43284 Oct 17 00:52 > /usr/local/lib/valgrind/libpthread.so > lrwxr-xr-x 1 root wheel 13 Oct 17 00:52 > /usr/local/lib/valgrind/libpthread.so.2 -> libpthread.so > > I upgraded the system nearly a month ago (On 29th Feb) and since then > I cannot build any KDE application (not even rebuild kde base/lib > ports themselves). > Upgrade procedure I used is described here: > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html > > I hope the information provided will help further investigate the > problem. I don't want to reinstall the system, that feels like a > solution from Windows world :-) > > Best regards, > Dmitry RCL Rekman > Dimitry! Would you mind telling me how you did that. As you might have seen from my postings I have a problem when I do the last command in Mel's suggestion. cat `make -V WRKSRC`/config.log \ >>/var/log/portbuilds/`make -V PKGNAME`.log I get the message that the config.log file does not exist! Thanks /Leslie