mxcl/homebrew — Issue #10400: cairo universal_binary fails
Author: 0x80
Created: 2012-02-22 13:18:20+00:00
State: open

I've added ENV.universal_binary to the cairo formula file but I can't get it to build for universal.

Any idea?

Warning: Formula will not build with LLVM, trying Clang
==> Downloading http://www.cairographics.org/releases/cairo-1.10.2.tar.gz
File already downloaded in /Users/thijskoerselman/Library/Caches/Homebrew
/usr/bin/tar xf /Users/thijskoerselman/Library/Caches/Homebrew/cairo-1.10.2.tar.gz
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cairo/1.10.2 --with-x --enable-xcb
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cairo/1.10.2 --with-x --enable-xcb
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/clang... none
checking build system type... i386-apple-darwin11.3.0
checking host system type... i386-apple-darwin11.3.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/clang... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/llvm-gcc option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/bin/clang object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking if /usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for find... /usr/bin/find
checking for xargs... /usr/bin/xargs
checking for gcc... (cached) /usr/bin/clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/clang accepts -g... (cached) yes
checking for /usr/bin/clang option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... /usr/bin/clang -E
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking dependency style of /usr/bin/clang++... none
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether /usr/bin/clang++ accepts -g... (cached) yes
checking dependency style of /usr/bin/clang++... (cached) none
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking for ld used by /usr/bin/clang++... /usr/bin/llvm-gcc
checking if the linker (/usr/bin/llvm-gcc) is GNU ld... no
checking whether the /usr/bin/clang++ linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking for /usr/bin/clang++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang++ static flag -static works... no
checking if /usr/bin/clang++ supports -c -o file.o... yes
checking if /usr/bin/clang++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang++ linker (/usr/bin/llvm-gcc) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether /usr/bin/clang and cc understand -c and -o together... yes
checking for inline... inline
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for supported warning flags...
checking whether /usr/bin/clang supports -Werror... yes
checking whether /usr/bin/clang supports -errwarn... no
checking whether /usr/bin/clang supports -Wall... yes
checking whether /usr/bin/clang supports -Wextra... yes
checking whether /usr/bin/clang supports -Wold-style-definition... yes
checking whether /usr/bin/clang supports -Wdeclaration-after-statement... yes
checking whether /usr/bin/clang supports -Wmissing-declarations... yes
checking whether /usr/bin/clang supports -Werror-implicit-function-declaration... yes
checking whether /usr/bin/clang supports -Wnested-externs... yes
checking whether /usr/bin/clang supports -Wpointer-arith... yes
checking whether /usr/bin/clang supports -Wwrite-strings... yes
checking whether /usr/bin/clang supports -Wsign-compare... yes
checking whether /usr/bin/clang supports -Wstrict-prototypes... yes
checking whether /usr/bin/clang supports -Wmissing-prototypes... yes
checking whether /usr/bin/clang supports -Wpacked... yes
checking whether /usr/bin/clang supports -Wswitch-enum... yes
checking whether /usr/bin/clang supports -Wmissing-format-attribute... yes
checking whether /usr/bin/clang supports -Wbad-function-cast... yes
checking whether /usr/bin/clang supports -Wvolatile-register-var... yes
checking whether /usr/bin/clang supports -Wstrict-aliasing=2... yes
checking whether /usr/bin/clang supports -Winit-self... yes
checking whether /usr/bin/clang supports -Wunsafe-loop-optimizations... yes
checking whether /usr/bin/clang supports -Wno-missing-field-initializers... yes
checking whether /usr/bin/clang supports -Wno-unused-parameter... yes
checking whether /usr/bin/clang supports -Wno-attributes... yes
checking whether /usr/bin/clang supports -Wno-long-long... yes
checking whether /usr/bin/clang supports -Winline... yes
checking whether /usr/bin/clang supports -Wlogical-op... yes
checking whether /usr/bin/clang supports -erroff=E_ENUM_TYPE_MISMATCH_ARG... no
checking whether /usr/bin/clang supports -erroff=E_ENUM_TYPE_MISMATCH_OP... no
checking whether /usr/bin/clang supports -fno-strict-aliasing... yes
checking whether /usr/bin/clang supports -fno-common... yes
checking whether /usr/bin/clang supports -flto... yes
checking whether /usr/bin/clang supports -Wp,-D_FORTIFY_SOURCE=2... yes
checking which warning flags were supported... -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Werror-implicit-function-declaration -Wnested-externs -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wbad-function-cast -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wlogical-op -fno-strict-aliasing -fno-common -flto -Wp,-D_FORTIFY_SOURCE=2
checking how to enable unused result warnings... __attribute__((__warn_unused_result__))
checking how to allow undefined symbols in shared libraries used by test suite... checking whether /usr/bin/clang supports -Wl,--allow-shlib-undefined... no

checking for native atomic primitives... Intel
checking whether atomic ops require a memory barrier... no
checking size of void *... 8
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of size_t... 8
checking for native Win32... no
checking for Sun Solaris (non-POSIX ctime_r)... no
checking for sched_yield in -lrt... no
checking for shm_open in -lrt... no
checking for connect in -lsocket... no
checking for __builtin_return_address(0)... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for uint64_t... yes
checking for uint128_t... no
checking for __uint128_t... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sys/stat.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for alarm... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sched_getaffinity... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for clock_gettime... no
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for feenableexcept... no
checking for fedisableexcept... no
checking for feclearexcept... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking for signal.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for fenv.h... (cached) yes
checking for vasnprintf... no
checking for link... yes
checking for ctime_r... yes
checking for drand48... yes
checking for flockfile... yes
checking for ffs... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for sys/stat.h... (cached) yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking for mkdir... yes
checking mkdir variant... mkdir(path, mode)
checking for fork... yes
checking for waitpid... yes
checking for raise... yes
checking for VALGRIND... no
no
checking for compress in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for dlsym in -ldl... yes
checking for dlfcn.h... (cached) yes
checking for X... libraries /usr/X11/lib, headers
checking for cairo's Xlib surface backend feature...
checking for xlib... yes
checking whether cairo's Xlib surface backend feature could be enabled... yes
checking for cairo's Xlib Xrender surface backend feature...
checking for xlib_xrender... yes
checking whether cairo's Xlib Xrender surface backend feature could be enabled... yes
checking for cairo's XCB surface backend feature...
checking for xcb... yes
checking whether cairo's XCB surface backend feature could be enabled... yes
checking for cairo's XCB/SHM functions feature...
checking for xcb_shm... yes
checking whether cairo's XCB/SHM functions feature could be enabled... yes
checking for cairo's Quartz surface backend feature...
checking ApplicationServices/ApplicationServices.h usability... yes
checking ApplicationServices/ApplicationServices.h presence... yes
checking for ApplicationServices/ApplicationServices.h... yes
checking whether cairo's Quartz surface backend feature could be enabled... yes
checking for cairo's Quartz font backend feature...
checking whether cairo's Quartz font backend feature could be enabled... yes
checking for cairo's Microsoft Windows surface backend feature...
checking whether cairo's Microsoft Windows surface backend feature could be enabled... no (requires a Win32 platform)
checking for cairo's Microsoft Windows font backend feature...
checking whether cairo's Microsoft Windows font backend feature could be enabled... no (requires a Win32 platform)
checking for cairo's PNG functions feature...
checking for png... yes
checking whether cairo's PNG functions feature could be enabled... yes
checking for cairo's EGL functions feature...
checking whether cairo's EGL functions feature could be enabled... no (not required by any backend)
checking for cairo's GLX functions feature...
checking whether cairo's GLX functions feature could be enabled... no (not required by any backend)
checking for cairo's WGL functions feature...
checking whether cairo's WGL functions feature could be enabled... no (not required by any backend)
checking for cairo's FreeType font backend feature...
checking for FREETYPE... yes
checking whether cairo's FreeType font backend feature could be enabled... yes
checking for cairo's Fontconfig font backend feature...
checking for FONTCONFIG... yes
checking whether cairo's Fontconfig font backend feature could be enabled... yes
checking for FT_Bitmap_Size.y_ppem... yes
checking for FT_GlyphSlot_Embolden... yes
checking for FT_Load_Sfnt_Table... yes
checking for FT_Library_SetLcdFilter... yes
checking for FcInit... yes
checking for FcFini... yes
checking for cairo's PostScript surface backend feature...
checking whether cairo's PostScript surface backend feature could be enabled... yes
checking for gs... no
configure: WARNING: PS backend will not be tested since ghostscript is not available
checking for LIBSPECTRE... no
checking for cairo's PDF surface backend feature...
checking whether cairo's PDF surface backend feature could be enabled... yes
checking for POPPLER... no
configure: WARNING: PDF backend will not be tested since poppler >= 0.13.3 is not available
checking for cairo's SVG surface backend feature...
checking whether cairo's SVG surface backend feature could be enabled... yes
checking for LIBRSVG... no
configure: WARNING: SVG backend will not be tested since librsvg >= 2.15.0 is not available
checking for cairo's image surface backend feature...
checking for pixman... yes
checking whether cairo's image surface backend feature could be enabled... yes
checking for cairo's recording surface backend feature...
checking whether cairo's recording surface backend feature could be enabled... yes
checking for cairo's user font backend feature...
checking whether cairo's user font backend feature could be enabled... yes
checking for cairo's pthread feature...
checking whether cairo's pthread feature could be enabled... yes
checking for cairo's gobject functions feature...
checking for GOBJECT... no
no
checking whether cairo's gobject functions feature could be enabled... no (requires gobject-2.0 glib-2.0 http://download.gnome.org/pub/GNOME/sources/glib/)
checking for cairo's cairo-trace feature...
checking whether cairo's cairo-trace feature could be enabled... yes
checking for cairo's cairo-script-interpreter feature...
checking whether cairo's cairo-script-interpreter feature could be enabled... yes
checking for bfd_openr in -lbfd... no
checking libiberty.h usability... no
checking libiberty.h presence... no
checking for libiberty.h... no
checking for cairo's symbol-lookup feature...
checking whether cairo's symbol-lookup feature could be enabled... no (requires bfd)
checking for glib... no
checking for shm_open in -lrt... (cached) no
checking for gtk... no
configure: creating ./config.status
config.status: creating src/cairo.pc
config.status: creating cairo-uninstalled.pc
config.status: creating src/cairo-xlib.pc
config.status: creating cairo-xlib-uninstalled.pc
config.status: creating src/cairo-xlib-xrender.pc
config.status: creating cairo-xlib-xrender-uninstalled.pc
config.status: creating src/cairo-xcb.pc
config.status: creating cairo-xcb-uninstalled.pc
config.status: creating src/cairo-xcb-shm.pc
config.status: creating cairo-xcb-shm-uninstalled.pc
config.status: creating src/cairo-quartz.pc
config.status: creating cairo-quartz-uninstalled.pc
config.status: creating src/cairo-quartz-font.pc
config.status: creating cairo-quartz-font-uninstalled.pc
config.status: creating src/cairo-png.pc
config.status: creating cairo-png-uninstalled.pc
config.status: creating src/cairo-ft.pc
config.status: creating cairo-ft-uninstalled.pc
config.status: creating src/cairo-fc.pc
config.status: creating cairo-fc-uninstalled.pc
config.status: creating src/cairo-ps.pc
config.status: creating cairo-ps-uninstalled.pc
config.status: creating src/cairo-pdf.pc
config.status: creating cairo-pdf-uninstalled.pc
config.status: creating src/cairo-svg.pc
config.status: creating cairo-svg-uninstalled.pc
config.status: creating Makefile
config.status: creating boilerplate/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating test/pdiff/Makefile
config.status: creating perf/Makefile
config.status: creating util/Makefile
config.status: creating util/cairo-fdr/Makefile
config.status: creating util/cairo-gobject/Makefile
config.status: creating util/cairo-script/Makefile
config.status: creating util/cairo-script/examples/Makefile
config.status: creating util/cairo-sphinx/Makefile
config.status: creating util/cairo-trace/Makefile
config.status: creating util/cairo-trace/cairo-trace
config.status: creating doc/Makefile
config.status: creating doc/public/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing ./build/Makefile.win32.features commands
config.status: creating ./build/Makefile.win32.features
config.status: ./build/Makefile.win32.features is unchanged
config.status: executing ./src/Makefile.am.features commands
config.status: creating ./src/Makefile.am.features
config.status: ./src/Makefile.am.features is unchanged
config.status: executing ./src/Makefile.win32.features commands
config.status: creating ./src/Makefile.win32.features
config.status: ./src/Makefile.win32.features is unchanged
config.status: executing ./boilerplate/Makefile.am.features commands
config.status: creating ./boilerplate/Makefile.am.features
config.status: ./boilerplate/Makefile.am.features is unchanged
config.status: executing ./boilerplate/Makefile.win32.features commands
config.status: creating ./boilerplate/Makefile.win32.features
config.status: ./boilerplate/Makefile.win32.features is unchanged
config.status: executing src/cairo-features.h commands
config.status: creating src/cairo-features.h
config.status: executing src/cairo-supported-features.h commands
config.status: creating src/cairo-supported-features.h
config.status: executing ./build/Makefile.win32.features-h commands
config.status: creating ./build/Makefile.win32.features-h
config.status: ./build/Makefile.win32.features-h is unchanged

cairo (version 1.10.2 [release]) will be compiled with:

The following surface backends:
Image: yes (always builtin)
Recording: yes (always builtin)
Tee: no (disabled, use --enable-tee to enable)
XML: no (disabled, use --enable-xml to enable)
Skia: no (disabled, use --enable-skia to enable)
Xlib: yes
Xlib Xrender: yes
Qt: no (disabled, use --enable-qt to enable)
Quartz: yes
Quartz-image: no (disabled, use --enable-quartz-image to enable)
XCB: yes
Win32: no (requires a Win32 platform)
OS2: no (disabled, use --enable-os2 to enable)
CairoScript: no (disabled, use --enable-script to enable)
PostScript: yes
PDF: yes
SVG: yes
OpenGL: no (disabled, use --enable-gl to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
OpenVG: no (disabled, use --enable-vg to enable)
DRM: no (disabled, use --enable-drm to enable)

The following font backends:
User: yes (always builtin)
FreeType: yes
Fontconfig: yes
Win32: no (requires a Win32 platform)
Quartz: yes

The following functions:
PNG functions: yes
GLEW functions: no (not required by any backend)
GLX functions: no (not required by any backend)
WGL functions: no (not required by any backend)
EGL functions: no (not required by any backend)
X11-xcb functions: no (disabled, use --enable-xlib-xcb to enable)
XCB-drm functions: no (disabled, use --enable-xcb-drm to enable)
XCB-shm functions: yes
DRM-Xr functions: no (disabled, use --enable-drm-xr to enable)

The following features and utilities:
cairo-trace: yes
cairo-script-interpreter: yes

And the following internal features:
pthread: yes
gtk-doc: no
gcov support: no
symbol-lookup: no (requires bfd)
test surfaces: no (disabled, use --enable-test-surfaces to enable)
ps testing: no (requires libspectre)
pdf testing: no (requires poppler-glib >= 0.13.3)
svg testing: no (requires librsvg-2.0 >= 2.15.0)

--- The XCB surface backend feature is still under active development and is
--- included in this release only as a preview. It does NOT fully work yet
--- and incompatible changes may yet be made to XCB surface backend specific
--- API.

==> make install
make install
make install-recursive
Making install in src
make install-am
CC cairo-analysis-surface.lo
/bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -D_REENTRANT -I/usr/local/Cellar/pixman/0.24.2/include/pixman-1 -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include/libpng15 -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Werror-implicit-function-declaration -Wnested-externs -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wbad-function-cast -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wlogical-op -fno-strict-aliasing -fno-common -flto -Wp,-D_FORTIFY_SOURCE=2 -DXCB_GENERIC_ERROR_HAS_MAJOR_MINOR_CODES -Os -w -pipe -march=native -Qunused-arguments -arch i386 -arch x86_64 -c -o cairo-analysis-surface.lo cairo-analysis-surface.c
CC cairo-arc.lo
/bin/sh ../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I. -D_REENTRANT -I/usr/local/Cellar/pixman/0.24.2/include/pixman-1 -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include/libpng15 -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include -I/usr/X11/include -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Werror-implicit-function-declaration -Wnested-externs -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wbad-function-cast -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wlogical-op -fno-strict-aliasing -fno-common -flto -Wp,-D_FORTIFY_SOURCE=2 -DXCB_GENERIC_ERROR_HAS_MAJOR_MINOR_CODES -Os -w -pipe -march=native -Qunused-arguments -arch i386 -arch x86_64 -c -o cairo-arc.lo cairo-arc.c
clang: error: cannot use 'lto-bc' output with multiple -arch options
make[3]: *** [cairo-analysis-surface.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
clang: error: cannot use 'lto-bc' output with multiple -arch options
make[3]: *** [cairo-arc.lo] Error 1
make[2]: *** [install] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/cairo.rb#L27
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: (none)
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: dual-core 64-bit penryn
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.2.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1 build 163
MacPorts or Fink? /opt/local/bin/port
X11 installed? true
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
==> Build Flags
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -arch i386 -arch x86_64
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -arch i386 -arch x86_64
LDFLAGS: -arch i386 -arch x86_64
MAKEFLAGS: -j2

Error: Failed executing: make install