Changing the subject because your error was with osxfuse.  You don’t know yet 
whether you can build sshfs or not.

> On Jan 5, 2017, at 20:17, Martin Steinhauser <dr.msteinhau...@icloud.com> 
> wrote:
> 
> 
> I have tried to compile sshfs on my Mac (late 2013), latest macOS and are 
> getting the following error messages 
> (yes, I have already updated fink several times and also reduced the number 
> of maximum build jobs to 1.
> 
> I am including everything here:
> 
> 

<snip>

We definitely don’t need _everything_.  In particular, we don’t need to see the 
output from unpacking the source archives.

<skipping ahead to the error>

> CompileC 
> build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_nodehash.o
>  fuse_nodehash.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
>     cd /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c
>     export LANG=en_US.US-ASCII
>     
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
>  -x c -arch x86_64 -fmessage-length=361 -fdiagnostics-show-note-include-stack 
> -fmacro-backtrace-limit=0 -fcolor-diagnostics -nostdinc -fno-builtin 
> -Wno-trigraphs -msoft-float -Os -fno-common -mkernel -Werror 
> -Werror-implicit-function-declaration -Wno-missing-field-initializers 
> -Wmissing-prototypes -Wmissing-braces -Wparentheses -Wswitch 
> -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable 
> -Wunused-value -Wno-empty-body -Wuninitialized -Wunknown-pragmas -Wshadow 
> -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion 
> -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wsign-compare 
> -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -DKERNEL -DKERNEL_PRIVATE 
> -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
>  -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations 
> -mmacosx-version-min=10.12 -g -Wno-sign-conversion -Wno-infinite-recursion 
> -I/sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/osxfusefs.hmap
>  
> -I/sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/Release/include
>  
> -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders
>  
> -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kernel.framework/Headers
>  
> -I/sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/DerivedSources/x86_64
>  
> -I/sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/DerivedSources
>  -F/sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/Release 
> -DOSXFUSE_ENABLE_MACFUSE_MODE=1 -MMD -MT dependencies -MF 
> /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_nodehash.d
>  --serialize-diagnostics 
> /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_nodehash.dia
>  -c /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/fuse_nodehash.c 
> -o 
> /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_nodehash.o
> /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/fuse_nodehash.c:33:11:
>  error: 'LCK_MTX_ASSERT' macro redefined [-Werror,-Wmacro-redefined]
> #  define LCK_MTX_ASSERT lck_mtx_assert
>           ^
> In file included from 
> /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/fuse_nodehash.c:24:
> In file included from 
> /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/fuse_nodehash.h:27:
> In file included from 
> /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/fuse.h:12:
> In file included from 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h:44:
> In file included from 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/system.h:54:
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kernel.framework/Headers/kern/locks.h:193:9:
>  note: previous definition is here
> #define LCK_MTX_ASSERT(lck,type)
>         ^
> 1 error generated.
> 
> CompileC 
> build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_sysctl.o
>  fuse_sysctl.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
>     cd /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c
>     export LANG=en_US.US-ASCII
>     
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
>  -x c -arch x86_64 -fmessage-length=361 -fdiagnostics-show-note-include-stack 
> -fmacro-backtrace-limit=0 -fcolor-diagnostics -nostdinc -fno-builtin 
> -Wno-trigraphs -msoft-float -Os -fno-common -mkernel -Werror 
> -Werror-implicit-function-declaration -Wno-missing-field-initializers 
> -Wmissing-prototypes -Wmissing-braces -Wparentheses -Wswitch 
> -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable 
> -Wunused-value -Wno-empty-body -Wuninitialized -Wunknown-pragmas -Wshadow 
> -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion 
> -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wsign-compare 
> -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -DKERNEL -DKERNEL_PRIVATE 
> -DDRIVER_PRIVATE -DAPPLE -DNeXT -isysroot 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
>  -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations 
> -mmacosx-version-min=10.12 -g -Wno-sign-conversion -Wno-infinite-recursion 
> -I/sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/osxfusefs.hmap
>  
> -I/sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/Release/include
>  
> -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kernel.framework/PrivateHeaders
>  
> -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Kernel.framework/Headers
>  
> -I/sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/DerivedSources/x86_64
>  
> -I/sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/DerivedSources
>  -F/sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/Release 
> -DOSXFUSE_ENABLE_MACFUSE_MODE=1 -MMD -MT dependencies -MF 
> /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_sysctl.d
>  --serialize-diagnostics 
> /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_sysctl.dia
>  -c /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/fuse_sysctl.c -o 
> /sw/src/fink.build/osxfuse-2.7.0-1/osxfuse-kext-122937c/build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_sysctl.o
> 
> ** BUILD FAILED **
> 
> 
> The following build commands failed:
>       CompileC 
> build/osxfusefs.build/Release/osxfusefs.build/Objects-normal/x86_64/fuse_nodehash.o
>  fuse_nodehash.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> ### execution of /tmp/fink.YH36w failed, exit code 65
> ### execution of /tmp/fink.vDUKq failed, exit code 65
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-osxfuse-2.7.0-1
> (Reading database ... 54258 files and directories currently installed.)
> Removing fink-buildlock-osxfuse-2.7.0-1 ...
> Failed: phase compiling: osxfuse-2.7.0-1 failed
> 
> Before reporting any errors, please run "fink selfupdate" and try again.
> Also try using "fink configure" to set your maximum build jobs to 1 and
> attempt to build the package again.
> If you continue to have issues, please check to see if the FAQ on Fink's 
> website solves the problem.  If not, ask on one (not both, please) of
> these mailing lists:
> 
>       The Fink Users List <fink-users@lists.sourceforge.net>
>       The Fink Beginners List <fink-beginn...@lists.sourceforge.net>,
> 
> with a carbon copy to the maintainer:
> 
>       Brendan Cully <f...@brendan.cully.org>
> 
> Note that this is preferable to emailing just the maintainer directly,
> since most fink package maintainers do not have access to all possible
> hardware and software configurations.
> 
> Please try to include the complete error message in your report.  This
> generally consists of a compiler line starting with e.g. "gcc" or "g++"
> followed by the actual error output from the compiler.
> 
> Also include the following system information:
> Package manager version: 0.41.1
> Distribution version: selfupdate-rsync Fri Jan  6 05:10:44 2017, 10.12, x86_64
> Trees: local/main stable/main
> Xcode.app: 8.2.1
> Xcode command-line tools: 8.2.0.0.1.1480973914
> Max. Fink build jobs:  1
> 
> Any ideas what’s going on here? As, truth is, I have no idea what I could do.
> 
> Best regards.
> Martin
> 
> 

It looks like a macro which previously wasn’t defined in the system headers now 
is?  I’m not completely sure.

I do reproduce this on my 10.12/Xcode 8.2 setup.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to