Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
27.02k stars 11.37k forks source link

GTK+ 2.24.6 update fails #7508

Closed bd808 closed 12 years ago

bd808 commented 12 years ago

$ brew doctor Unbrewed dylibs were found in /usr/local/lib.

If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.

Unexpected dylibs: /usr/local/lib/libmcrypt.4.4.8.dylib /usr/local/lib/libyaml-0.2.dylib

Unbrewed static libraries were found in /usr/local/lib.

If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.

Unexpected static libraries: /usr/local/lib/libyaml.a

Unbrewed .la files were found in /usr/local/lib.

If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.

Unexpected .la files: /usr/local/lib/libmcrypt.la /usr/local/lib/libyaml.la

Setting DYLD_LIBRARY_PATH can break dynamic linking. You should probably unset it.

$ echo $DYLD_LIBRARY_PATH /opt/oracle/10.2/client/lib:

$ brew update remote: Counting objects: 32, done. remote: Compressing objects: 100% (12/12), done. remote: Total 25 (delta 19), reused 19 (delta 13) Unpacking objects: 100% (25/25), done. From http://github.com/mxcl/homebrew d3d340d..f9b32a2 master -> origin/master Updated Homebrew from d3d340d7 to f9b32a2c. ==> New formulae gsutil ==> Updated formulae aspell cairo gnu-prolog w3m

$ brew install -v gtk+ 2>&1 | pbcopy https://gist.github.com/1203592

bd808 commented 12 years ago

$ brew info gtk+ gtk+ 2.24.6 http://www.gtk.org/ Depends on: pkg-config, glib, jpeg, libtiff, gdk-pixbuf, pango, jasper, atk /usr/local/Cellar/gtk+/2.24.4 (974 files, 33M) /usr/local/Cellar/gtk+/2.24.5 (971 files, 32M) http://github.com/mxcl/homebrew/commits/master/Library/Formula/gtk+.rb

Sharpie commented 12 years ago

Hmm, could you try brew install gtk+ --use-gcc?

geoffeg commented 12 years ago

I am having this exact some compile error for gtk+. Here is my brew doctor output:

brew doctor
fatal: Not a git repository (or any of the parent directories): .git
Your system is raring to brew.

I tried --use-gcc, no change, same error as without it.

Sharpie commented 12 years ago

@geoffeg

Could you post a gist with the results of brew install gtk+ --use-gcc -v?

bd808 commented 12 years ago

@Sharpie

brew install gtk+ --use-gcc -v output at https://gist.github.com/1210384

Sharpie commented 12 years ago

Hmm... I can't reproduce this on 10.6.8 using XCode 3.2.6. I even tried mixing and matching with some components compiled with LLVM and others with GCC.

Perhaps the GTK+ developers might be able to make more sense out of the error messages?

vrillusions commented 12 years ago

I've also been getting this error for a while now. Gist with everything: https://gist.github.com/1216854

*edit: also I'm currently running gtk+ 2.24.5 and it installed fine.

Jayceh commented 12 years ago

I'm getting the exact same results as vrillusions and others. gcc or not.

Sharpie commented 12 years ago

If 2.24.5 is installing fine, could someone run this by the GTK+ developers? It could be a regression in 2.24.6.

bd808 commented 12 years ago

Finally got around to trying upgrade again and it succeeded.