Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 22:40:02 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Leslie Jensen <leslie@eskk.nu>
Subject:   Re: Compile error, kde related?
Message-ID:  <200803132240.02746.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <47D8DBC0.3010106@eskk.nu>
References:  <47D7E889.8070100@eskk.nu> <200803121916.47569.fbsd.questions@rachie.is-a-geek.net> <47D8DBC0.3010106@eskk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 March 2008 08:46:08 Leslie Jensen wrote:
> Mel skrev:
> > On Wednesday 12 March 2008 15:28:25 Leslie Jensen wrote:
> >> The compile error I get is
> >>
> >> Mutex unlock failure: Operation not permitted
> >>
> >>    Any suggestions?
> >
> > Details maybe? Just one line that's a pretty generic error message,
> > that's likely to be caused by system limits, isn't gonna get you much
> > help. The entire compilation line, the failure up until make returns
> > control back to the shell, that's what you'll need to provide at minimum.
>
> Yes of course, here are some details:
>
> bsdpc01# uname -a
> FreeBSD bsdpc01.homenet.home 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb
> 24 19:59:52 UTC 2008
> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>
>
> portsnap fetch update
>
> All ports up to date, otherwise compiled and installed.
>
> cd /usr/ports/x11/kdebase3/
>
> make
>
> ----------------------------------------
> c++ -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include  -I/usr/local/include
>   -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   -I/usr/local/include
> -I/usr/local/include  -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE
> -D_LARGE_FILES=1  -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> -DNDEBUG -DNO_DEBUG -O2 -O2 -fno-strict-aliasing -pipe
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT kdcoplistview.o -MD -MP -MF
> .deps/kdcoplistview.Tpo -c -o kdcoplistview.o kdcoplistview.cpp
> mv -f .deps/kdcoplistview.Tpo .deps/kdcoplistview.Po
> /usr/local/bin/moc kdcopview.h -o kdcopview.moc
> rm -f kdcopview.cpp
> echo '#include <kdialog.h>' > kdcopview.cpp
> echo '#include <klocale.h>' >> kdcopview.cpp
> /usr/local/bin/uic -L /usr/local/lib/kde3/plugins/designer -nounload -tr
> tr2i18n -i kdcopview.h ./kdcopview.ui > kdcopview.cpp.temp ; ret=$?; \
>          /usr/local/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g"
> kdcopview.cpp.temp | /usr/local/bin/perl -pe "s,tr2i18n( \"\"\, \"\"
> ),QString::null,g" | /usr/local/bin/perl -pe
> "s,image([0-9][0-9]*)_data,img\$1_kdcopview,g" | /usr/local/bin/perl -pe
> "s,: QWizard\(,: KWizard(,g" >> kdcopview.cpp ;\
>          rm -f kdcopview.cpp.temp ;\
>          if test "$ret" = 0; then echo '#include "kdcopview.moc"' >>
> kdcopview.cpp; else rm -f kdcopview.cpp ; exit $ret ; fi
> Mutex unlock failure: Operation not permitted

I think you mixed some threading libraries. That string or variants of it, is 
nowhere to be found in /usr/src anymore.

I found this post:
http://lists.freebsd.org/pipermail/freebsd-threads/2004-March/001759.html

Any of that relevant for you? like entries in libmap?

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



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