Skip to content

Instantly share code, notes, and snippets.

@paxswill
Created July 31, 2012 17:42
Show Gist options
  • Select an option

  • Save paxswill/3218860 to your computer and use it in GitHub Desktop.

Select an option

Save paxswill/3218860 to your computer and use it in GitHub Desktop.
broken glib universal on 10.7
HOMEBREW_VERSION: 0.9.2
HEAD: cd77baf2e2f75b4ae141414bf8ff6d5c732e2b9a
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit core2
OS X: 10.7.4-i386
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 4.0 build 421
MacPorts or Fink? false
X11: 2.7.2 @ /opt/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
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:
/usr/local/share/man/de
/usr/local/share/man/de/man1
Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link f` will cause other formulae to detect them during the
`./configure` step. This may cause problems when compiling those
other formulae.
Binaries provided by keg-only formulae may override system binaries
with other strange results.
You may wish to `brew unlink` these brews:
openssl
Warning: Your compilers are different from the standard versions for your Xcode.
If you have Xcode 4.3 or newer, you should install the Command Line Tools for
Xcode from within Xcode's Download preferences.
Otherwise, you should reinstall Xcode.
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:
git
git-cvsserver
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
gitk
openssl
vi
view
vim
vimdiff
Consider amending your PATH so that /usr/local/bin
occurs before /usr/bin in your PATH.
==> Downloading ftp://ftp.gnome.org/pub/gnome/sources/glib/2.32/glib-2.32.4.tar.xz
Already downloaded: /Library/Caches/Homebrew/glib-2.32.4.tar.xz
xz -dc "/Library/Caches/Homebrew/glib-2.32.4.tar.xz" | /usr/bin/tar xf -
==> Downloading patches
/usr/bin/curl -qf#LA Homebrew 0.9.2 (Ruby 1.8.7-357; Mac OS X 10.7.4) https://trac.macports.org/export/95596/trunk/dports/devel/glib2/files/patch-configure.diff -o 000-homebrew.diff https://raw.github.com/gist/2235195/19cdaebdff7dcc94ccd9b3747d43a09318f0b846/glib-gunicollate.diff -o 001-homebrew.diff https://raw.github.com/gist/2235202/26f885e079e4d61da26d239970301b818ddbb4ab/glib-gtimezone.diff -o 002-homebrew.diff https://raw.github.com/gist/2246469/591586214960f7647b1454e7d547c3935988a0a7/glib-configurable-paths.diff -o 003-homebrew.diff --silent
==> Patching
/usr/bin/patch -f -p0 -i 000-homebrew.diff
patching file configure
/usr/bin/patch -f -p1 -i 001-homebrew.diff
patching file glib/gunicollate.c
/usr/bin/patch -f -p1 -i 002-homebrew.diff
patching file glib/gtimezone.c
/usr/bin/patch -f -p1 -i 003-homebrew.diff
patching file aclocal.m4
Hunk #1 succeeded at 1512 (offset 2 lines).
patching file config.h.in
Hunk #1 succeeded at 762 (offset 5 lines).
patching file configure
Hunk #1 succeeded at 683 (offset 20 lines).
Hunk #2 succeeded at 27568 (offset 19 lines).
patching file configure.ac
Hunk #1 succeeded at 2561 (offset 5 lines).
patching file gio/gdbusprivate.c
Hunk #1 succeeded at 2094 (offset 41 lines).
Hunk #2 succeeded at 2104 (offset 41 lines).
patching file gio/xdgmime/xdgmime.c
==> ./configure --disable-maintainer-mode --disable-dependency-tracking --disable-dtrace --prefix=/usr/local/Cellar/glib/2.32.4 --localstatedir=/usr/local/var
./configure --disable-maintainer-mode --disable-dependency-tracking --disable-dtrace --prefix=/usr/local/Cellar/glib/2.32.4 --localstatedir=/usr/local/var
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 how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
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 for style of include used by make... GNU
checking dependency style of /usr/bin/clang... none
checking how to run the C preprocessor... /usr/bin/clang -E
checking build system type... x86_64-apple-darwin11.4.0
checking host system type... x86_64-apple-darwin11.4.0
checking for the BeOS... no
checking for Win32... no
checking for Mac OS X Carbon support... yes
checking for Mac OS X Cocoa support... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether to enable garbage collector friendliness... no
checking whether to disable memory pools... no
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 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 dependency style of /usr/bin/clang... (cached) none
checking whether /usr/bin/clang and cc understand -c and -o together... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for gawk... (cached) awk
checking for perl5... no
checking for perl... perl
checking for indent... indent
checking for perl... /usr/bin/perl
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for iconv_open... no
checking for libiconv_open in -liconv... no
checking for iconv_open in -liconv... yes
checking whether to cache iconv descriptors... yes
checking for ZLIB... no
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 inflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for LIBFFI... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... no
checking if -liconv is needed to use gettext...
checking for ngettext in -lintl... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/glib.rb#L57
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: cd77baf2e2f75b4ae141414bf8ff6d5c732e2b9a
CPU: 8-core 64-bit core2
OS X: 10.7.4-i386
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
X11: 2.7.2 @ /opt/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 -arch i386 -arch x86_64
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -arch i386 -arch x86_64
CPPFLAGS: -I/usr/local/Cellar/libffi/3.0.11/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include
LDFLAGS: -L/usr/local/Cellar/libffi/3.0.11/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib -arch i386 -arch x86_64
MACOSX_DEPLOYMENT_TARGET: 10.7
MAKEFLAGS: -j8
PKG_CONFIG_PATH: /usr/local/Cellar/libffi/3.0.11/lib/pkgconfig
Error: Failed executing: ./configure --disable-maintainer-mode --disable-dependency-tracking --disable-dtrace --prefix=/usr/local/Cellar/glib/2.32.4 --localstatedir=/usr/local/var (glib.rb:57)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/13002
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
When 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