From owner-freebsd-questions@FreeBSD.ORG Sat Mar 22 22:22:43 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 3959D1065673 for ; Sat, 22 Mar 2008 22:22:43 +0000 (UTC) (envelope-from dmitry.rekman@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id E3F348FC1D for ; Sat, 22 Mar 2008 22:22:42 +0000 (UTC) (envelope-from dmitry.rekman@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so717805anc.13 for ; Sat, 22 Mar 2008 15:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=K9iNPzYVliJZP3Cptrtsdedf7fOUiVeEQMOLzId0fJI=; b=IfLbiZUK7p+2hf08JlGDXrfKgVaviWrpEdzyu55kDmu3k7Mv+Dfz8uy4dG1C7iN4iOAUHqNQOVAURHoubtL8eyOYvny4Xp/cfvBscRv3sWcpNYQDwO9oaQH/8GS8dAAVbVdpc9vLCwpFvxSQ5wexAc0BHeKptfpZOxXkJmz9h2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=i9qepTKGNUbP1k+fo2JGGKFW8G+m3An0GjL60VJ5cLsC2j8jqsMz2ogt+L5YRwxiiFDM7YC9kQa1BwvCeGE3aRwCVVqwjGhRoo3ZWeahwqBBMUYXIE1DDsPaV6N4zv4RSTSWfWqT6HQyZ/RmrrzLMrz2FJ9VvZk08c/XaDibX+A= Received: by 10.100.178.7 with SMTP id a7mr12787037anf.117.1206224552371; Sat, 22 Mar 2008 15:22:32 -0700 (PDT) Received: by 10.101.67.17 with HTTP; Sat, 22 Mar 2008 15:22:32 -0700 (PDT) Message-ID: Date: Sat, 22 Mar 2008 23:22:32 +0100 From: "Dmitry RCL Rekman" To: "Kris Kennaway" In-Reply-To: <47E54D9B.3030708@FreeBSD.org> MIME-Version: 1.0 References: <47E53826.4070503@FreeBSD.org> <47E53E73.1010205@FreeBSD.org> <47E5449D.40503@FreeBSD.org> <47E54877.10808@FreeBSD.org> <47E54D9B.3030708@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 22:22:43 -0000 Hi, On Sat, Mar 22, 2008 at 7:19 PM, Kris Kennaway wrote: > Dmitry RCL Rekman wrote: > > Hi, > > > > On Sat, Mar 22, 2008 at 6:57 PM, Kris Kennaway > > wrote: > > > > Dmitry RCL Rekman wrote: > > > Hi, > > > > > > On Sat, Mar 22, 2008 at 6:40 PM, Kris Kennaway > > > > >> wrote: > > > > > > > Well, the commandline used to build libqt-mt is included > > in the > > > log and > > > > it also links to -pthread... > > > > > > Yes, also uic (correctly) links directly to -pthread (I > > missed this on > > > first read). The only way I can see this failing is if your > > /lib is not > > > correctly populated. What is the output of > > > > > > ls -l /lib/libthr* /usr/lib/libpthr* > > > > > > > > > # ls -l /lib/libthr* /usr/lib/libpthr* > > > -r--r--r-- 1 root wheel 66928 Feb 29 12:20 /lib/libthr.so.3 > > > lrwxr-xr-x 1 root wheel 8 Feb 29 12:21 > > /usr/lib/libpthread.a -> > > > libthr.a > > > lrwxr-xr-x 1 root wheel 10 Feb 29 12:21 > > /usr/lib/libpthread_p.a -> > > > libthr_p.a > > > > Yep, your world is broken, you are missing a /usr/lib/libpthread.so > > symlink. > > > > > > Ok, I created a symlink /usr/lib/libpthread.so -> /usr/lib/libthr.so and > > am trying to build kdebase3 again. Will inform shortly :-) > > Well you'll likely have to rebuild other things first to recover from > the damage compiled into an unknown subset of your existing ports. > Repeating portupgrade -fa might be the best option. > Ok, after creating that symlink kdebase3 has been successfully built. However, I'm starting portupgrade -fa according to your advice. Thank you very much for resolving the problem! I think that freebsd-update script and/or the appropriate guide should be updated so those symlinks are created automatically. > > Kris > Best regards, Dmitry RCL Rekman