Opened 13 years ago

Closed 13 years ago

#30405 closed defect (fixed)

cairo: LLVM ERROR: Cannot yet select: 0x103896c10

Reported by: robert@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Cc: Tom.Schoonjans@…, opsecpublic@…, mcm@…, mattias.holm@…, ballapete (Peter "Pete" Dyballa)
Port: cairo

Description (last modified by ryandesign (Ryan Carsten Schmidt))

In the process of installing OpenNI, I needed to install MacPorts and then doxygen and graphviz. Both of those failed when reaching the install Cairo step.

Error: Failed to install cairo
Log for cairo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log
Error: The following dependencies were not installed: graphviz libLASi pango cairo urw-fonts xorg-libXaw groff psutils xorg-libXmu
Error: Status 1 encountered during processing.

Tried 'port uninstall cairo'
Tried 'port clean cairo'

What other information can I provide? Thank you.

Attachments (2)

main.log (44.1 KB) - added by robert@… 13 years ago.
main.2.log (86.3 KB) - added by robert@… 13 years ago.

Download all attachments as: .zip

Change History (15)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: cairo added; Cairo removed

Provide the main.log file please. And remember to use WikiFormatting.

Changed 13 years ago by robert@…

Attachment: main.log added

comment:2 Changed 13 years ago by Tom.Schoonjans@…

Cc: Tom.Schoonjans@… added

Cc Me!

comment:3 Changed 13 years ago by Tom.Schoonjans@…

I ran into the same issue this morning after upgrading to macports 2.0.0.

I could circumvent the problem by forcing macports to use gcc-4.2 instead of llvm:

install cairo +no_x11+quartz configure.compiler=gcc-4.2

Considering that this trick works and the output in main.log, I suspect it may be due to a bug in the llvm linker that is being used

I'm using XCode 4.0.2 on Snow Leopard: Robert are you by any chance using XCode 4.1 on Lion?

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

Robert, the main.log you attached is incomplete. Please clean cairo and try again, and if it fails again attach the complete main.log.

I am not using Xcode 4 yet so I have not yet experienced what happens for cairo with llvm. There have been other bug reports, and I thought we had fixed things already. Try using clang instead of llvm-gcc-4.2. If that doesn't work, try using gcc-4.2.

Changed 13 years ago by robert@…

Attachment: main.2.log added

comment:5 Changed 13 years ago by robert@…

I went ahead and attached the main.log after doing a clean and attempted a reinstall.

I then tried the gcc-4.2 route and it installed fine. Thank you!

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

Yes, but does clang work? If clang works we want to use that instead of gcc-4.2.

comment:7 Changed 13 years ago by Tom.Schoonjans@…

Things just got weirder...

Until now I've tried everything on my Macbook Pro. I just tried it on my MacPro which has the same version of OS X, XCode and Macports and cairo builds fine with llvm-gcc-4.2... I've got no clue what's going on here...

Clang on my MacBook Pro doesn't work though...

comment:8 Changed 13 years ago by paolomainardi@…

I confirm the bug on snow leopard (with all the last updates done) and macports 2.0, macbook 6.1.

The problem solved using gcc-4.2 as suggested by Tom.Schoonjans@… insted of llvm.

 Nome modello:	MacBook Pro
  Identificatore modello:	MacBookPro8,2
  Nome processore:	Intel Core i7
  Velocità processore:	2 GHz
  Numero di processori:	1
  Numero totale di Core:	4
  Cache L2 (per Core):	256 KB
  Cache L3:	6 MB
  Memoria:	8 GB
  Versione Boot ROM:	MBP81.0047.B04
  Version SMC (sistema):	1.69f1
  Numero di serie (sistema):	C02FG1D8DF8Y
  Hardware UUID:	29274597-D96E-55A0-AA4A-4AE7B0EA5682
  Sensore movimento improvviso:
  Stato:	Abilitato

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

Cc: opsecpublic@… mcm@… mattias.holm@… Peter_Dyballa@… added

Has duplicates #30455 and #30487.

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

Summary: Error: Failed to install cairocairo: LLVM ERROR: Cannot yet select: 0x103896c10

comment:11 in reply to:  7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to Tom.Schoonjans@…:

Clang on my MacBook Pro doesn't work though...

Why not? What happens? Attach a log please.

comment:12 Changed 13 years ago by Tom.Schoonjans@…

Sorry... clang resulted in the same LLVM ERROR. Don't have the log anymore though since I upgraded to Lion on my MacBook Pro in the meantime.

Cairo built without problems on Lion with Xcode 4.1 by the way. Probably the bug is in the llvm version that ships with Xcode 4.0

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

Resolution: fixed
Status: newclosed

Thanks, r81651 addresses this. If not, please re-open the ticket.

Note: See TracTickets for help on using tickets.