Giter VIP home page Giter VIP logo

legacy-homebrew's Introduction

Homebrew (Legacy)

This repository was deprecated and split into two repositories:

legacy-homebrew's People

Contributors

0xffea avatar adamv avatar afh avatar apjanke avatar asaph avatar bfontaine avatar brettkoonce avatar dholm avatar domt4 avatar dstftw avatar dunn avatar jacknagel avatar lovebug356 avatar makigumo avatar manphiz avatar mikemcquaid avatar mindtooth avatar mistydemeo avatar mkhl avatar mnaberez avatar mxcl avatar nijikon avatar noctem avatar samueljohn avatar sharpie avatar tdsmith avatar tschoonj avatar uniqmartin avatar vszakats avatar xu-cheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

legacy-homebrew's Issues

Partial downloads fail due to MD5 check

If you cancel an install while the file is downloading, and then try to install it later homebrew will complain that the MD5 does not match, but sees the file is 'downloaded and cached'. This forces the user to clear the cache in order to continue.

Need clean way to override patch -p# option

The new patch support uses -p0, and of course the first new thing I want to patch uses -p1. A clean way for formulas to override this would be great.

I'll check in my formula that uses -p1 at some point; it does it by copy-and-pasting "def patch" from the base class so far...

SVN: Generate Language bindings as well

I have to use "git svn" but this will not work without the SVN perl bindings.

Right now the svn package does not build and install any language bindings. The python, ruby and Java bindings could be interesting as well.

Error installing git

 % brew install git
==> Downloading http://kernel.org/pub/software/scm/git/git-1.6.4.tar.bz2
######################################################################## 100.0%
==> Downloading http://www.kernel.org/pub/software/scm/git/git-manpages-1.6.4.ta
######################################################################## 100.0%
==> ./configure --prefix='/usr/homebrew/Cellar/git/1.6.4' --disable-debug
==> make install
GIT_VERSION = 1.6.4
    * new build flags or prefix
    GEN git-am
    GEN git-bisect
    GEN git-difftool--helper
    GEN git-filter-branch
    GEN git-lost-found
    GEN git-merge-octopus
    GEN git-merge-one-file
    GEN git-merge-resolve
    GEN git-mergetool
    GEN git-mergetool--lib
    GEN git-parse-remote
    GEN git-pull
    GEN git-quiltimport
    GEN git-rebase--interactive
    GEN git-rebase
    GEN git-repack
    GEN git-request-pull
    GEN git-sh-setup
    GEN git-stash
    GEN git-submodule
    GEN git-web--browse
    SUBDIR perl
/usr/bin/perl Makefile.PL PREFIX='/usr/homebrew/Cellar/git/1.6.4'
    GEN gitweb/gitweb.cgi
    GEN common-cmds.h
    CC builtin-add.o
    CC builtin-annotate.o
    CC builtin-apply.o
Writing perl.mak for Git
    CC builtin-archive.o
    CC builtin-bisect--helper.o
    CC builtin-blame.o
    CC builtin-branch.o
    CC builtin-bundle.o
    CC builtin-cat-file.o
    CC builtin-check-attr.o
    CC builtin-check-ref-format.o
    CC builtin-checkout-index.o
    CC builtin-checkout.o
    CC builtin-clean.o
    CC builtin-clone.o
    CC builtin-commit-tree.o
    CC builtin-commit.o
    CC builtin-config.o
    CC builtin-count-objects.o
    CC builtin-describe.o
    CC builtin-diff-files.o
    CC builtin-diff-index.o
    CC builtin-diff-tree.o
    CC builtin-diff.o
    CC builtin-fast-export.o
    CC builtin-fetch--tool.o
    CC builtin-fetch-pack.o
    CC builtin-fetch.o
    CC builtin-fmt-merge-msg.o
    CC builtin-for-each-ref.o
    CC builtin-fsck.o
    CC builtin-gc.o
    CC builtin-grep.o
    CC builtin-help.o
    CC builtin-init-db.o
    CC builtin-log.o
    CC builtin-ls-files.o
    CC builtin-ls-remote.o
    CC builtin-ls-tree.o
    CC builtin-mailinfo.o
    CC builtin-mailsplit.o
    CC builtin-merge.o
    CC builtin-merge-base.o
    CC builtin-merge-file.o
    CC builtin-merge-ours.o
    CC builtin-merge-recursive.o
    CC builtin-mktree.o
    CC builtin-mv.o
    CC builtin-name-rev.o
    CC builtin-pack-objects.o
    CC builtin-pack-refs.o
    CC builtin-prune-packed.o
    CC builtin-prune.o
    CC builtin-push.o
    CC builtin-read-tree.o
    CC builtin-receive-pack.o
    CC builtin-reflog.o
    CC builtin-remote.o
    CC builtin-rerere.o
    CC builtin-reset.o
    CC builtin-rev-list.o
    CC builtin-rev-parse.o
    CC builtin-revert.o
    CC builtin-rm.o
    CC builtin-send-pack.o
    CC builtin-shortlog.o
    CC builtin-show-branch.o
    CC builtin-show-ref.o
    CC builtin-stripspace.o
    CC builtin-symbolic-ref.o
    CC builtin-tag.o
    CC builtin-tar-tree.o
    CC builtin-unpack-objects.o
    CC builtin-update-index.o
    CC builtin-update-ref.o
    CC builtin-upload-archive.o
    CC builtin-verify-pack.o
    CC builtin-verify-tag.o
    CC builtin-write-tree.o
    CC builtin-http-fetch.o
    CC test-chmtime.o
    CC test-date.o
    CC test-ctype.o
    CC test-delta.o
    CC test-dump-cache-tree.o
    CC test-genrandom.o
    CC test-match-trees.o
    CC test-parse-options.o
    CC test-path-utils.o
    CC test-sha1.o
    CC test-sigchain.o
    CC fast-import.o
    CC abspath.o
    CC alias.o
    CC alloc.o
    CC archive.o
    CC archive-tar.o
    CC archive-zip.o
    CC attr.o
    CC base85.o
    CC bisect.o
    CC blob.o
    CC branch.o
    CC bundle.o
    CC cache-tree.o
    CC color.o
    CC combine-diff.o
    CC commit.o
    CC config.o
    CC connect.o
    CC convert.o
    CC copy.o
    CC csum-file.o
    CC ctype.o
    CC date.o
    CC decorate.o
    CC diffcore-break.o
    CC diffcore-delta.o
    CC diffcore-pickaxe.o
    CC diffcore-order.o
    CC diffcore-rename.o
    CC diff-delta.o
    CC diff-lib.o
    CC diff-no-index.o
    CC diff.o
    CC dir.o
    CC editor.o
    CC entry.o
    CC environment.o
    CC exec_cmd.o
    CC fsck.o
    CC graph.o
    CC grep.o
    CC hash.o
    CC help.o
    CC ident.o
    CC levenshtein.o
    CC list-objects.o
    CC ll-merge.o
    CC lockfile.o
    CC log-tree.o
    CC mailmap.o
    CC match-trees.o
    CC merge-file.o
    CC merge-recursive.o
    CC name-hash.o
    CC object.o
    CC pack-check.o
    CC pack-refs.o
    CC pack-revindex.o
    CC pack-write.o
    CC pager.o
    CC parse-options.o
    CC patch-delta.o
    CC patch-ids.o
    CC path.o
    CC pkt-line.o
    CC preload-index.o
    CC pretty.o
    CC progress.o
    CC quote.o
    CC reachable.o
    CC read-cache.o
    CC reflog-walk.o
    CC refs.o
    CC remote.o
    CC rerere.o
    CC revision.o
    CC run-command.o
    CC server-info.o
    CC setup.o
    CC sha1-lookup.o
    CC sha1_file.o
    CC sha1_name.o
    CC shallow.o
    CC sideband.o
    CC sigchain.o
    CC strbuf.o
    CC string-list.o
    CC symlinks.o
    CC tag.o
    CC trace.o
    CC transport.o
    CC tree-diff.o
    CC tree.o
    CC tree-walk.o
    CC unpack-trees.o
    CC usage.o
    CC userdiff.o
    CC utf8.o
    CC walker.o
    CC wrapper.o
    CC write_or_die.o
    CC ws.o
    CC wt-status.o
    CC xdiff-interface.o
    CC http.o
    CC http-walker.o
    CC thread-utils.o
    CC compat/memmem.o
    CC xdiff/xdiffi.o
    CC xdiff/xprepare.o
    CC xdiff/xemit.o
    CC xdiff/xutils.o
    CC xdiff/xmerge.o
    CC xdiff/xpatience.o
    CC hash-object.o
    CC index-pack.o
    CC merge-index.o
    CC merge-tree.o
    CC mktag.o
    CC pack-redundant.o
    CC patch-id.o
    CC shell.o
    CC show-index.o
    CC unpack-file.o
    CC update-server-info.o
    CC upload-pack.o
    CC var.o
    CC http-push.o
    CC daemon.o
    CC imap-send.o
    GEN git-add--interactive
    GEN git-difftool
    GEN git-archimport
    GEN git-cvsexportcommit
    GEN git-cvsimport
    GEN git-cvsserver
    GEN git-relink
    GEN git-send-email
    GEN git-svn
    GEN git-instaweb
    CC git.o
    AR libgit.a
gar: libgit.a: Invalid operation
make: *** [libgit.a] Error 1
make: *** Waiting for unfinished jobs....
==> Error: make install 

Error: Couldn't parse name

 % brew mk http://www.mplayerhq.hu/MPlayer/releases/mplayer-checkout-snapshot.tar.bz2
==> Error: Couldn't parse name from http://www.mplayerhq.hu/mplayer/releases/mplayer-checkout-snapshot.tar.bz2

Filenames not in the format 'name-version.ext' should also be supported.

Working on depenencies, have simple solution, need feedback on one snag.

I have a very, very simple implementation of the Dependency objects that have been stubbed out. I had it working for a chain of Formulas.

See the version here: http://github.com/squarelover/homebrew/commit/7176081382b3a4fe8ddc9c3b7304610db18dc077

But there was an issue with one, mainly spidemonkey, where I have to reference the path of the other dependency. I previously got it working by hardcoding the path in, not ideal.

So I am trying to find a way, with how dependencies are currently declared or used, and I'm having a really hard time trying to keep context to them after the fact. Right now dependencies are implemented like this

def deps
  LibraryDep.new 'nspr'
end

This works fine if I want to just have the dependency installed, but It installs and then is gone. I've been playing with trying to implement it in just the Dependency class, but I could not find any way to get a binding to the calling method (the dependent Formula). I've tried all sorts of stuff, even this http://extensions.rubyforge.org/rdoc/classes/Binding.html. Unless there is some active context that is in scope at the LibraryDep.new or the LibraryDep adds something to the global running scope. It would be nice to have some sort method, as you can see stubbed out in my commit, where the dependencies that are initialized are added to an instance of the Formula.

Any recommendations? I could see doing it a bunch of different ways, but it would require changing how dependencies are currently declared. Likely it would need to be some kind of class or instance method on the Formula class that each individual formula would call with name and state options.

For example:

 require 'brewkit'

class Spidermonkey <Formula  
  @url="http://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz"
  @homepage='https://developer.mozilla.org/en/SpiderMonkey'
  @md5='5571134c3863686b623ebe4e6b1f6fe6'

  dependency :library, 'readline'
  dependency :library, 'nspr', :optional => true

  def install
    #...
  end
end

HttpDownloadStrategy tries to unlink unexisting file when download fails.

This is more of a TODO, as I don't have the time to fix this straight away. Anyways, currently the URL that's used to retrieve the ImageMagick source form returns a 550, in which case @dl.unlink is called. However, in this case there's no file created at all. I think the code should look more like:

class HttpDownloadStrategy <AbstractDownloadStrategy
  def fetch
    ohai "Downloading #{@url}"
    @dl = HOMEBREW_CACHE + (@unique_token ? (@unique_token + ext) : File.basename(@url))
    unless @dl.exist?
      curl(@url, '-o', @dl)
    else
      puts "File already downloaded and cached"
    end
    @dl # thus performs checksum verification

  rescue => e
    @dl.unlink if @dl.exist?
    raise e
  end
end

Glib brew not properly detecting pkg-config

I'm getting the following when brewing glib. pkg-config is installed, and brew finds it, but ./configure does not. You'll notice I'm installing to /opt/local . Most other things are working ok. I've really only had problems installing three of the formulas.

$ brew install glib
==> Downloading http://ftp.acc.umu.se/pub/gnome/sources/glib/2.20/glib-2.20.5.tar.bz2
File already downloaded and cached
==> ./configure --disable-debug --prefix=/opt/local/Cellar/glib/2.20.5 --disable-dependency-tracking --disable-rebuilds
[snip]
checking for pkg-config... no
configure: error: *** pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/
==> Error: Failure while executing: ./configure --disable-debug --prefix=/opt/local/Cellar/glib/2.20.5 --disable-dependency-tracking --disable-rebuilds
$ brew install pkg-config
Formula already installed: /opt/local/Cellar/pkg-config/0.23

Git formula doesn't make ~/Library/Caches/Homebrew

Steps to reproduce:

  • Clone the homebrew project to a new directory in ~/src
  • brew install git
  • Error: Can't write to ~/Library/Caches/Homebrew because it doesn't exist

Fix: Create the ~/Library/Caches/Homebrew directory and re-run the "brew install git" command and things work fine.

Cellar linked itself recursively

Using your trunk, I did a "brew install git", this time at home, and ended up with a Cellar symlink inside of Cellar.

I noticed this because having a recursive symlink causes TextMate to hang and crash when trying to open a dir as project.

Protection in case Github dies

I worry about Github, I know from experience these Web 2 companies have no cash.

So Git is decentralised, people can easily change the master branch to wherever we put the new Homebrew master branch.

Still I can't help but feel it should be automated as part of the brew update command. So we'll need a domain we control and a simple webservice on it.

Test for symlinked installation

So put homebrew at eg. /homebrew and then symlink that to /foo and then brew install from /foo, the symlinks should be created inside foo.

Need a "do not strip" list, or better command-line arguments.

Stripping the Python executable breaks the use of dlopen(), which breaks readline in the shell and "import readline", "import zlib", etc. in programs.

Either need a "do not strip list" on formulas so keg.clean can skip files, or possibly some better stripology so we can strip Python and not break it; I have no idea what some "good" arguments might be in this case.

Fails with a 'Homebrew requires gcc 4.2' error

On my Macbook Pro, recently upgraded to Snow Leopard, I get the following error when I try to use brew:

computer:Dev michael$ brew
/usr/bin/gcc-4.2
Sorry, Homebrew requires gcc 4.2, which is provided by Xcode 3.1

I have XCode 3.2 installed and my default version of gcc is 4.2. Any clues?

--force should force symlink creation too

Here's some output of a git build after pulling own that tree:

[snip]
cp private-Error.pm blib/lib/Error.pm
cp Git.pm blib/lib/Git.pm
Manifying blib/man3/private-Error.3pm
Manifying blib/man3/Git.3pm
    SUBDIR templates
install -d -m 755 '/usr/local/Cellar/git/1.6.4.2/bin'
install -d -m 755 '/usr/local/Cellar/git/1.6.4.2/libexec/git-core'
install   git-fast-import git-hash-object git-index-pack git-merge-index git-merge-tree git-mktag git-pack-redundant git-patch-id git-shell git-show-index git-unpack-file git-update-server-info git-upload-pack git-var git-http-push git-daemon git-imap-send git-am git-bisect git-difftool--helper git-filter-branch git-lost-found git-merge-octopus git-merge-one-file git-merge-resolve git-mergetool git-mergetool--lib git-parse-remote git-pull git-quiltimport git-rebase--interactive git-rebase git-repack git-request-pull git-sh-setup git-stash git-submodule git-web--browse git-add--interactive git-difftool git-archimport git-cvsexportcommit git-cvsimport git-cvsserver git-relink git-send-email git-svn git-instaweb '/usr/local/Cellar/git/1.6.4.2/libexec/git-core'
install git git-upload-pack git-receive-pack git-upload-archive git-shell git-cvsserver '/usr/local/Cellar/git/1.6.4.2/bin'
make -C templates DESTDIR='' install
install -d -m 755 '/usr/local/Cellar/git/1.6.4.2/share/git-core/templates'
(cd blt && tar cf - .) | \
    (cd '/usr/local/Cellar/git/1.6.4.2/share/git-core/templates' && umask 022 && tar xfo -)
make -C perl prefix='/usr/local/Cellar/git/1.6.4.2' DESTDIR='' install
Appending installation info to /usr/local/Cellar/git/1.6.4.2/Library/Perl/Updates/5.10.0/darwin-thread-multi-2level/perllocal.pod
Can't open file /usr/local/Cellar/git/1.6.4.2/lib/perl5/site_perl/5.10.0/darwin-thread-multi-2level/auto/Git/.packlist: Permission denied at /System/Library/Perl/5.10.0/ExtUtils/Install.pm line 691
Writing /usr/local/Cellar/git/1.6.4.2/lib/perl5/site_perl/5.10.0/darwin-thread-multi-2level/auto/Git/.packlist
make[2]: *** [pure_site_install] Error 13
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [install] Error 2
make: *** [install] Error 2
==> Error: make install

Also, now that git is broken, I'm not sure of the best way to "git pull" down a fix. :)

GNU Readline 5.1 as current formula installs prevent Ruby 1.9 from building

Basically I think we need to make the 5.1 build part of the python formula and then not link it into the main tree. The beauty of homebrew is that this is actually possible. Then we can install readline 6 for Ruby and everything else.

I think it is sensible to stay current with default formula installs and allow not current versions for stuff that needs it.

brew should feel OK about relinking broken links

When you brew install something, it will fail if it tries to create a link that already exists. If the link is stale, though, (ie, the thing it links to is missing) then it should feel free to recreate the link without erroring out.

The corner case was that I brew rm'ed something after upgrading to 10.6. The build products were removed, but not the links. The links had had their permisison reset (all of /usr/local did) and could not be removed.

Installing anything fails with rubycocoa LoadError

I've installed homebrew into /usr/local by doing a git clone. Try to install anything and get the following backtrace.

Julius:local(masterbrew) caius$ brew install git
==> Error: Homebrew has failed you :(
Please report this bug at: http://bit.ly/Homebrew
Please include this backtrace:
==> #<LoadError: dlopen(/Library/Ruby/Site/1.8/universal-darwin10.0/rubycocoa.bundle, 9): no suitable image found.  Did find:
/Library/Ruby
/Library/Ruby/Site/1.8/universal-darwin10.0/rubycocoa.bundle
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Library/Ruby/Site/1.8/osx/foundation.rb:8
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Library/Ruby/Site/1.8/osx/cocoa.rb:8
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/usr/local/Library/Homebrew/beer_events.rb:26
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/usr/local/bin/brew:95

Had a bit of a google around, and can't find much on it, I removed /Library/Frameworks/RubyCocoa.framework to make sure it uses the one in /System, but still no joy.

I'm running 10.6 (10A432) as a upgrade to the dev seeds (which were initially a clean install.)

Comand: brew download or brew install --download

Want a command to only download (or maybe download and patch) from a formula, but not start compiling it. Preferably, should download to a subfolder of the current folder instead of the cache.

I'm working on a patch, but pervasive use of globals (HOMEBREWCACHE) instead of passed parameters is making it slow going.

ImageMagick fails to install

Then error occurs when building libwmf:

then mv -f ".deps/xgd.Tpo" ".deps/xgd.Plo"; else rm -f ".deps/xgd.Tpo"; exit 1; fi

gcc-4.2 -DHAVE_CONFIG_H -DPACKAGE="libwmf" -DVERSION="0.2.8" -I. -I. -I../.. -I../../include -I../../src -I../../src/extra/gd -I../.. -I/Users/nirvdrum/homebrew/include -I/usr/X11R6/include -O3 -march=nocona -mfpmath=sse -mmmx -msse4.1 -w -pipe -fomit-frame-pointer -mmacosx-version-min=10.5 -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include -MT xgd.lo -MD -MP -MF .deps/xgd.Tpo -c xgd.c -fno-common -DPIC -o .libs/xgd.o
In file included from xgd.c:62:
../../src/ipa/xgd/device.h: In function 'wmf_gd_device_open':
../../src/ipa/xgd/device.h:38: error: 'ddata' undeclared (first use in this function)
../../src/ipa/xgd/device.h:38: error: (Each undeclared identifier is reported only once
../../src/ipa/xgd/device.h:38: error: for each function it appears in.)
make[2]: *** [xgd.lo] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
==> Error: make install

Need "unlink" command

Need an unlink command which removes the symlinks created by link, but not the build products. This is for debugging builds by "hiding" dependent libraries.

Any interest in supporting svn export instead of tarballs?

Something I want to build (MacFuse) doesn't have a source tarball, only tagged SVN branches (from Google Code.)

I can hack together support for svn exports, but I don't know if that's something you'll want to merge in or not. If so, I'll hack, if not, I'll install manually instead.

Oh dang (flac)

$ brew install flac
==> Downloading http://kent.dl.sourceforge.net/sourceforge/flac/flac-1.2.1.tar.gz

################################################################## 100.0%

==> ./configure --disable-debug --disable-asm-optimizations --prefix=/usr/local/Cellar/flac/1.2.1 -
==> make install
==> Error: Homebrew has failed you :(
Please report this bug at: http://bit.ly/Homebrew
Please include this backtrace:
==> #<TypeError: can't convert nil into String>
/usr/local/Library/Homebrew/formula.rb:280:in dirname' /usr/local/Library/Homebrew/formula.rb:280:ininitialize'
/usr/local/Library/Formula/flac.rb:26:in new' /usr/local/Library/Formula/flac.rb:26:ininstall'
/usr/local/Library/Homebrew/brew.h.rb:148:in install' /usr/local/Library/Homebrew/formula.rb:117:inbrew'
/usr/local/Library/Homebrew/formula.rb:224:in stage' /usr/local/Library/Homebrew/formula.rb:194:inmktemp'
/usr/local/Library/Homebrew/formula.rb:222:in stage' /usr/local/Library/Homebrew/formula.rb:114:inbrew'
/usr/local/Library/Homebrew/brew.h.rb:137:in `install'
/usr/local/bin/brew:91

Lua borked, somehow?

Using the Lua formula (with the changes on my fork or not), I can't get LuaExpat to work right.

No matter how I compile it, I can't get the first example on this page to work properly: http://www.keplerproject.org/luaexpat/examples.html.

With any non-blank input, it'll print out something like:

lua(96377) malloc: *** error for object 0x1000a5940: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap

and quit. I don't mean to try to shift my own problems onto someone else, but it works fine for me on Ubuntu, and I'm not sure what's wrong here.

My latest attempt at compiling LuaExpat is (basically from the Makefile):

gcc -g -m64 -Wall -pedantic -Waggregate-return -Wcast-align -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wwrite-strings -ansi -O2 -I/usr/local/Cellar/lua/5.1.4/include -I../compat/src -I/usr/local/Cellar/expat/2.0.1/include   -c -o src/lxplib.o src/lxplib.c
gcc -m64 -arch x86_64 -o src/lxp.so.1.1.0 -bundle -undefined dynamic_lookup  src/lxplib.o  -lexpat -llua

I've tried to use other options, such as the default Homebrew ones, but I always get the same result. :(

Postgres Formula

A postgres formula would be very neat. It's the only one missing out of the top 3 databases for Rails (mysql/sqlite and postgres).

[ERROR] brew mk [url] : undefined local variable or method `prefix' for main:Object

I get the following error when attempting to use the command:

brew mk http://rubyforge.org/frs/download.php/31654/fastri-0.3.1.tar.gz

==> Error: Homebrew has failed you :(
Please report this bug at: http://bit.ly/Homebrew
Please include this backtrace:
==> #<NameError: undefined local variable or method `prefix' for main:Object>
/usr/local/Library/Homebrew/brew.h.rb:48:in `make'
/usr/local/bin/brew:137
/usr/local/bin/brew:137:in `collect'
/usr/local/bin/brew:137

Looking at the sourcefile, it seems fairly obvious that there is no prefix variable set or declared in that scope. New to brew, so I'm not certain if this gets set somewhere else.

Git won't brew ln

Brewing Git 1.6.4 with the latest homebrew creates some executables without the x bit set, and doing a "brew ln git" tells me that 166 links were created, but git doesn't show up linked in /usr/local/bin.

Low Google Factor

The name "Homebrew" sucks in terms of searchability.

Homebrew by itself comes up with a lot of results for games console topics.

Homebrew Mac and Homebrew OS X come up with a lot of results for hackintosh topics, although Homebrew OS X has the github page at rank 6, so that is promising.

So we need to rename the project slightly IMO, ie. Homebrew4OSX (sucks I know but it's a starting idea) so people can google for the project and actually find it.

How to: download a dependent tarball, cache it, but not unzip it.

I'm compiling lxml because I need some XPath support under Python (though I'll probably just use ElementTree 1.3 beta instead.)

This library has two additional dependencies, which it expects to find as tarballs in a libs/ folder.
If I create dependency formulas (like the Subversion formula does), those tarballs still get unzipped in a temp folder, which we don't need in this case.

Incorrect error message

$ brew list
Error: Expecting the name of a keg or formula, eg:
    brew  wget

The last line should include the command name, "brew list wget"

The ARGV.join doesn't work because the command name has already been shifted out.

Homebrew can't find osx/cocoa

This starter after I did a recent pull from the homebrew repo. I'm sure it's probably a local config issue, but i'm not sure how to fix it. I'm working off a clean Snow Leopard install.

==> #<LoadError: no such file to load -- osx/cocoa>
/usr/local/Library/Homebrew/beer_events.rb:26:in require' /usr/local/Library/Homebrew/beer_events.rb:26 /usr/local/bin/brew:98:inrequire'
/usr/local/bin/brew:98

Linking to wrong bin directory?

This issue might be because I have Homebrew setup weird on my machine, but here is what I'm seeing.

I have homebrew git-cloned into ~/homebrew.
I think have ~/homebrew/bin/brew linked to /usr/local/bin and Library and Cellar linked to /usr/local.
After the recent brew changes, when I "ln" a brew, the resulting executables are now linked into ~/homebrew/bin instead of /usr/local/bin

This is definitely a change from the previous behavior, as before things "just worked" and now they don't.

Personally I don't think homebrew should expect to be installed directly into /usr/local, (because I don't want to have a /usr/local/.git) but I don't know if you care to support my kind of linked alternate setup.

Need a remove option to also nuke the cache

Need an option like "brew rm --all" that will also remove the download from Cache.
Mostly useful for development/debugging the downloader code.

Since I'm refactoring the download code, I wouldn't do anything with this issue at least until that code lands.

Brewing glib is wonky.

I tried to brew glib, but it depends on gettext, so I brewed gettext first.
Then I tried to brew glib again, and it apparently worked, but during the "configure" phase I got two "This app has unexpectedly..." dialogs that I had to ignore.

This is OS X 10.5.8, on a Mac Pro.

Both messages are: """
The application msgfmt quit unexpectedly.

Symbol not found: _environ
Referenced from: /usr/local/Cellar/gettext/0.17/lib/libgettext-0.17.dylib
Expected in: dynamic lookup
"""

Expected: no GUI pops up while I'm brewing.

Note that brewing continued unabated in the background.

Dependencies

After wondering why formula dependencies were not getting installed, I just not realized the "deps" method is not hooked up any where. And that the BinaryDep and LibraryDep classes don't even exist yet!

Is this feature planned? If not, I'd be willing to do the work to get it started.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.