[MacPorts] #29842: cairo: static libs fail to build correctly with llvm

MacPorts noreply at macports.org
Mon Jul 25 08:32:23 PDT 2011


#29842: cairo: static libs fail to build correctly with llvm
-------------------------------+--------------------------------------------
 Reporter:  matuzalem@…        |       Owner:  ryandesign@…           
     Type:  defect             |      Status:  new                    
 Priority:  Normal             |   Milestone:                         
Component:  ports              |     Version:  1.9.99                 
 Keywords:  lion               |        Port:  cairo                  
-------------------------------+--------------------------------------------

Comment(by ejtttje@…):

 Is anyone seeing issues with PS or PDF generation from Cairo under Lion?
 I am, and [http://comments.gmane.org/gmane.os.apple.macports.devel/15083
 this discussion page] suggests it might be related to building with llvm.
 Unfortunately, configure.compiler=gcc-4.2 does not seem to fix the issue
 (so maybe I am subverting this bug report, but just want to check, we can
 fork to a new bug if needed)

 What I can say is that no matter what I do with my cairo pdf surface
 calls, it consistently generates a 414 byte file with what look like PDF
 headers and footer, but no content.  Further, Preview and Adobe Reader
 complain about an invalid file (Preview says it "can't be opened" and that
 it is damaged or unknown format, whereas Reader complains it "has no
 pages").  If I restrict the cairo version to 1.4, I see it does change the
 version number in the header, but that's the only diff.  I have also tried
 cairo-devel, same issue.  I'll attach a sample in case it is helpful.

-- 
Ticket URL: <https://trac.macports.org/ticket/29842#comment:23>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list