Created
July 1, 2012 19:54
-
-
Save QuinnyPig/3029388 to your computer and use it in GitHub Desktop.
cairo build failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cquinn@quinntel ~ % brew doctor 1 22076 12:48:39 Sun 07- 1-2012 | |
Your system is raring to brew. | |
cquinn@quinntel ~ % brew --config 22075 12:48:35 Sun 07- 1-2012 | |
HOMEBREW_VERSION: 0.9.1 | |
HEAD: d68131523bea48cba7c8c92780ea660d219cdfdd | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.7.4-x86_64 | |
Xcode: 4.3.3 | |
CLT: 1.0.0.9000000000.1.1249367152 | |
GCC-4.0: N/A | |
GCC-4.2: build 5666 | |
LLVM: build 2336 | |
Clang: 3.1 build 318 | |
MacPorts or Fink? false | |
X11: @ /usr/X11 | |
System Ruby: 1.8.7-357 | |
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 | |
And the build failure itself: | |
==> Downloading http://cairographics.org/releases/cairo-1.12.2.tar.xz | |
Already downloaded: /Users/cquinn/Library/Caches/Homebrew/cairo-1.12.2.tar.xz | |
xz -dc "/Users/cquinn/Library/Caches/Homebrew/cairo-1.12.2.tar.xz" | /usr/bin/tar xf - | |
==> Patching | |
/usr/bin/patch -f -p1 -i 000-homebrew.diff | |
patching file configure | |
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cairo/1.12.2 --with-x | |
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cairo/1.12.2 --with-x | |
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/local/Cellar/coreutils/8.17/libexec/gnubin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /usr/local/Cellar/coreutils/8.17/libexec/gnubin/mkdir -p | |
checking for gawk... gawk | |
checking whether make sets $(MAKE)... yes | |
checking for style of include used by make... GNU | |
checking dependency style of /usr/bin/clang... none | |
checking whether make supports nested variables... yes | |
checking build system type... x86_64-apple-darwin11.4.0 | |
checking host system type... x86_64-apple-darwin11.4.0 | |
checking how to print strings... printf | |
checking for a sed that does not truncate output... /usr/local/bin/gsed | |
checking for fgrep... /usr/bin/grep -F | |
checking for ld used by /usr/bin/clang... /usr/bin/clang | |
checking if the linker (/usr/bin/clang) 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 how to convert x86_64-apple-darwin11.4.0 file names to x86_64-apple-darwin11.4.0 format... func_convert_file_noop | |
checking how to convert x86_64-apple-darwin11.4.0 file names to toolchain format... func_convert_file_noop | |
checking for /usr/bin/clang option to reload object files... -r | |
checking for objdump... no | |
checking how to recognize dependent libraries... pass_all | |
checking for dlltool... no | |
checking how to associate runtime and link libraries... printf %s\n | |
checking for ar... ar | |
checking for archiver @FILE support... no | |
checking for strip... strip | |
checking for ranlib... ranlib | |
checking command to parse /usr/bin/nm output from /usr/bin/clang object... ok | |
checking for sysroot... no | |
checking for mt... no | |
checking if : is a manifest tool... no | |
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 -force_load 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/clang) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin11.4.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 how to run the C++ preprocessor... /usr/bin/clang++ -E | |
checking for ld used by /usr/bin/clang++... /usr/bin/clang | |
checking if the linker (/usr/bin/clang) is GNU ld... no | |
checking whether the /usr/bin/clang++ linker (/usr/bin/clang) 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/clang) supports shared libraries... yes | |
checking dynamic linker characteristics... darwin11.4.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 -Wimplicit-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 -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 -Wp,-D_FORTIFY_SOURCE=2... yes | |
checking whether /usr/bin/clang supports -Wno-unused-but-set-variable... yes | |
checking which warning flags were supported... -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wimplicit-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 -fno-strict-aliasing -fno-common -Wp,-D_FORTIFY_SOURCE=2 -Wno-unused-but-set-variable | |
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 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... yes | |
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 sys/wait.h usability... yes | |
checking sys/wait.h presence... yes | |
checking for sys/wait.h... yes | |
checking for ctime_r... yes | |
checking for drand48... yes | |
checking for flockfile... yes | |
checking for funlockfile... yes | |
checking for getline... yes | |
checking for link... yes | |
checking for strndup... 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 , 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 for XRenderCreateLinearGradient... yes | |
checking for XRenderCreateRadialGradient... yes | |
checking for XRenderCreateConicalGradient... 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 script surface backend feature... | |
checking whether cairo's script surface backend feature could be enabled... yes | |
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_GlyphSlot_Oblique... 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.17.4 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... no | |
no | |
checking whether cairo's image surface backend feature could be enabled... no (requires pixman-1 >= 0.22.0 http://cairographics.org/releases/) | |
configure: error: mandatory image surface backend feature could not be enabled | |
==> Exit Status: 1 | |
https://github.com/mxcl/master/blob/master/Library/Formula/cairo.rb#L33 | |
==> Build Environment | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.7.4-x86_64 | |
Xcode: 4.3.3 | |
X11: @ /usr/X11 | |
CC: /usr/bin/clang | |
CXX: /usr/bin/clang++ => /usr/bin/clang | |
LD: /usr/bin/clang | |
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 | |
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 | |
CPPFLAGS: -isystem /usr/local/include -I/usr/X11/include | |
CMAKE_PREFIX_PATH: /usr/X11:/usr/X11 | |
LDFLAGS: -L/usr/local/lib -L/usr/X11/lib | |
MACOSX_DEPLOYMENT_TARGET: 10.7 | |
MAKEFLAGS: -j4 | |
PKG_CONFIG_PATH: /usr/X11/share/pkgconfig:/usr/X11/lib/pkgconfig | |
Error: Failed executing: ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/cairo/1.12.2 --with-x (cairo.rb:33) | |
These existing issues may help you: | |
https://github.com/mxcl/homebrew/issues/11328 | |
Otherwise, this may help you fix or report the issue: | |
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist | |
We saved the configure log: | |
~/Library/Logs/Homebrew/config.log | |
If you report the issue please paste the config.log here: | |
http://gist.github.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment