Skip to content

Instantly share code, notes, and snippets.

@jdar
Created April 22, 2013 11:08
Show Gist options
  • Save jdar/5433963 to your computer and use it in GitHub Desktop.
Save jdar/5433963 to your computer and use it in GitHub Desktop.
harfbuzz failed on OSX 7.8.3
› HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install harfbuzz
==> Downloading http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.16.tar.bz2
Already downloaded: /opt/boxen/cache/homebrew/harfbuzz-0.9.16.tar.bz2
tar xf /opt/boxen/cache/homebrew/harfbuzz-0.9.16.tar.bz2
==> ./configure --disable-dependency-tracking --prefix=/opt/boxen/homebrew/Cellar/harfbuzz/0.9.16
./configure --disable-dependency-tracking --prefix=/opt/boxen/homebrew/Cellar/harfbuzz/0.9.16
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./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 whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... none
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-apple-darwin12.3.0
checking host system type... x86_64-apple-darwin12.3.0
checking how to print strings... printf
checking for a sed that does not truncate output... /opt/boxen/homebrew/Library/ENV/4.3/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) 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-darwin12.3.0 file names to x86_64-apple-darwin12.3.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin12.3.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld 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 archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc 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 how to run the C preprocessor... cc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common -DPIC
checking if cc PIC flag -fno-common -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.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... no
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) none
checking whether cc understands -c and -o together... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... none
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fno-common -DPIC
checking if c++ PIC flag -fno-common -DPIC works... yes
checking if c++ static flag -static works... no
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /opt/boxen/homebrew/opt/pkg-config/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for atexit... yes
checking for mprotect... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for mmap... yes
checking for isatty... yes
checking for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for native Win32... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... yes
checking for GLIB... yes
checking for GOBJECT... yes
checking for CAIRO... no
checking for CAIRO_FT... no
checking for ICU... yes
checking for ICU_LE... yes
checking for GRAPHITE2... no
checking for FREETYPE... yes
checking for FT_Face_GetCharVariantIndex... yes
checking for ScriptShapeOpenType in usp10... no
checking for CTFontRef... yes
checking for Intel atomic primitives... true
checking for Solaris atomic operations... false
configure: creating ./config.status
config.status: creating Makefile
config.status: creating harfbuzz.pc
config.status: creating src/Makefile
config.status: creating src/hb-version.h
config.status: creating src/hb-icu-le/Makefile
config.status: creating src/hb-old/Makefile
config.status: creating src/hb-ucdn/Makefile
config.status: creating util/Makefile
config.status: creating test/Makefile
config.status: creating test/api/Makefile
config.status: creating test/shaping/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:
Build configuration:
Unicode callbacks (you want at least one):
Glib: true
ICU: true
UCDN: true
Font callbacks (the more the better):
FreeType: true
Tools used for command-line utilities:
Cairo: false
Additional shapers (the more the better):
Graphite2: false
Test / platform shapers (not normally needed):
CoreText: true
ICU Layout Engine: true
Old HarfBuzz: true
Uniscribe: false
==> make install
make install
Making install in src
GEN hb-gobject-enums.cc
/usr/bin/make install-recursive
Making install in hb-old
CC libhb_old_la-harfbuzz-buffer.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-stream.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-gdef.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-gpos.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-gsub.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-impl.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-open.lo
brew: superenv removed: -g -O2
CXX libhb_old_la-harfbuzz-shaper.lo
brew: superenv removed: -g -O2 -Wcast-align
CC libhb_old_la-harfbuzz-greek.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-tibetan.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-khmer.lo
brew: superenv removed: -g -O2
CXX libhb_old_la-harfbuzz-indic.lo
brew: superenv removed: -g -O2 -Wcast-align
CC libhb_old_la-harfbuzz-hebrew.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-arabic.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-hangul.lo
brew: superenv removed: -g -O2
CC libhb_old_la-harfbuzz-myanmar.lo
brew: superenv removed: -g -O2
CXXLD libhb-old.la
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in hb-icu-le
CXX libhb_icu_le_la-FontTableCache.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libhb_icu_le_la-PortableFontInstance.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libhb_icu_le_la-cmaps.lo
brew: superenv removed: -g -O2 -Wcast-align
CXXLD libhb-icu-le.la
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in hb-ucdn
CC ucdn.lo
brew: superenv removed: -g -O2
CCLD libhb-ucdn.la
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
CXX libharfbuzz_la-hb-blob.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-buffer-serialize.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-buffer.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-common.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-fallback-shape.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-font.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-tag.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-set.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-shape.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-shape-plan.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-shaper.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-tt-font.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-unicode.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-warning.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-layout.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-map.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-shape.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-shape-complex-arabic.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-shape-complex-default.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-shape-complex-indic.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-shape-complex-indic-table.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-shape-complex-myanmar.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-shape-complex-sea.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-shape-complex-thai.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-shape-normalize.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ot-shape-fallback.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-glib.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-gobject-structs.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-icu.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ft.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-coretext.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-old.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-icu-le.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-ucdn.lo
brew: superenv removed: -g -O2 -Wcast-align
CXX libharfbuzz_la-hb-gobject-enums.lo
brew: superenv removed: -g -O2 -Wcast-align
GEN libharfbuzz.la
brew: superenv removed: -O2
Undefined symbols for architecture x86_64:
"icu_50::LEFontInstance::getSubFont(unsigned short const*, int*, int, int, LEErrorCode&) const", referenced from:
vtable for PortableFontInstance in libhb-icu-le.a(libhb_icu_le_la-PortableFontInstance.o)
"icu_50::LEFontInstance::mapCharsToGlyphs(unsigned short const*, int, int, signed char, icu_50::LECharMapper const*, signed char, icu_50::LEGlyphStorage&) const", referenced from:
vtable for PortableFontInstance in libhb-icu-le.a(libhb_icu_le_la-PortableFontInstance.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [libharfbuzz.la] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: ec238c37ebb795e3ee1423c29205dc4b6a30f93e
HOMEBREW_PREFIX: /opt/boxen/homebrew
CPU: quad-core 64-bit sandybridge
OS X: 10.8.3-x86_64
Xcode: 4.6.2
CLT: 4.6.0.0.1.1362189000
X11: 2.7.2 => /opt/X11
==> ENV
CC: cc
CXX: c++
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /opt/boxen/homebrew/opt/gettext:/opt/boxen/homebrew/opt/libffi:/opt/boxen/homebrew/opt/icu4c:/opt/boxen/homebrew
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_PATH: /opt/boxen/homebrew/opt/libffi/lib/pkgconfig:/opt/boxen/homebrew/opt/glib/lib/pkgconfig:/opt/boxen/homebrew/opt/icu4c/lib/pkgconfig:/opt/boxen/homebrew/opt/freetype/lib/pkgconfig:/opt/boxen/homebrew/opt/fontconfig/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/boxen/homebrew/Library/ENV/pkgconfig/10.8
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /opt/boxen/homebrew/opt/gettext/share/aclocal:/opt/boxen/homebrew/share/aclocal
OBJC: cc
PATH: /opt/boxen/homebrew/Library/ENV/4.3:/opt/boxen/homebrew/opt/pkg-config/bin:/opt/boxen/homebrew/opt/gettext/bin:/opt/boxen/homebrew/opt/glib/bin:/opt/boxen/homebrew/opt/icu4c/bin:/opt/boxen/homebrew/opt/freetype/bin:/opt/boxen/homebrew/opt/fontconfig/bin:/opt/boxen/homebrew/opt/python/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: harfbuzz did not build
Logs: /Users/jdar/Library/Logs/Homebrew/harfbuzz/config.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment