Skip to content

Instantly share code, notes, and snippets.

@barttenbrinke
Created June 18, 2012 14:25
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 barttenbrinke/2948629 to your computer and use it in GitHub Desktop.
Save barttenbrinke/2948629 to your computer and use it in GitHub Desktop.
brew install -v fuse4x-kext fails with "pathname contains \0:" on OSX Lion
server:~ $ brew install -v fuse4x-kext
sh: line 1: 9774 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null
sh: line 1: 9776 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null
sh: line 1: 9785 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null
==> Downloading https://github.com/fuse4x/kext/tarball/fuse4x_0_9_1
Already downloaded: /Library/Caches/Homebrew/fuse4x-kext-0.9.1.tgz
/usr/bin/tar xf /Library/Caches/Homebrew/fuse4x-kext-0.9.1.tgz
==> /usr/bin/xcodebuild -sdk macosx10.7 -configuration Release -alltargets MACOSX_DEPLOYMENT_TARGET=10.7 SYMROOT=build ARCHS=i386 x86_64 ONLY_ACTIVE_ARCH=NO
/usr/bin/xcodebuild -sdk macosx10.7 -configuration Release -alltargets MACOSX_DEPLOYMENT_TARGET=10.7 SYMROOT=build ARCHS=i386 x86_64 ONLY_ACTIVE_ARCH=NO
2012-06-18 16:20:54.112 xcodebuild[9799:80b] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTFoundation/DVTFoundation-1193/Framework/Classes/DeveloperStructure/DVTDeveloperPaths.m:147
Details: _developerFolderPath(): Bundle not found for bundle identifier com.apple.dt.DVTFoundation;
Object: <IDEDeveloperPaths: 0x400113680>
Method: -_developerFolderPath
Thread: <NSThread: 0x40010a1a0>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x00000001011a27df -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DVTFoundation)
1 0x00000001011a2635 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x0000000101126b6e -[DVTDeveloperPaths _developerFolderPath] (in DVTFoundation)
3 0x0000000101126905 -[DVTDeveloperPaths init] (in DVTFoundation)
4 0x00000001011c92c1 __33+[DVTDeveloperPaths defaultPaths]_block_invoke_0 (in DVTFoundation)
5 0x00007fff94ec9224 dispatch_once_f (in libdispatch.dylib)
6 0x00000001011268b4 +[DVTDeveloperPaths defaultPaths] (in DVTFoundation)
7 0x000000010152ba6f _IDEInitializeCrashTracerInfo (in IDEFoundation)
8 0x000000010152bcba IDEInitialize (in IDEFoundation)
9 0x00000001017efd85 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
10 0x000000010111bdb6 (in xcodebuild)
11 0x000000010111bc2c (in xcodebuild)
==> Exit Status:
https://github.com/mxcl/master/blob/master/Library/Formula/fuse4x-kext.rb#L36
==> Build Environment
HOMEBREW_PREFIX: /Users/admin/homebrew
CPU: 24-core 64-bit arrandale
MacOS: 10.7.3-x86_64
sh: line 1: 9807 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null
Xcode: 4.3.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4
CXXFLAGS: -Os -w -pipe -march=core2 -msse4
CPPFLAGS: -isystem /Users/admin/homebrew/include
LDFLAGS: -L/Users/admin/homebrew/lib
MAKEFLAGS: -j24
Error: Failed executing: /usr/bin/xcodebuild -sdk macosx10.7 -configuration Release -alltargets MACOSX_DEPLOYMENT_TARGET=10.7 SYMROOT=build ARCHS=i386\ x86_64 ONLY_ACTIVE_ARCH=NO (fuse4x-kext.rb:36)
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
server:~ $ brew doctor
sh: line 1: 9825 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null
Error: pathname contains \0: "\000\000\000\000\000\000\000\000\017\020t\371\001\000v\371\001\000x\371\001\000|\371\001\000~\371\001\000\200\371\001\000\202\371\001\000\204\371\001\000\206\371"
Please report this bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:208:in `initialize'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:816:in `new'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:816:in `readlink'
/Users/admin/homebrew/Library/Homebrew/cmd/doctor.rb:197:in `check_for_broken_symlinks'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:1017:in `find'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/find.rb:39:in `find'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/find.rb:38:in `catch'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/find.rb:38:in `find'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:1017:in `find'
/Users/admin/homebrew/Library/Homebrew/cmd/doctor.rb:196:in `check_for_broken_symlinks'
/Users/admin/homebrew/Library/Homebrew/cmd/doctor.rb:193:in `each'
/Users/admin/homebrew/Library/Homebrew/cmd/doctor.rb:193:in `check_for_broken_symlinks'
/Users/admin/homebrew/Library/Homebrew/cmd/doctor.rb:916:in `send'
/Users/admin/homebrew/Library/Homebrew/cmd/doctor.rb:916:in `doctor'
/Users/admin/homebrew/Library/Homebrew/cmd/doctor.rb:915:in `each'
/Users/admin/homebrew/Library/Homebrew/cmd/doctor.rb:915:in `doctor'
/Users/admin/homebrew/bin/brew:83:in `send'
/Users/admin/homebrew/bin/brew:83
server:~ $ brew --config
sh: line 1: 9851 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null
HOMEBREW_VERSION: 0.9
HEAD: b597ac01c6084b82fcf1a6b0594d87fc89908a92
HOMEBREW_PREFIX: /Users/admin/homebrew
HOMEBREW_CELLAR: /Users/admin/homebrew/Cellar
CPU: 24-core 64-bit arrandale
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.3.2
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1 build 163
MacPorts or Fink? false
X11: /usr/X11
System Ruby: 1.8.7-249
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /Users/admin/.rbenv/shims/ruby
server:~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment