Skip to content

Instantly share code, notes, and snippets.

@hrstt
Created August 27, 2011 23:16
Show Gist options
  • Save hrstt/1175988 to your computer and use it in GitHub Desktop.
Save hrstt/1175988 to your computer and use it in GitHub Desktop.
error brew install io
==> Cloning https://github.com/stevedekorte/io.git
Updating /Users/hsato/Library/Caches/Homebrew/io--git
git remote set-url origin https://github.com/stevedekorte/io.git
git fetch origin
git reset --hard
HEAD is now at c83f98e Merge pull request #129 from jcowgar/master
git checkout-index -a -f --prefix=/private/tmp/homebrew-io-HEAD-VDm0/
==> Downloading patches
==> Patching
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file addons/Image/CMakeLists.txt
==> cmake .. -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/io/HEAD' -DCMAKE_BUILD_TYPE=None -Wno-dev
cmake .. -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/io/HEAD' -DCMAKE_BUILD_TYPE=None -Wno-dev
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /Developer/usr/bin/gcc-4.2
-- Check for working C compiler: /Developer/usr/bin/gcc-4.2 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /Developer/usr/bin/g++-4.2
-- Check for working CXX compiler: /Developer/usr/bin/g++-4.2 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuration set to: None
-- Found AsyncRequest headers: /usr/include/aio.h
-- GMP libs: /usr/local/lib/libgmp.dylib /usr/local/lib/libgmpxx.dylib
-- Found GMP: /usr/local/include
-- checking for one of the modules 'libffi'
-- Could NOT find FFI (missing: FFI_INCLUDE_DIRS FFI_LIBRARIES)
-- checking for one of the modules 'glib-2.0'
-- checking for one of the modules 'cairo'
-- Found Curses: /usr/lib/libcurses.dylib
-- Found EDIT: /usr/lib/libedit.dylib
-- Found Fnmatch headers: /usr/include/fnmatch.h
-- Found Freetype: /usr/X11R6/lib/libfreetype.dylib
-- Could NOT find GLFW (missing: GLFW_LIBRARY GLFW_INCLUDE_DIR)
-- Found ZLIB: /usr/lib/libz.dylib
-- Found PNG: /usr/X11R6/lib/libpng.dylib
-- Found TIFF: /usr/local/lib/libtiff.dylib
-- Found JPEG: /usr/local/lib/libjpeg.dylib
-- Found Iconv: /usr/lib/libiconv.dylib
-- checking for module 'libxml-2.0'
-- found libxml-2.0, version 2.7.3
-- Found LibXml2: /usr/lib/libxml2.dylib
-- checking for one of the modules 'glib-2.0'
-- Found Ogg: /usr/local/lib/libogg.dylib
-- Found PythonLibs: /usr/lib/libpython2.6.dylib
-- Found Readline: /usr/lib/libreadline.dylib
-- checking for module 'libpcre'
-- found libpcre, version 7.9
-- Could NOT find PCRE (missing: PCRE_INCLUDE_DIR)
-- checking for one of the modules 'sqlite>=3;sqlite3'
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
-- Found Event: /usr/local/lib/libevent.dylib
-- Found Syslog headers: /usr/include/syslog.h
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/libz.dylib
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/homebrew-io-HEAD-VDm0/io-build
==> make install
make install
Scanning dependencies of target copy_basekit_headers
[ 0%] Copying files: /tmp/homebrew-io-HEAD-VDm0//tmp/homebrew-io-HEAD-VDm0/libs/basekit/source/*.h to /tmp/homebrew-io-HEAD-VDm0/io-build/_build/headers
[ 0%] Built target copy_basekit_headers
Scanning dependencies of target copy_coroutine_headers
[ 0%] Copying files: /tmp/homebrew-io-HEAD-VDm0//tmp/homebrew-io-HEAD-VDm0/libs/coroutine/source/*.h to /tmp/homebrew-io-HEAD-VDm0/io-build/_build/headers
[ 1%] Built target copy_coroutine_headers
Scanning dependencies of target copy_garbagecollector_headers
[ 1%] Copying files: /tmp/homebrew-io-HEAD-VDm0//tmp/homebrew-io-HEAD-VDm0/libs/garbagecollector/source/*.h to /tmp/homebrew-io-HEAD-VDm0/io-build/_build/headers
[ 1%] Built target copy_garbagecollector_headers
Scanning dependencies of target copy_iovm_headers
[ 1%] Copying files: /tmp/homebrew-io-HEAD-VDm0//tmp/homebrew-io-HEAD-VDm0/libs/iovm/source/*.h to /tmp/homebrew-io-HEAD-VDm0/io-build/_build/headers
[ 1%] Built target copy_iovm_headers
Scanning dependencies of target io2c
[ 1%] Building C object libs/iovm/tools/CMakeFiles/io2c.dir/io2c.c.o
Linking C executable ../../../_build/binaries/io2c
[ 1%] Built target io2c
Scanning dependencies of target coroutine
[ 2%] Building C object libs/coroutine/CMakeFiles/coroutine.dir/source/context.c.o
[ 2%] Building C object libs/coroutine/CMakeFiles/coroutine.dir/source/Coro.c.o
[ 2%] Building C object libs/coroutine/CMakeFiles/coroutine.dir/source/asm.S.o
Linking C shared library ../../_build/dll/libcoroutine.dylib
[ 2%] Built target coroutine
Scanning dependencies of target basekit
[ 2%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/BStream.c.o
[ 3%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/BStreamTag.c.o
[ 3%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/cdecode.c.o
[ 3%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/cencode.c.o
[ 3%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/CHash.c.o
[ 4%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/Common.c.o
[ 4%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/Date.c.o
[ 4%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/Duration.c.o
[ 5%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/DynLib.c.o
[ 5%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/Hash_fnv.c.o
[ 5%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/Hash_murmur.c.o
[ 5%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/Hash_superfast.c.o
[ 6%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/List.c.o
[ 6%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/MainArgs.c.o
[ 6%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/PointerHash.c.o
[ 6%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/PortableGettimeofday.c.o
[ 7%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/PortableSnprintf.c.o
[ 7%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/PortableSorting.c.o
[ 7%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/PortableStrlcpy.c.o
[ 8%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/PortableStrptime.c.o
[ 8%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/PortableTruncate.c.o
[ 8%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/PortableUsleep.c.o
[ 8%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/RandomGen.c.o
[ 9%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/Stack.c.o
[ 9%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/UArray.c.o
[ 9%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/UArray_character.c.o
[ 10%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/UArray_format.c.o
[ 10%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/UArray_math.c.o
[ 10%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/UArray_path.c.o
[ 10%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/UArray_stream.c.o
[ 11%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/UArray_string.c.o
[ 11%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/UArray_utf.c.o
[ 11%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/ucs2.c.o
[ 12%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/ucs4.c.o
[ 12%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/utf8.c.o
[ 12%] Building C object libs/basekit/CMakeFiles/basekit.dir/source/utf_convert.c.o
Linking C shared library ../../_build/dll/libbasekit.dylib
ld: duplicate symbol _List_size in CMakeFiles/basekit.dir/source/Stack.c.o and CMakeFiles/basekit.dir/source/List.c.o for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [_build/dll/libbasekit.dylib] Error 1
make[1]: *** [libs/basekit/CMakeFiles/basekit.dir/all] Error 2
make: *** [all] Error 2
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/io.rb#L25
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: d47526a4bcb801501df004bf551d72b050bd374f
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.6.8
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.0.2
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /Developer/usr/bin/gcc-4.2
CXX: /Developer/usr/bin/g++-4.2
LD: /Developer/usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
Error: Failed executing: make install
Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/#issue/5254
https://github.com/mxcl/homebrew/issues/#issue/5445
https://github.com/mxcl/homebrew/issues/#issue/5597
https://github.com/mxcl/homebrew/issues/#issue/5603
https://github.com/mxcl/homebrew/issues/#issue/6043
https://github.com/mxcl/homebrew/issues/#issue/6473
https://github.com/mxcl/homebrew/issues/#issue/7024
https://github.com/mxcl/homebrew/issues/#issue/7224
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment