Skip to content

Instantly share code, notes, and snippets.

@manphiz
Created September 7, 2013 08:28
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 manphiz/6473895 to your computer and use it in GitHub Desktop.
Save manphiz/6473895 to your computer and use it in GitHub Desktop.
Osxfuse build log
$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: bb4f1b35e26d3b1891dc3a214a07a36b49f75fd1
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1365549073
GCC-4.2: build 5666
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
$ brew doctor
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
ghostscript
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:
easy_install
easy_install-2.7
gcov-4.2
Consider setting your PATH so that /usr/local/bin
occurs before /usr/bin. Here is a one-liner:
echo export PATH="/usr/local/bin:$PATH" >> ~/.bash_profile
Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so
echo export PATH="/usr/local/sbin:$PATH" >> ~/.bash_profile
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/osxfuse.rb
==> Reinstalling osxfuse -vd
rm /usr/local/include/osxfuse
rm /usr/local/lib/pkgconfig/osxfuse.pc
rm /usr/local/lib/libosxfuse_i64.dylib
rm /usr/local/lib/libosxfuse_i64.2.dylib
rm /usr/local/lib/libosxfuse_i32.dylib
rm /usr/local/lib/libosxfuse_i32.2.dylib
rm /usr/local/lib/libosxfuse.dylib
rm /usr/local/lib/libosxfuse.2.dylib
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/autoconf.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/automake.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/gettext.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/libtool.rb
/usr/local/Library/Formula/osxfuse.rb: loading /usr/local/Library/Formula/autoconf.rb
/usr/local/Library/Formula/osxfuse.rb: loading /usr/local/Library/Formula/automake.rb
/usr/local/Library/Formula/osxfuse.rb: loading /usr/local/Library/Formula/gettext.rb
/usr/local/Library/Formula/osxfuse.rb: loading /usr/local/Library/Formula/libtool.rb
==> Cloning https://github.com/osxfuse/osxfuse.git
git --git-dir /Library/Caches/Homebrew/osxfuse--git/.git status -s
Updating /Library/Caches/Homebrew/osxfuse--git
git config remote.origin.url https://github.com/osxfuse/osxfuse.git
git config remote.origin.fetch +refs/tags/osxfuse-2.6.1:refs/tags/osxfuse-2.6.1
git --git-dir /Library/Caches/Homebrew/osxfuse--git/.git rev-parse -q --verify osxfuse-2.6.1
git checkout -f osxfuse-2.6.1
HEAD is now at 0a06e13... Bump version to 2.6.1
git reset --hard osxfuse-2.6.1
HEAD is now at 0a06e13 Bump version to 2.6.1
git submodule update --init
==> Checking out tag osxfuse-2.6.1
git checkout-index -a -f --prefix=/private/tmp/osxfuse-xQ98/
git submodule --quiet foreach --recursive git checkout-index -a -f --prefix=/private/tmp/osxfuse-xQ98/$path/
==> ./build.sh -t homebrew -f /usr/local/Cellar/osxfuse/2.6.1
./build.sh -t homebrew -f /usr/local/Cellar/osxfuse/2.6.1
OSXFUSEBuildTool() : supported platforms: 10.7 10.8
OSXFUSEBuildTool() : building OSXFUSE kernel extension and tools
Build settings from command line:
ARCHS = i386 x86_64
GCC_VERSION = com.apple.compilers.llvmgcc42
MACOSX_DEPLOYMENT_TARGET = 10.8
SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
=== BUILD NATIVE TARGET osxfusefs OF PROJECT osxfusefs WITH CONFIGURATION Release ===
Check dependencies
2013-09-07 01:17:38.761 xcodebuild[13481:3d03] error: Error Domain=NSPOSIXErrorDomain Code=2 "Non-zero exit code 71 returned from shell command: /usr/local/Library/ENV/4.3/gcc-4.2 -v -E -dM -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -x c -c /dev/null 2>&1" UserInfo=0x400f90d00 {NSLocalizedDescription=Non-zero exit code 71 returned from shell command: /usr/local/Library/ENV/4.3/gcc-4.2 -v -E -dM -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -x c -c /dev/null 2>&1, NSLocalizedFailureReason=No such file or directory}
2013-09-07 01:17:38.763 xcodebuild[13481:3d03] Warning: Couldn't discover the 'gcc-4.2' compiler's built-in search paths and preprocessor definitions for language dialect 'c'.
Compiler: /usr/local/Library/ENV/4.3/gcc-4.2
Reason: /usr/local/Library/ENV/4.3/gcc-4.2 -v -E -dM -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -x c -c /dev/null 2>&1
Preprocess build/osxfusefs.build/Release/osxfusefs.build/Preprocessed-Info.plist Info.plist
cd /tmp/osxfuse-xQ98/kext
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E -P -x c -Wno-trigraphs Info.plist -F/tmp/osxfuse-xQ98/kext/build/Release -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -o /tmp/osxfuse-xQ98/kext/build/osxfusefs.build/Release/osxfusefs.build/Preprocessed-Info.plist
ProcessInfoPlistFile build/Release/osxfusefs.kext/Contents/Info.plist build/osxfusefs.build/Release/osxfusefs.build/Preprocessed-Info.plist
cd /tmp/osxfuse-xQ98/kext
builtin-infoPlistUtility /tmp/osxfuse-xQ98/kext/build/osxfusefs.build/Release/osxfusefs.build/Preprocessed-Info.plist -expandbuildsettings -platform macosx -o /tmp/osxfuse-xQ98/kext/build/Release/osxfusefs.kext/Contents/Info.plist
CompileC build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_device.o fuse_device.c normal x86_64 c com.apple.compilers.llvmgcc42
cd /tmp/osxfuse-xQ98/kext
setenv LANG en_US.US-ASCII
/usr/local/Library/ENV/4.3/gcc-4.2 -x c -arch x86_64 -fmessage-length=0 -pipe -nostdinc -fno-builtin -Wno-trigraphs -force_cpusubtype_ALL -msoft-float -Os -fno-common -mkernel -finline -fno-keep-inline-functions -Werror -Wmissing-prototypes -Werror-implicit-function-declaration -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wshadow -Wsign-compare -Wnewline-eof -Wshorten-64-to-32 -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -mmacosx-version-min=10.8 -gdwarf-2 -I/tmp/osxfuse-xQ98/kext/build/osxfusefs.build/Release/osxfusefs.build/osxfusefs.hmap -I/tmp/osxfuse-xQ98/kext/build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/tmp/osxfuse-xQ98/kext/build/osxfusefs.build/Release/osxfusefs.build/DerivedSources/x86_64 -I/tmp/osxfuse-xQ98/kext/build/osxfusefs.build/Release/osxfusefs.build/DerivedSources -F/tmp/osxfuse-xQ98/kext/build/Release -DOSXFUSE_ENABLE_MACFUSE_MODE=1 -c /tmp/osxfuse-xQ98/kext/fuse_device.c -o /tmp/osxfuse-xQ98/kext/build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_device.o
2013-09-07 01:18:49.517 xcodebuild[13481:3d03] error: Error Domain=NSPOSIXErrorDomain Code=2 "Non-zero exit code 71 returned from shell command: /usr/local/Library/ENV/4.3/gcc-4.2 -v -E -dM -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -x c -c /dev/null 2>&1" UserInfo=0x401217380 {NSLocalizedDescription=Non-zero exit code 71 returned from shell command: /usr/local/Library/ENV/4.3/gcc-4.2 -v -E -dM -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -x c -c /dev/null 2>&1, NSLocalizedFailureReason=No such file or directory}
2013-09-07 01:18:49.521 xcodebuild[13481:3d03] Warning: Couldn't discover the 'gcc-4.2' compiler's built-in search paths and preprocessor definitions for language dialect 'c'.
Compiler: /usr/local/Library/ENV/4.3/gcc-4.2
Reason: /usr/local/Library/ENV/4.3/gcc-4.2 -v -E -dM -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -x c -c /dev/null 2>&1
/usr/local/Library/ENV/4.3/gcc-4.2:237:in `exec': Argument list too long - xcrun (Errno::E2BIG)
from /usr/local/Library/ENV/4.3/gcc-4.2:237
Command /usr/local/Library/ENV/4.3/gcc-4.2 failed with exit code 1
CompileC build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_file.o fuse_file.c normal x86_64 c com.apple.compilers.llvmgcc42
cd /tmp/osxfuse-xQ98/kext
setenv LANG en_US.US-ASCII
/usr/local/Library/ENV/4.3/gcc-4.2 -x c -arch x86_64 -fmessage-length=0 -pipe -nostdinc -fno-builtin -Wno-trigraphs -force_cpusubtype_ALL -msoft-float -Os -fno-common -mkernel -finline -fno-keep-inline-functions -Werror -Wmissing-prototypes -Werror-implicit-function-declaration -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wshadow -Wsign-compare -Wnewline-eof -Wshorten-64-to-32 -DKERNEL -DKERNEL_PRIVATE -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -mmacosx-version-min=10.8 -gdwarf-2 -I/tmp/osxfuse-xQ98/kext/build/osxfusefs.build/Release/osxfusefs.build/osxfusefs.hmap -I/tmp/osxfuse-xQ98/kext/build/Release/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/System/Library/Frameworks/Kernel.framework/PrivateHeaders -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Kernel.framework/Headers -I/tmp/osxfuse-xQ98/kext/build/osxfusefs.build/Release/osxfusefs.build/DerivedSources/x86_64 -I/tmp/osxfuse-xQ98/kext/build/osxfusefs.build/Release/osxfusefs.build/DerivedSources -F/tmp/osxfuse-xQ98/kext/build/Release -DOSXFUSE_ENABLE_MACFUSE_MODE=1 -c /tmp/osxfuse-xQ98/kext/fuse_file.c -o /tmp/osxfuse-xQ98/kext/build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_file.o
/usr/local/Library/ENV/4.3/gcc-4.2:237:in `exec': Argument list too long - xcrun (Errno::E2BIG)
from /usr/local/Library/ENV/4.3/gcc-4.2:237
** BUILD FAILED **
The following build commands failed:
CompileC build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_device.o fuse_device.c normal x86_64 c com.apple.compilers.llvmgcc42
CompileC build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_file.o fuse_file.c normal x86_64 c com.apple.compilers.llvmgcc42
(2 failures)
OSXFUSEBuildTool() failed: xcodebuild cannot build configuration Release.
==> Cleaning
==> Caveats
In order for FUSE-based filesystems to work, the osxfuse file system bundle
must be installed by the root user:
sudo /bin/cp -RfX /usr/local/Cellar/osxfuse/2.6.1/Library/Filesystems/osxfusefs.fs /Library/Filesystems
sudo chmod +s /Library/Filesystems/osxfusefs.fs/Support/load_osxfusefs
If upgrading from a previous version of osxfuse, the old kernel extension will
need to be unloaded before performing the steps listed above. First, check that
no FUSE-based file systems are running:
mount -t osxfusefs
Unmount all FUSE file systems and then unload the kernel extension:
sudo kextunload -b com.github.osxfuse.filesystems.osxfusefs
==> Finishing up
ln -s ../../Cellar/osxfuse/2.6.1 osxfuse
ln -s ../Cellar/osxfuse/2.6.1 osxfuse
==> Summary
🍺 /usr/local/Cellar/osxfuse/2.6.1: 3 files, 24K, built in 2.1 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment