Skip to content

Instantly share code, notes, and snippets.

@regcl
Created November 19, 2012 02:33
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 regcl/4108673 to your computer and use it in GitHub Desktop.
Save regcl/4108673 to your computer and use it in GitHub Desktop.
nu failed to build on 10.8.2
hobo:~ $ hobo:~ $ brew update
Already up-to-date.
hobo:~ $ brew doctor
Your system is raring to brew.
hobo:~ $ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install nu
==> Downloading http://programming.nu/releases/Nu-2.0.1.tgz
Already downloaded: /Library/Caches/Homebrew/nu-2.0.1.tgz
/usr/bin/tar xf /Library/Caches/Homebrew/nu-2.0.1.tgz
==> make
make
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
/usr/bin/clang -g -Wall -DMININUSH -DMACOSX -DDARWIN -fobjc-exceptions -I/usr/include/ffi -I./include -c objc/Nu.m -o objc/Nu.o
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
objc/Nu.m:636:88: warning: format specifies type 'int' but the argument has type
'NSUInteger' (aka 'unsigned long') [-Wformat]
...number of arguments to block. Received %d but expected %d or more: %@",
~^
%ld
objc/Nu.m:636:104: warning: format specifies type 'int' but the argument has type
'unsigned long' [-Wformat]
...number of arguments to block. Received %d but expected %d or more: %@",
~^
%ld
objc/Nu.m:644:84: warning: format specifies type 'int' but the argument has type
'NSUInteger' (aka 'unsigned long') [-Wformat]
...number of arguments to block. Received %d but expected %d: %@",
~^
%ld
objc/Nu.m:644:100: warning: format specifies type 'int' but the argument has type
'NSUInteger' (aka 'unsigned long') [-Wformat]
...number of arguments to block. Received %d but expected %d: %@",
~^
%ld
objc/Nu.m:740:81: warning: format specifies type 'int' but the argument has type
'NSUInteger' (aka 'unsigned long') [-Wformat]
format:@"Incorrect number of arguments to method. Received %d ...
~^
%ld
objc/Nu.m:740:97: warning: format specifies type 'int' but the argument has type
'NSUInteger' (aka 'unsigned long') [-Wformat]
...number of arguments to method. Received %d but expected %d, %@",
~^
%ld
objc/Nu.m:1681:86: warning: format specifies type 'int' but the argument has type
'NSUInteger' (aka 'unsigned long') [-Wformat]
...number of arguments to selector %s. Received %d but expected %d",
~^
%ld
objc/Nu.m:1681:102: warning: format specifies type 'int' but the argument has type
'NSUInteger' (aka 'unsigned long') [-Wformat]
...number of arguments to selector %s. Received %d but expected %d",
~^
%ld
objc/Nu.m:3126:40: warning: sending 'NuSymbol *' to parameter of incompatible type
'id<NSCopying>'
...forKey:[[NuSymbolTable sharedSymbolTable] symbolWithString:@"_expression"]];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:88:55: note:
passing argument to parameter 'aKey' here
- (void)setObject:(id)anObject forKey:(id <NSCopying>)aKey;
^
objc/Nu.m:6220:46: warning: format specifies type 'unsigned int' but the argument has
type 'long' [-Wformat]
...stringWithFormat:@"<%s:%x>", class_getName(object_getClass(self)), (long) self...
~^ ~~~~~~~~~~~
%lx
objc/Nu.m:9924:37: warning: sending 'NuSymbol *' to parameter of incompatible type
'id<NSCopying>'
[context setObject:value forKey:[symbolTable symbolWithString:string]];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h:88:55: note:
passing argument to parameter 'aKey' here
- (void)setObject:(id)anObject forKey:(id <NSCopying>)aKey;
^
objc/Nu.m:10161:56: warning: format specifies type 'double' but the argument has type
'uint64_t' (aka 'unsigned long long') [-Wformat]
return [NSString stringWithFormat:@"name:%@ start:%f", name, start];
~^ ~~~~~
%llu
12 warnings generated.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
/usr/bin/clang -g -Wall -DMININUSH -DMACOSX -DDARWIN -fobjc-exceptions -I/usr/include/ffi -I./include -c main/main.m -o main/main.o
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
/usr/bin/clang objc/Nu.o main/main.o -g -Wall -DMININUSH -DMACOSX -DDARWIN -o mininush -framework Cocoa -lobjc -lreadline -L/usr/lib -lffi
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
==> ./mininush tools/nuke
./mininush tools/nuke
Using Nukefile with target default.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
nuke: mkdir 'Nu.framework'
nuke: mkdir 'Nu.framework/Versions'
nuke: mkdir 'Nu.framework/Versions/A'
nuke: mkdir 'Nu.framework/Versions/A/Resources'
nuke: cd Nu.framework/Versions; ln -sf A Current
nuke: cd Nu.framework; ln -sf Versions/Current/Headers Headers
nuke: cd Nu.framework; ln -sf Versions/Current/Resources Resources
nuke: cd Nu.framework; ln -sf Versions/Current/Nu Nu
nuke: mkdir 'Nu.framework/Versions/A/Resources/English.lproj'
nuke: cp -R 'share/nu/resources/English.lproj/MainMenu.nib' 'Nu.framework/Versions/A/Resources/English.lproj/'
nuke: cp 'nu/menu.nu' 'Nu.framework/Versions/A/Resources/menu.nu'
nuke: cp 'nu/coredata.nu' 'Nu.framework/Versions/A/Resources/coredata.nu'
nuke: cp 'nu/match.nu' 'Nu.framework/Versions/A/Resources/match.nu'
nuke: cp 'nu/beautify.nu' 'Nu.framework/Versions/A/Resources/beautify.nu'
nuke: cp 'nu/cocoa.nu' 'Nu.framework/Versions/A/Resources/cocoa.nu'
nuke: cp 'nu/generate.nu' 'Nu.framework/Versions/A/Resources/generate.nu'
nuke: cp 'nu/bridgesupport.nu' 'Nu.framework/Versions/A/Resources/bridgesupport.nu'
nuke: cp 'nu/nu.nu' 'Nu.framework/Versions/A/Resources/nu.nu'
nuke: cp 'nu/math.nu' 'Nu.framework/Versions/A/Resources/math.nu'
nuke: cp 'nu/console.nu' 'Nu.framework/Versions/A/Resources/console.nu'
nuke: cp 'nu/help.nu' 'Nu.framework/Versions/A/Resources/help.nu'
nuke: cp 'nu/doc.nu' 'Nu.framework/Versions/A/Resources/doc.nu'
nuke: cp 'nu/test.nu' 'Nu.framework/Versions/A/Resources/test.nu'
nuke: cp 'nu/cblocks.nu' 'Nu.framework/Versions/A/Resources/cblocks.nu'
nuke: cp 'nu/fscript.nu' 'Nu.framework/Versions/A/Resources/fscript.nu'
nuke: cp 'nu/nibtools.nu' 'Nu.framework/Versions/A/Resources/nibtools.nu'
nuke: cp 'nu/template.nu' 'Nu.framework/Versions/A/Resources/template.nu'
nuke: mkdir 'Nu.framework/Versions/A/Headers'
nuke: ()/usr/bin/clang -Wall -g -std=gnu99 -fPIC -g -O2 -DMACOSX -DHAVE_CONFIG_H -fobjc-exceptions -fobjc-gc -arch x86_64 -I/usr/include -I./include -I./include/Nu -I/usr/include/ffi -c -o build/x86_64/Nu.o objc/Nu.m
sh: -c: line 0: syntax error near unexpected token `)'
sh: -c: line 0: `()/usr/bin/clang -Wall -g -std=gnu99 -fPIC -g -O2 -DMACOSX -DHAVE_CONFIG_H -fobjc-exceptions -fobjc-gc -arch x86_64 -I/usr/include -I./include -I./include/Nu -I/usr/include/ffi -c -o build/x86_64/Nu.o objc/Nu.m'
nuke: terminating on command error (return code 2)
==> Configuration
HOMEBREW_VERSION: 0.9.3
HEAD: 9e74caf5b232928897adb98ab417013d5089a0e0
CPU: quad-core 64-bit arrandale
OS X: 10.8.2-x86_64
Xcode: 4.5 (guessed)
CLT: 4.5.0.0.1.1249367152
X11: 2.7.4 => /opt/X11
==> ENV
CC: cc
CXX: c++
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig
HOMEBREW_MAKE_JOBS: 1
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/pcre/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: nu did not build
hobo:~ $ cd ~/Library/Logs/Homebrew/nu
hobo:~/Library/Logs/Homebrew/nu $ ls
hobo:~/Library/Logs/Homebrew/nu $ date
Sun Nov 18 21:24:59 EST 2012
hobo:~/Library/Logs/Homebrew/nu $ exit
exit
Process shell finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment