| Age | Commit message (Collapse) | Author |
|
|
|
Entry_#copy_metadata has a nasty bug that makes copying symlinks
across filesystems fail. This lasted all the way through 1.9.3p194
before *finally* being fixed. This backports the official fix.
Fixes Homebrew/homebrew#14710.
|
|
superenv stopped setting LD in
8e4c0a141171666270529da4be026d529d474467, seems sensible to follow
suit in stdenv too.
See Homebrew/homebrew#14943.
Fixes Homebrew/homebrew#15090.
|
|
* MacRuby isn't in homebrew-alt anymore
* Removed the entire npm warning since it's installed with node.js
|
|
Fixes Homebrew/homebrew#15103.
|
|
|
|
|
|
Was broken after superenv PATH modification.
Fixes Homebrew/homebrew#15078.
|
|
All logs are now stored from each command executed in Formula.install.
Error output is truncated to five lines in an attempt to not overwhelm the user and to encourage users to read the error output and report the bug properly. Maybe we can get that figure up from 70% to 90%.
|
|
The Keg constructor was throwing because we were returning a relative path, and the error-handler was just returning a string rather than raising a string.
Worrying because a lot of opts have not been fixed and I thought this was essential for depending on keg-only formula nowadays.
Refs Homebrew/homebrew#15077.
|
|
Since we changed superenv to set a PATH without /usr/local, all deps need to have opt paths.
Fixes Homebrew/homebrew#15077.
|
|
Apparently setting RUBYLIB to '-' causes the library path to be unset. So we need to set our own library path in our scripts.
Fixes Homebrew/homebrew-versions/#47.
|
|
On a broken set up, setting DEVELOPER_DIR can fix builds, provided it is set early enough to impact them.
|
|
Fixes Homebrew/homebrew#14691.
Rewrite in Ruby to facilitate checking PATHs properly.
|
|
Also fix typo in the superenv DEVELOPER_DIR set detection code.
|
|
We add the bins from all deps instead. Rationale: formula find and use eg. GNU-coreutils versions of things and then break. Only allow formula to use tools that they depend on and expect.
I want to go further and only add include paths etc. for dependencies, I have done some work on this, but I fear it may be impossible. If an include path is eg. /usr/local/lib/foo/include, is it possible to know if this path is bad? Not always AFAICT.
|
|
In cases where the xcode-select -print-path is '/' xcrun still hangs indefinitely, setting DEVELOPER_DIR to something (preferably the Xcode path) fixes that. So let's.
|
|
|
|
-g sets up git repo. -f forces even if already there. I found these useful.
|
|
|
|
Because we mess with the return value from [] in superenv due to many formula assuming CFLAGS etc. would not be nil.
|
|
Some compile issue will no doubt elapse, but we can address these on a case-by-case basis.
Refs Homebrew/homebrew#14943.
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
/cc @jwheare
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Output JSON with the --json=v1 option. Output is in an array, and
supports one or more formulae (or all, with the --all option).
Why 'v1'? The format is unstable, presumably we'll deprecate it
someday. It should be solid by Homebrew 1.0.
Closes Homebrew/homebrew#13299.
|
|
Used by brew info; may be used by other commands in the future.
|
|
It looks like there can be harmless stuff leftover in
/Developer/Library, even after Xcode uninstalls older versions. The
existence of the uninstall-developer-folder script should be a better
indicator.
Fixes Homebrew/homebrew#14970.
|
|
`brew linkapps` was creating `MacVim` on the first run, then
`MacVim alias` on the second run.
Closes Homebrew/homebrew#14955.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Rescuing false on the StandardCompilers map meant that the doctor
check assumed that the compilers were incorrect, not merely
unknown.
Instead, skip the check and return nil for unknown Xcode; nil
should be interpreted as "dunno", instead of "true" or "false",
and the doctor check no longer prints on nil.
|
|
We now have several reports of compiler versions for the GM,
e.g. Homebrew/homebrew#14944.
|
|
Oops.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes Homebrew/homebrew#14654.
|
|
build-tool provided args must be considered first by cc, etc. Generally this already occurred for -I flags, because most of our -I flags were -isystem. However it didn't occur for keg-only flags and -L paths.
This was an error.
I amended the refurbishment code to ensure any paths we want to control the order of are thoroughly scrubbed out of the build-tool provided args. This ensures reliability for our builds.
However this path-scrubbing should always occur, even during configure (I am fairly sure of this). So more work is required.
Fixes Homebrew/homebrew#14781.
|
|
The usual xcrun would, and this wrapper exists to also work around broken xcode-select paths.
|
|
Build rb should only build!
|
|
Because it builds a tool (cabal) that uses the same env that built it to build stuff.
|
|
Fixes Homebrew/homebrew#14780.
|
|
We can't really execute c89/99 explicitly as these POSIX compliant tools support very few args. Best to execute clang or gcc with the --std=cx9 argument appended.
Fixes Homebrew/homebrew#14724.
|
|
bsdmake used to be keg-only, so some users still have it unlinked (presumably they never run brew-doctor). Even though there is code to abort if dependencies are unlinked, it appears broken for this case. So let's just be thorough anyway.
Closes Homebrew/homebrew#14751.
|
|
|
|
/Developer/Library shouldn't exist if all the remnants of old
Xcode versions have been uninstalled, and tends to cause problems if
it's kept alongside modern Xcode.
"uninstall-developer-folder" should only remove /Developer/Library.
|
|
Sublime Text's subl tool supports lovely project views just the same
as TextMate. Since I use Sublime, I want good support from `brew
edit` too. :P
|
|
|
|
|
|
Fixes Homebrew/homebrew#14701. Stupid mistake.
|