Skip to content

Instantly share code, notes, and snippets.

@eddarmitage
Created March 21, 2012 16:10
Show Gist options
  • Save eddarmitage/2149107 to your computer and use it in GitHub Desktop.
Save eddarmitage/2149107 to your computer and use it in GitHub Desktop.
brew update error installing qrupdate
==> Downloading http://downloads.sourceforge.net/qrupdate/qrupdate-1.1.1.tar.gz
Already downloaded: /Users/Edd/Library/Caches/Homebrew/qrupdate-1.1.1.tar.gz
/usr/bin/tar xf /Users/Edd/Library/Caches/Homebrew/qrupdate-1.1.1.tar.gz
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> make -j 1 install
make -j 1 install
/usr/local/bin/gfortran -Os -w -pipe -march=native -Qunused-arguments -fPIC -c caxcpy.f
caxcpy.f:0: error: bad value (native) for -march= switch
caxcpy.f:0: error: bad value (native) for -mtune= switch
make: *** [caxcpy.o] Error 1
==> Exit Status: 2
https://github.com/mxcl/master/blob/master/Library/Formula/qrupdate.rb#L25
==> Build Environment
CPU: dual-core 64-bit core2
MacOS: 10.7.3-i386
Xcode: 4.3.1
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
MAKEFLAGS: -j2
Error: Failed executing: make -j 1 install (qrupdate.rb:25)
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment