Skip to content

Instantly share code, notes, and snippets.

@jarcane
Created May 19, 2019 19:58
Show Gist options
  • Save jarcane/8531f6cc5659616a7cae88ee83aba238 to your computer and use it in GitHub Desktop.
Save jarcane/8531f6cc5659616a7cae88ee83aba238 to your computer and use it in GitHub Desktop.
Cairo install fail on 10.4.11
==> Installing dependencies for cairo: glib
==> Installing cairo dependency: glib
==> Downloading https://download.gnome.org/sources/glib/2.50/glib-2.50.1.tar.xz
Already downloaded: /Users/annaiadanvers/Library/Caches/Homebrew/glib-2.50.1.tar.xz
==> Downloading https://raw.githubusercontent.com/Homebrew/patches/59e4d327791d4
Already downloaded: /Users/annaiadanvers/Library/Caches/Homebrew/glib--patch-a4cb96b5861672ec0750cb30ecebe1d417d38052cac12fbb8a77dbf04a886fcb.diff
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/a39de
Already downloaded: /Users/annaiadanvers/Library/Caches/Homebrew/glib--patch-284cbf626f814c21f30167699e6e59dcc0d31000d71151f25862b997a8c8493d.patch
==> Downloading https://bug728123.bugzilla-attachments.gnome.org/attachment.cgi?
Already downloaded: /Users/annaiadanvers/Library/Caches/Homebrew/glib--patch-5637d98e1c7bbfa8824e60612976a8c13d0c0fb6.cgi
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/a4fe6
Already downloaded: /Users/annaiadanvers/Library/Caches/Homebrew/glib--patch-5bf6d562dd2be811d71e6f84eb43fc6c51a112db49ec0346c1b30f4f6f4a4233.patch
==> Patching
==> Applying hardcoded-paths.diff
patching file gio/gdbusprivate.c
Hunk #1 succeeded at 2070 (offset -29 lines).
Hunk #2 succeeded at 2080 (offset -29 lines).
patching file gio/xdgmime/xdgmime.c
patching file glib/gutils.c
Hunk #1 succeeded at 1959 (offset 21 lines).
==> Applying gio.patch
patching file gio/Makefile.am
patching file gio/Makefile.in
==> Applying attachment.cgi
patching file glib/gmain.c
Hunk #1 succeeded at 2786 (offset 138 lines).
==> Applying gnotification-mountain.patch
patching file configure
patching file configure.ac
patching file gio/Makefile.am
patching file gio/Makefile.in
patching file gio/gcocoanotificationbackend.c
patching file gio/giomodule.c
patching file gio/gnotificationbackend.c
==> ./configure --disable-maintainer-mode --disable-silent-rules --disable-dtrac
==> make
Last 15 lines from /Users/annaiadanvers/Library/Logs/Homebrew/glib/02.make:
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../glib -I.. -I../gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\" -I/usr/local/opt/zlib/include -I/usr/local/opt/gettext/include -F/usr/local/Frameworks -D_REENTRANT -Wall -Wstrict-prototypes -Os -w -pipe -mcpu=7450 -faltivec -mmacosx-version-min=10.4 -c -o glib-compile-schemas.o glib-compile-schemas.c
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -Wall -Wstrict-prototypes -Os -w -pipe -mcpu=7450 -faltivec -mmacosx-version-min=10.4 -L/usr/local/opt/zlib/lib -L/usr/local/opt/gettext/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -Wl,-framework,Carbon -Wl,-framework,Foundation -o glib-compile-schemas gvdb-builder.o glib-compile-schemas.o ../glib/libglib-2.0.la -lintl
libtool: link: /usr/bin/gcc-4.0 -Wall -Wstrict-prototypes -Os -w -pipe -mcpu=7450 -faltivec -mmacosx-version-min=10.4 -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,Foundation -o .libs/glib-compile-schemas gvdb-builder.o glib-compile-schemas.o -L/usr/local/opt/zlib/lib -L/usr/local/opt/gettext/lib -L/usr/local/lib ../glib/.libs/libglib-2.0.dylib -L/usr/local/Cellar/pcre/8.39/lib /usr/lib/libiconv.dylib -lpcre -lintl
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../glib -I../glib -I.. -I../gmodule -DG_DISABLE_CAST_CHECKS -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\" -I/usr/local/opt/zlib/include -I/usr/local/opt/gettext/include -F/usr/local/Frameworks -D_REENTRANT -Wall -Wstrict-prototypes -Os -w -pipe -mcpu=7450 -faltivec -mmacosx-version-min=10.4 -c -o glib-compile-resources.o glib-compile-resources.c
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -Wall -Wstrict-prototypes -Os -w -pipe -mcpu=7450 -faltivec -mmacosx-version-min=10.4 -L/usr/local/opt/zlib/lib -L/usr/local/opt/gettext/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -Wl,-framework,Carbon -Wl,-framework,Foundation -o glib-compile-resources gvdb-builder.o glib-compile-resources.o libgio-2.0.la ../gobject/libgobject-2.0.la ../gmodule/libgmodule-2.0.la ../glib/libglib-2.0.la -lintl
libtool: link: /usr/bin/gcc-4.0 -Wall -Wstrict-prototypes -Os -w -pipe -mcpu=7450 -faltivec -mmacosx-version-min=10.4 -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,Foundation -o .libs/glib-compile-resources gvdb-builder.o glib-compile-resources.o -L/usr/local/opt/zlib/lib -L/usr/local/opt/gettext/lib -L/usr/local/lib ./.libs/libgio-2.0.dylib -L/usr/local/Cellar/pcre/8.39/lib -L/usr/local/Cellar/libffi/3.0.13/lib -L/usr/local/Cellar/zlib/1.2.11/lib /private/tmp/glib20190519-9596-dawcst/glib-2.50.1/gobject/.libs/libgobject-2.0.dylib /private/tmp/glib20190519-9596-dawcst/glib-2.50.1/gmodule/.libs/libgmodule-2.0.dylib -lz -lresolv ../gobject/.libs/libgobject-2.0.dylib -lffi ../gmodule/.libs/libgmodule-2.0.dylib /private/tmp/glib20190519-9596-dawcst/glib-2.50.1/glib/.libs/libglib-2.0.dylib ../glib/.libs/libglib-2.0.dylib /usr/lib/libiconv.dylib -lpcre -lintl
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_deflateSetHeader
_inflateGetHeader
collect2: ld returned 1 exit status
make[4]: *** [glib-compile-resources] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
READ THIS: https://github.com/mistydemeo/tigerbrew/wiki/troubleshooting
These open issues may also help:
Fail to install glib on 10.4.11 https://github.com/mistydemeo/tigerbrew/issues/594
glib install failure: shallow over http or ftp not supported https://github.com/mistydemeo/tigerbrew/issues/429
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment