Skip to content

Instantly share code, notes, and snippets.

@NelsonMinar
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NelsonMinar/11219137 to your computer and use it in GitHub Desktop.
Save NelsonMinar/11219137 to your computer and use it in GitHub Desktop.
homebrew bug installing mg
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c autoexec.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c basic.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c bell.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c buffer.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c cinfo.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c dir.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c display.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c echo.c
In file included from dir.c:14:
./def.h:16:17:In file included from In file included from echo.c: In file included from bell.c12::
14:
basic.c./def.h::In file included from ./def.h:fatal error1614:1617:: 17In file included from : :
fatal error:In file included from : cinfo.cIn file included from buffer.cfatal error:: 'clens.h' file not found:./def.h12autoexec.c:
9display.c:
:
:./def.h'clens.h' file not found:'clens.h' file not found16
:
17: 16::13:
fatal error: 517: fatal error'clens.h' file not found:
'clens.h' file not found
:
./def.h:16:17: fatal error: ./def.h:16:'clens.h' file not found./def.h17: fatal error:
:16:17: fatal error: 'clens.h' file not found
'clens.h' file not found
#include <clens.h>
^
#include <clens.h>
^
#include <clens.h>
^
#include <clens.h>
^
#include <clens.h>
^
#include <clens.h>
^
#include <clens.h>
^
#include <clens.h>
^
11 error generated.
error generated.
1 error generated.
1 error generated.
1 error generated.
make: *** [dir.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [cinfo.o] Error 1
make: *** [bell.o] Error 1
make: *** [autoexec.o] Error 1
make: *** [basic.o] Error 1
1 error generated.
make: *** [buffer.o] Error 1
1 error generated.
make: *** [display.o] Error 1
1 error generated.
make: *** [echo.o] Error 1
HOMEBREW_VERSION: 0.9.5
HEAD: 9b71b75b62f5c9b0acd41bfc1cc0899fa5cfd887
HOMEBREW_PREFIX: /usr/homebrew2
CPU: 8-core 64-bit sandybridge
OS X: 10.9.2-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
X11: 2.7.5 => /opt/X11
gcc called with: -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c bell.c
superenv removed: -O2 -g -Wall -Werror
superenv added: -w -Os -march=native -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -pipe -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c bell.c -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c buffer.c
superenv removed: -O2 -g -Wall -Werror
superenv added: -w -Os -march=native -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -pipe -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c buffer.c -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c cinfo.c
superenv removed: -O2 -g -Wall -Werror
superenv added: -w -Os -march=native -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -pipe -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c cinfo.c -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c dir.c
superenv removed: -O2 -g -Wall -Werror
superenv added: -w -Os -march=native -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -pipe -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c dir.c -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c autoexec.c
superenv removed: -O2 -g -Wall -Werror
superenv added: -w -Os -march=native -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -pipe -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c autoexec.c -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c display.c
superenv removed: -O2 -g -Wall -Werror
superenv added: -w -Os -march=native -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -pipe -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c display.c -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c basic.c
superenv removed: -O2 -g -Wall -Werror
superenv added: -w -Os -march=native -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -pipe -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c basic.c -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
gcc called with: -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c echo.c
superenv removed: -O2 -g -Wall -Werror
superenv added: -w -Os -march=native -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -pipe -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c echo.c -isystem/usr/homebrew2/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 9b71b75b62f5c9b0acd41bfc1cc0899fa5cfd887
HOMEBREW_PREFIX: /usr/homebrew2
HOMEBREW_CELLAR: /usr/homebrew2/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.9.2-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
Clang: 5.1 build 503
X11: 2.7.5 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/homebrew2/bin/python => /usr/homebrew2/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby
Warning: /Library/Frameworks/Mono.framework detected
This can be picked up by CMake's build system and likely cause the build to
fail. You may need to move this file out of the way to compile CMake.
Warning: Your Homebrew is not installed to /usr/local
You can install Homebrew anywhere you want, but some brews may only build
correctly if you install in /usr/local. Sorry!
$ brew info clens
clens: stable 0.7.0
https://opensource.conformal.com/wiki/clens
/usr/homebrew2/Cellar/clens/0.7.0 (7 files, 96K) *
Built from source
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/clens.rb
$ ls -l Cellar/clens/0.7.0/include/clens/clens.h include/clens/
-rw-r--r-- 1 nelson wheel 4526 Apr 23 07:59 Cellar/clens/0.7.0/include/clens/clens.h
include/clens/:
total 40
-rw-r--r-- 1 nelson wheel 4526 Apr 23 07:59 clens.h
-rw-r--r-- 1 nelson wheel 4135 Apr 23 07:59 glob.h
-rw-r--r-- 1 nelson wheel 1709 Apr 23 07:59 readpassphrase.h
drwxr-xr-x 4 nelson wheel 136 Apr 23 07:59 sys/
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c autoexec.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c basic.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c bell.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c buffer.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c cinfo.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c dir.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c display.c
gcc -O2 -pipe -g -Wall -Werror -Wno-error=unused-but-set-variable -Wno-error=maybe-uninitialized -DFKEYS -DREGEX -DXKEYS -I/usr/local/include/clens -Wno-strict-aliasing -c echo.c
In file included from echo.c:12:
./def.h:16:17: fatal error: In file included from 'clens.h' file not found
dir.c:14:
./def.h:16:17In file included from : fatal error: 'clens.h' file not found
In file included from basic.c:In file included from cinfo.c:12#include <clens.h>:
autoexec.c:./def.h5::
16:14./def.h:
17 ^:
fatal error: :16:'clens.h' file not found./def.hIn file included from In file included from #include <clens.h>
:17
16bell.c ^display.c::14:
::17:13 :
fatal error : fatal error: ./def.h:'clens.h' file not found'clens.h' file not found
./def.h:16:17:#include <clens.h>
fatal error: ^
'clens.h' file not found
In file included from buffer.c:9:
#include <clens.h>
./def.h: ^
16:17: fatal error#include <clens.h>
^
#include <clens.h>
^
16:17: fatal error: 'clens.h' file not found
#include <clens.h>
^
: 'clens.h' file not found
#include <clens.h>
^
1 error generated.
1 error generated.
1 error generated.
1 error generated.
make: *** [bell.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [cinfo.o] Error 1
make: *** [dir.o] Error 1
make: *** [autoexec.o] Error 1
1 error generated.
make: *** [basic.o] Error 1
1 error generated.
1 error generated.
make: *** [echo.o] Error 1
make: *** [buffer.o] Error 1
1 error generated.
make: *** [display.o] Error 1
HOMEBREW_VERSION: 0.9.5
HEAD: 9c37fb969b2f6c5a998bdfed3de9efdb83aacfc6
HOMEBREW_PREFIX: /usr/homebrew2
CPU: 8-core 64-bit sandybridge
OS X: 10.9.2-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
X11: 2.7.5 => /opt/X11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment