Homebrew / legacy-homebrew

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

cardpeek failed to build on 10.9 #24608

Closed ghost closed 10 years ago

ghost commented 10 years ago

Output from HOMEBREW_MAKE_JOBS=1 brew install -v cardpeek 2>&1

Error: gtk+ did not build Logs: /Users/$user/Library/Logs/Homebrew/gtk+/01.configure /Users/$user/Library/Logs/Homebrew/gtk+/01.configure.cc /Users/$user/Library/Logs/Homebrew/gtk+/02.make /Users/$user/Library/Logs/Homebrew/gtk+/02.make.cc /Users/$user/Library/Logs/Homebrew/gtk+/config.log

Then brew gist-logs --config --doctor gtk+ -> https://gist.github.com/7614634

adamv commented 10 years ago

Note that this is a failure building a dependency; cardpeek itself is currently non-functional #23023 though.

adamv commented 10 years ago

GTK+ 3.4.1

This is a bit surprising, as cardpeek appears to use gtk+, not gtk+3, and we package 2.24.22. (And we package GTK+3 3.10.4)

Do you have any repos tapped?

ghost commented 10 years ago

Yes sorry, i forgot to tell this. Since i donwloaded carpeek from "https://code.google.com/p/cardpeek/" and tried to install it with "/.configure", it asked me for a version of gtk+ > 3.0, so i found this shot instruction "http://www.hardcoded.net/devlogs/20120426". Now when i reversed my changes in " brew edit gtk+ " the same mistake appears by installing gtk+.

adamv commented 10 years ago

You'll need to reset your formulae back to what homebrew provides; but note that cardpeek is currently not compiling in Homebrew anyway due to #23023.

ghost commented 10 years ago

Thank you for the answer first of all. How can I reset the formula?

asparagui commented 10 years ago

@phmath

change to your homebrew directory:

cd /usr/local/Library/Formula

and checkout the current version with git (reset your changes):

git checkout -- cardpeek.rb
adamv commented 10 years ago

Closing as duplicate of #23023.