DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th May 2008
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Default Mutex unlock failure: Operation not permitted

hi

I have freeBSD 7.0 (upgrade from 6.2) and the newest port tree update.
if I try to upgrade packages from ports using:
Code:
# portupgrade -faP
I get this message:
Code:
/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/bin/uic -L /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/plugins listboxeditor.ui -i listboxeditor.h -o listboxeditor.cpp
Mutex unlock failure: Operation not permitted
and the upgrade process will be stopped.

even:
Code:
portupgrade -rf qt\*
doesn't help !

howto solve this problem ?

Last edited by ccc; 10th May 2008 at 09:18 PM.
Reply With Quote
  #2   (View Single Post)  
Old 11th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

I Have same problem now when tryin to install kde. Happens when building kdebase.

Upgraded from FBSD 6.3 to 7.0, had some lib errors and deleted kde completely and now this.
Reply With Quote
  #3   (View Single Post)  
Old 11th May 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Default

Quote:
Originally Posted by ccc View Post
Mutex unlock failure: Operation not permitted
Could happen if one of program library uses wrong/old/ones which links to wrong one .../ threads library.

Even installing compat* from ports/misc will not make this problem go away. Solution would be to try find program which links to wrong library, and manualy update that library ...

First post output of:
Code:
ldd /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/bin/uic
Reply With Quote
  #4   (View Single Post)  
Old 11th May 2008
Calderon's Avatar
Calderon Calderon is offline
Real Name: Patrick Lindholm
Fdisk Soldier
 
Join Date: May 2008
Location: Finland
Posts: 60
Default

Code:
# ldd /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/bin/uic
/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/bin/uic:
        libqt-mt.so.3 => /usr/local/lib/libqt-mt.so.3 (0x280c9000)
        libmng.so.1 => /usr/local/lib/libmng.so.1 (0x2883d000)
        libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x288ad000)
        libpng.so.5 => /usr/local/lib/libpng.so.5 (0x288db000)
        libz.so.4 => /lib/libz.so.4 (0x28915000)
        libXi.so.6 => /usr/local/lib/libXi.so.6 (0x28927000)
        libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x28930000)
        libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x2893a000)
        libXcursor.so.1 => /usr/local/lib/libXcursor.so.1 (0x28941000)
        libXinerama.so.1 => /usr/local/lib/libXinerama.so.1 (0x2894c000)
        libXft.so.2 => /usr/local/lib/libXft.so.2 (0x2894f000)
        libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x2896a000)
        libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x289f8000)
        libXext.so.6 => /usr/local/lib/libXext.so.6 (0x28a27000)
        libX11.so.6 => /usr/local/lib/libX11.so.6 (0x28a36000)
        libSM.so.6 => /usr/local/lib/libSM.so.6 (0x28b50000)
        libICE.so.6 => /usr/local/lib/libICE.so.6 (0x28b59000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28b76000)
        libm.so.5 => /lib/libm.so.5 (0x28c6b000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28c80000)
        libc.so.7 => /lib/libc.so.7 (0x28c8b000)
        libaudio.so.2 => /usr/local/lib/libaudio.so.2 (0x28d87000)
        libXt.so.6 => /usr/local/lib/libXt.so.6 (0x28da0000)
        liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x28e07000)
        libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x28e40000)
        libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28e45000)
        libXau.so.6 => /usr/local/lib/libXau.so.6 (0x28e6b000)
        libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x28e6e000)
        librpcsvc.so.4 => /usr/lib/librpcsvc.so.4 (0x28e74000)
#
I Found some post with google that says missing libthr.so.3 , I Find this in /lib/libthr.so.3 tho?

Last edited by Calderon; 11th May 2008 at 02:54 PM.
Reply With Quote
  #5   (View Single Post)  
Old 23rd May 2008
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Default

Quote:
Originally Posted by richardpl View Post
Could happen if one of program library uses wrong/old/ones which links to wrong one .../ threads library.

Even installing compat* from ports/misc will not make this problem go away. Solution would be to try find program which links to wrong library, and manualy update that library ...

First post output of:
Code:
ldd /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/bin/uic
I'm getting this on my system:
Code:
# ldd /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/bin/uic
ldd: /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/bin/uic: No such file or directory
Reply With Quote
  #6   (View Single Post)  
Old 23rd May 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Default

My recomendation is to delete all installed packages. csup to latest stable version and rebuild/reinstall kernel and world as it is explained in handbook.

Why? It is very hard to debug such problem through forum posts.
Reply With Quote
  #7   (View Single Post)  
Old 23rd May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Quote:
Originally Posted by ccc View Post
I'm getting this on my system:
Code:
# ldd /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/bin/uic
ldd: /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.8/bin/uic: No such file or directory
that likely means that the uic binary has not been created yet.


I would checkout /etc/libmap.conf and look at the port to try & figure out what library and version Qt3 is linked against for threading support.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #8   (View Single Post)  
Old 23rd May 2008
KernelPanic KernelPanic is offline
Port Guard
 
Join Date: May 2008
Posts: 19
Default

Quote:
Originally Posted by ccc View Post
hi

I have freeBSD 7.0 (upgrade from 6.2) and the newest port tree update.
Due to the number of system libraries that have changed between FreeBSD 6 and FreeBSD 7 you're probably going to have to reinstall all of your ports manually.

That was the only way I could ever get them (including portupgrade) working properly.
Reply With Quote
  #9   (View Single Post)  
Old 16th June 2008
ccc ccc is offline
Shell Scout
 
Join Date: May 2008
Posts: 97
Default

Code:
# cd /usr/lib
# ln -sf /lib/libthr.so.3 libthr.so
# ln -sf libthr.so libpthread.so
and rebuild of all ports solved this problem !

greetings
ccc
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount_nullfs: Operation not supported by device carpman FreeBSD General 1 19th February 2009 05:31 PM
mpd: "Operation not permitted" IIMarckus OpenBSD Packages and Ports 4 29th October 2008 08:10 AM
mount: /dev/ad1s1d : Operation not permitted tutosun FreeBSD General 8 9th October 2008 07:28 PM


All times are GMT. The time now is 07:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick