Opened 13 years ago

Closed 13 years ago

#31371 closed defect (fixed)

Cairo build error with clang

Reported by: gottox@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: lion Cc:
Port: cairo

Description

When I compile Cairo, I get the following error:

--->  Building cairo
--->  Computing dependencies for cairo
--->  Fetching archive for cairo
--->  Attempting to fetch cairo-1.10.2_4+x11.darwin_11.x86_64.tbz2 from http://packages.macports.org/cairo
--->  Fetching cairo
--->  Verifying checksum(s) for cairo
--->  Extracting cairo
--->  Applying patches to cairo
--->  Configuring cairo
--->  Building cairo
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for cairo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_cairo/cairo/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Platform: Mac OS X Lion:

~ uname -a
Darwin rootkit.fritz.box 11.1.0 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64 x86_64

Attachments (1)

main.log (461.8 KB) - added by gottox@… 13 years ago.
Cairo Log

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by gottox@…

Attachment: main.log added

Cairo Log

comment:1 Changed 13 years ago by gottox@…

Cc: gottox@… added

Cc Me!

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

Cc: gottox@… removed
Keywords: lion added
Port: cairo added
Summary: Cairo build errorCairo build error with clang

I see you're building with clang. Presumably that means you have Xcode 4.2.x? What happens if you try llvm-gcc-4.2 instead?

sudo port clean cairo
sudo port install cairo configure.compiler=llvm-gcc-4.2

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

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

comment:4 Changed 13 years ago by gottox@…

With this option it compiles just fine :)

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.