Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#31275 closed defect (wontfix)

cairo: No mutex implementation found. Cairo will not work with multiple threads.

Reported by: Behinder (behinder) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: cairo

Description

Cairo fail to upgrade on Snow Leopard 10.6.8.

Attachments (2)

main.log (97.0 KB) - added by Behinder (behinder) 13 years ago.
cairo log during upgrade
main.2.log (96.0 KB) - added by cooljeanius (Eric Gallager) 12 years ago.
my version of main.log

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by Behinder (behinder)

Attachment: main.log added

cairo log during upgrade

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Cairo failed to upgradecairo: No mutex implementation found. Cairo will not work with multiple threads.

Interesting:

cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex implementation found.  Cairo will not work with multiple threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation and compile cairo without thread-safety support."

I have not seen that before. I'll have to investigate.

Changed 12 years ago by cooljeanius (Eric Gallager)

Attachment: main.2.log added

my version of main.log

comment:3 Changed 12 years ago by cooljeanius (Eric Gallager)

I'd just like to add that I'm having this problem, too.

My info:

Mac OS X 10.6.8 Snow Leopard

MacPorts 2.1.2

port command I used:

$ su
$ port -udfc upgrade pango

(output from this command is in main.2.log, which I attached)

My pango is installed with variants +quartz+universal+x11

My cairo is installed with variants +quartz+universal+x11+x11_xcb

comment:4 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 12 years ago by jmroot (Joshua Root)

The configure script is failing to detect pthreads:

:info:configure checking for cairo's pthread feature...
:info:configure checking whether cairo's pthread feature could be enabled... no (can't link with -lpthread or -pthread)

comment:6 Changed 12 years ago by jmroot (Joshua Root)

On IRC, egall said that moving /usr/local aside fixed the problem.

comment:7 Changed 12 years ago by cooljeanius (Eric Gallager)

To further expand on that, the configure script was picking up a librt.a that was in my /usr/local/lib by accident, when the symbol it was looking for should have been in libsystem.dylib instead. The configure script should be fixed to look for the symbol in the correct place.

comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: newclosed

That's up to the developers of cairo to fix. I've a message to the cairo mailing list about the problem. If you have further information to add about this problem you should send it to the cairo list as well.

comment:9 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

The developers have responded to my message and have some steps they'd like you to try. It might make things easier if you subscribed to the cairo mailing list to have the conversation with them directly.

Note: See TracTickets for help on using tickets.