Skip to content

Instantly share code, notes, and snippets.

@toddboom
Created November 6, 2013 19:49
Show Gist options
  • Select an option

  • Save toddboom/7342965 to your computer and use it in GitHub Desktop.

Select an option

Save toddboom/7342965 to your computer and use it in GitHub Desktop.
Building go v1.1.2 on Mavericks via Homebrew
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
==> Downloading https://go.googlecode.com/files/go1.1.2.src.tar.gz
Already downloaded: /Library/Caches/Homebrew/go-1.1.2.tar.gz
tar xf /Library/Caches/Homebrew/go-1.1.2.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file src/cmd/ld/lib.c
Hunk #1 succeeded at 665 with fuzz 2.
==> ./make.bash --no-clean
# Building C bootstrap tool.
cmd/dist
# Building compilers and Go bootstrap tool for host, darwin/amd64.
lib9
libbio
libmach
misc/pprof
cmd/addr2line
cmd/cov
cmd/nm
cmd/objdump
cmd/pack
cmd/prof
cmd/cc
cmd/gc
cmd/6l
cmd/6a
cmd/6c
cmd/6g
pkg/runtime
pkg/errors
pkg/sync/atomic
pkg/sync
pkg/io
pkg/unicode
pkg/unicode/utf8
pkg/unicode/utf16
pkg/bytes
pkg/math
pkg/strings
pkg/strconv
pkg/bufio
pkg/sort
pkg/container/heap
pkg/encoding/base64
pkg/syscall
pkg/time
pkg/os
pkg/reflect
pkg/fmt
pkg/encoding/json
pkg/flag
pkg/path/filepath
pkg/path
pkg/io/ioutil
pkg/log
pkg/regexp/syntax
pkg/regexp
pkg/go/token
pkg/go/scanner
pkg/go/ast
pkg/go/parser
pkg/os/exec
pkg/os/signal
pkg/net/url
pkg/text/template/parse
pkg/text/template
pkg/go/doc
pkg/go/build
cmd/go
# Building packages and commands for darwin/amd64.
runtime
errors
sync/atomic
unicode
unicode/utf8
math
sort
unicode/utf16
crypto/subtle
container/list
container/ring
sync
image/color
container/heap
runtime/race
io
syscall
hash
crypto/cipher
crypto
hash/crc32
crypto/hmac
hash/adler32
crypto/md5
crypto/sha1
crypto/sha256
crypto/sha512
hash/crc64
hash/fnv
bytes
strings
time
bufio
text/tabwriter
path
html
compress/bzip2
strconv
math/rand
math/cmplx
os
reflect
regexp/syntax
net/url
encoding/base64
crypto/aes
crypto/rc4
encoding/ascii85
encoding/base32
path/filepath
os/exec
os/signal
encoding/pem
image
io/ioutil
regexp
image/draw
image/jpeg
fmt
encoding/binary
debug/dwarf
crypto/des
index/suffixarray
flag
go/token
text/template/parse
log
debug/elf
debug/macho
debug/pe
encoding/json
go/scanner
encoding/xml
compress/flate
math/big
encoding/hex
go/ast
mime
encoding/gob
text/template
runtime/pprof
text/scanner
compress/gzip
archive/zip
cmd/yacc
archive/tar
crypto/elliptic
crypto/rand
crypto/dsa
encoding/asn1
crypto/ecdsa
go/doc
go/parser
go/printer
crypto/rsa
html/template
compress/lzw
compress/zlib
database/sql/driver
crypto/x509/pkix
debug/gosym
encoding/csv
database/sql
go/build
image/gif
image/png
cmd/cgo
go/format
cmd/fix
cmd/gofmt
runtime/debug
testing
testing/iotest
cmd/api
cmd/vet
testing/quick
runtime/cgo
# runtime/cgo
clang: warning: argument unused during compilation: '-pthread'
# runtime/cgo
clang: error: no such file or directory: 'libgcc.a'
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 6ab3c1e83093bf5d5f9fa492bdb834d1287409f8
CPU: 8-core 64-bit ivybridge
OS X: 10.9-x86_64
Xcode: 5.0.1
CLT: 5.0.1.0.1.1382131676
X11: 2.7.2 => /opt/X11
==> ENV
HOMEBREW_CC: gcc-4.2
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_VERBOSE: 1
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/apple-gcc42/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: go did not build
Logs:
/Users/todd/Library/Logs/Homebrew/go/01.make.bash
These open issues may also help:
https://github.com/mxcl/homebrew/pull/22835
https://github.com/mxcl/homebrew/issues/19580
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment