Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

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

Closed
topfunky opened this issue Aug 3, 2009 · 7 comments
Closed

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

topfunky opened this issue Aug 3, 2009 · 7 comments

Comments

@topfunky
Copy link

topfunky commented Aug 3, 2009

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.

@adamv
Copy link
Contributor

adamv commented Aug 3, 2009

Looks like hw_model() is compiling to (a possibly non-existent) HOMEBREW_CACHE before Formula.brew creates the location for storing downloads.

@mxcl
Copy link
Contributor

mxcl commented Aug 3, 2009

Aah whoops. Fix on the way, thanks topfunky and adamv.

@mxcl
Copy link
Contributor

mxcl commented Aug 3, 2009

I need to add a test for "fresh checkout" to the testing suite.

@mxcl
Copy link
Contributor

mxcl commented Aug 3, 2009

FIX brew install before Cache has yet been created

Closed by 4f57f85

Cache directory is created when downloading tarballs, but the new
hw.model stuff compiles the hw.model.c file there.

Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Sep 19, 2011
Closes Homebrew#7

Cache directory is created when downloading tarballs, but the new
hw.model stuff compiles the hw.model.c file there.
Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Sep 19, 2011
In future, this will hopefully prevent regressions like issue Homebrew#7.
@schlamar
Copy link

Same error when doing a brew pull before installing any formula.

@Sharpie
Copy link
Contributor

Sharpie commented Oct 11, 2011

@ms4py

You may want to open a new issue. Comments on old closed issues tend to get lost in the mists of time unless someone happens to glance at the notification stream before the post message gets buried.

@schlamar
Copy link

see #8071

@ghost ghost mentioned this issue Nov 12, 2011
etehtsea pushed a commit to etehtsea/homebrew that referenced this issue Dec 27, 2011
Closes Homebrew#7

Cache directory is created when downloading tarballs, but the new
hw.model stuff compiles the hw.model.c file there.
etehtsea pushed a commit to etehtsea/homebrew that referenced this issue Dec 27, 2011
In future, this will hopefully prevent regressions like issue Homebrew#7.
etehtsea pushed a commit to etehtsea/homebrew that referenced this issue Jan 12, 2012
Closes Homebrew#7

Cache directory is created when downloading tarballs, but the new
hw.model stuff compiles the hw.model.c file there.
etehtsea pushed a commit to etehtsea/homebrew that referenced this issue Jan 12, 2012
In future, this will hopefully prevent regressions like issue Homebrew#7.
samueljohn pushed a commit to samueljohn/homebrew that referenced this issue Oct 10, 2012
Fixes Homebrew#7.

Signed-off-by: Jack Nagel <[email protected]>
samueljohn pushed a commit to samueljohn/homebrew that referenced this issue Oct 10, 2012
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
Closes Homebrew#7

Cache directory is created when downloading tarballs, but the new
hw.model stuff compiles the hw.model.c file there.
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
In future, this will hopefully prevent regressions like issue Homebrew#7.
traymond pushed a commit to traymond/homebrew that referenced this issue Jul 22, 2014
mistydemeo pushed a commit that referenced this issue Nov 20, 2015
Closes #7.

Signed-off-by: Jack Nagel <[email protected]>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants