Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2008 23:22:32 +0100
From:      "Dmitry RCL Rekman" <dmitry.rekman@gmail.com>
To:        "Kris Kennaway" <kris@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: "Mutex unlock failure" when compiling KDE (upgrade from 6.x)
Message-ID:  <d9895e060803221522q54a67f50lc5c2d4c8ececc18d@mail.gmail.com>
In-Reply-To: <47E54D9B.3030708@FreeBSD.org>
References:  <d9895e060803212221g1d0698cbw78f06ef260f68a20@mail.gmail.com> <47E53826.4070503@FreeBSD.org> <d9895e060803221003o858ab58jf0bc3efff8918df8@mail.gmail.com> <47E53E73.1010205@FreeBSD.org> <d9895e060803221032ofca3505je0cf877beb5411c2@mail.gmail.com> <47E5449D.40503@FreeBSD.org> <d9895e060803221048m84fc8a6vdea87c35718820a1@mail.gmail.com> <47E54877.10808@FreeBSD.org> <d9895e060803221109o4e07fd06i3572459c7f1c4480@mail.gmail.com> <47E54D9B.3030708@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Sat, Mar 22, 2008 at 7:19 PM, Kris Kennaway <kris@freebsd.org> wrote:

> Dmitry RCL Rekman wrote:
> > Hi,
> >
> > On Sat, Mar 22, 2008 at 6:57 PM, Kris Kennaway <kris@freebsd.org
> > <mailto:kris@freebsd.org>> wrote:
> >
> >     Dmitry RCL Rekman wrote:
> >      > Hi,
> >      >
> >      > On Sat, Mar 22, 2008 at 6:40 PM, Kris Kennaway <kris@freebsd.org
> >     <mailto:kris@freebsd.org>
> >      > <mailto:kris@freebsd.org <mailto:kris@freebsd.org>>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9895e060803221522q54a67f50lc5c2d4c8ececc18d>