Closed mvabl-steve closed 9 years ago
Can you brew update
and try again please? It's trying to install the old version of Pango. If brew update
isn't working, perhaps cd $(brew --prefix)
and git status
to see what's going on there.
didn't work. https://gist.github.com/39efe750660d3f4f0e9a
Can you do the cd $(brew --prefix) && git status
bit? It's strange that you haven't been able to update for ~13 days, seemingly, but it hasn't thrown any errors at you.
On branch mvablsteve
Your branch is up-to-date with 'mvabl-steve/mvablsteve'.
nothing to commit, working directory clean
I don't think this is a critical formula for me, btw
Your branch is up-to-date with 'mvabl-steve/mvablsteve'.
Oh, that might be why. Unless you're on that branch deliberately, try git checkout master
. If you are on that branch deliberately, try git pull --rebase origin master
.
Definitely not deliberate! One of these days I'm going to have to do a Git tutorial. (Right now, just busy learning R.)
By the way, I keep getting this:
==> Pouring node-4.1.0.el_capitan.bottle.1.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/systemtap/tapset/node.stp
Target /usr/local/share/systemtap/tapset/node.stp
already exists. You may want to remove it:
rm '/usr/local/share/systemtap/tapset/node.stp'
To force the link and overwrite all conflicting files:
brew link --overwrite node
To list all files that would be deleted:
brew link --overwrite --dry-run node
Possible conflicting files are:
/usr/local/share/systemtap/tapset/node.stp
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall node`
When I try brew link, it gives me scary cautions about doing it with sudo.
I did git checkout master, then brew upgrade. Here's the result:
Steves-MacBook-Pro:local steves93$ brew upgrade
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Upgrading 9 outdated packages, with result:
atk 2.18.0, cmake 3.3.2, glib 2.46.0, gtk+ 2.24.28_2, gtkmm 2.24.4_1, libtiff 4.0.6, node 4.1.0, pangomm 2.36.0, proj 4.9.2
==> Upgrading atk
==> Installing dependencies for atk: glib
==> Installing atk dependency: glib
==> Downloading https://homebrew.bintray.com/bottles/glib-2.46.0.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring glib-2.46.0.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/glib/2.46.0: 416 files, 18M
==> Installing atk
==> Downloading https://homebrew.bintray.com/bottles/atk-2.18.0.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring atk-2.18.0.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/atk/2.18.0: 204 files, 3.6M
==> Upgrading cmake
==> Downloading https://homebrew.bintray.com/bottles/cmake-3.3.2.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring cmake-3.3.2.el_capitan.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/
Add the following to your init file to have packages installed by
Homebrew added to your load-path:
(let ((default-directory "/usr/local/share/emacs/site-lisp/"))
(normal-top-level-add-subdirs-to-load-path))
==> Summary
🍺 /usr/local/Cellar/cmake/3.3.2: 1901 files, 33M
==> Upgrading gtk+
==> Installing dependencies for gtk+: libtiff, pango
==> Installing gtk+ dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.6.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtiff-4.0.6.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/libtiff/4.0.6: 259 files, 3.9M
==> Installing gtk+ dependency: pango
==> Downloading https://homebrew.bintray.com/bottles/pango-1.38.0.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pango-1.38.0.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/pango/1.38.0: 117 files, 4.6M
==> Installing gtk+
==> Downloading https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.28.tar.xz
==> Downloading from http://ftp.cse.buffalo.edu/pub/Gnome/sources/gtk+/2.24/gtk+-2.24.28.tar.xz
######################################################################## 100.0%
==> Downloading https://bug557780.bugzilla-attachments.gnome.org/attachment.cgi?id=306776
######################################################################## 100.0%
==> Patching
patching file gdk/quartz/gdkimage-quartz.c
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/gtk+/2.24.28_2 --disable-glibtest --enable-introspection=yes --w
==> make install
Last 15 lines from /Users/steves93/Library/Logs/Homebrew/gtk+/02.make:
gdkevents.c:151: Warning: Gdk: multiple comment blocks documenting '_gdk_event_queue_insert_after:' identifier (already seen at gdkevents.c:123).
gdkpixmap.c:730: Warning: Gdk: missing ":" at column 16:
* @mask: (out) a pointer to a place to store a bitmap representing
^
g-ir-scanner: compile: clang -Wno-deprecated-declarations -D_REENTRANT -I/usr/local/Cellar/glib/2.46.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.46.0/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.19.5.1/include -I/usr/local/Cellar/glib/2.46.0/include/gio-unix-2.0 -I/usr/local/Cellar/glib/2.46.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.46.0/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.19.5.1/include -I/usr/local/Cellar/libpng/1.6.18/include/libpng16 -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/freetype/2.6_1/include/freetype2 -I/usr/local/Cellar/fontconfig/2.11.1/include -I/usr/local/Cellar/freetype/2.6_1/include/freetype2 -I/usr/local/Cellar/pixman/0.32.6/include/pixman-1 -I/usr/local/Cellar/cairo/1.14.2_1/include/cairo -I/usr/local/Cellar/pango/1.38.0/include/pango-1.0 -c -o /private/tmp/gtk+20150923-90936-1yehnww/gtk+-2.24.28/gdk/tmp-introspectaqk7Yr/Gdk-2.0.o /private/tmp/gtk+20150923-90936-1yehnww/gtk+-2.24.28/gdk/tmp-introspectaqk7Yr/Gdk-2.0.c
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC clang -o /private/tmp/gtk+20150923-90936-1yehnww/gtk+-2.24.28/gdk/tmp-introspectaqk7Yr/Gdk-2.0 -export-dynamic /private/tmp/gtk+20150923-90936-1yehnww/gtk+-2.24.28/gdk/tmp-introspectaqk7Yr/Gdk-2.0.o -L. libgdk-quartz-2.0.la -L/usr/local/Cellar/glib/2.46.0/lib -L/usr/local/opt/gettext/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
libtool: link: clang -o /private/tmp/gtk+20150923-90936-1yehnww/gtk+-2.24.28/gdk/tmp-introspectaqk7Yr/.libs/Gdk-2.0 /private/tmp/gtk+20150923-90936-1yehnww/gtk+-2.24.28/gdk/tmp-introspectaqk7Yr/Gdk-2.0.o -L. ./.libs/libgdk-quartz-2.0.dylib -L/usr/local/Cellar/glib/2.46.0/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/pango/1.38.0/lib -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo -lm -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -framework Cocoa
dyld: Library not loaded: /usr/local/lib/libgdk_pixbuf-2.0.0.dylib
Referenced from: /private/tmp/gtk+20150923-90936-1yehnww/gtk+-2.24.28/gdk/tmp-introspectaqk7Yr/.libs/Gdk-2.0
Reason: image not found
Command '['/private/tmp/gtk+20150923-90936-1yehnww/gtk+-2.24.28/gdk/tmp-introspectaqk7Yr/Gdk-2.0', '--introspect-dump=/private/tmp/gtk+20150923-90936-1yehnww/gtk+-2.24.28/gdk/tmp-introspectaqk7Yr/functions.txt,/private/tmp/gtk+20150923-90936-1yehnww/gtk+-2.24.28/gdk/tmp-introspectaqk7Yr/dump.xml']' returned non-zero exit status -5
make[3]: *** [Gdk-2.0.gir] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
READ THIS: https://git.io/brew-troubleshooting
These open issues may also help:
cogl, clutter and clutter-gtk: version bumps https://github.com/Homebrew/homebrew/pull/44029
Gtk+3 fails to compile on 10.6.8 https://github.com/Homebrew/homebrew/issues/40438
GTK+ searches for modules in the wrong path https://github.com/Homebrew/homebrew/issues/21412
Sorry to be such a pain in the neck.
What errors do you see if you try brew link --overwrite node
?
dyld: Library not loaded: /usr/local/lib/libgdk_pixbuf-2.0.0.dylib
Heh. Try brew reinstall gdk-pixbuf
and then try the upgrade again.
Steves-MacBook-Pro:local steves93$ brew link --overwrite node
Linking /usr/local/Cellar/node/4.1.0...
Error: Could not symlink share/systemtap/tapset/node.stp
/usr/local/share/systemtap/tapset is not writable.
I guess I'm going to need to read up on chmod, because I can't change the permissions in that directory in Finder for some reason.
Unfortunately (I think?), the brew reinstall gdk-pixbuf yielded:
Steves-MacBook-Pro:local steves93$ brew reinstall gdk-pixbuf
==> Reinstalling gdk-pixbuf
==> Downloading https://homebrew.bintray.com/bottles/gdk-pixbuf-2.30.8.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring gdk-pixbuf-2.30.8.el_capitan.bottle.1.tar.gz
==> /usr/local/Cellar/gdk-pixbuf/2.30.8/bin/gdk-pixbuf-query-loaders --update-cache
==> Caveats
Programs that require this module need to set the environment variable
export GDK_PIXBUF_MODULEDIR="/usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders"
If you need to manually update the query loader cache, set GDK_PIXBUF_MODULEDIR then run
/usr/local/Cellar/gdk-pixbuf/2.30.8/bin/gdk-pixbuf-query-loaders --update-cache
==> Summary
🍺 /usr/local/Cellar/gdk-pixbuf/2.30.8: 208 files, 4.3M
Steves-MacBook-Pro:local steves93$ brew upgrade
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Upgrading 2 outdated packages, with result:
gtk+ 2.24.28_2, gtkmm 2.24.4_1
==> Upgrading gtk+
==> Downloading https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.28.tar.xz
Already downloaded: /Library/Caches/Homebrew/gtk+-2.24.28.tar.xz
==> Downloading https://bug557780.bugzilla-attachments.gnome.org/attachment.cgi?id=306776
Already downloaded: /Library/Caches/Homebrew/gtk+--patch-4d7a1fe8d55174dc7f0be0016814668098d38bbec233b05a6c46180e96a159fc.cgi
==> Patching
patching file gdk/quartz/gdkimage-quartz.c
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/gtk+/2.24.28_2 --disable-glibtest --enable-introspection=yes --w
==> make install
Last 15 lines from /Users/steves93/Library/Logs/Homebrew/gtk+/02.make:
gdkevents.c:151: Warning: Gdk: multiple comment blocks documenting '_gdk_event_queue_insert_after:' identifier (already seen at gdkevents.c:123).
gdkpixmap.c:730: Warning: Gdk: missing ":" at column 16:
* @mask: (out) a pointer to a place to store a bitmap representing
^
g-ir-scanner: compile: clang -Wno-deprecated-declarations -D_REENTRANT -I/usr/local/Cellar/glib/2.46.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.46.0/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.19.5.1/include -I/usr/local/Cellar/glib/2.46.0/include/gio-unix-2.0 -I/usr/local/Cellar/glib/2.46.0/include/glib-2.0 -I/usr/local/Cellar/glib/2.46.0/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.19.5.1/include -I/usr/local/Cellar/libpng/1.6.18/include/libpng16 -I/usr/local/Cellar/gdk-pixbuf/2.30.8/include/gdk-pixbuf-2.0 -I/usr/local/Cellar/freetype/2.6_1/include/freetype2 -I/usr/local/Cellar/fontconfig/2.11.1/include -I/usr/local/Cellar/freetype/2.6_1/include/freetype2 -I/usr/local/Cellar/pixman/0.32.6/include/pixman-1 -I/usr/local/Cellar/cairo/1.14.2_1/include/cairo -I/usr/local/Cellar/pango/1.38.0/include/pango-1.0 -c -o /private/tmp/gtk+20150923-3605-lpxvzm/gtk+-2.24.28/gdk/tmp-introspectMrwRHl/Gdk-2.0.o /private/tmp/gtk+20150923-3605-lpxvzm/gtk+-2.24.28/gdk/tmp-introspectMrwRHl/Gdk-2.0.c
g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC clang -o /private/tmp/gtk+20150923-3605-lpxvzm/gtk+-2.24.28/gdk/tmp-introspectMrwRHl/Gdk-2.0 -export-dynamic /private/tmp/gtk+20150923-3605-lpxvzm/gtk+-2.24.28/gdk/tmp-introspectMrwRHl/Gdk-2.0.o -L. libgdk-quartz-2.0.la -L/usr/local/Cellar/glib/2.46.0/lib -L/usr/local/opt/gettext/lib -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
libtool: link: clang -o /private/tmp/gtk+20150923-3605-lpxvzm/gtk+-2.24.28/gdk/tmp-introspectMrwRHl/.libs/Gdk-2.0 /private/tmp/gtk+20150923-3605-lpxvzm/gtk+-2.24.28/gdk/tmp-introspectMrwRHl/Gdk-2.0.o -L. ./.libs/libgdk-quartz-2.0.dylib -L/usr/local/Cellar/glib/2.46.0/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/gdk-pixbuf/2.30.8/lib -L/usr/local/Cellar/cairo/1.14.2_1/lib -L/usr/local/Cellar/pango/1.38.0/lib -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo -lm -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -framework Cocoa
dyld: Library not loaded: /usr/local/lib/libpixman-1.0.dylib
Referenced from: /usr/local/lib/libcairo.2.dylib
Reason: image not found
Command '['/private/tmp/gtk+20150923-3605-lpxvzm/gtk+-2.24.28/gdk/tmp-introspectMrwRHl/Gdk-2.0', '--introspect-dump=/private/tmp/gtk+20150923-3605-lpxvzm/gtk+-2.24.28/gdk/tmp-introspectMrwRHl/functions.txt,/private/tmp/gtk+20150923-3605-lpxvzm/gtk+-2.24.28/gdk/tmp-introspectMrwRHl/dump.xml']' returned non-zero exit status -5
make[3]: *** [Gdk-2.0.gir] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
READ THIS: https://git.io/brew-troubleshooting
These open issues may also help:
cogl, clutter and clutter-gtk: version bumps https://github.com/Homebrew/homebrew/pull/44029
Gtk+3 fails to compile on 10.6.8 https://github.com/Homebrew/homebrew/issues/40438
GTK+ searches for modules in the wrong path https://github.com/Homebrew/homebrew/issues/21412
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Upgrading gtkmm
==> Installing dependencies for gtkmm: gtk+
Steves-MacBook-Pro:local steves93$
because I can't change the permissions in that directory in Finder for some reason.
sudo chown -R $(whoami):admin /usr/local
should sort you out. If you want to specifically do just that one directory, replace /usr/local
with the path.
dyld: Library not loaded: /usr/local/lib/libpixman-1.0.dylib Referenced from: /usr/local/lib/libcairo.2.dylib
We're getting somewhere. This is a new error. Try brew reinstall pixman
and then try again.
100% fixed, both problems. Thanks Dom!
:tada:. Happy to help! Feel free to open a new issue if you hit anything else.
https://gist.github.com/d17c233045253f8dd5cd
Several attempts at Brew update/doctor/upgrade, etc. Also followed advice on https://github.com/Homebrew/homebrew/issues/40853; no joy.