The system is: Linux - 2.6.32-573.12.1.el6.x86_64 - x86_64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: /usr/bin/gcc Build flags: -L/usr/local/python/python-2.7/lib Id flags: The output was: 0 Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is GNU, found in "/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/2.8.12.2/CompilerIdC/a.out" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: /usr/bin/g++ Build flags: Id flags: The output was: 0 Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" The CXX compiler identification is GNU, found in "/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/2.8.12.2/CompilerIdCXX/a.out" Determining if the C compiler works passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1006011870/fast" gmake -f CMakeFiles/cmTryCompileExec1006011870.dir/build.make CMakeFiles/cmTryCompileExec1006011870.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1006011870.dir/testCCompiler.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1006011870.dir/testCCompiler.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/testCCompiler.c Linking C executable cmTryCompileExec1006011870 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1006011870.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1006011870.dir/testCCompiler.c.o -o cmTryCompileExec1006011870 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Detecting C compiler ABI info compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1040516793/fast" gmake -f CMakeFiles/cmTryCompileExec1040516793.dir/build.make CMakeFiles/cmTryCompileExec1040516793.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1040516793.dir/CMakeCCompilerABI.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1040516793.dir/CMakeCCompilerABI.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CMakeCCompilerABI.c Linking C executable cmTryCompileExec1040516793 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1040516793.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -v CMakeFiles/cmTryCompileExec1040516793.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec1040516793 -rdynamic Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-L/usr/local/python/python-2.7/lib' '-v' '-o' 'cmTryCompileExec1040516793' '-rdynamic' '-mtune=generic' /usr/libexec/gcc/x86_64-redhat-linux/4.4.7/collect2 --eh-frame-hdr --build-id -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec1040516793 /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbegin.o -L/usr/local/python/python-2.7/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. CMakeFiles/cmTryCompileExec1040516793.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crtn.o gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Parsed C implicit link information from above output: link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:/usr/bin/gmake "cmTryCompileExec1040516793/fast"] ignore line: [gmake -f CMakeFiles/cmTryCompileExec1040516793.dir/build.make CMakeFiles/cmTryCompileExec1040516793.dir/build] ignore line: [gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp'] ignore line: [/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1] ignore line: [Building C object CMakeFiles/cmTryCompileExec1040516793.dir/CMakeCCompilerABI.c.o] ignore line: [/usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1040516793.dir/CMakeCCompilerABI.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CMakeCCompilerABI.c] ignore line: [Linking C executable cmTryCompileExec1040516793] ignore line: [/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1040516793.dir/link.txt --verbose=1] ignore line: [/usr/bin/gcc -L/usr/local/python/python-2.7/lib -v CMakeFiles/cmTryCompileExec1040516793.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec1040516793 -rdynamic ] ignore line: [Using built-in specs.] ignore line: [Target: x86_64-redhat-linux] ignore line: [Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux] ignore line: [Thread model: posix] ignore line: [gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ] ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-L/usr/local/python/python-2.7/lib' '-v' '-o' 'cmTryCompileExec1040516793' '-rdynamic' '-mtune=generic'] link line: [ /usr/libexec/gcc/x86_64-redhat-linux/4.4.7/collect2 --eh-frame-hdr --build-id -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec1040516793 /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbegin.o -L/usr/local/python/python-2.7/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. CMakeFiles/cmTryCompileExec1040516793.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crtn.o] arg [/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/collect2] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [--build-id] ==> ignore arg [-m] ==> ignore arg [elf_x86_64] ==> ignore arg [--hash-style=gnu] ==> ignore arg [-export-dynamic] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib64/ld-linux-x86-64.so.2] ==> ignore arg [-o] ==> ignore arg [cmTryCompileExec1040516793] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbegin.o] ==> ignore arg [-L/usr/local/python/python-2.7/lib] ==> dir [/usr/local/python/python-2.7/lib] arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.4.7] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.4.7] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64] arg [-L/lib/../lib64] ==> dir [/lib/../lib64] arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../..] arg [CMakeFiles/cmTryCompileExec1040516793.dir/CMakeCCompilerABI.c.o] ==> ignore arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [-lc] ==> lib [c] arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtend.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crtn.o] ==> ignore remove lib [gcc] remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] collapse library dir [/usr/local/python/python-2.7/lib] ==> [/usr/local/python/python-2.7/lib] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] ==> [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] ==> [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64] ==> [/usr/lib64] collapse library dir [/lib/../lib64] ==> [/lib64] collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../..] ==> [/usr/lib] implicit libs: [c] implicit dirs: [/usr/local/python/python-2.7/lib;/usr/lib/gcc/x86_64-redhat-linux/4.4.7;/usr/lib64;/lib64;/usr/lib] implicit fwks: [] Determining if the CXX compiler works passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3160233866/fast" gmake -f CMakeFiles/cmTryCompileExec3160233866.dir/build.make CMakeFiles/cmTryCompileExec3160233866.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec3160233866.dir/testCXXCompiler.cxx.o /usr/bin/g++ -o CMakeFiles/cmTryCompileExec3160233866.dir/testCXXCompiler.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTryCompileExec3160233866 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3160233866.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec3160233866.dir/testCXXCompiler.cxx.o -o cmTryCompileExec3160233866 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Detecting CXX compiler ABI info compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec925402786/fast" gmake -f CMakeFiles/cmTryCompileExec925402786.dir/build.make CMakeFiles/cmTryCompileExec925402786.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec925402786.dir/CMakeCXXCompilerABI.cpp.o /usr/bin/g++ -o CMakeFiles/cmTryCompileExec925402786.dir/CMakeCXXCompilerABI.cpp.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CMakeCXXCompilerABI.cpp Linking CXX executable cmTryCompileExec925402786 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec925402786.dir/link.txt --verbose=1 /usr/bin/g++ -v CMakeFiles/cmTryCompileExec925402786.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec925402786 -rdynamic Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec925402786' '-rdynamic' '-shared-libgcc' '-mtune=generic' /usr/libexec/gcc/x86_64-redhat-linux/4.4.7/collect2 --eh-frame-hdr --build-id -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec925402786 /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. CMakeFiles/cmTryCompileExec925402786.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crtn.o gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Parsed CXX implicit link information from above output: link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command:/usr/bin/gmake "cmTryCompileExec925402786/fast"] ignore line: [gmake -f CMakeFiles/cmTryCompileExec925402786.dir/build.make CMakeFiles/cmTryCompileExec925402786.dir/build] ignore line: [gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp'] ignore line: [/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1] ignore line: [Building CXX object CMakeFiles/cmTryCompileExec925402786.dir/CMakeCXXCompilerABI.cpp.o] ignore line: [/usr/bin/g++ -o CMakeFiles/cmTryCompileExec925402786.dir/CMakeCXXCompilerABI.cpp.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CMakeCXXCompilerABI.cpp] ignore line: [Linking CXX executable cmTryCompileExec925402786] ignore line: [/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec925402786.dir/link.txt --verbose=1] ignore line: [/usr/bin/g++ -v CMakeFiles/cmTryCompileExec925402786.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec925402786 -rdynamic ] ignore line: [Using built-in specs.] ignore line: [Target: x86_64-redhat-linux] ignore line: [Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux] ignore line: [Thread model: posix] ignore line: [gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ] ignore line: [COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/] ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../:/lib/:/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec925402786' '-rdynamic' '-shared-libgcc' '-mtune=generic'] link line: [ /usr/libexec/gcc/x86_64-redhat-linux/4.4.7/collect2 --eh-frame-hdr --build-id -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec925402786 /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../.. CMakeFiles/cmTryCompileExec925402786.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crtn.o] arg [/usr/libexec/gcc/x86_64-redhat-linux/4.4.7/collect2] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [--build-id] ==> ignore arg [-m] ==> ignore arg [elf_x86_64] ==> ignore arg [--hash-style=gnu] ==> ignore arg [-export-dynamic] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib64/ld-linux-x86-64.so.2] ==> ignore arg [-o] ==> ignore arg [cmTryCompileExec925402786] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crt1.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crti.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtbegin.o] ==> ignore arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.4.7] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.4.7] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64] arg [-L/lib/../lib64] ==> dir [/lib/../lib64] arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] arg [-L/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../..] arg [CMakeFiles/cmTryCompileExec925402786.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore arg [-lstdc++] ==> lib [stdc++] arg [-lm] ==> lib [m] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [-lc] ==> lib [c] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] arg [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/crtend.o] ==> ignore arg [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/crtn.o] ==> ignore remove lib [gcc_s] remove lib [gcc] remove lib [gcc_s] remove lib [gcc] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] ==> [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] ==> [/usr/lib/gcc/x86_64-redhat-linux/4.4.7] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64] ==> [/usr/lib64] collapse library dir [/lib/../lib64] ==> [/lib64] collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] collapse library dir [/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../..] ==> [/usr/lib] implicit libs: [stdc++;m;c] implicit dirs: [/usr/lib/gcc/x86_64-redhat-linux/4.4.7;/usr/lib64;/lib64;/usr/lib] implicit fwks: [] Determining if the include file iostream exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2657994963/fast" gmake -f CMakeFiles/cmTryCompileExec2657994963.dir/build.make CMakeFiles/cmTryCompileExec2657994963.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2657994963.dir/CheckIncludeFile.cxx.o /usr/bin/g++ -o CMakeFiles/cmTryCompileExec2657994963.dir/CheckIncludeFile.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx Linking CXX executable cmTryCompileExec2657994963 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2657994963.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec2657994963.dir/CheckIncludeFile.cxx.o -o cmTryCompileExec2657994963 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the CXX compiler has std namespace passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1330502823/fast" gmake -f CMakeFiles/cmTryCompileExec1330502823.dir/build.make CMakeFiles/cmTryCompileExec1330502823.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1330502823.dir/TestForSTDNamespace.cxx.o /usr/bin/g++ -o CMakeFiles/cmTryCompileExec1330502823.dir/TestForSTDNamespace.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/TestForSTDNamespace.cxx Linking CXX executable cmTryCompileExec1330502823 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1330502823.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1330502823.dir/TestForSTDNamespace.cxx.o -o cmTryCompileExec1330502823 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the CXX compiler understands ansi for scopes passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec236449985/fast" gmake -f CMakeFiles/cmTryCompileExec236449985.dir/build.make CMakeFiles/cmTryCompileExec236449985.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec236449985.dir/TestForAnsiForScope.cxx.o /usr/bin/g++ -o CMakeFiles/cmTryCompileExec236449985.dir/TestForAnsiForScope.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/TestForAnsiForScope.cxx Linking CXX executable cmTryCompileExec236449985 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec236449985.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec236449985.dir/TestForAnsiForScope.cxx.o -o cmTryCompileExec236449985 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the CXX compiler has sstream passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec78721330/fast" gmake -f CMakeFiles/cmTryCompileExec78721330.dir/build.make CMakeFiles/cmTryCompileExec78721330.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec78721330.dir/TestForSSTREAM.cxx.o /usr/bin/g++ -o CMakeFiles/cmTryCompileExec78721330.dir/TestForSSTREAM.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/TestForSSTREAM.cxx Linking CXX executable cmTryCompileExec78721330 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec78721330.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec78721330.dir/TestForSSTREAM.cxx.o -o cmTryCompileExec78721330 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the unsetenv exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3770756542/fast" gmake -f CMakeFiles/cmTryCompileExec3770756542.dir/build.make CMakeFiles/cmTryCompileExec3770756542.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3770756542.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3770756542.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3770756542 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3770756542.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3770756542.dir/CheckSymbolExists.c.o -o cmTryCompileExec3770756542 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef unsetenv return ((int*)(&unsetenv))[argc]; #else (void)argc; return 0; #endif } Checking whether header cstdio is available compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2147934435/fast" gmake -f CMakeFiles/cmTryCompileExec2147934435.dir/build.make CMakeFiles/cmTryCompileExec2147934435.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2147934435.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_CSTDIO -o CMakeFiles/cmTryCompileExec2147934435.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec2147934435 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2147934435.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec2147934435.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec2147934435 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking for Large File Support compiled and ran with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1780455791/fast" gmake -f CMakeFiles/cmTryCompileExec1780455791.dir/build.make CMakeFiles/cmTryCompileExec1780455791.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1780455791.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DKWSYS_CXX_HAS_CSTDIO=1 -DTEST_KWSYS_LFS_WORKS -o CMakeFiles/cmTryCompileExec1780455791.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec1780455791 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1780455791.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1780455791.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec1780455791 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether STL classes are in std namespace compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec110578516/fast" gmake -f CMakeFiles/cmTryCompileExec110578516.dir/build.make CMakeFiles/cmTryCompileExec110578516.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec110578516.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_STL_HAVE_STD -o CMakeFiles/cmTryCompileExec110578516.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec110578516 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec110578516.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec110578516.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec110578516 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether ANSI stream headers are available compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec977437131/fast" gmake -f CMakeFiles/cmTryCompileExec977437131.dir/build.make CMakeFiles/cmTryCompileExec977437131.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec977437131.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_IOS_USE_ANSI -o CMakeFiles/cmTryCompileExec977437131.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec977437131 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec977437131.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec977437131.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec977437131 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether ANSI streams are in std namespace compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1244644224/fast" gmake -f CMakeFiles/cmTryCompileExec1244644224.dir/build.make CMakeFiles/cmTryCompileExec1244644224.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1244644224.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_IOS_HAVE_STD -o CMakeFiles/cmTryCompileExec1244644224.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec1244644224 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1244644224.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1244644224.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec1244644224 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether ANSI string stream is available compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2208238801/fast" gmake -f CMakeFiles/cmTryCompileExec2208238801.dir/build.make CMakeFiles/cmTryCompileExec2208238801.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2208238801.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_IOS_USE_SSTREAM -o CMakeFiles/cmTryCompileExec2208238801.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec2208238801 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2208238801.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec2208238801.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec2208238801 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether header cstddef is available compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1362779825/fast" gmake -f CMakeFiles/cmTryCompileExec1362779825.dir/build.make CMakeFiles/cmTryCompileExec1362779825.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1362779825.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_CSTDDEF -o CMakeFiles/cmTryCompileExec1362779825.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec1362779825 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1362779825.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1362779825.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec1362779825 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether stl string has operator!= for char* compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2405099962/fast" gmake -f CMakeFiles/cmTryCompileExec2405099962.dir/build.make CMakeFiles/cmTryCompileExec2405099962.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2405099962.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DKWSYS_STL_HAVE_STD=1 -DTEST_KWSYS_STL_STRING_HAVE_NEQ_CHAR -o CMakeFiles/cmTryCompileExec2405099962.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec2405099962 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2405099962.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec2405099962.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec2405099962 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether stl has iterator_traits compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec909326635/fast" gmake -f CMakeFiles/cmTryCompileExec909326635.dir/build.make CMakeFiles/cmTryCompileExec909326635.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec909326635.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DKWSYS_STL_HAVE_STD=1 -DTEST_KWSYS_STL_HAS_ITERATOR_TRAITS -o CMakeFiles/cmTryCompileExec909326635.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec909326635 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec909326635.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec909326635.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec909326635 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether stl has standard template allocator compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2854600343/fast" gmake -f CMakeFiles/cmTryCompileExec2854600343.dir/build.make CMakeFiles/cmTryCompileExec2854600343.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2854600343.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DKWSYS_STL_HAVE_STD=1 -DTEST_KWSYS_STL_HAS_ALLOCATOR_TEMPLATE -o CMakeFiles/cmTryCompileExec2854600343.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec2854600343 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2854600343.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec2854600343.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec2854600343 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking for rebind member of stl allocator compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3896397326/fast" gmake -f CMakeFiles/cmTryCompileExec3896397326.dir/build.make CMakeFiles/cmTryCompileExec3896397326.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec3896397326.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DKWSYS_STL_HAVE_STD=1 -DTEST_KWSYS_STL_HAS_ALLOCATOR_REBIND -o CMakeFiles/cmTryCompileExec3896397326.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec3896397326 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3896397326.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec3896397326.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec3896397326 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether stl containers support allocator objects. compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3114311001/fast" gmake -f CMakeFiles/cmTryCompileExec3114311001.dir/build.make CMakeFiles/cmTryCompileExec3114311001.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec3114311001.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DKWSYS_STL_HAVE_STD=1 -DTEST_KWSYS_STL_HAS_ALLOCATOR_OBJECTS -o CMakeFiles/cmTryCompileExec3114311001.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec3114311001 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3114311001.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec3114311001.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec3114311001 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether ios has binary openmode compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec869311146/fast" gmake -f CMakeFiles/cmTryCompileExec869311146.dir/build.make CMakeFiles/cmTryCompileExec869311146.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec869311146.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DKWSYS_IOS_HAVE_STD=1 -DKWSYS_IOS_USE_ANSI=1 -DTEST_KWSYS_IOS_HAVE_BINARY -o CMakeFiles/cmTryCompileExec869311146.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec869311146 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec869311146.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec869311146.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec869311146 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking for member template support compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3163736093/fast" gmake -f CMakeFiles/cmTryCompileExec3163736093.dir/build.make CMakeFiles/cmTryCompileExec3163736093.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec3163736093.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_MEMBER_TEMPLATES -o CMakeFiles/cmTryCompileExec3163736093.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec3163736093 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3163736093.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec3163736093.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec3163736093 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking for standard template specialization syntax compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1480047517/fast" gmake -f CMakeFiles/cmTryCompileExec1480047517.dir/build.make CMakeFiles/cmTryCompileExec1480047517.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1480047517.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_FULL_SPECIALIZATION -o CMakeFiles/cmTryCompileExec1480047517.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec1480047517 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1480047517.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1480047517.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec1480047517 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether argument dependent lookup is supported compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4222816892/fast" gmake -f CMakeFiles/cmTryCompileExec4222816892.dir/build.make CMakeFiles/cmTryCompileExec4222816892.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec4222816892.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP -o CMakeFiles/cmTryCompileExec4222816892.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec4222816892 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4222816892.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec4222816892.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec4222816892 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether struct stat has st_mtim member compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2371740795/fast" gmake -f CMakeFiles/cmTryCompileExec2371740795.dir/build.make CMakeFiles/cmTryCompileExec2371740795.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2371740795.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_STAT_HAS_ST_MTIM -o CMakeFiles/cmTryCompileExec2371740795.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec2371740795 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2371740795.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec2371740795.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec2371740795 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether C++ compiler has 'long long' compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3461496586/fast" gmake -f CMakeFiles/cmTryCompileExec3461496586.dir/build.make CMakeFiles/cmTryCompileExec3461496586.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec3461496586.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_LONG_LONG -o CMakeFiles/cmTryCompileExec3461496586.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec3461496586 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3461496586.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec3461496586.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec3461496586 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking for C type size macros compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1742821926/fast" gmake -f CMakeFiles/cmTryCompileExec1742821926.dir/build.make CMakeFiles/cmTryCompileExec1742821926.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1742821926.dir/kwsysPlatformTestsC.c.o /usr/bin/gcc -DTEST_KWSYS_C_TYPE_MACROS -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1742821926.dir/kwsysPlatformTestsC.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsC.c Linking C executable cmTryCompileExec1742821926 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1742821926.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1742821926.dir/kwsysPlatformTestsC.c.o -o cmTryCompileExec1742821926 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Determining if the include file sys/types.h exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec443379232/fast" gmake -f CMakeFiles/cmTryCompileExec443379232.dir/build.make CMakeFiles/cmTryCompileExec443379232.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec443379232.dir/CheckIncludeFile.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec443379232.dir/CheckIncludeFile.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTryCompileExec443379232 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec443379232.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec443379232.dir/CheckIncludeFile.c.o -o cmTryCompileExec443379232 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the include file stdint.h exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4019961121/fast" gmake -f CMakeFiles/cmTryCompileExec4019961121.dir/build.make CMakeFiles/cmTryCompileExec4019961121.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4019961121.dir/CheckIncludeFile.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec4019961121.dir/CheckIncludeFile.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTryCompileExec4019961121 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4019961121.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec4019961121.dir/CheckIncludeFile.c.o -o cmTryCompileExec4019961121 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the include file stddef.h exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1698243980/fast" gmake -f CMakeFiles/cmTryCompileExec1698243980.dir/build.make CMakeFiles/cmTryCompileExec1698243980.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1698243980.dir/CheckIncludeFile.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1698243980.dir/CheckIncludeFile.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTryCompileExec1698243980 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1698243980.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1698243980.dir/CheckIncludeFile.c.o -o cmTryCompileExec1698243980 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of char passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3860619454/fast" gmake -f CMakeFiles/cmTryCompileExec3860619454.dir/build.make CMakeFiles/cmTryCompileExec3860619454.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3860619454.dir/KWSYS_SIZEOF_CHAR.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3860619454.dir/KWSYS_SIZEOF_CHAR.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/KWSYS_SIZEOF_CHAR.c Linking C executable cmTryCompileExec3860619454 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3860619454.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3860619454.dir/KWSYS_SIZEOF_CHAR.c.o -o cmTryCompileExec3860619454 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Checking whether char is signed compiled and ran with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1165972010/fast" gmake -f CMakeFiles/cmTryCompileExec1165972010.dir/build.make CMakeFiles/cmTryCompileExec1165972010.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1165972010.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CHAR_IS_SIGNED -o CMakeFiles/cmTryCompileExec1165972010.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec1165972010 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1165972010.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1165972010.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec1165972010 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking if istream supports long long compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1003615752/fast" gmake -f CMakeFiles/cmTryCompileExec1003615752.dir/build.make CMakeFiles/cmTryCompileExec1003615752.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1003615752.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DKWSYS_IOS_HAVE_STD=1 -DKWSYS_IOS_USE_ANSI=1 -DTEST_KWSYS_IOS_HAS_ISTREAM_LONG_LONG -o CMakeFiles/cmTryCompileExec1003615752.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec1003615752 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1003615752.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1003615752.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec1003615752 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking if ostream supports long long compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2953749829/fast" gmake -f CMakeFiles/cmTryCompileExec2953749829.dir/build.make CMakeFiles/cmTryCompileExec2953749829.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2953749829.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DKWSYS_IOS_HAVE_STD=1 -DKWSYS_IOS_USE_ANSI=1 -DTEST_KWSYS_IOS_HAS_OSTREAM_LONG_LONG -o CMakeFiles/cmTryCompileExec2953749829.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec2953749829 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2953749829.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec2953749829.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec2953749829 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether C compiler has ptrdiff_t in stddef.h compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2777861515/fast" gmake -f CMakeFiles/cmTryCompileExec2777861515.dir/build.make CMakeFiles/cmTryCompileExec2777861515.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2777861515.dir/kwsysPlatformTestsC.c.o /usr/bin/gcc -DTEST_KWSYS_C_HAS_PTRDIFF_T -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2777861515.dir/kwsysPlatformTestsC.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsC.c Linking C executable cmTryCompileExec2777861515 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2777861515.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2777861515.dir/kwsysPlatformTestsC.c.o -o cmTryCompileExec2777861515 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether C compiler has ssize_t in unistd.h compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec150972339/fast" gmake -f CMakeFiles/cmTryCompileExec150972339.dir/build.make CMakeFiles/cmTryCompileExec150972339.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec150972339.dir/kwsysPlatformTestsC.c.o /usr/bin/gcc -DTEST_KWSYS_C_HAS_SSIZE_T -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec150972339.dir/kwsysPlatformTestsC.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsC.c Linking C executable cmTryCompileExec150972339 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec150972339.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec150972339.dir/kwsysPlatformTestsC.c.o -o cmTryCompileExec150972339 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether CXX compiler has setenv compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2032843308/fast" gmake -f CMakeFiles/cmTryCompileExec2032843308.dir/build.make CMakeFiles/cmTryCompileExec2032843308.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2032843308.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_SETENV -o CMakeFiles/cmTryCompileExec2032843308.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec2032843308 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2032843308.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec2032843308.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec2032843308 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether CXX compiler has unsetenv compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec97814121/fast" gmake -f CMakeFiles/cmTryCompileExec97814121.dir/build.make CMakeFiles/cmTryCompileExec97814121.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec97814121.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_UNSETENV -o CMakeFiles/cmTryCompileExec97814121.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec97814121 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec97814121.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec97814121.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec97814121 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether CXX compiler has utimes compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec996237555/fast" gmake -f CMakeFiles/cmTryCompileExec996237555.dir/build.make CMakeFiles/cmTryCompileExec996237555.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec996237555.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_UTIMES -o CMakeFiles/cmTryCompileExec996237555.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec996237555 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec996237555.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec996237555.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec996237555 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether CXX compiler has utimensat compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2167487242/fast" gmake -f CMakeFiles/cmTryCompileExec2167487242.dir/build.make CMakeFiles/cmTryCompileExec2167487242.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2167487242.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_UTIMENSAT -o CMakeFiles/cmTryCompileExec2167487242.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec2167487242 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2167487242.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec2167487242.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec2167487242 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Determining if files sys/types.h;ifaddrs.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec928116863/fast" gmake -f CMakeFiles/cmTryCompileExec928116863.dir/build.make CMakeFiles/cmTryCompileExec928116863.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec928116863.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec928116863.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec928116863 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec928116863.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec928116863.dir/CheckIncludeFiles.c.o -o cmTryCompileExec928116863 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Checking whether CXX compiler has rlimit64 compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3718162088/fast" gmake -f CMakeFiles/cmTryCompileExec3718162088.dir/build.make CMakeFiles/cmTryCompileExec3718162088.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec3718162088.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DKWSYS_HAS_LFS=1 -DTEST_KWSYS_CXX_HAS_RLIMIT64 -o CMakeFiles/cmTryCompileExec3718162088.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec3718162088 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3718162088.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec3718162088.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec3718162088 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether CXX compiler has atol compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec179975471/fast" gmake -f CMakeFiles/cmTryCompileExec179975471.dir/build.make CMakeFiles/cmTryCompileExec179975471.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec179975471.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_ATOL -o CMakeFiles/cmTryCompileExec179975471.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec179975471 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec179975471.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec179975471.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec179975471 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Checking whether CXX compiler has atoll compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1178111235/fast" gmake -f CMakeFiles/cmTryCompileExec1178111235.dir/build.make CMakeFiles/cmTryCompileExec1178111235.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1178111235.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_ATOLL -o CMakeFiles/cmTryCompileExec1178111235.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec1178111235 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1178111235.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1178111235.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec1178111235 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Determining if the include file execinfo.h exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1091341613/fast" gmake -f CMakeFiles/cmTryCompileExec1091341613.dir/build.make CMakeFiles/cmTryCompileExec1091341613.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1091341613.dir/CheckIncludeFile.cxx.o /usr/bin/g++ -o CMakeFiles/cmTryCompileExec1091341613.dir/CheckIncludeFile.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx Linking CXX executable cmTryCompileExec1091341613 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1091341613.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1091341613.dir/CheckIncludeFile.cxx.o -o cmTryCompileExec1091341613 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Checking whether backtrace works with this C++ compiler compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec509133786/fast" gmake -f CMakeFiles/cmTryCompileExec509133786.dir/build.make CMakeFiles/cmTryCompileExec509133786.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec509133786.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_BACKTRACE -o CMakeFiles/cmTryCompileExec509133786.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec509133786 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec509133786.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec509133786.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec509133786 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Determining if the include file dlfcn.h exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2715903398/fast" gmake -f CMakeFiles/cmTryCompileExec2715903398.dir/build.make CMakeFiles/cmTryCompileExec2715903398.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2715903398.dir/CheckIncludeFile.cxx.o /usr/bin/g++ -o CMakeFiles/cmTryCompileExec2715903398.dir/CheckIncludeFile.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx Linking CXX executable cmTryCompileExec2715903398 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2715903398.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec2715903398.dir/CheckIncludeFile.cxx.o -o cmTryCompileExec2715903398 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Checking whether dladdr works with this C++ compiler compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1012744847/fast" gmake -f CMakeFiles/cmTryCompileExec1012744847.dir/build.make CMakeFiles/cmTryCompileExec1012744847.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1012744847.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_DLADDR -o CMakeFiles/cmTryCompileExec1012744847.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec1012744847 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1012744847.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1012744847.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec1012744847 -rdynamic -ldl gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Determining if the include file cxxabi.h exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec564026369/fast" gmake -f CMakeFiles/cmTryCompileExec564026369.dir/build.make CMakeFiles/cmTryCompileExec564026369.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec564026369.dir/CheckIncludeFile.cxx.o /usr/bin/g++ -o CMakeFiles/cmTryCompileExec564026369.dir/CheckIncludeFile.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx Linking CXX executable cmTryCompileExec564026369 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec564026369.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec564026369.dir/CheckIncludeFile.cxx.o -o cmTryCompileExec564026369 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Checking whether cxxabi works with this C++ compiler compiled with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec663795562/fast" gmake -f CMakeFiles/cmTryCompileExec663795562.dir/build.make CMakeFiles/cmTryCompileExec663795562.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec663795562.dir/kwsysPlatformTestsCXX.cxx.o /usr/bin/g++ -DTEST_KWSYS_CXX_HAS_CXXABI -o CMakeFiles/cmTryCompileExec663795562.dir/kwsysPlatformTestsCXX.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Linking CXX executable cmTryCompileExec663795562 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec663795562.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec663795562.dir/kwsysPlatformTestsCXX.cxx.o -o cmTryCompileExec663795562 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Source/kwsys/CMakeFiles/CMakeTmp' Determining if the function gethostbyname exists in the c passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2657050541/fast" gmake -f CMakeFiles/cmTryCompileExec2657050541.dir/build.make CMakeFiles/cmTryCompileExec2657050541.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2657050541.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DCHECK_FUNCTION_EXISTS=gethostbyname -o CMakeFiles/cmTryCompileExec2657050541.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2657050541 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2657050541.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DCHECK_FUNCTION_EXISTS=gethostbyname CMakeFiles/cmTryCompileExec2657050541.dir/CheckFunctionExists.c.o -o cmTryCompileExec2657050541 -rdynamic -lc gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function idna_to_ascii_lz exists in the idn;dl passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3762168835/fast" gmake -f CMakeFiles/cmTryCompileExec3762168835.dir/build.make CMakeFiles/cmTryCompileExec3762168835.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3762168835.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DCHECK_FUNCTION_EXISTS=idna_to_ascii_lz -o CMakeFiles/cmTryCompileExec3762168835.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3762168835 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3762168835.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DCHECK_FUNCTION_EXISTS=idna_to_ascii_lz CMakeFiles/cmTryCompileExec3762168835.dir/CheckFunctionExists.c.o -o cmTryCompileExec3762168835 -rdynamic -lidn -ldl gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function dlopen exists in the dl;idn passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1242734940/fast" gmake -f CMakeFiles/cmTryCompileExec1242734940.dir/build.make CMakeFiles/cmTryCompileExec1242734940.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1242734940.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DCHECK_FUNCTION_EXISTS=dlopen -o CMakeFiles/cmTryCompileExec1242734940.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1242734940 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1242734940.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DCHECK_FUNCTION_EXISTS=dlopen CMakeFiles/cmTryCompileExec1242734940.dir/CheckFunctionExists.c.o -o cmTryCompileExec1242734940 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the include file features.h exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec788692639/fast" gmake -f CMakeFiles/cmTryCompileExec788692639.dir/build.make CMakeFiles/cmTryCompileExec788692639.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec788692639.dir/CheckIncludeFile.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec788692639.dir/CheckIncludeFile.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTryCompileExec788692639 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec788692639.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec788692639.dir/CheckIncludeFile.c.o -o cmTryCompileExec788692639 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files ;stdio.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1248470588/fast" gmake -f CMakeFiles/cmTryCompileExec1248470588.dir/build.make CMakeFiles/cmTryCompileExec1248470588.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1248470588.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1248470588.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1248470588 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1248470588.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1248470588.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1248470588 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1529452094/fast" gmake -f CMakeFiles/cmTryCompileExec1529452094.dir/build.make CMakeFiles/cmTryCompileExec1529452094.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1529452094.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1529452094.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1529452094 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1529452094.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1529452094.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1529452094 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1988173043/fast" gmake -f CMakeFiles/cmTryCompileExec1988173043.dir/build.make CMakeFiles/cmTryCompileExec1988173043.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1988173043.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1988173043.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1988173043 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1988173043.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1988173043.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1988173043 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2697819129/fast" gmake -f CMakeFiles/cmTryCompileExec2697819129.dir/build.make CMakeFiles/cmTryCompileExec2697819129.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2697819129.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2697819129.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2697819129 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2697819129.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2697819129.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2697819129 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2514916213/fast" gmake -f CMakeFiles/cmTryCompileExec2514916213.dir/build.make CMakeFiles/cmTryCompileExec2514916213.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2514916213.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2514916213.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2514916213 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2514916213.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2514916213.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2514916213 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec367940945/fast" gmake -f CMakeFiles/cmTryCompileExec367940945.dir/build.make CMakeFiles/cmTryCompileExec367940945.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec367940945.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec367940945.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec367940945 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec367940945.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec367940945.dir/CheckIncludeFiles.c.o -o cmTryCompileExec367940945 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec448150565/fast" gmake -f CMakeFiles/cmTryCompileExec448150565.dir/build.make CMakeFiles/cmTryCompileExec448150565.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec448150565.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec448150565.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec448150565 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec448150565.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec448150565.dir/CheckIncludeFiles.c.o -o cmTryCompileExec448150565 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2149669513/fast" gmake -f CMakeFiles/cmTryCompileExec2149669513.dir/build.make CMakeFiles/cmTryCompileExec2149669513.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2149669513.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2149669513.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2149669513 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2149669513.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2149669513.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2149669513 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1691607455/fast" gmake -f CMakeFiles/cmTryCompileExec1691607455.dir/build.make CMakeFiles/cmTryCompileExec1691607455.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1691607455.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1691607455.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1691607455 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1691607455.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1691607455.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1691607455 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1903260482/fast" gmake -f CMakeFiles/cmTryCompileExec1903260482.dir/build.make CMakeFiles/cmTryCompileExec1903260482.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1903260482.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1903260482.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1903260482 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1903260482.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1903260482.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1903260482 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2854879032/fast" gmake -f CMakeFiles/cmTryCompileExec2854879032.dir/build.make CMakeFiles/cmTryCompileExec2854879032.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2854879032.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2854879032.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2854879032 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2854879032.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2854879032.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2854879032 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2839407883/fast" gmake -f CMakeFiles/cmTryCompileExec2839407883.dir/build.make CMakeFiles/cmTryCompileExec2839407883.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2839407883.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2839407883.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2839407883 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2839407883.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2839407883.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2839407883 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3187166178/fast" gmake -f CMakeFiles/cmTryCompileExec3187166178.dir/build.make CMakeFiles/cmTryCompileExec3187166178.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3187166178.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3187166178.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3187166178 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3187166178.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3187166178.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3187166178 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1731653683/fast" gmake -f CMakeFiles/cmTryCompileExec1731653683.dir/build.make CMakeFiles/cmTryCompileExec1731653683.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1731653683.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1731653683.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1731653683 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1731653683.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1731653683.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1731653683 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1055357016/fast" gmake -f CMakeFiles/cmTryCompileExec1055357016.dir/build.make CMakeFiles/cmTryCompileExec1055357016.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1055357016.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1055357016.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1055357016 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1055357016.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1055357016.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1055357016 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3701314259/fast" gmake -f CMakeFiles/cmTryCompileExec3701314259.dir/build.make CMakeFiles/cmTryCompileExec3701314259.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3701314259.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3701314259.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3701314259 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3701314259.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3701314259.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3701314259 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec364359349/fast" gmake -f CMakeFiles/cmTryCompileExec364359349.dir/build.make CMakeFiles/cmTryCompileExec364359349.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec364359349.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec364359349.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec364359349 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec364359349.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec364359349.dir/CheckIncludeFiles.c.o -o cmTryCompileExec364359349 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4267613134/fast" gmake -f CMakeFiles/cmTryCompileExec4267613134.dir/build.make CMakeFiles/cmTryCompileExec4267613134.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4267613134.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec4267613134.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec4267613134 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4267613134.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec4267613134.dir/CheckIncludeFiles.c.o -o cmTryCompileExec4267613134 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1434376093/fast" gmake -f CMakeFiles/cmTryCompileExec1434376093.dir/build.make CMakeFiles/cmTryCompileExec1434376093.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1434376093.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1434376093.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1434376093 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1434376093.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1434376093.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1434376093 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3976304305/fast" gmake -f CMakeFiles/cmTryCompileExec3976304305.dir/build.make CMakeFiles/cmTryCompileExec3976304305.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3976304305.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3976304305.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3976304305 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3976304305.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3976304305.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3976304305 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3819077546/fast" gmake -f CMakeFiles/cmTryCompileExec3819077546.dir/build.make CMakeFiles/cmTryCompileExec3819077546.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3819077546.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3819077546.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3819077546 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3819077546.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3819077546.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3819077546 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3949877469/fast" gmake -f CMakeFiles/cmTryCompileExec3949877469.dir/build.make CMakeFiles/cmTryCompileExec3949877469.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3949877469.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3949877469.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3949877469 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3949877469.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3949877469.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3949877469 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec182526639/fast" gmake -f CMakeFiles/cmTryCompileExec182526639.dir/build.make CMakeFiles/cmTryCompileExec182526639.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec182526639.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec182526639.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec182526639 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec182526639.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec182526639.dir/CheckIncludeFiles.c.o -o cmTryCompileExec182526639 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3342238343/fast" gmake -f CMakeFiles/cmTryCompileExec3342238343.dir/build.make CMakeFiles/cmTryCompileExec3342238343.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3342238343.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3342238343.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3342238343 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3342238343.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3342238343.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3342238343 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1953362473/fast" gmake -f CMakeFiles/cmTryCompileExec1953362473.dir/build.make CMakeFiles/cmTryCompileExec1953362473.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1953362473.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1953362473.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1953362473 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1953362473.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1953362473.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1953362473 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec937777047/fast" gmake -f CMakeFiles/cmTryCompileExec937777047.dir/build.make CMakeFiles/cmTryCompileExec937777047.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec937777047.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec937777047.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec937777047 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec937777047.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec937777047.dir/CheckIncludeFiles.c.o -o cmTryCompileExec937777047 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3497430866/fast" gmake -f CMakeFiles/cmTryCompileExec3497430866.dir/build.make CMakeFiles/cmTryCompileExec3497430866.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3497430866.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3497430866.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3497430866 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3497430866.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3497430866.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3497430866 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1716040376/fast" gmake -f CMakeFiles/cmTryCompileExec1716040376.dir/build.make CMakeFiles/cmTryCompileExec1716040376.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1716040376.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1716040376.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1716040376 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1716040376.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1716040376.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1716040376 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2916847091/fast" gmake -f CMakeFiles/cmTryCompileExec2916847091.dir/build.make CMakeFiles/cmTryCompileExec2916847091.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2916847091.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2916847091.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2916847091 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2916847091.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2916847091.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2916847091 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1037837235/fast" gmake -f CMakeFiles/cmTryCompileExec1037837235.dir/build.make CMakeFiles/cmTryCompileExec1037837235.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1037837235.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1037837235.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1037837235 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1037837235.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1037837235.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1037837235 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2325731693/fast" gmake -f CMakeFiles/cmTryCompileExec2325731693.dir/build.make CMakeFiles/cmTryCompileExec2325731693.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2325731693.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2325731693.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2325731693 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2325731693.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2325731693.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2325731693 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1857665607/fast" gmake -f CMakeFiles/cmTryCompileExec1857665607.dir/build.make CMakeFiles/cmTryCompileExec1857665607.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1857665607.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1857665607.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1857665607 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1857665607.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1857665607.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1857665607 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3695088177/fast" gmake -f CMakeFiles/cmTryCompileExec3695088177.dir/build.make CMakeFiles/cmTryCompileExec3695088177.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3695088177.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3695088177.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3695088177 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3695088177.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3695088177.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3695088177 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h;setjmp.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec208532885/fast" gmake -f CMakeFiles/cmTryCompileExec208532885.dir/build.make CMakeFiles/cmTryCompileExec208532885.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec208532885.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec208532885.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec208532885 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec208532885.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec208532885.dir/CheckIncludeFiles.c.o -o cmTryCompileExec208532885 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h;setjmp.h;signal.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2442550079/fast" gmake -f CMakeFiles/cmTryCompileExec2442550079.dir/build.make CMakeFiles/cmTryCompileExec2442550079.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2442550079.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2442550079.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2442550079 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2442550079.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2442550079.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2442550079 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h;setjmp.h;signal.h;sys/ioctl.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3093026718/fast" gmake -f CMakeFiles/cmTryCompileExec3093026718.dir/build.make CMakeFiles/cmTryCompileExec3093026718.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3093026718.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3093026718.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3093026718 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3093026718.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3093026718.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3093026718 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h;setjmp.h;signal.h;sys/ioctl.h;sys/utsname.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1536860734/fast" gmake -f CMakeFiles/cmTryCompileExec1536860734.dir/build.make CMakeFiles/cmTryCompileExec1536860734.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1536860734.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1536860734.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1536860734 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1536860734.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1536860734.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1536860734 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h;setjmp.h;signal.h;sys/ioctl.h;sys/utsname.h;idn-free.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4273590434/fast" gmake -f CMakeFiles/cmTryCompileExec4273590434.dir/build.make CMakeFiles/cmTryCompileExec4273590434.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4273590434.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec4273590434.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec4273590434 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4273590434.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec4273590434.dir/CheckIncludeFiles.c.o -o cmTryCompileExec4273590434 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h;setjmp.h;signal.h;sys/ioctl.h;sys/utsname.h;idn-free.h;idna.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2610646900/fast" gmake -f CMakeFiles/cmTryCompileExec2610646900.dir/build.make CMakeFiles/cmTryCompileExec2610646900.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2610646900.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2610646900.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2610646900 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2610646900.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2610646900.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2610646900 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h;setjmp.h;signal.h;sys/ioctl.h;sys/utsname.h;idn-free.h;idna.h;tld.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3042131273/fast" gmake -f CMakeFiles/cmTryCompileExec3042131273.dir/build.make CMakeFiles/cmTryCompileExec3042131273.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3042131273.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3042131273.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3042131273 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3042131273.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3042131273.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3042131273 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h;setjmp.h;signal.h;sys/ioctl.h;sys/utsname.h;idn-free.h;idna.h;tld.h;arpa/tftp.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1885791353/fast" gmake -f CMakeFiles/cmTryCompileExec1885791353.dir/build.make CMakeFiles/cmTryCompileExec1885791353.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1885791353.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1885791353.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1885791353 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1885791353.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1885791353.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1885791353 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h;setjmp.h;signal.h;sys/ioctl.h;sys/utsname.h;idn-free.h;idna.h;tld.h;arpa/tftp.h;errno.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2774997039/fast" gmake -f CMakeFiles/cmTryCompileExec2774997039.dir/build.make CMakeFiles/cmTryCompileExec2774997039.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2774997039.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2774997039.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2774997039 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2774997039.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2774997039.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2774997039 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files stdio.h;stddef.h;sys/types.h;inttypes.h;alloca.h;arpa/inet.h;dlfcn.h;fcntl.h;malloc.h;memory.h;netdb.h;sys/poll.h;assert.h;limits.h;sys/socket.h;netinet/in.h;net/if.h;netinet/if_ether.h;netinet/tcp.h;sys/select.h;utime.h;netinet/in.h;pwd.h;sgtty.h;stdint.h;stdlib.h;string.h;strings.h;sys/param.h;sys/stat.h;sys/time.h;sys/resource.h;termios.h;termio.h;time.h;unistd.h;locale.h;setjmp.h;signal.h;sys/ioctl.h;sys/utsname.h;idn-free.h;idna.h;tld.h;arpa/tftp.h;errno.h;libgen.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2711097723/fast" gmake -f CMakeFiles/cmTryCompileExec2711097723.dir/build.make CMakeFiles/cmTryCompileExec2711097723.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2711097723.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2711097723.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2711097723 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2711097723.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2711097723.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2711097723 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of size_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1239635307/fast" gmake -f CMakeFiles/cmTryCompileExec1239635307.dir/build.make CMakeFiles/cmTryCompileExec1239635307.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1239635307.dir/SIZEOF_SIZE_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1239635307.dir/SIZEOF_SIZE_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZEOF_SIZE_T.c Linking C executable cmTryCompileExec1239635307 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1239635307.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1239635307.dir/SIZEOF_SIZE_T.c.o -o cmTryCompileExec1239635307 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of ssize_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1886448409/fast" gmake -f CMakeFiles/cmTryCompileExec1886448409.dir/build.make CMakeFiles/cmTryCompileExec1886448409.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1886448409.dir/SIZEOF_SSIZE_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1886448409.dir/SIZEOF_SSIZE_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZEOF_SSIZE_T.c Linking C executable cmTryCompileExec1886448409 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1886448409.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1886448409.dir/SIZEOF_SSIZE_T.c.o -o cmTryCompileExec1886448409 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of long long passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3048980897/fast" gmake -f CMakeFiles/cmTryCompileExec3048980897.dir/build.make CMakeFiles/cmTryCompileExec3048980897.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3048980897.dir/SIZEOF_LONG_LONG.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3048980897.dir/SIZEOF_LONG_LONG.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZEOF_LONG_LONG.c Linking C executable cmTryCompileExec3048980897 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3048980897.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3048980897.dir/SIZEOF_LONG_LONG.c.o -o cmTryCompileExec3048980897 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of long passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3479613627/fast" gmake -f CMakeFiles/cmTryCompileExec3479613627.dir/build.make CMakeFiles/cmTryCompileExec3479613627.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3479613627.dir/SIZEOF_LONG.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3479613627.dir/SIZEOF_LONG.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZEOF_LONG.c Linking C executable cmTryCompileExec3479613627 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3479613627.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3479613627.dir/SIZEOF_LONG.c.o -o cmTryCompileExec3479613627 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of time_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4018337400/fast" gmake -f CMakeFiles/cmTryCompileExec4018337400.dir/build.make CMakeFiles/cmTryCompileExec4018337400.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4018337400.dir/SIZEOF_TIME_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec4018337400.dir/SIZEOF_TIME_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZEOF_TIME_T.c Linking C executable cmTryCompileExec4018337400 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4018337400.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec4018337400.dir/SIZEOF_TIME_T.c.o -o cmTryCompileExec4018337400 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the basename exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec553477550/fast" gmake -f CMakeFiles/cmTryCompileExec553477550.dir/build.make CMakeFiles/cmTryCompileExec553477550.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec553477550.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec553477550.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec553477550 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec553477550.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec553477550.dir/CheckSymbolExists.c.o -o cmTryCompileExec553477550 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef basename return ((int*)(&basename))[argc]; #else (void)argc; return 0; #endif } Determining if the socket exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1947507226/fast" gmake -f CMakeFiles/cmTryCompileExec1947507226.dir/build.make CMakeFiles/cmTryCompileExec1947507226.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1947507226.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1947507226.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1947507226 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1947507226.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1947507226.dir/CheckSymbolExists.c.o -o cmTryCompileExec1947507226 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef socket return ((int*)(&socket))[argc]; #else (void)argc; return 0; #endif } Determining if the poll exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2085960383/fast" gmake -f CMakeFiles/cmTryCompileExec2085960383.dir/build.make CMakeFiles/cmTryCompileExec2085960383.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2085960383.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2085960383.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2085960383 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2085960383.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2085960383.dir/CheckSymbolExists.c.o -o cmTryCompileExec2085960383 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef poll return ((int*)(&poll))[argc]; #else (void)argc; return 0; #endif } Determining if the select exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2678372357/fast" gmake -f CMakeFiles/cmTryCompileExec2678372357.dir/build.make CMakeFiles/cmTryCompileExec2678372357.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2678372357.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2678372357.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2678372357 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2678372357.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2678372357.dir/CheckSymbolExists.c.o -o cmTryCompileExec2678372357 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef select return ((int*)(&select))[argc]; #else (void)argc; return 0; #endif } Determining if the strdup exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1469365386/fast" gmake -f CMakeFiles/cmTryCompileExec1469365386.dir/build.make CMakeFiles/cmTryCompileExec1469365386.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1469365386.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1469365386.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1469365386 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1469365386.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1469365386.dir/CheckSymbolExists.c.o -o cmTryCompileExec1469365386 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef strdup return ((int*)(&strdup))[argc]; #else (void)argc; return 0; #endif } Determining if the strstr exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2230486679/fast" gmake -f CMakeFiles/cmTryCompileExec2230486679.dir/build.make CMakeFiles/cmTryCompileExec2230486679.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2230486679.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2230486679.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2230486679 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2230486679.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2230486679.dir/CheckSymbolExists.c.o -o cmTryCompileExec2230486679 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef strstr return ((int*)(&strstr))[argc]; #else (void)argc; return 0; #endif } Determining if the strtok_r exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1399567740/fast" gmake -f CMakeFiles/cmTryCompileExec1399567740.dir/build.make CMakeFiles/cmTryCompileExec1399567740.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1399567740.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1399567740.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1399567740 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1399567740.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1399567740.dir/CheckSymbolExists.c.o -o cmTryCompileExec1399567740 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef strtok_r return ((int*)(&strtok_r))[argc]; #else (void)argc; return 0; #endif } Determining if the strftime exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4127841292/fast" gmake -f CMakeFiles/cmTryCompileExec4127841292.dir/build.make CMakeFiles/cmTryCompileExec4127841292.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4127841292.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec4127841292.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec4127841292 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4127841292.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec4127841292.dir/CheckSymbolExists.c.o -o cmTryCompileExec4127841292 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef strftime return ((int*)(&strftime))[argc]; #else (void)argc; return 0; #endif } Determining if the uname exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2815898060/fast" gmake -f CMakeFiles/cmTryCompileExec2815898060.dir/build.make CMakeFiles/cmTryCompileExec2815898060.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2815898060.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2815898060.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2815898060 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2815898060.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2815898060.dir/CheckSymbolExists.c.o -o cmTryCompileExec2815898060 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef uname return ((int*)(&uname))[argc]; #else (void)argc; return 0; #endif } Determining if the strcasecmp exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1661448199/fast" gmake -f CMakeFiles/cmTryCompileExec1661448199.dir/build.make CMakeFiles/cmTryCompileExec1661448199.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1661448199.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1661448199.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1661448199 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1661448199.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1661448199.dir/CheckSymbolExists.c.o -o cmTryCompileExec1661448199 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef strcasecmp return ((int*)(&strcasecmp))[argc]; #else (void)argc; return 0; #endif } Determining if the gethostbyaddr exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4019762205/fast" gmake -f CMakeFiles/cmTryCompileExec4019762205.dir/build.make CMakeFiles/cmTryCompileExec4019762205.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4019762205.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec4019762205.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec4019762205 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4019762205.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec4019762205.dir/CheckSymbolExists.c.o -o cmTryCompileExec4019762205 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef gethostbyaddr return ((int*)(&gethostbyaddr))[argc]; #else (void)argc; return 0; #endif } Determining if the gettimeofday exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3783906255/fast" gmake -f CMakeFiles/cmTryCompileExec3783906255.dir/build.make CMakeFiles/cmTryCompileExec3783906255.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3783906255.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3783906255.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3783906255 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3783906255.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3783906255.dir/CheckSymbolExists.c.o -o cmTryCompileExec3783906255 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef gettimeofday return ((int*)(&gettimeofday))[argc]; #else (void)argc; return 0; #endif } Determining if the inet_addr exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3828612643/fast" gmake -f CMakeFiles/cmTryCompileExec3828612643.dir/build.make CMakeFiles/cmTryCompileExec3828612643.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3828612643.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3828612643.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3828612643 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3828612643.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3828612643.dir/CheckSymbolExists.c.o -o cmTryCompileExec3828612643 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef inet_addr return ((int*)(&inet_addr))[argc]; #else (void)argc; return 0; #endif } Determining if the inet_pton exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2978857544/fast" gmake -f CMakeFiles/cmTryCompileExec2978857544.dir/build.make CMakeFiles/cmTryCompileExec2978857544.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2978857544.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2978857544.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2978857544 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2978857544.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2978857544.dir/CheckSymbolExists.c.o -o cmTryCompileExec2978857544 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef inet_pton return ((int*)(&inet_pton))[argc]; #else (void)argc; return 0; #endif } Determining if the inet_ntoa exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2941644650/fast" gmake -f CMakeFiles/cmTryCompileExec2941644650.dir/build.make CMakeFiles/cmTryCompileExec2941644650.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2941644650.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2941644650.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2941644650 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2941644650.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2941644650.dir/CheckSymbolExists.c.o -o cmTryCompileExec2941644650 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef inet_ntoa return ((int*)(&inet_ntoa))[argc]; #else (void)argc; return 0; #endif } Determining if the tcsetattr exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2129299913/fast" gmake -f CMakeFiles/cmTryCompileExec2129299913.dir/build.make CMakeFiles/cmTryCompileExec2129299913.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2129299913.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2129299913.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2129299913 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2129299913.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2129299913.dir/CheckSymbolExists.c.o -o cmTryCompileExec2129299913 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef tcsetattr return ((int*)(&tcsetattr))[argc]; #else (void)argc; return 0; #endif } Determining if the tcgetattr exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3134228148/fast" gmake -f CMakeFiles/cmTryCompileExec3134228148.dir/build.make CMakeFiles/cmTryCompileExec3134228148.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3134228148.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3134228148.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3134228148 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3134228148.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3134228148.dir/CheckSymbolExists.c.o -o cmTryCompileExec3134228148 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef tcgetattr return ((int*)(&tcgetattr))[argc]; #else (void)argc; return 0; #endif } Determining if the perror exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3562138476/fast" gmake -f CMakeFiles/cmTryCompileExec3562138476.dir/build.make CMakeFiles/cmTryCompileExec3562138476.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3562138476.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3562138476.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3562138476 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3562138476.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3562138476.dir/CheckSymbolExists.c.o -o cmTryCompileExec3562138476 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef perror return ((int*)(&perror))[argc]; #else (void)argc; return 0; #endif } Determining if the setvbuf exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2550779300/fast" gmake -f CMakeFiles/cmTryCompileExec2550779300.dir/build.make CMakeFiles/cmTryCompileExec2550779300.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2550779300.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2550779300.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2550779300 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2550779300.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2550779300.dir/CheckSymbolExists.c.o -o cmTryCompileExec2550779300 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef setvbuf return ((int*)(&setvbuf))[argc]; #else (void)argc; return 0; #endif } Determining if the sigsetjmp exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec597448815/fast" gmake -f CMakeFiles/cmTryCompileExec597448815.dir/build.make CMakeFiles/cmTryCompileExec597448815.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec597448815.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec597448815.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec597448815 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec597448815.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec597448815.dir/CheckSymbolExists.c.o -o cmTryCompileExec597448815 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef sigsetjmp return ((int*)(&sigsetjmp))[argc]; #else (void)argc; return 0; #endif } Determining if the getpwuid exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec542383269/fast" gmake -f CMakeFiles/cmTryCompileExec542383269.dir/build.make CMakeFiles/cmTryCompileExec542383269.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec542383269.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec542383269.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec542383269 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec542383269.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec542383269.dir/CheckSymbolExists.c.o -o cmTryCompileExec542383269 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef getpwuid return ((int*)(&getpwuid))[argc]; #else (void)argc; return 0; #endif } Determining if the geteuid exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2830193313/fast" gmake -f CMakeFiles/cmTryCompileExec2830193313.dir/build.make CMakeFiles/cmTryCompileExec2830193313.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2830193313.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2830193313.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2830193313 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2830193313.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2830193313.dir/CheckSymbolExists.c.o -o cmTryCompileExec2830193313 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef geteuid return ((int*)(&geteuid))[argc]; #else (void)argc; return 0; #endif } Determining if the utime exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2727258665/fast" gmake -f CMakeFiles/cmTryCompileExec2727258665.dir/build.make CMakeFiles/cmTryCompileExec2727258665.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2727258665.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2727258665.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2727258665 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2727258665.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2727258665.dir/CheckSymbolExists.c.o -o cmTryCompileExec2727258665 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef utime return ((int*)(&utime))[argc]; #else (void)argc; return 0; #endif } Determining if the gmtime_r exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1858453283/fast" gmake -f CMakeFiles/cmTryCompileExec1858453283.dir/build.make CMakeFiles/cmTryCompileExec1858453283.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1858453283.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1858453283.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1858453283 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1858453283.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1858453283.dir/CheckSymbolExists.c.o -o cmTryCompileExec1858453283 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef gmtime_r return ((int*)(&gmtime_r))[argc]; #else (void)argc; return 0; #endif } Determining if the localtime_r exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3516936897/fast" gmake -f CMakeFiles/cmTryCompileExec3516936897.dir/build.make CMakeFiles/cmTryCompileExec3516936897.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3516936897.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3516936897.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3516936897 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3516936897.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3516936897.dir/CheckSymbolExists.c.o -o cmTryCompileExec3516936897 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef localtime_r return ((int*)(&localtime_r))[argc]; #else (void)argc; return 0; #endif } Determining if the gethostbyname exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3457990187/fast" gmake -f CMakeFiles/cmTryCompileExec3457990187.dir/build.make CMakeFiles/cmTryCompileExec3457990187.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3457990187.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3457990187.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3457990187 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3457990187.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3457990187.dir/CheckSymbolExists.c.o -o cmTryCompileExec3457990187 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef gethostbyname return ((int*)(&gethostbyname))[argc]; #else (void)argc; return 0; #endif } Determining if the gethostbyname_r exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec236017686/fast" gmake -f CMakeFiles/cmTryCompileExec236017686.dir/build.make CMakeFiles/cmTryCompileExec236017686.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec236017686.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec236017686.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec236017686 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec236017686.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec236017686.dir/CheckSymbolExists.c.o -o cmTryCompileExec236017686 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef gethostbyname_r return ((int*)(&gethostbyname_r))[argc]; #else (void)argc; return 0; #endif } Determining if the gethostbyaddr_r exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3291196504/fast" gmake -f CMakeFiles/cmTryCompileExec3291196504.dir/build.make CMakeFiles/cmTryCompileExec3291196504.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3291196504.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3291196504.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3291196504 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3291196504.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3291196504.dir/CheckSymbolExists.c.o -o cmTryCompileExec3291196504 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef gethostbyaddr_r return ((int*)(&gethostbyaddr_r))[argc]; #else (void)argc; return 0; #endif } Determining if the signal exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3563764673/fast" gmake -f CMakeFiles/cmTryCompileExec3563764673.dir/build.make CMakeFiles/cmTryCompileExec3563764673.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3563764673.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3563764673.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3563764673 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3563764673.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3563764673.dir/CheckSymbolExists.c.o -o cmTryCompileExec3563764673 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef signal return ((int*)(&signal))[argc]; #else (void)argc; return 0; #endif } Determining if the SIGALRM exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3938868051/fast" gmake -f CMakeFiles/cmTryCompileExec3938868051.dir/build.make CMakeFiles/cmTryCompileExec3938868051.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3938868051.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3938868051.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3938868051 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3938868051.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3938868051.dir/CheckSymbolExists.c.o -o cmTryCompileExec3938868051 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef SIGALRM return ((int*)(&SIGALRM))[argc]; #else (void)argc; return 0; #endif } Determining if the strtoll exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3470853111/fast" gmake -f CMakeFiles/cmTryCompileExec3470853111.dir/build.make CMakeFiles/cmTryCompileExec3470853111.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3470853111.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3470853111.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3470853111 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3470853111.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3470853111.dir/CheckSymbolExists.c.o -o cmTryCompileExec3470853111 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef strtoll return ((int*)(&strtoll))[argc]; #else (void)argc; return 0; #endif } Determining if the strerror_r exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec177816340/fast" gmake -f CMakeFiles/cmTryCompileExec177816340.dir/build.make CMakeFiles/cmTryCompileExec177816340.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec177816340.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec177816340.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec177816340 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec177816340.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec177816340.dir/CheckSymbolExists.c.o -o cmTryCompileExec177816340 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef strerror_r return ((int*)(&strerror_r))[argc]; #else (void)argc; return 0; #endif } Determining if the siginterrupt exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2698106863/fast" gmake -f CMakeFiles/cmTryCompileExec2698106863.dir/build.make CMakeFiles/cmTryCompileExec2698106863.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2698106863.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2698106863.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2698106863 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2698106863.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2698106863.dir/CheckSymbolExists.c.o -o cmTryCompileExec2698106863 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef siginterrupt return ((int*)(&siginterrupt))[argc]; #else (void)argc; return 0; #endif } Determining if the fork exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2258404125/fast" gmake -f CMakeFiles/cmTryCompileExec2258404125.dir/build.make CMakeFiles/cmTryCompileExec2258404125.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2258404125.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec2258404125.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2258404125 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2258404125.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec2258404125.dir/CheckSymbolExists.c.o -o cmTryCompileExec2258404125 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef fork return ((int*)(&fork))[argc]; #else (void)argc; return 0; #endif } Determining if the pipe exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1149377756/fast" gmake -f CMakeFiles/cmTryCompileExec1149377756.dir/build.make CMakeFiles/cmTryCompileExec1149377756.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1149377756.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1149377756.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1149377756 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1149377756.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1149377756.dir/CheckSymbolExists.c.o -o cmTryCompileExec1149377756 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef pipe return ((int*)(&pipe))[argc]; #else (void)argc; return 0; #endif } Determining if the ftruncate exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec583648353/fast" gmake -f CMakeFiles/cmTryCompileExec583648353.dir/build.make CMakeFiles/cmTryCompileExec583648353.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec583648353.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec583648353.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec583648353 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec583648353.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec583648353.dir/CheckSymbolExists.c.o -o cmTryCompileExec583648353 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef ftruncate return ((int*)(&ftruncate))[argc]; #else (void)argc; return 0; #endif } Determining if the getprotobyname exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4171703720/fast" gmake -f CMakeFiles/cmTryCompileExec4171703720.dir/build.make CMakeFiles/cmTryCompileExec4171703720.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4171703720.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec4171703720.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec4171703720 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4171703720.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec4171703720.dir/CheckSymbolExists.c.o -o cmTryCompileExec4171703720 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef getprotobyname return ((int*)(&getprotobyname))[argc]; #else (void)argc; return 0; #endif } Determining if the getrlimit exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec638281411/fast" gmake -f CMakeFiles/cmTryCompileExec638281411.dir/build.make CMakeFiles/cmTryCompileExec638281411.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec638281411.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec638281411.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec638281411 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec638281411.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec638281411.dir/CheckSymbolExists.c.o -o cmTryCompileExec638281411 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef getrlimit return ((int*)(&getrlimit))[argc]; #else (void)argc; return 0; #endif } Determining if the idn_free exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3183211953/fast" gmake -f CMakeFiles/cmTryCompileExec3183211953.dir/build.make CMakeFiles/cmTryCompileExec3183211953.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3183211953.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3183211953.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3183211953 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3183211953.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3183211953.dir/CheckSymbolExists.c.o -o cmTryCompileExec3183211953 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef idn_free return ((int*)(&idn_free))[argc]; #else (void)argc; return 0; #endif } Determining if the idna_strerror exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3589422768/fast" gmake -f CMakeFiles/cmTryCompileExec3589422768.dir/build.make CMakeFiles/cmTryCompileExec3589422768.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3589422768.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3589422768.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3589422768 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3589422768.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3589422768.dir/CheckSymbolExists.c.o -o cmTryCompileExec3589422768 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef idna_strerror return ((int*)(&idna_strerror))[argc]; #else (void)argc; return 0; #endif } Determining if the tld_strerror exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1660279400/fast" gmake -f CMakeFiles/cmTryCompileExec1660279400.dir/build.make CMakeFiles/cmTryCompileExec1660279400.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1660279400.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1660279400.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1660279400 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1660279400.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1660279400.dir/CheckSymbolExists.c.o -o cmTryCompileExec1660279400 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef tld_strerror return ((int*)(&tld_strerror))[argc]; #else (void)argc; return 0; #endif } Determining if the setlocale exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1562860974/fast" gmake -f CMakeFiles/cmTryCompileExec1562860974.dir/build.make CMakeFiles/cmTryCompileExec1562860974.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1562860974.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec1562860974.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1562860974 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1562860974.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec1562860974.dir/CheckSymbolExists.c.o -o cmTryCompileExec1562860974 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef setlocale return ((int*)(&setlocale))[argc]; #else (void)argc; return 0; #endif } Determining if the setrlimit exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3788718670/fast" gmake -f CMakeFiles/cmTryCompileExec3788718670.dir/build.make CMakeFiles/cmTryCompileExec3788718670.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3788718670.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3788718670.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3788718670 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3788718670.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3788718670.dir/CheckSymbolExists.c.o -o cmTryCompileExec3788718670 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef setrlimit return ((int*)(&setrlimit))[argc]; #else (void)argc; return 0; #endif } Determining if the sigaction exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec562775368/fast" gmake -f CMakeFiles/cmTryCompileExec562775368.dir/build.make CMakeFiles/cmTryCompileExec562775368.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec562775368.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec562775368.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec562775368 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec562775368.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec562775368.dir/CheckSymbolExists.c.o -o cmTryCompileExec562775368 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef sigaction return ((int*)(&sigaction))[argc]; #else (void)argc; return 0; #endif } Performing Curl Test HAVE_O_NONBLOCK passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec751830831/fast" gmake -f CMakeFiles/cmTryCompileExec751830831.dir/build.make CMakeFiles/cmTryCompileExec751830831.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec751830831.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_O_NONBLOCK -o CMakeFiles/cmTryCompileExec751830831.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec751830831 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec751830831.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_O_NONBLOCK CMakeFiles/cmTryCompileExec751830831.dir/CurlTests.c.o -o cmTryCompileExec751830831 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test TIME_WITH_SYS_TIME passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2570173458/fast" gmake -f CMakeFiles/cmTryCompileExec2570173458.dir/build.make CMakeFiles/cmTryCompileExec2570173458.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2570173458.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DTIME_WITH_SYS_TIME -o CMakeFiles/cmTryCompileExec2570173458.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec2570173458 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2570173458.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DTIME_WITH_SYS_TIME CMakeFiles/cmTryCompileExec2570173458.dir/CurlTests.c.o -o cmTryCompileExec2570173458 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYADDR_R_8 passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1446581692/fast" gmake -f CMakeFiles/cmTryCompileExec1446581692.dir/build.make CMakeFiles/cmTryCompileExec1446581692.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1446581692.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_GETHOSTBYADDR_R_8 -o CMakeFiles/cmTryCompileExec1446581692.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec1446581692 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1446581692.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_GETHOSTBYADDR_R_8 CMakeFiles/cmTryCompileExec1446581692.dir/CurlTests.c.o -o cmTryCompileExec1446581692 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYADDR_R_8_REENTRANT passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1528022579/fast" gmake -f CMakeFiles/cmTryCompileExec1528022579.dir/build.make CMakeFiles/cmTryCompileExec1528022579.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1528022579.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_GETHOSTBYADDR_R_8_REENTRANT -o CMakeFiles/cmTryCompileExec1528022579.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec1528022579 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1528022579.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_GETHOSTBYADDR_R_8_REENTRANT CMakeFiles/cmTryCompileExec1528022579.dir/CurlTests.c.o -o cmTryCompileExec1528022579 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYNAME_R_6 passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1763652677/fast" gmake -f CMakeFiles/cmTryCompileExec1763652677.dir/build.make CMakeFiles/cmTryCompileExec1763652677.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1763652677.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_GETHOSTBYNAME_R_6 -o CMakeFiles/cmTryCompileExec1763652677.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec1763652677 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1763652677.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_GETHOSTBYNAME_R_6 CMakeFiles/cmTryCompileExec1763652677.dir/CurlTests.c.o -o cmTryCompileExec1763652677 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETHOSTBYNAME_R_6_REENTRANT passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2193416710/fast" gmake -f CMakeFiles/cmTryCompileExec2193416710.dir/build.make CMakeFiles/cmTryCompileExec2193416710.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2193416710.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_GETHOSTBYNAME_R_6_REENTRANT -o CMakeFiles/cmTryCompileExec2193416710.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec2193416710 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2193416710.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_GETHOSTBYNAME_R_6_REENTRANT CMakeFiles/cmTryCompileExec2193416710.dir/CurlTests.c.o -o cmTryCompileExec2193416710 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_SOCKLEN_T passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2521853741/fast" gmake -f CMakeFiles/cmTryCompileExec2521853741.dir/build.make CMakeFiles/cmTryCompileExec2521853741.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2521853741.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_SOCKLEN_T -o CMakeFiles/cmTryCompileExec2521853741.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec2521853741 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2521853741.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_SOCKLEN_T CMakeFiles/cmTryCompileExec2521853741.dir/CurlTests.c.o -o cmTryCompileExec2521853741 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_IN_ADDR_T passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2074499474/fast" gmake -f CMakeFiles/cmTryCompileExec2074499474.dir/build.make CMakeFiles/cmTryCompileExec2074499474.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2074499474.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_IN_ADDR_T -o CMakeFiles/cmTryCompileExec2074499474.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec2074499474 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2074499474.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_IN_ADDR_T CMakeFiles/cmTryCompileExec2074499474.dir/CurlTests.c.o -o cmTryCompileExec2074499474 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test STDC_HEADERS passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2974113182/fast" gmake -f CMakeFiles/cmTryCompileExec2974113182.dir/build.make CMakeFiles/cmTryCompileExec2974113182.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2974113182.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DSTDC_HEADERS -o CMakeFiles/cmTryCompileExec2974113182.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec2974113182 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2974113182.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DSTDC_HEADERS CMakeFiles/cmTryCompileExec2974113182.dir/CurlTests.c.o -o cmTryCompileExec2974113182 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test RETSIGTYPE_TEST passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2813069974/fast" gmake -f CMakeFiles/cmTryCompileExec2813069974.dir/build.make CMakeFiles/cmTryCompileExec2813069974.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2813069974.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DRETSIGTYPE_TEST -o CMakeFiles/cmTryCompileExec2813069974.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec2813069974 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2813069974.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DRETSIGTYPE_TEST CMakeFiles/cmTryCompileExec2813069974.dir/CurlTests.c.o -o cmTryCompileExec2813069974 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_GETADDRINFO passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1291050520/fast" gmake -f CMakeFiles/cmTryCompileExec1291050520.dir/build.make CMakeFiles/cmTryCompileExec1291050520.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1291050520.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_GETADDRINFO -o CMakeFiles/cmTryCompileExec1291050520.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c:405: warning: incompatible implicit declaration of built-in function 'memset' Linking C executable cmTryCompileExec1291050520 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1291050520.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_GETADDRINFO CMakeFiles/cmTryCompileExec1291050520.dir/CurlTests.c.o -o cmTryCompileExec1291050520 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing Curl Test HAVE_FILE_OFFSET_BITS passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec728129672/fast" gmake -f CMakeFiles/cmTryCompileExec728129672.dir/build.make CMakeFiles/cmTryCompileExec728129672.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec728129672.dir/CurlTests.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_FILE_OFFSET_BITS -o CMakeFiles/cmTryCompileExec728129672.dir/CurlTests.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmcurl/CMake/CurlTests.c Linking C executable cmTryCompileExec728129672 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec728129672.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_FILE_OFFSET_BITS CMakeFiles/cmTryCompileExec728129672.dir/CurlTests.c.o -o cmTryCompileExec728129672 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of curl_off_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2918275391/fast" gmake -f CMakeFiles/cmTryCompileExec2918275391.dir/build.make CMakeFiles/cmTryCompileExec2918275391.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2918275391.dir/SIZEOF_CURL_OFF_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -D_FILE_OFFSET_BITS=64 -o CMakeFiles/cmTryCompileExec2918275391.dir/SIZEOF_CURL_OFF_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZEOF_CURL_OFF_T.c Linking C executable cmTryCompileExec2918275391 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2918275391.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -D_FILE_OFFSET_BITS=64 CMakeFiles/cmTryCompileExec2918275391.dir/SIZEOF_CURL_OFF_T.c.o -o cmTryCompileExec2918275391 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test curl_cv_recv succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec853594646/fast" gmake -f CMakeFiles/cmTryCompileExec853594646.dir/build.make CMakeFiles/cmTryCompileExec853594646.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec853594646.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -Dcurl_cv_recv -o CMakeFiles/cmTryCompileExec853594646.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec853594646 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec853594646.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -Dcurl_cv_recv CMakeFiles/cmTryCompileExec853594646.dir/src.c.o -o cmTryCompileExec853594646 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #define __unused1 #undef inline #define __unused2 #include #include #define __unused5 1 int main() { recv(0, 0, 0, 0) ; return 0; } Performing C SOURCE FILE Test ssize_t recv(int, void *, size_t, int) (curl_cv_func_recv_test) succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2467269922/fast" gmake -f CMakeFiles/cmTryCompileExec2467269922.dir/build.make CMakeFiles/cmTryCompileExec2467269922.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2467269922.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -Dcurl_cv_func_recv_test -o CMakeFiles/cmTryCompileExec2467269922.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec2467269922 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2467269922.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -Dcurl_cv_func_recv_test CMakeFiles/cmTryCompileExec2467269922.dir/src.c.o -o cmTryCompileExec2467269922 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #define __unused1 #undef inline #define __unused2 #include #include extern ssize_t recv(int, void *, size_t, int); #define __unused5 1 int main() { int s=0; void * buf=0; size_t len=0; int flags=0; ssize_t res = recv(s, buf, len, flags) ; return 0; } Performing C SOURCE FILE Test curl_cv_send succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1068970143/fast" gmake -f CMakeFiles/cmTryCompileExec1068970143.dir/build.make CMakeFiles/cmTryCompileExec1068970143.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1068970143.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -Dcurl_cv_send -o CMakeFiles/cmTryCompileExec1068970143.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec1068970143 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1068970143.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -Dcurl_cv_send CMakeFiles/cmTryCompileExec1068970143.dir/src.c.o -o cmTryCompileExec1068970143 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #define __unused1 #undef inline #define __unused2 #include #include extern ssize_t recv(int, void *, size_t, int); #define __unused5 1 int main() { send(0, 0, 0, 0) ; return 0; } Performing C SOURCE FILE Test ssize_t send(int, const void *, size_t, int) (curl_cv_func_send_test) succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1242996717/fast" gmake -f CMakeFiles/cmTryCompileExec1242996717.dir/build.make CMakeFiles/cmTryCompileExec1242996717.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1242996717.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -Dcurl_cv_func_send_test -o CMakeFiles/cmTryCompileExec1242996717.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec1242996717 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1242996717.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -Dcurl_cv_func_send_test CMakeFiles/cmTryCompileExec1242996717.dir/src.c.o -o cmTryCompileExec1242996717 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #define __unused1 #undef inline #define __unused2 #include #include extern ssize_t send(int, const void *, size_t, int); #define __unused5 1 int main() { int s=0; const void * buf=0; size_t len=0; int flags=0; ssize_t res = send(s, buf, len, flags) ; return 0; } Performing C SOURCE FILE Test HAVE_MSG_NOSIGNAL succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1406659625/fast" gmake -f CMakeFiles/cmTryCompileExec1406659625.dir/build.make CMakeFiles/cmTryCompileExec1406659625.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1406659625.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_MSG_NOSIGNAL -o CMakeFiles/cmTryCompileExec1406659625.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c:12:1: warning: "__unused5" redefined /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c:8:1: warning: this is the location of the previous definition Linking C executable cmTryCompileExec1406659625 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1406659625.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_MSG_NOSIGNAL CMakeFiles/cmTryCompileExec1406659625.dir/src.c.o -o cmTryCompileExec1406659625 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #define __unused1 #undef inline #define __unused2 #include #include extern ssize_t send(int, const void *, size_t, int); #define __unused5 #include #include #define __unused5 1 int main() { int flag = MSG_NOSIGNAL ; return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_TIMEVAL succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec673414984/fast" gmake -f CMakeFiles/cmTryCompileExec673414984.dir/build.make CMakeFiles/cmTryCompileExec673414984.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec673414984.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_STRUCT_TIMEVAL -o CMakeFiles/cmTryCompileExec673414984.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec673414984 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec673414984.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_STRUCT_TIMEVAL CMakeFiles/cmTryCompileExec673414984.dir/src.c.o -o cmTryCompileExec673414984 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #define __unused1 #undef inline #define __unused2 #include #include #include #include #define __unused5 1 int main() { struct timeval ts; ts.tv_sec = 0; ts.tv_usec = 0 ; return 0; } Determining size of sig_atomic_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4262979661/fast" gmake -f CMakeFiles/cmTryCompileExec4262979661.dir/build.make CMakeFiles/cmTryCompileExec4262979661.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4262979661.dir/SIZEOF_SIG_ATOMIC_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec4262979661.dir/SIZEOF_SIG_ATOMIC_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZEOF_SIG_ATOMIC_T.c Linking C executable cmTryCompileExec4262979661 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4262979661.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec4262979661.dir/SIZEOF_SIG_ATOMIC_T.c.o -o cmTryCompileExec4262979661 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_SIG_ATOMIC_T_NOT_VOLATILE succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec517486275/fast" gmake -f CMakeFiles/cmTryCompileExec517486275.dir/build.make CMakeFiles/cmTryCompileExec517486275.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec517486275.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_SIG_ATOMIC_T_NOT_VOLATILE -o CMakeFiles/cmTryCompileExec517486275.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec517486275 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec517486275.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DHAVE_SIG_ATOMIC_T_NOT_VOLATILE CMakeFiles/cmTryCompileExec517486275.dir/src.c.o -o cmTryCompileExec517486275 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #include int main() { static volatile sig_atomic_t dummy = 0 ; return 0; } Determining size of struct sockaddr_storage passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec453478998/fast" gmake -f CMakeFiles/cmTryCompileExec453478998.dir/build.make CMakeFiles/cmTryCompileExec453478998.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec453478998.dir/SIZEOF_STRUCT_SOCKADDR_STORAGE.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec453478998.dir/SIZEOF_STRUCT_SOCKADDR_STORAGE.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZEOF_STRUCT_SOCKADDR_STORAGE.c Linking C executable cmTryCompileExec453478998 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec453478998.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec453478998.dir/SIZEOF_STRUCT_SOCKADDR_STORAGE.c.o -o cmTryCompileExec453478998 -rdynamic -ldl -lidn gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_DIRENT_H succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec794347982/fast" gmake -f CMakeFiles/cmTryCompileExec794347982.dir/build.make CMakeFiles/cmTryCompileExec794347982.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec794347982.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_DIRENT_H -o CMakeFiles/cmTryCompileExec794347982.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec794347982 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec794347982.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_DIRENT_H CMakeFiles/cmTryCompileExec794347982.dir/src.c.o -o cmTryCompileExec794347982 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #include int main() { static DIR * tmp; if (sizeof(tmp)) return 0; return 0; } Determining if files sys/types.h;acl/libacl.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3567672833/fast" gmake -f CMakeFiles/cmTryCompileExec3567672833.dir/build.make CMakeFiles/cmTryCompileExec3567672833.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3567672833.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3567672833.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3567672833 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3567672833.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3567672833.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3567672833 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4106669116/fast" gmake -f CMakeFiles/cmTryCompileExec4106669116.dir/build.make CMakeFiles/cmTryCompileExec4106669116.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4106669116.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec4106669116.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec4106669116 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4106669116.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec4106669116.dir/CheckIncludeFiles.c.o -o cmTryCompileExec4106669116 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1506048364/fast" gmake -f CMakeFiles/cmTryCompileExec1506048364.dir/build.make CMakeFiles/cmTryCompileExec1506048364.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1506048364.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1506048364.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1506048364 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1506048364.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1506048364.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1506048364 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_WORKING_EXT2_IOC_GETFLAGS succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec999780961/fast" gmake -f CMakeFiles/cmTryCompileExec999780961.dir/build.make CMakeFiles/cmTryCompileExec999780961.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec999780961.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_WORKING_EXT2_IOC_GETFLAGS -o CMakeFiles/cmTryCompileExec999780961.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec999780961 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec999780961.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_WORKING_EXT2_IOC_GETFLAGS CMakeFiles/cmTryCompileExec999780961.dir/src.c.o -o cmTryCompileExec999780961 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #include #include int main(void) { return EXT2_IOC_GETFLAGS; } Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3005061220/fast" gmake -f CMakeFiles/cmTryCompileExec3005061220.dir/build.make CMakeFiles/cmTryCompileExec3005061220.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3005061220.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3005061220.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3005061220 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3005061220.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3005061220.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3005061220 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4081251783/fast" gmake -f CMakeFiles/cmTryCompileExec4081251783.dir/build.make CMakeFiles/cmTryCompileExec4081251783.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4081251783.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec4081251783.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec4081251783 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4081251783.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec4081251783.dir/CheckIncludeFiles.c.o -o cmTryCompileExec4081251783 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2018876511/fast" gmake -f CMakeFiles/cmTryCompileExec2018876511.dir/build.make CMakeFiles/cmTryCompileExec2018876511.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2018876511.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2018876511.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2018876511 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2018876511.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2018876511.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2018876511 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec452714894/fast" gmake -f CMakeFiles/cmTryCompileExec452714894.dir/build.make CMakeFiles/cmTryCompileExec452714894.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec452714894.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec452714894.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec452714894 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec452714894.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec452714894.dir/CheckIncludeFiles.c.o -o cmTryCompileExec452714894 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec319682942/fast" gmake -f CMakeFiles/cmTryCompileExec319682942.dir/build.make CMakeFiles/cmTryCompileExec319682942.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec319682942.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec319682942.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec319682942 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec319682942.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec319682942.dir/CheckIncludeFiles.c.o -o cmTryCompileExec319682942 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2629486553/fast" gmake -f CMakeFiles/cmTryCompileExec2629486553.dir/build.make CMakeFiles/cmTryCompileExec2629486553.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2629486553.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2629486553.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2629486553 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2629486553.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2629486553.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2629486553 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1346786350/fast" gmake -f CMakeFiles/cmTryCompileExec1346786350.dir/build.make CMakeFiles/cmTryCompileExec1346786350.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1346786350.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1346786350.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1346786350 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1346786350.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1346786350.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1346786350 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1196972200/fast" gmake -f CMakeFiles/cmTryCompileExec1196972200.dir/build.make CMakeFiles/cmTryCompileExec1196972200.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1196972200.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1196972200.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1196972200 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1196972200.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1196972200.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1196972200 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec461101520/fast" gmake -f CMakeFiles/cmTryCompileExec461101520.dir/build.make CMakeFiles/cmTryCompileExec461101520.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec461101520.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec461101520.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec461101520 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec461101520.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec461101520.dir/CheckIncludeFiles.c.o -o cmTryCompileExec461101520 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;spawn.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec749881010/fast" gmake -f CMakeFiles/cmTryCompileExec749881010.dir/build.make CMakeFiles/cmTryCompileExec749881010.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec749881010.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec749881010.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec749881010 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec749881010.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec749881010.dir/CheckIncludeFiles.c.o -o cmTryCompileExec749881010 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3449559799/fast" gmake -f CMakeFiles/cmTryCompileExec3449559799.dir/build.make CMakeFiles/cmTryCompileExec3449559799.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3449559799.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3449559799.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3449559799 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3449559799.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3449559799.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3449559799 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/acl.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4115597286/fast" gmake -f CMakeFiles/cmTryCompileExec4115597286.dir/build.make CMakeFiles/cmTryCompileExec4115597286.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4115597286.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec4115597286.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec4115597286 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4115597286.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec4115597286.dir/CheckIncludeFiles.c.o -o cmTryCompileExec4115597286 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2913354748/fast" gmake -f CMakeFiles/cmTryCompileExec2913354748.dir/build.make CMakeFiles/cmTryCompileExec2913354748.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2913354748.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2913354748.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2913354748 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2913354748.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2913354748.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2913354748 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/select.h;sys/stat.h;sys/statfs.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2295109336/fast" gmake -f CMakeFiles/cmTryCompileExec2295109336.dir/build.make CMakeFiles/cmTryCompileExec2295109336.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2295109336.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2295109336.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec2295109336 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2295109336.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2295109336.dir/CheckIncludeFiles.c.o -o cmTryCompileExec2295109336 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/select.h;sys/stat.h;sys/statfs.h;sys/statvfs.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3676299932/fast" gmake -f CMakeFiles/cmTryCompileExec3676299932.dir/build.make CMakeFiles/cmTryCompileExec3676299932.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3676299932.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3676299932.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3676299932 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3676299932.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3676299932.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3676299932 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/select.h;sys/stat.h;sys/statfs.h;sys/statvfs.h;sys/time.h;sys/utsname.h;sys/vfs.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec417928958/fast" gmake -f CMakeFiles/cmTryCompileExec417928958.dir/build.make CMakeFiles/cmTryCompileExec417928958.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec417928958.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec417928958.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec417928958 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec417928958.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec417928958.dir/CheckIncludeFiles.c.o -o cmTryCompileExec417928958 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/select.h;sys/stat.h;sys/statfs.h;sys/statvfs.h;sys/time.h;sys/utsname.h;sys/vfs.h;sys/wait.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1047051016/fast" gmake -f CMakeFiles/cmTryCompileExec1047051016.dir/build.make CMakeFiles/cmTryCompileExec1047051016.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1047051016.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1047051016.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec1047051016 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1047051016.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1047051016.dir/CheckIncludeFiles.c.o -o cmTryCompileExec1047051016 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/select.h;sys/stat.h;sys/statfs.h;sys/statvfs.h;sys/time.h;sys/utsname.h;sys/vfs.h;sys/wait.h;time.h;unistd.h;utime.h;wchar.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec671685890/fast" gmake -f CMakeFiles/cmTryCompileExec671685890.dir/build.make CMakeFiles/cmTryCompileExec671685890.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec671685890.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec671685890.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec671685890 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec671685890.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec671685890.dir/CheckIncludeFiles.c.o -o cmTryCompileExec671685890 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if files sys/types.h;acl/libacl.h;ctype.h;dlfcn.h;errno.h;ext2fs/ext2_fs.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/types.h;linux/fiemap.h;linux/fs.h;linux/magic.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;spawn.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/acl.h;sys/cdefs.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/select.h;sys/stat.h;sys/statfs.h;sys/statvfs.h;sys/time.h;sys/utsname.h;sys/vfs.h;sys/wait.h;time.h;unistd.h;utime.h;wchar.h;wctype.h exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3109784504/fast" gmake -f CMakeFiles/cmTryCompileExec3109784504.dir/build.make CMakeFiles/cmTryCompileExec3109784504.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3109784504.dir/CheckIncludeFiles.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3109784504.dir/CheckIncludeFiles.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c Linking C executable cmTryCompileExec3109784504 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3109784504.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3109784504.dir/CheckIncludeFiles.c.o -o cmTryCompileExec3109784504 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test SAFE_TO_DEFINE_EXTENSIONS succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2582981506/fast" gmake -f CMakeFiles/cmTryCompileExec2582981506.dir/build.make CMakeFiles/cmTryCompileExec2582981506.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2582981506.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DSAFE_TO_DEFINE_EXTENSIONS -o CMakeFiles/cmTryCompileExec2582981506.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec2582981506 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2582981506.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DSAFE_TO_DEFINE_EXTENSIONS CMakeFiles/cmTryCompileExec2582981506.dir/src.c.o -o cmTryCompileExec2582981506 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #define __EXTENSIONS__ 1 int main() { return 0;} Determining if the function chown exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2893480773/fast" gmake -f CMakeFiles/cmTryCompileExec2893480773.dir/build.make CMakeFiles/cmTryCompileExec2893480773.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2893480773.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=chown -fno-builtin -o CMakeFiles/cmTryCompileExec2893480773.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2893480773 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2893480773.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=chown -fno-builtin CMakeFiles/cmTryCompileExec2893480773.dir/CheckFunctionExists.c.o -o cmTryCompileExec2893480773 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function chroot exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3198289965/fast" gmake -f CMakeFiles/cmTryCompileExec3198289965.dir/build.make CMakeFiles/cmTryCompileExec3198289965.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3198289965.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=chroot -fno-builtin -o CMakeFiles/cmTryCompileExec3198289965.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3198289965 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3198289965.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=chroot -fno-builtin CMakeFiles/cmTryCompileExec3198289965.dir/CheckFunctionExists.c.o -o cmTryCompileExec3198289965 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function ctime_r exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2786375839/fast" gmake -f CMakeFiles/cmTryCompileExec2786375839.dir/build.make CMakeFiles/cmTryCompileExec2786375839.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2786375839.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=ctime_r -fno-builtin -o CMakeFiles/cmTryCompileExec2786375839.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2786375839 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2786375839.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=ctime_r -fno-builtin CMakeFiles/cmTryCompileExec2786375839.dir/CheckFunctionExists.c.o -o cmTryCompileExec2786375839 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function dirfd exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec517118096/fast" gmake -f CMakeFiles/cmTryCompileExec517118096.dir/build.make CMakeFiles/cmTryCompileExec517118096.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec517118096.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=dirfd -fno-builtin -o CMakeFiles/cmTryCompileExec517118096.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec517118096 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec517118096.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=dirfd -fno-builtin CMakeFiles/cmTryCompileExec517118096.dir/CheckFunctionExists.c.o -o cmTryCompileExec517118096 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function fchdir exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec421390716/fast" gmake -f CMakeFiles/cmTryCompileExec421390716.dir/build.make CMakeFiles/cmTryCompileExec421390716.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec421390716.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fchdir -fno-builtin -o CMakeFiles/cmTryCompileExec421390716.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec421390716 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec421390716.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fchdir -fno-builtin CMakeFiles/cmTryCompileExec421390716.dir/CheckFunctionExists.c.o -o cmTryCompileExec421390716 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function fchmod exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1009271905/fast" gmake -f CMakeFiles/cmTryCompileExec1009271905.dir/build.make CMakeFiles/cmTryCompileExec1009271905.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1009271905.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fchmod -fno-builtin -o CMakeFiles/cmTryCompileExec1009271905.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1009271905 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1009271905.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fchmod -fno-builtin CMakeFiles/cmTryCompileExec1009271905.dir/CheckFunctionExists.c.o -o cmTryCompileExec1009271905 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function fchown exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3536246643/fast" gmake -f CMakeFiles/cmTryCompileExec3536246643.dir/build.make CMakeFiles/cmTryCompileExec3536246643.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3536246643.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fchown -fno-builtin -o CMakeFiles/cmTryCompileExec3536246643.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3536246643 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3536246643.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fchown -fno-builtin CMakeFiles/cmTryCompileExec3536246643.dir/CheckFunctionExists.c.o -o cmTryCompileExec3536246643 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function fcntl exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3946110542/fast" gmake -f CMakeFiles/cmTryCompileExec3946110542.dir/build.make CMakeFiles/cmTryCompileExec3946110542.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3946110542.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fcntl -fno-builtin -o CMakeFiles/cmTryCompileExec3946110542.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3946110542 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3946110542.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fcntl -fno-builtin CMakeFiles/cmTryCompileExec3946110542.dir/CheckFunctionExists.c.o -o cmTryCompileExec3946110542 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function fdopendir exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2297932415/fast" gmake -f CMakeFiles/cmTryCompileExec2297932415.dir/build.make CMakeFiles/cmTryCompileExec2297932415.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2297932415.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fdopendir -fno-builtin -o CMakeFiles/cmTryCompileExec2297932415.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2297932415 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2297932415.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fdopendir -fno-builtin CMakeFiles/cmTryCompileExec2297932415.dir/CheckFunctionExists.c.o -o cmTryCompileExec2297932415 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function fstat exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2903320020/fast" gmake -f CMakeFiles/cmTryCompileExec2903320020.dir/build.make CMakeFiles/cmTryCompileExec2903320020.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2903320020.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fstat -fno-builtin -o CMakeFiles/cmTryCompileExec2903320020.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2903320020 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2903320020.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fstat -fno-builtin CMakeFiles/cmTryCompileExec2903320020.dir/CheckFunctionExists.c.o -o cmTryCompileExec2903320020 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function fstatat exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4111503647/fast" gmake -f CMakeFiles/cmTryCompileExec4111503647.dir/build.make CMakeFiles/cmTryCompileExec4111503647.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4111503647.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fstatat -fno-builtin -o CMakeFiles/cmTryCompileExec4111503647.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec4111503647 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4111503647.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fstatat -fno-builtin CMakeFiles/cmTryCompileExec4111503647.dir/CheckFunctionExists.c.o -o cmTryCompileExec4111503647 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function fstatfs exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1621658608/fast" gmake -f CMakeFiles/cmTryCompileExec1621658608.dir/build.make CMakeFiles/cmTryCompileExec1621658608.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1621658608.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fstatfs -fno-builtin -o CMakeFiles/cmTryCompileExec1621658608.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1621658608 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1621658608.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fstatfs -fno-builtin CMakeFiles/cmTryCompileExec1621658608.dir/CheckFunctionExists.c.o -o cmTryCompileExec1621658608 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function fstatvfs exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec758465721/fast" gmake -f CMakeFiles/cmTryCompileExec758465721.dir/build.make CMakeFiles/cmTryCompileExec758465721.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec758465721.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fstatvfs -fno-builtin -o CMakeFiles/cmTryCompileExec758465721.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec758465721 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec758465721.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fstatvfs -fno-builtin CMakeFiles/cmTryCompileExec758465721.dir/CheckFunctionExists.c.o -o cmTryCompileExec758465721 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function futimens exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2842075331/fast" gmake -f CMakeFiles/cmTryCompileExec2842075331.dir/build.make CMakeFiles/cmTryCompileExec2842075331.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2842075331.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=futimens -fno-builtin -o CMakeFiles/cmTryCompileExec2842075331.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2842075331 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2842075331.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=futimens -fno-builtin CMakeFiles/cmTryCompileExec2842075331.dir/CheckFunctionExists.c.o -o cmTryCompileExec2842075331 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function futimes exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec304577922/fast" gmake -f CMakeFiles/cmTryCompileExec304577922.dir/build.make CMakeFiles/cmTryCompileExec304577922.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec304577922.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=futimes -fno-builtin -o CMakeFiles/cmTryCompileExec304577922.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec304577922 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec304577922.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=futimes -fno-builtin CMakeFiles/cmTryCompileExec304577922.dir/CheckFunctionExists.c.o -o cmTryCompileExec304577922 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function futimesat exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1760829256/fast" gmake -f CMakeFiles/cmTryCompileExec1760829256.dir/build.make CMakeFiles/cmTryCompileExec1760829256.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1760829256.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=futimesat -fno-builtin -o CMakeFiles/cmTryCompileExec1760829256.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1760829256 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1760829256.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=futimesat -fno-builtin CMakeFiles/cmTryCompileExec1760829256.dir/CheckFunctionExists.c.o -o cmTryCompileExec1760829256 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function getgrgid_r exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec42383858/fast" gmake -f CMakeFiles/cmTryCompileExec42383858.dir/build.make CMakeFiles/cmTryCompileExec42383858.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec42383858.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=getgrgid_r -fno-builtin -o CMakeFiles/cmTryCompileExec42383858.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec42383858 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec42383858.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=getgrgid_r -fno-builtin CMakeFiles/cmTryCompileExec42383858.dir/CheckFunctionExists.c.o -o cmTryCompileExec42383858 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function getgrnam_r exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2277203640/fast" gmake -f CMakeFiles/cmTryCompileExec2277203640.dir/build.make CMakeFiles/cmTryCompileExec2277203640.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2277203640.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=getgrnam_r -fno-builtin -o CMakeFiles/cmTryCompileExec2277203640.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2277203640 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2277203640.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=getgrnam_r -fno-builtin CMakeFiles/cmTryCompileExec2277203640.dir/CheckFunctionExists.c.o -o cmTryCompileExec2277203640 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function getpwnam_r exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec664510138/fast" gmake -f CMakeFiles/cmTryCompileExec664510138.dir/build.make CMakeFiles/cmTryCompileExec664510138.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec664510138.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=getpwnam_r -fno-builtin -o CMakeFiles/cmTryCompileExec664510138.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec664510138 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec664510138.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=getpwnam_r -fno-builtin CMakeFiles/cmTryCompileExec664510138.dir/CheckFunctionExists.c.o -o cmTryCompileExec664510138 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function getpwuid_r exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2010901352/fast" gmake -f CMakeFiles/cmTryCompileExec2010901352.dir/build.make CMakeFiles/cmTryCompileExec2010901352.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2010901352.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=getpwuid_r -fno-builtin -o CMakeFiles/cmTryCompileExec2010901352.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2010901352 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2010901352.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=getpwuid_r -fno-builtin CMakeFiles/cmTryCompileExec2010901352.dir/CheckFunctionExists.c.o -o cmTryCompileExec2010901352 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function getpid exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1833712449/fast" gmake -f CMakeFiles/cmTryCompileExec1833712449.dir/build.make CMakeFiles/cmTryCompileExec1833712449.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1833712449.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=getpid -fno-builtin -o CMakeFiles/cmTryCompileExec1833712449.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1833712449 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1833712449.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=getpid -fno-builtin CMakeFiles/cmTryCompileExec1833712449.dir/CheckFunctionExists.c.o -o cmTryCompileExec1833712449 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function lchown exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec629210014/fast" gmake -f CMakeFiles/cmTryCompileExec629210014.dir/build.make CMakeFiles/cmTryCompileExec629210014.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec629210014.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=lchown -fno-builtin -o CMakeFiles/cmTryCompileExec629210014.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec629210014 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec629210014.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=lchown -fno-builtin CMakeFiles/cmTryCompileExec629210014.dir/CheckFunctionExists.c.o -o cmTryCompileExec629210014 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function link exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3411189098/fast" gmake -f CMakeFiles/cmTryCompileExec3411189098.dir/build.make CMakeFiles/cmTryCompileExec3411189098.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3411189098.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=link -fno-builtin -o CMakeFiles/cmTryCompileExec3411189098.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3411189098 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3411189098.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=link -fno-builtin CMakeFiles/cmTryCompileExec3411189098.dir/CheckFunctionExists.c.o -o cmTryCompileExec3411189098 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function lstat exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec829637620/fast" gmake -f CMakeFiles/cmTryCompileExec829637620.dir/build.make CMakeFiles/cmTryCompileExec829637620.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec829637620.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=lstat -fno-builtin -o CMakeFiles/cmTryCompileExec829637620.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec829637620 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec829637620.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=lstat -fno-builtin CMakeFiles/cmTryCompileExec829637620.dir/CheckFunctionExists.c.o -o cmTryCompileExec829637620 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function lutimes exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2127739620/fast" gmake -f CMakeFiles/cmTryCompileExec2127739620.dir/build.make CMakeFiles/cmTryCompileExec2127739620.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2127739620.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=lutimes -fno-builtin -o CMakeFiles/cmTryCompileExec2127739620.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2127739620 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2127739620.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=lutimes -fno-builtin CMakeFiles/cmTryCompileExec2127739620.dir/CheckFunctionExists.c.o -o cmTryCompileExec2127739620 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function mbrtowc exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3167420252/fast" gmake -f CMakeFiles/cmTryCompileExec3167420252.dir/build.make CMakeFiles/cmTryCompileExec3167420252.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3167420252.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=mbrtowc -fno-builtin -o CMakeFiles/cmTryCompileExec3167420252.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3167420252 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3167420252.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=mbrtowc -fno-builtin CMakeFiles/cmTryCompileExec3167420252.dir/CheckFunctionExists.c.o -o cmTryCompileExec3167420252 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function memmove exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1999517595/fast" gmake -f CMakeFiles/cmTryCompileExec1999517595.dir/build.make CMakeFiles/cmTryCompileExec1999517595.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1999517595.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=memmove -fno-builtin -o CMakeFiles/cmTryCompileExec1999517595.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1999517595 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1999517595.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=memmove -fno-builtin CMakeFiles/cmTryCompileExec1999517595.dir/CheckFunctionExists.c.o -o cmTryCompileExec1999517595 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function mkdir exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec378896585/fast" gmake -f CMakeFiles/cmTryCompileExec378896585.dir/build.make CMakeFiles/cmTryCompileExec378896585.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec378896585.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=mkdir -fno-builtin -o CMakeFiles/cmTryCompileExec378896585.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec378896585 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec378896585.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=mkdir -fno-builtin CMakeFiles/cmTryCompileExec378896585.dir/CheckFunctionExists.c.o -o cmTryCompileExec378896585 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function mkfifo exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec219558119/fast" gmake -f CMakeFiles/cmTryCompileExec219558119.dir/build.make CMakeFiles/cmTryCompileExec219558119.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec219558119.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=mkfifo -fno-builtin -o CMakeFiles/cmTryCompileExec219558119.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec219558119 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec219558119.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=mkfifo -fno-builtin CMakeFiles/cmTryCompileExec219558119.dir/CheckFunctionExists.c.o -o cmTryCompileExec219558119 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function mknod exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2802346203/fast" gmake -f CMakeFiles/cmTryCompileExec2802346203.dir/build.make CMakeFiles/cmTryCompileExec2802346203.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2802346203.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=mknod -fno-builtin -o CMakeFiles/cmTryCompileExec2802346203.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2802346203 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2802346203.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=mknod -fno-builtin CMakeFiles/cmTryCompileExec2802346203.dir/CheckFunctionExists.c.o -o cmTryCompileExec2802346203 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function mkstemp exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4138143770/fast" gmake -f CMakeFiles/cmTryCompileExec4138143770.dir/build.make CMakeFiles/cmTryCompileExec4138143770.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4138143770.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=mkstemp -fno-builtin -o CMakeFiles/cmTryCompileExec4138143770.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec4138143770 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4138143770.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=mkstemp -fno-builtin CMakeFiles/cmTryCompileExec4138143770.dir/CheckFunctionExists.c.o -o cmTryCompileExec4138143770 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function nl_langinfo exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1709146447/fast" gmake -f CMakeFiles/cmTryCompileExec1709146447.dir/build.make CMakeFiles/cmTryCompileExec1709146447.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1709146447.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=nl_langinfo -fno-builtin -o CMakeFiles/cmTryCompileExec1709146447.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1709146447 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1709146447.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=nl_langinfo -fno-builtin CMakeFiles/cmTryCompileExec1709146447.dir/CheckFunctionExists.c.o -o cmTryCompileExec1709146447 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function openat exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2136075334/fast" gmake -f CMakeFiles/cmTryCompileExec2136075334.dir/build.make CMakeFiles/cmTryCompileExec2136075334.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2136075334.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=openat -fno-builtin -o CMakeFiles/cmTryCompileExec2136075334.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2136075334 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2136075334.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=openat -fno-builtin CMakeFiles/cmTryCompileExec2136075334.dir/CheckFunctionExists.c.o -o cmTryCompileExec2136075334 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function posix_spawnp exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1379040296/fast" gmake -f CMakeFiles/cmTryCompileExec1379040296.dir/build.make CMakeFiles/cmTryCompileExec1379040296.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1379040296.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=posix_spawnp -fno-builtin -o CMakeFiles/cmTryCompileExec1379040296.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1379040296 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1379040296.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=posix_spawnp -fno-builtin CMakeFiles/cmTryCompileExec1379040296.dir/CheckFunctionExists.c.o -o cmTryCompileExec1379040296 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function readlink exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4222710612/fast" gmake -f CMakeFiles/cmTryCompileExec4222710612.dir/build.make CMakeFiles/cmTryCompileExec4222710612.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4222710612.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=readlink -fno-builtin -o CMakeFiles/cmTryCompileExec4222710612.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec4222710612 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4222710612.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=readlink -fno-builtin CMakeFiles/cmTryCompileExec4222710612.dir/CheckFunctionExists.c.o -o cmTryCompileExec4222710612 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function setenv exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3263262560/fast" gmake -f CMakeFiles/cmTryCompileExec3263262560.dir/build.make CMakeFiles/cmTryCompileExec3263262560.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3263262560.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=setenv -fno-builtin -o CMakeFiles/cmTryCompileExec3263262560.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3263262560 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3263262560.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=setenv -fno-builtin CMakeFiles/cmTryCompileExec3263262560.dir/CheckFunctionExists.c.o -o cmTryCompileExec3263262560 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function statfs exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec554353931/fast" gmake -f CMakeFiles/cmTryCompileExec554353931.dir/build.make CMakeFiles/cmTryCompileExec554353931.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec554353931.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=statfs -fno-builtin -o CMakeFiles/cmTryCompileExec554353931.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec554353931 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec554353931.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=statfs -fno-builtin CMakeFiles/cmTryCompileExec554353931.dir/CheckFunctionExists.c.o -o cmTryCompileExec554353931 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function statvfs exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4072494012/fast" gmake -f CMakeFiles/cmTryCompileExec4072494012.dir/build.make CMakeFiles/cmTryCompileExec4072494012.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4072494012.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=statvfs -fno-builtin -o CMakeFiles/cmTryCompileExec4072494012.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec4072494012 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4072494012.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=statvfs -fno-builtin CMakeFiles/cmTryCompileExec4072494012.dir/CheckFunctionExists.c.o -o cmTryCompileExec4072494012 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function strchr exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3170184280/fast" gmake -f CMakeFiles/cmTryCompileExec3170184280.dir/build.make CMakeFiles/cmTryCompileExec3170184280.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3170184280.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=strchr -fno-builtin -o CMakeFiles/cmTryCompileExec3170184280.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3170184280 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3170184280.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=strchr -fno-builtin CMakeFiles/cmTryCompileExec3170184280.dir/CheckFunctionExists.c.o -o cmTryCompileExec3170184280 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function strerror exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec828614641/fast" gmake -f CMakeFiles/cmTryCompileExec828614641.dir/build.make CMakeFiles/cmTryCompileExec828614641.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec828614641.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=strerror -fno-builtin -o CMakeFiles/cmTryCompileExec828614641.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec828614641 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec828614641.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=strerror -fno-builtin CMakeFiles/cmTryCompileExec828614641.dir/CheckFunctionExists.c.o -o cmTryCompileExec828614641 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function strrchr exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2474688355/fast" gmake -f CMakeFiles/cmTryCompileExec2474688355.dir/build.make CMakeFiles/cmTryCompileExec2474688355.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2474688355.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=strrchr -fno-builtin -o CMakeFiles/cmTryCompileExec2474688355.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2474688355 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2474688355.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=strrchr -fno-builtin CMakeFiles/cmTryCompileExec2474688355.dir/CheckFunctionExists.c.o -o cmTryCompileExec2474688355 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function symlink exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2920384732/fast" gmake -f CMakeFiles/cmTryCompileExec2920384732.dir/build.make CMakeFiles/cmTryCompileExec2920384732.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2920384732.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=symlink -fno-builtin -o CMakeFiles/cmTryCompileExec2920384732.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2920384732 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2920384732.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=symlink -fno-builtin CMakeFiles/cmTryCompileExec2920384732.dir/CheckFunctionExists.c.o -o cmTryCompileExec2920384732 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function timegm exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2655494299/fast" gmake -f CMakeFiles/cmTryCompileExec2655494299.dir/build.make CMakeFiles/cmTryCompileExec2655494299.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2655494299.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=timegm -fno-builtin -o CMakeFiles/cmTryCompileExec2655494299.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2655494299 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2655494299.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=timegm -fno-builtin CMakeFiles/cmTryCompileExec2655494299.dir/CheckFunctionExists.c.o -o cmTryCompileExec2655494299 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function tzset exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2044888655/fast" gmake -f CMakeFiles/cmTryCompileExec2044888655.dir/build.make CMakeFiles/cmTryCompileExec2044888655.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2044888655.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=tzset -fno-builtin -o CMakeFiles/cmTryCompileExec2044888655.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2044888655 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2044888655.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=tzset -fno-builtin CMakeFiles/cmTryCompileExec2044888655.dir/CheckFunctionExists.c.o -o cmTryCompileExec2044888655 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function utimes exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2096919628/fast" gmake -f CMakeFiles/cmTryCompileExec2096919628.dir/build.make CMakeFiles/cmTryCompileExec2096919628.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2096919628.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=utimes -fno-builtin -o CMakeFiles/cmTryCompileExec2096919628.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec2096919628 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2096919628.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=utimes -fno-builtin CMakeFiles/cmTryCompileExec2096919628.dir/CheckFunctionExists.c.o -o cmTryCompileExec2096919628 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function utimensat exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3171070193/fast" gmake -f CMakeFiles/cmTryCompileExec3171070193.dir/build.make CMakeFiles/cmTryCompileExec3171070193.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3171070193.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=utimensat -fno-builtin -o CMakeFiles/cmTryCompileExec3171070193.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3171070193 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3171070193.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=utimensat -fno-builtin CMakeFiles/cmTryCompileExec3171070193.dir/CheckFunctionExists.c.o -o cmTryCompileExec3171070193 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function vfork exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3320988606/fast" gmake -f CMakeFiles/cmTryCompileExec3320988606.dir/build.make CMakeFiles/cmTryCompileExec3320988606.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3320988606.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=vfork -fno-builtin -o CMakeFiles/cmTryCompileExec3320988606.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3320988606 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3320988606.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=vfork -fno-builtin CMakeFiles/cmTryCompileExec3320988606.dir/CheckFunctionExists.c.o -o cmTryCompileExec3320988606 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function wcrtomb exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1138499577/fast" gmake -f CMakeFiles/cmTryCompileExec1138499577.dir/build.make CMakeFiles/cmTryCompileExec1138499577.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1138499577.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wcrtomb -fno-builtin -o CMakeFiles/cmTryCompileExec1138499577.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1138499577 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1138499577.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wcrtomb -fno-builtin CMakeFiles/cmTryCompileExec1138499577.dir/CheckFunctionExists.c.o -o cmTryCompileExec1138499577 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function wcscmp exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3654153449/fast" gmake -f CMakeFiles/cmTryCompileExec3654153449.dir/build.make CMakeFiles/cmTryCompileExec3654153449.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3654153449.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wcscmp -fno-builtin -o CMakeFiles/cmTryCompileExec3654153449.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3654153449 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3654153449.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wcscmp -fno-builtin CMakeFiles/cmTryCompileExec3654153449.dir/CheckFunctionExists.c.o -o cmTryCompileExec3654153449 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function wcscpy exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec176002942/fast" gmake -f CMakeFiles/cmTryCompileExec176002942.dir/build.make CMakeFiles/cmTryCompileExec176002942.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec176002942.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wcscpy -fno-builtin -o CMakeFiles/cmTryCompileExec176002942.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec176002942 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec176002942.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wcscpy -fno-builtin CMakeFiles/cmTryCompileExec176002942.dir/CheckFunctionExists.c.o -o cmTryCompileExec176002942 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function wcslen exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3500077599/fast" gmake -f CMakeFiles/cmTryCompileExec3500077599.dir/build.make CMakeFiles/cmTryCompileExec3500077599.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3500077599.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wcslen -fno-builtin -o CMakeFiles/cmTryCompileExec3500077599.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3500077599 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3500077599.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wcslen -fno-builtin CMakeFiles/cmTryCompileExec3500077599.dir/CheckFunctionExists.c.o -o cmTryCompileExec3500077599 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function wctomb exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1876862337/fast" gmake -f CMakeFiles/cmTryCompileExec1876862337.dir/build.make CMakeFiles/cmTryCompileExec1876862337.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1876862337.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wctomb -fno-builtin -o CMakeFiles/cmTryCompileExec1876862337.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1876862337 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1876862337.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wctomb -fno-builtin CMakeFiles/cmTryCompileExec1876862337.dir/CheckFunctionExists.c.o -o cmTryCompileExec1876862337 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function fseeko exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3336032639/fast" gmake -f CMakeFiles/cmTryCompileExec3336032639.dir/build.make CMakeFiles/cmTryCompileExec3336032639.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3336032639.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fseeko -fno-builtin -o CMakeFiles/cmTryCompileExec3336032639.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3336032639 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3336032639.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=fseeko -fno-builtin CMakeFiles/cmTryCompileExec3336032639.dir/CheckFunctionExists.c.o -o cmTryCompileExec3336032639 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function vprintf exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1909548118/fast" gmake -f CMakeFiles/cmTryCompileExec1909548118.dir/build.make CMakeFiles/cmTryCompileExec1909548118.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1909548118.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=vprintf -fno-builtin -o CMakeFiles/cmTryCompileExec1909548118.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1909548118 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1909548118.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=vprintf -fno-builtin CMakeFiles/cmTryCompileExec1909548118.dir/CheckFunctionExists.c.o -o cmTryCompileExec1909548118 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function wmemcmp exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec265183552/fast" gmake -f CMakeFiles/cmTryCompileExec265183552.dir/build.make CMakeFiles/cmTryCompileExec265183552.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec265183552.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wmemcmp -fno-builtin -o CMakeFiles/cmTryCompileExec265183552.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec265183552 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec265183552.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wmemcmp -fno-builtin CMakeFiles/cmTryCompileExec265183552.dir/CheckFunctionExists.c.o -o cmTryCompileExec265183552 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function wmemcpy exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3079790781/fast" gmake -f CMakeFiles/cmTryCompileExec3079790781.dir/build.make CMakeFiles/cmTryCompileExec3079790781.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3079790781.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wmemcpy -fno-builtin -o CMakeFiles/cmTryCompileExec3079790781.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3079790781 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3079790781.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DCHECK_FUNCTION_EXISTS=wmemcpy -fno-builtin CMakeFiles/cmTryCompileExec3079790781.dir/CheckFunctionExists.c.o -o cmTryCompileExec3079790781 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Performing C SOURCE FILE Test HAVE_READDIR_R succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3834831461/fast" gmake -f CMakeFiles/cmTryCompileExec3834831461.dir/build.make CMakeFiles/cmTryCompileExec3834831461.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3834831461.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_READDIR_R -o CMakeFiles/cmTryCompileExec3834831461.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec3834831461 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3834831461.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_READDIR_R CMakeFiles/cmTryCompileExec3834831461.dir/src.c.o -o cmTryCompileExec3834831461 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #include int main() {DIR *d = opendir("."); struct dirent e,*r; return readdir_r(d,&e,&r);} Performing C SOURCE FILE Test HAVE_READLINKAT succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2568562190/fast" gmake -f CMakeFiles/cmTryCompileExec2568562190.dir/build.make CMakeFiles/cmTryCompileExec2568562190.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2568562190.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_READLINKAT -o CMakeFiles/cmTryCompileExec2568562190.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec2568562190 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2568562190.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_READLINKAT CMakeFiles/cmTryCompileExec2568562190.dir/src.c.o -o cmTryCompileExec2568562190 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #include #include int main() {char buf[10]; return readlinkat(AT_FDCWD, "", buf, 0);} Performing C SOURCE FILE Test MAJOR_IN_SYSMACROS succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4266821902/fast" gmake -f CMakeFiles/cmTryCompileExec4266821902.dir/build.make CMakeFiles/cmTryCompileExec4266821902.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4266821902.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DMAJOR_IN_SYSMACROS -o CMakeFiles/cmTryCompileExec4266821902.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec4266821902 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4266821902.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DMAJOR_IN_SYSMACROS CMakeFiles/cmTryCompileExec4266821902.dir/src.c.o -o cmTryCompileExec4266821902 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #include int main() { return major(256); } Determining if the EILSEQ exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4229406810/fast" gmake -f CMakeFiles/cmTryCompileExec4229406810.dir/build.make CMakeFiles/cmTryCompileExec4229406810.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4229406810.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec4229406810.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec4229406810 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4229406810.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec4229406810.dir/CheckSymbolExists.c.o -o cmTryCompileExec4229406810 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef EILSEQ return ((int*)(&EILSEQ))[argc]; #else (void)argc; return 0; #endif } Determining if the INT64_MAX exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1100256178/fast" gmake -f CMakeFiles/cmTryCompileExec1100256178.dir/build.make CMakeFiles/cmTryCompileExec1100256178.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1100256178.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1100256178.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1100256178 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1100256178.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1100256178.dir/CheckSymbolExists.c.o -o cmTryCompileExec1100256178 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef INT64_MAX return ((int*)(&INT64_MAX))[argc]; #else (void)argc; return 0; #endif } Determining if the INT64_MIN exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2767133724/fast" gmake -f CMakeFiles/cmTryCompileExec2767133724.dir/build.make CMakeFiles/cmTryCompileExec2767133724.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2767133724.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2767133724.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2767133724 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2767133724.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2767133724.dir/CheckSymbolExists.c.o -o cmTryCompileExec2767133724 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef INT64_MIN return ((int*)(&INT64_MIN))[argc]; #else (void)argc; return 0; #endif } Determining if the UINT32_MAX exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec337366419/fast" gmake -f CMakeFiles/cmTryCompileExec337366419.dir/build.make CMakeFiles/cmTryCompileExec337366419.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec337366419.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec337366419.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec337366419 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec337366419.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec337366419.dir/CheckSymbolExists.c.o -o cmTryCompileExec337366419 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef UINT32_MAX return ((int*)(&UINT32_MAX))[argc]; #else (void)argc; return 0; #endif } Determining if the UINT64_MAX exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1699779948/fast" gmake -f CMakeFiles/cmTryCompileExec1699779948.dir/build.make CMakeFiles/cmTryCompileExec1699779948.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1699779948.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1699779948.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec1699779948 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1699779948.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1699779948.dir/CheckSymbolExists.c.o -o cmTryCompileExec1699779948 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef UINT64_MAX return ((int*)(&UINT64_MAX))[argc]; #else (void)argc; return 0; #endif } Determining if the SIZE_MAX exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3236119192/fast" gmake -f CMakeFiles/cmTryCompileExec3236119192.dir/build.make CMakeFiles/cmTryCompileExec3236119192.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3236119192.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3236119192.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3236119192 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3236119192.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3236119192.dir/CheckSymbolExists.c.o -o cmTryCompileExec3236119192 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include #include #include int main(int argc, char** argv) { (void)argv; #ifndef SIZE_MAX return ((int*)(&SIZE_MAX))[argc]; #else (void)argc; return 0; #endif } Determining if the SSIZE_MAX exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec847332386/fast" gmake -f CMakeFiles/cmTryCompileExec847332386.dir/build.make CMakeFiles/cmTryCompileExec847332386.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec847332386.dir/CheckSymbolExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec847332386.dir/CheckSymbolExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec847332386 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec847332386.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec847332386.dir/CheckSymbolExists.c.o -o cmTryCompileExec847332386 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef SSIZE_MAX return ((int*)(&SSIZE_MAX))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test HAVE_STRUCT_TM_TM_GMTOFF succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4106660906/fast" gmake -f CMakeFiles/cmTryCompileExec4106660906.dir/build.make CMakeFiles/cmTryCompileExec4106660906.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4106660906.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_STRUCT_TM_TM_GMTOFF -o CMakeFiles/cmTryCompileExec4106660906.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec4106660906 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4106660906.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_STRUCT_TM_TM_GMTOFF CMakeFiles/cmTryCompileExec4106660906.dir/src.c.o -o cmTryCompileExec4106660906 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #include int main() { static struct tm tmp; if (sizeof(tmp.tm_gmtoff)) return 0; return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1535454788/fast" gmake -f CMakeFiles/cmTryCompileExec1535454788.dir/build.make CMakeFiles/cmTryCompileExec1535454788.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1535454788.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_STRUCT_STAT_ST_MTIM_TV_NSEC -o CMakeFiles/cmTryCompileExec1535454788.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec1535454788 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1535454788.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_STRUCT_STAT_ST_MTIM_TV_NSEC CMakeFiles/cmTryCompileExec1535454788.dir/src.c.o -o cmTryCompileExec1535454788 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { static struct stat tmp; if (sizeof(tmp.st_mtim.tv_nsec)) return 0; return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_BLKSIZE succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2163115781/fast" gmake -f CMakeFiles/cmTryCompileExec2163115781.dir/build.make CMakeFiles/cmTryCompileExec2163115781.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2163115781.dir/src.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_STRUCT_STAT_ST_BLKSIZE -o CMakeFiles/cmTryCompileExec2163115781.dir/src.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.c Linking C executable cmTryCompileExec2163115781 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2163115781.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -DHAVE_STRUCT_STAT_ST_BLKSIZE CMakeFiles/cmTryCompileExec2163115781.dir/src.c.o -o cmTryCompileExec2163115781 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #include #include int main() { static struct stat tmp; if (sizeof(tmp.st_blksize)) return 0; return 0; } Determining size of short passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3435011229/fast" gmake -f CMakeFiles/cmTryCompileExec3435011229.dir/build.make CMakeFiles/cmTryCompileExec3435011229.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3435011229.dir/SIZE_OF_SHORT.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3435011229.dir/SIZE_OF_SHORT.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZE_OF_SHORT.c Linking C executable cmTryCompileExec3435011229 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3435011229.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3435011229.dir/SIZE_OF_SHORT.c.o -o cmTryCompileExec3435011229 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of int passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2392647179/fast" gmake -f CMakeFiles/cmTryCompileExec2392647179.dir/build.make CMakeFiles/cmTryCompileExec2392647179.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2392647179.dir/SIZE_OF_INT.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2392647179.dir/SIZE_OF_INT.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZE_OF_INT.c Linking C executable cmTryCompileExec2392647179 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2392647179.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2392647179.dir/SIZE_OF_INT.c.o -o cmTryCompileExec2392647179 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of long passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2656898310/fast" gmake -f CMakeFiles/cmTryCompileExec2656898310.dir/build.make CMakeFiles/cmTryCompileExec2656898310.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2656898310.dir/SIZE_OF_LONG.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2656898310.dir/SIZE_OF_LONG.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZE_OF_LONG.c Linking C executable cmTryCompileExec2656898310 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2656898310.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2656898310.dir/SIZE_OF_LONG.c.o -o cmTryCompileExec2656898310 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of long long passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1625491665/fast" gmake -f CMakeFiles/cmTryCompileExec1625491665.dir/build.make CMakeFiles/cmTryCompileExec1625491665.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1625491665.dir/SIZE_OF_LONG_LONG.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1625491665.dir/SIZE_OF_LONG_LONG.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZE_OF_LONG_LONG.c Linking C executable cmTryCompileExec1625491665 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1625491665.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1625491665.dir/SIZE_OF_LONG_LONG.c.o -o cmTryCompileExec1625491665 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of unsigned short passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3292583996/fast" gmake -f CMakeFiles/cmTryCompileExec3292583996.dir/build.make CMakeFiles/cmTryCompileExec3292583996.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3292583996.dir/SIZE_OF_UNSIGNED_SHORT.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3292583996.dir/SIZE_OF_UNSIGNED_SHORT.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZE_OF_UNSIGNED_SHORT.c Linking C executable cmTryCompileExec3292583996 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3292583996.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3292583996.dir/SIZE_OF_UNSIGNED_SHORT.c.o -o cmTryCompileExec3292583996 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of unsigned passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec750436730/fast" gmake -f CMakeFiles/cmTryCompileExec750436730.dir/build.make CMakeFiles/cmTryCompileExec750436730.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec750436730.dir/SIZE_OF_UNSIGNED.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec750436730.dir/SIZE_OF_UNSIGNED.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZE_OF_UNSIGNED.c Linking C executable cmTryCompileExec750436730 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec750436730.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec750436730.dir/SIZE_OF_UNSIGNED.c.o -o cmTryCompileExec750436730 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of unsigned long passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3024982940/fast" gmake -f CMakeFiles/cmTryCompileExec3024982940.dir/build.make CMakeFiles/cmTryCompileExec3024982940.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3024982940.dir/SIZE_OF_UNSIGNED_LONG.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3024982940.dir/SIZE_OF_UNSIGNED_LONG.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZE_OF_UNSIGNED_LONG.c Linking C executable cmTryCompileExec3024982940 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3024982940.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3024982940.dir/SIZE_OF_UNSIGNED_LONG.c.o -o cmTryCompileExec3024982940 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of unsigned long long passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec868696387/fast" gmake -f CMakeFiles/cmTryCompileExec868696387.dir/build.make CMakeFiles/cmTryCompileExec868696387.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec868696387.dir/SIZE_OF_UNSIGNED_LONG_LONG.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec868696387.dir/SIZE_OF_UNSIGNED_LONG_LONG.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZE_OF_UNSIGNED_LONG_LONG.c Linking C executable cmTryCompileExec868696387 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec868696387.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec868696387.dir/SIZE_OF_UNSIGNED_LONG_LONG.c.o -o cmTryCompileExec868696387 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of int16_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2757104760/fast" gmake -f CMakeFiles/cmTryCompileExec2757104760.dir/build.make CMakeFiles/cmTryCompileExec2757104760.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2757104760.dir/INT16_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2757104760.dir/INT16_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/INT16_T.c Linking C executable cmTryCompileExec2757104760 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2757104760.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2757104760.dir/INT16_T.c.o -o cmTryCompileExec2757104760 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of int32_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2039666377/fast" gmake -f CMakeFiles/cmTryCompileExec2039666377.dir/build.make CMakeFiles/cmTryCompileExec2039666377.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2039666377.dir/INT32_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2039666377.dir/INT32_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/INT32_T.c Linking C executable cmTryCompileExec2039666377 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2039666377.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2039666377.dir/INT32_T.c.o -o cmTryCompileExec2039666377 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of int64_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1002307544/fast" gmake -f CMakeFiles/cmTryCompileExec1002307544.dir/build.make CMakeFiles/cmTryCompileExec1002307544.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1002307544.dir/INT64_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1002307544.dir/INT64_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/INT64_T.c Linking C executable cmTryCompileExec1002307544 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1002307544.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1002307544.dir/INT64_T.c.o -o cmTryCompileExec1002307544 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of intmax_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2834480381/fast" gmake -f CMakeFiles/cmTryCompileExec2834480381.dir/build.make CMakeFiles/cmTryCompileExec2834480381.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2834480381.dir/INTMAX_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2834480381.dir/INTMAX_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/INTMAX_T.c Linking C executable cmTryCompileExec2834480381 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2834480381.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2834480381.dir/INTMAX_T.c.o -o cmTryCompileExec2834480381 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of uint8_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec386515059/fast" gmake -f CMakeFiles/cmTryCompileExec386515059.dir/build.make CMakeFiles/cmTryCompileExec386515059.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec386515059.dir/UINT8_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec386515059.dir/UINT8_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/UINT8_T.c Linking C executable cmTryCompileExec386515059 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec386515059.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec386515059.dir/UINT8_T.c.o -o cmTryCompileExec386515059 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of uint16_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1817632557/fast" gmake -f CMakeFiles/cmTryCompileExec1817632557.dir/build.make CMakeFiles/cmTryCompileExec1817632557.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1817632557.dir/UINT16_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1817632557.dir/UINT16_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/UINT16_T.c Linking C executable cmTryCompileExec1817632557 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1817632557.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1817632557.dir/UINT16_T.c.o -o cmTryCompileExec1817632557 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of uint32_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec7750726/fast" gmake -f CMakeFiles/cmTryCompileExec7750726.dir/build.make CMakeFiles/cmTryCompileExec7750726.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec7750726.dir/UINT32_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec7750726.dir/UINT32_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/UINT32_T.c Linking C executable cmTryCompileExec7750726 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec7750726.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec7750726.dir/UINT32_T.c.o -o cmTryCompileExec7750726 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of uint64_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec477684792/fast" gmake -f CMakeFiles/cmTryCompileExec477684792.dir/build.make CMakeFiles/cmTryCompileExec477684792.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec477684792.dir/UINT64_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec477684792.dir/UINT64_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/UINT64_T.c Linking C executable cmTryCompileExec477684792 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec477684792.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec477684792.dir/UINT64_T.c.o -o cmTryCompileExec477684792 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of uintmax_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3728666319/fast" gmake -f CMakeFiles/cmTryCompileExec3728666319.dir/build.make CMakeFiles/cmTryCompileExec3728666319.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3728666319.dir/UINTMAX_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3728666319.dir/UINTMAX_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/UINTMAX_T.c Linking C executable cmTryCompileExec3728666319 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3728666319.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3728666319.dir/UINTMAX_T.c.o -o cmTryCompileExec3728666319 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of dev_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3268138505/fast" gmake -f CMakeFiles/cmTryCompileExec3268138505.dir/build.make CMakeFiles/cmTryCompileExec3268138505.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3268138505.dir/DEV_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3268138505.dir/DEV_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/DEV_T.c Linking C executable cmTryCompileExec3268138505 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3268138505.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3268138505.dir/DEV_T.c.o -o cmTryCompileExec3268138505 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of gid_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1453332982/fast" gmake -f CMakeFiles/cmTryCompileExec1453332982.dir/build.make CMakeFiles/cmTryCompileExec1453332982.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1453332982.dir/GID_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1453332982.dir/GID_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/GID_T.c Linking C executable cmTryCompileExec1453332982 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1453332982.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1453332982.dir/GID_T.c.o -o cmTryCompileExec1453332982 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of id_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec214498718/fast" gmake -f CMakeFiles/cmTryCompileExec214498718.dir/build.make CMakeFiles/cmTryCompileExec214498718.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec214498718.dir/ID_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec214498718.dir/ID_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/ID_T.c Linking C executable cmTryCompileExec214498718 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec214498718.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec214498718.dir/ID_T.c.o -o cmTryCompileExec214498718 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of mode_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3287003717/fast" gmake -f CMakeFiles/cmTryCompileExec3287003717.dir/build.make CMakeFiles/cmTryCompileExec3287003717.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3287003717.dir/MODE_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3287003717.dir/MODE_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/MODE_T.c Linking C executable cmTryCompileExec3287003717 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3287003717.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3287003717.dir/MODE_T.c.o -o cmTryCompileExec3287003717 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of off_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec617835386/fast" gmake -f CMakeFiles/cmTryCompileExec617835386.dir/build.make CMakeFiles/cmTryCompileExec617835386.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec617835386.dir/OFF_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec617835386.dir/OFF_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/OFF_T.c Linking C executable cmTryCompileExec617835386 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec617835386.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec617835386.dir/OFF_T.c.o -o cmTryCompileExec617835386 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of size_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3256160288/fast" gmake -f CMakeFiles/cmTryCompileExec3256160288.dir/build.make CMakeFiles/cmTryCompileExec3256160288.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3256160288.dir/SIZE_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3256160288.dir/SIZE_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZE_T.c Linking C executable cmTryCompileExec3256160288 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3256160288.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3256160288.dir/SIZE_T.c.o -o cmTryCompileExec3256160288 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of ssize_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4135093750/fast" gmake -f CMakeFiles/cmTryCompileExec4135093750.dir/build.make CMakeFiles/cmTryCompileExec4135093750.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4135093750.dir/SSIZE_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec4135093750.dir/SSIZE_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SSIZE_T.c Linking C executable cmTryCompileExec4135093750 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4135093750.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec4135093750.dir/SSIZE_T.c.o -o cmTryCompileExec4135093750 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of uid_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3874749598/fast" gmake -f CMakeFiles/cmTryCompileExec3874749598.dir/build.make CMakeFiles/cmTryCompileExec3874749598.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3874749598.dir/UID_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3874749598.dir/UID_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/UID_T.c Linking C executable cmTryCompileExec3874749598 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3874749598.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3874749598.dir/UID_T.c.o -o cmTryCompileExec3874749598 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of pid_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3367691281/fast" gmake -f CMakeFiles/cmTryCompileExec3367691281.dir/build.make CMakeFiles/cmTryCompileExec3367691281.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3367691281.dir/PID_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec3367691281.dir/PID_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/PID_T.c Linking C executable cmTryCompileExec3367691281 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3367691281.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec3367691281.dir/PID_T.c.o -o cmTryCompileExec3367691281 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of intptr_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec405417224/fast" gmake -f CMakeFiles/cmTryCompileExec405417224.dir/build.make CMakeFiles/cmTryCompileExec405417224.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec405417224.dir/INTPTR_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec405417224.dir/INTPTR_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/INTPTR_T.c Linking C executable cmTryCompileExec405417224 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec405417224.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec405417224.dir/INTPTR_T.c.o -o cmTryCompileExec405417224 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of uintptr_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1240834156/fast" gmake -f CMakeFiles/cmTryCompileExec1240834156.dir/build.make CMakeFiles/cmTryCompileExec1240834156.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1240834156.dir/UINTPTR_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec1240834156.dir/UINTPTR_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/UINTPTR_T.c Linking C executable cmTryCompileExec1240834156 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1240834156.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec1240834156.dir/UINTPTR_T.c.o -o cmTryCompileExec1240834156 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining size of wchar_t passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2601107054/fast" gmake -f CMakeFiles/cmTryCompileExec2601107054.dir/build.make CMakeFiles/cmTryCompileExec2601107054.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2601107054.dir/SIZEOF_WCHAR_T.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -o CMakeFiles/cmTryCompileExec2601107054.dir/SIZEOF_WCHAR_T.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/SIZEOF_WCHAR_T.c Linking C executable cmTryCompileExec2601107054 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2601107054.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w CMakeFiles/cmTryCompileExec2601107054.dir/SIZEOF_WCHAR_T.c.o -o cmTryCompileExec2601107054 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Checking support for ARCHIVE_CRYPTO_MD5_LIBC failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1595677725/fast" gmake -f CMakeFiles/cmTryCompileExec1595677725.dir/build.make CMakeFiles/cmTryCompileExec1595677725.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1595677725.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec1595677725.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:61:17: error: md5.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:156: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_md5_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:354: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:355: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1267: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1274: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1282: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2389: error: '__archive_libc_md5init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2390: error: '__archive_libc_md5update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2391: error: '__archive_libc_md5final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_md5_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'md5init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'md5update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'md5final' gmake[1]: *** [CMakeFiles/cmTryCompileExec1595677725.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec1595677725/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_MD5_COMPILE_TEST #define ARCHIVE_CRYPTO_MD5_LIBC #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_md5_ctx ctx; archive_md5_init(&ctx); archive_md5_update(&ctx, *argv, argc); archive_md5_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_RMD160_LIBC failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec937961403/fast" gmake -f CMakeFiles/cmTryCompileExec937961403.dir/build.make CMakeFiles/cmTryCompileExec937961403.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec937961403.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec937961403.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:64:20: error: rmd160.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_rmd160_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:357: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:358: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1443: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1450: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1458: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2420: error: '__archive_libc_ripemd160init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2421: error: '__archive_libc_ripemd160update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2422: error: '__archive_libc_ripemd160final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_rmd160_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'rmd160init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'rmd160update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'rmd160final' gmake[1]: *** [CMakeFiles/cmTryCompileExec937961403.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec937961403/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_RMD160_COMPILE_TEST #define ARCHIVE_CRYPTO_RMD160_LIBC #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_rmd160_ctx ctx; archive_rmd160_init(&ctx); archive_rmd160_update(&ctx, *argv, argc); archive_rmd160_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA1_LIBC failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2074728112/fast" gmake -f CMakeFiles/cmTryCompileExec2074728112.dir/build.make CMakeFiles/cmTryCompileExec2074728112.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2074728112.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec2074728112.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:67:18: error: sha1.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha1_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:360: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:361: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1569: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1576: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1584: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2443: error: '__archive_libc_sha1init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2444: error: '__archive_libc_sha1update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2445: error: '__archive_libc_sha1final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha1_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha1init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha1update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha1final' gmake[1]: *** [CMakeFiles/cmTryCompileExec2074728112.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec2074728112/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA1_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA1_LIBC #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha1_ctx ctx; archive_sha1_init(&ctx); archive_sha1_update(&ctx, *argv, argc); archive_sha1_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA256_LIBC failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3513942287/fast" gmake -f CMakeFiles/cmTryCompileExec3513942287.dir/build.make CMakeFiles/cmTryCompileExec3513942287.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3513942287.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec3513942287.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:78:18: error: sha2.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:200: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha256_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:363: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:364: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1745: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1752: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1760: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2474: error: '__archive_libc_sha256init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2475: error: '__archive_libc_sha256update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2476: error: '__archive_libc_sha256final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha256_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha256init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha256update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha256final' gmake[1]: *** [CMakeFiles/cmTryCompileExec3513942287.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec3513942287/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA256_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA256_LIBC #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha256_ctx ctx; archive_sha256_init(&ctx); archive_sha256_update(&ctx, *argv, argc); archive_sha256_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA384_LIBC failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec873011871/fast" gmake -f CMakeFiles/cmTryCompileExec873011871.dir/build.make CMakeFiles/cmTryCompileExec873011871.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec873011871.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec873011871.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:78:18: error: sha2.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:220: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha384_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:366: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:367: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1964: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1971: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1979: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2513: error: '__archive_libc_sha384init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2514: error: '__archive_libc_sha384update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2515: error: '__archive_libc_sha384final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha384_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha384init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha384update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha384final' gmake[1]: *** [CMakeFiles/cmTryCompileExec873011871.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec873011871/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA384_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA384_LIBC #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha384_ctx ctx; archive_sha384_init(&ctx); archive_sha384_update(&ctx, *argv, argc); archive_sha384_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA512_LIBC failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec180782335/fast" gmake -f CMakeFiles/cmTryCompileExec180782335.dir/build.make CMakeFiles/cmTryCompileExec180782335.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec180782335.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec180782335.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:78:18: error: sha2.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:238: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha512_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:369: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:370: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2159: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2166: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2174: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2548: error: '__archive_libc_sha512init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2549: error: '__archive_libc_sha512update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2550: error: '__archive_libc_sha512final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha512_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha512init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha512update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha512final' gmake[1]: *** [CMakeFiles/cmTryCompileExec180782335.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec180782335/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA512_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA512_LIBC #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha512_ctx ctx; archive_sha512_init(&ctx); archive_sha512_update(&ctx, *argv, argc); archive_sha512_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA256_LIBC2 failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2461408003/fast" gmake -f CMakeFiles/cmTryCompileExec2461408003.dir/build.make CMakeFiles/cmTryCompileExec2461408003.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2461408003.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec2461408003.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:78:18: error: sha2.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:202: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha256_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:363: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:364: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1769: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1776: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1784: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2478: error: '__archive_libc2_sha256init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2479: error: '__archive_libc2_sha256update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2480: error: '__archive_libc2_sha256final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha256_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha256init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha256update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha256final' gmake[1]: *** [CMakeFiles/cmTryCompileExec2461408003.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec2461408003/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA256_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA256_LIBC2 #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha256_ctx ctx; archive_sha256_init(&ctx); archive_sha256_update(&ctx, *argv, argc); archive_sha256_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA384_LIBC2 failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2000182846/fast" gmake -f CMakeFiles/cmTryCompileExec2000182846.dir/build.make CMakeFiles/cmTryCompileExec2000182846.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2000182846.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec2000182846.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:78:18: error: sha2.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha384_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:366: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:367: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1988: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1995: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2003: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2517: error: '__archive_libc2_sha384init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2518: error: '__archive_libc2_sha384update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2519: error: '__archive_libc2_sha384final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha384_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha384init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha384update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha384final' gmake[1]: *** [CMakeFiles/cmTryCompileExec2000182846.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec2000182846/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA384_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA384_LIBC2 #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha384_ctx ctx; archive_sha384_init(&ctx); archive_sha384_update(&ctx, *argv, argc); archive_sha384_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA512_LIBC2 failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1064393616/fast" gmake -f CMakeFiles/cmTryCompileExec1064393616.dir/build.make CMakeFiles/cmTryCompileExec1064393616.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1064393616.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec1064393616.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:78:18: error: sha2.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:240: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha512_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:369: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:370: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2183: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2190: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2198: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2552: error: '__archive_libc2_sha512init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2553: error: '__archive_libc2_sha512update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2554: error: '__archive_libc2_sha512final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha512_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha512init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha512update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha512final' gmake[1]: *** [CMakeFiles/cmTryCompileExec1064393616.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec1064393616/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA512_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA512_LIBC2 #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha512_ctx ctx; archive_sha512_init(&ctx); archive_sha512_update(&ctx, *argv, argc); archive_sha512_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA256_LIBC3 failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec409425111/fast" gmake -f CMakeFiles/cmTryCompileExec409425111.dir/build.make CMakeFiles/cmTryCompileExec409425111.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec409425111.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec409425111.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:78:18: error: sha2.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha256_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:363: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:364: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1793: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1800: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1808: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2482: error: '__archive_libc3_sha256init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2483: error: '__archive_libc3_sha256update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2484: error: '__archive_libc3_sha256final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha256_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha256init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha256update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha256final' gmake[1]: *** [CMakeFiles/cmTryCompileExec409425111.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec409425111/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA256_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA256_LIBC3 #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha256_ctx ctx; archive_sha256_init(&ctx); archive_sha256_update(&ctx, *argv, argc); archive_sha256_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA384_LIBC3 failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2415503816/fast" gmake -f CMakeFiles/cmTryCompileExec2415503816.dir/build.make CMakeFiles/cmTryCompileExec2415503816.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2415503816.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec2415503816.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:78:18: error: sha2.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha384_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:366: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:367: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2012: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2019: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2027: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2521: error: '__archive_libc3_sha384init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2522: error: '__archive_libc3_sha384update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2523: error: '__archive_libc3_sha384final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha384_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha384init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha384update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha384final' gmake[1]: *** [CMakeFiles/cmTryCompileExec2415503816.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec2415503816/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA384_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA384_LIBC3 #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha384_ctx ctx; archive_sha384_init(&ctx); archive_sha384_update(&ctx, *argv, argc); archive_sha384_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA512_LIBC3 failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec268279117/fast" gmake -f CMakeFiles/cmTryCompileExec268279117.dir/build.make CMakeFiles/cmTryCompileExec268279117.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec268279117.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec268279117.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:78:18: error: sha2.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha512_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:369: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:370: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2207: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2214: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2222: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2556: error: '__archive_libc3_sha512init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2557: error: '__archive_libc3_sha512update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2558: error: '__archive_libc3_sha512final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha512_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha512init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha512update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha512final' gmake[1]: *** [CMakeFiles/cmTryCompileExec268279117.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec268279117/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA512_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA512_LIBC3 #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha512_ctx ctx; archive_sha512_init(&ctx); archive_sha512_update(&ctx, *argv, argc); archive_sha512_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec667488053/fast" gmake -f CMakeFiles/cmTryCompileExec667488053.dir/build.make CMakeFiles/cmTryCompileExec667488053.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec667488053.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec667488053.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:112:39: error: CommonCrypto/CommonDigest.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:160: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_md5_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:354: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:355: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1315: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1322: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1330: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2397: error: '__archive_libsystem_md5init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2398: error: '__archive_libsystem_md5update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2399: error: '__archive_libsystem_md5final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_md5_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'md5init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'md5update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'md5final' gmake[1]: *** [CMakeFiles/cmTryCompileExec667488053.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec667488053/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_MD5_COMPILE_TEST #define ARCHIVE_CRYPTO_MD5_LIBSYSTEM #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_md5_ctx ctx; archive_md5_init(&ctx); archive_md5_update(&ctx, *argv, argc); archive_md5_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3372472839/fast" gmake -f CMakeFiles/cmTryCompileExec3372472839.dir/build.make CMakeFiles/cmTryCompileExec3372472839.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3372472839.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec3372472839.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:112:39: error: CommonCrypto/CommonDigest.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha1_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:360: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:361: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1617: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1624: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1632: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2451: error: '__archive_libsystem_sha1init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2452: error: '__archive_libsystem_sha1update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2453: error: '__archive_libsystem_sha1final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha1_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha1init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha1update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha1final' gmake[1]: *** [CMakeFiles/cmTryCompileExec3372472839.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec3372472839/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA1_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA1_LIBSYSTEM #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha1_ctx ctx; archive_sha1_init(&ctx); archive_sha1_update(&ctx, *argv, argc); archive_sha1_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec4283174011/fast" gmake -f CMakeFiles/cmTryCompileExec4283174011.dir/build.make CMakeFiles/cmTryCompileExec4283174011.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec4283174011.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec4283174011.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:112:39: error: CommonCrypto/CommonDigest.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha256_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:363: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:364: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1841: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1848: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1856: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2490: error: '__archive_libsystem_sha256init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2491: error: '__archive_libsystem_sha256update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2492: error: '__archive_libsystem_sha256final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha256_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha256init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha256update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha256final' gmake[1]: *** [CMakeFiles/cmTryCompileExec4283174011.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec4283174011/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA256_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA256_LIBSYSTEM #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha256_ctx ctx; archive_sha256_init(&ctx); archive_sha256_update(&ctx, *argv, argc); archive_sha256_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1901520554/fast" gmake -f CMakeFiles/cmTryCompileExec1901520554.dir/build.make CMakeFiles/cmTryCompileExec1901520554.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1901520554.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec1901520554.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:112:39: error: CommonCrypto/CommonDigest.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:226: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha384_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:366: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:367: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2036: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2043: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2051: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2525: error: '__archive_libsystem_sha384init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2526: error: '__archive_libsystem_sha384update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2527: error: '__archive_libsystem_sha384final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha384_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha384init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha384update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha384final' gmake[1]: *** [CMakeFiles/cmTryCompileExec1901520554.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec1901520554/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA384_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA384_LIBSYSTEM #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha384_ctx ctx; archive_sha384_init(&ctx); archive_sha384_update(&ctx, *argv, argc); archive_sha384_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1781925803/fast" gmake -f CMakeFiles/cmTryCompileExec1781925803.dir/build.make CMakeFiles/cmTryCompileExec1781925803.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1781925803.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec1781925803.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:112:39: error: CommonCrypto/CommonDigest.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:246: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha512_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:369: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:370: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2255: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2262: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2270: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2564: error: '__archive_libsystem_sha512init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2565: error: '__archive_libsystem_sha512update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2566: error: '__archive_libsystem_sha512final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha512_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha512init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha512update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha512final' gmake[1]: *** [CMakeFiles/cmTryCompileExec1781925803.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec1781925803/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA512_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA512_LIBSYSTEM #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha512_ctx ctx; archive_sha512_init(&ctx); archive_sha512_update(&ctx, *argv, argc); archive_sha512_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_MD5_LIBMD failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec711338627/fast" gmake -f CMakeFiles/cmTryCompileExec711338627.dir/build.make CMakeFiles/cmTryCompileExec711338627.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec711338627.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec711338627.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:91:17: error: md5.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:158: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_md5_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:354: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:355: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1291: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1298: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1306: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2393: error: '__archive_libmd_md5init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2394: error: '__archive_libmd_md5update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2395: error: '__archive_libmd_md5final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_md5_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'md5init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'md5update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'md5final' gmake[1]: *** [CMakeFiles/cmTryCompileExec711338627.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec711338627/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_MD5_COMPILE_TEST #define ARCHIVE_CRYPTO_MD5_LIBMD #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_md5_ctx ctx; archive_md5_init(&ctx); archive_md5_update(&ctx, *argv, argc); archive_md5_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_RMD160_LIBMD failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec111080771/fast" gmake -f CMakeFiles/cmTryCompileExec111080771.dir/build.make CMakeFiles/cmTryCompileExec111080771.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec111080771.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec111080771.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:94:20: error: ripemd.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_rmd160_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:357: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:358: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1467: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1474: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1482: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2424: error: '__archive_libmd_ripemd160init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2425: error: '__archive_libmd_ripemd160update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2426: error: '__archive_libmd_ripemd160final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_rmd160_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'rmd160init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'rmd160update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'rmd160final' gmake[1]: *** [CMakeFiles/cmTryCompileExec111080771.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec111080771/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_RMD160_COMPILE_TEST #define ARCHIVE_CRYPTO_RMD160_LIBMD #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_rmd160_ctx ctx; archive_rmd160_init(&ctx); archive_rmd160_update(&ctx, *argv, argc); archive_rmd160_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA1_LIBMD failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1479274337/fast" gmake -f CMakeFiles/cmTryCompileExec1479274337.dir/build.make CMakeFiles/cmTryCompileExec1479274337.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1479274337.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec1479274337.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:97:17: error: sha.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha1_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:360: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:361: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1593: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1600: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1608: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2447: error: '__archive_libmd_sha1init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2448: error: '__archive_libmd_sha1update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2449: error: '__archive_libmd_sha1final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha1_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha1init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha1update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha1final' gmake[1]: *** [CMakeFiles/cmTryCompileExec1479274337.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec1479274337/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA1_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA1_LIBMD #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha1_ctx ctx; archive_sha1_init(&ctx); archive_sha1_update(&ctx, *argv, argc); archive_sha1_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA256_LIBMD failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2360402405/fast" gmake -f CMakeFiles/cmTryCompileExec2360402405.dir/build.make CMakeFiles/cmTryCompileExec2360402405.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2360402405.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec2360402405.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:100:20: error: sha256.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:206: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha256_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:363: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:364: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1817: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1824: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1832: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2486: error: '__archive_libmd_sha256init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2487: error: '__archive_libmd_sha256update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2488: error: '__archive_libmd_sha256final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha256_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha256init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha256update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha256final' gmake[1]: *** [CMakeFiles/cmTryCompileExec2360402405.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec2360402405/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA256_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA256_LIBMD #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha256_ctx ctx; archive_sha256_init(&ctx); archive_sha256_update(&ctx, *argv, argc); archive_sha256_final(&ctx, NULL); return 0; } Checking support for ARCHIVE_CRYPTO_SHA512_LIBMD failed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3163720030/fast" gmake -f CMakeFiles/cmTryCompileExec3163720030.dir/build.make CMakeFiles/cmTryCompileExec3163720030.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3163720030.dir/check_crypto_md.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -w -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2 -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive -I/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp -o CMakeFiles/cmTryCompileExec3163720030.dir/check_crypto_md.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:103:20: error: sha512.h: No such file or directory In file included from /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:1186: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'archive_sha512_ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:369: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Utilities/cmlibarchive/libarchive/archive_crypto_private.h:370: error: expected ';' before 'int' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2231: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2238: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2246: error: expected ')' before '*' token /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2560: error: '__archive_libmd_sha512init' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2561: error: '__archive_libmd_sha512update' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2562: error: '__archive_libmd_sha512final' undeclared here (not in a function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c: In function 'main': /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: 'archive_sha512_ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: (Each undeclared identifier is reported only once /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: for each function it appears in.) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2590: error: expected ';' before 'ctx' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'const struct archive_crypto' has no member named 'sha512init' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2591: error: 'ctx' undeclared (first use in this function) /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2592: error: 'const struct archive_crypto' has no member named 'sha512update' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/check_crypto_md.c:2593: error: 'const struct archive_crypto' has no member named 'sha512final' gmake[1]: *** [CMakeFiles/cmTryCompileExec3163720030.dir/check_crypto_md.c.o] Error 1 gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' gmake: *** [cmTryCompileExec3163720030/fast] Error 2 Source file was: /* config.h. Generated from build/cmake/config.h.in by cmake configure */ #if defined(__osf__) # define _OSF_SOURCE #endif /* * Ensure we have C99-style int64_t, etc, all defined. */ /* First, we need to know if the system has already defined them. */ #define HAVE_INT16_T #define HAVE_INT32_T #define HAVE_INT64_T #define HAVE_INTMAX_T #define HAVE_UINT8_T #define HAVE_UINT16_T #define HAVE_UINT32_T #define HAVE_UINT64_T #define HAVE_UINTMAX_T /* We might have the types we want under other spellings. */ /* #undef HAVE___INT64 */ /* #undef HAVE_U_INT64_T */ /* #undef HAVE_UNSIGNED___INT64 */ /* The sizes of various standard integer types. */ #define SIZE_OF_SHORT 2 #define SIZE_OF_INT 4 #define SIZE_OF_LONG 8 #define SIZE_OF_LONG_LONG 8 #define SIZE_OF_UNSIGNED_SHORT 2 #define SIZE_OF_UNSIGNED 4 #define SIZE_OF_UNSIGNED_LONG 8 #define SIZE_OF_UNSIGNED_LONG_LONG 8 /* * If we lack int64_t, define it to the first of __int64, int, long, and long long * that exists and is the right size. */ #if !defined(HAVE_INT64_T) && defined(HAVE___INT64) typedef __int64 int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_INT == 8 typedef int int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG == 8 typedef long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) && SIZE_OF_LONG_LONG == 8 typedef long long int64_t; #define HAVE_INT64_T #endif #if !defined(HAVE_INT64_T) #error No 64-bit integer type was found. #endif /* * Similarly for int32_t */ #if !defined(HAVE_INT32_T) && SIZE_OF_INT == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) && SIZE_OF_LONG == 4 typedef long int32_t; #define HAVE_INT32_T #endif #if !defined(HAVE_INT32_T) #error No 32-bit integer type was found. #endif /* * Similarly for int16_t */ #if !defined(HAVE_INT16_T) && SIZE_OF_INT == 2 typedef int int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) && SIZE_OF_SHORT == 2 typedef short int16_t; #define HAVE_INT16_T #endif #if !defined(HAVE_INT16_T) #error No 16-bit integer type was found. #endif /* * Similarly for uint64_t */ #if !defined(HAVE_UINT64_T) && defined(HAVE_UNSIGNED___INT64) typedef unsigned __int64 uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED == 8 typedef unsigned uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG == 8 typedef unsigned long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) && SIZE_OF_UNSIGNED_LONG_LONG == 8 typedef unsigned long long uint64_t; #define HAVE_UINT64_T #endif #if !defined(HAVE_UINT64_T) #error No 64-bit unsigned integer type was found. #endif /* * Similarly for uint32_t */ #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED == 4 typedef unsigned uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) && SIZE_OF_UNSIGNED_LONG == 4 typedef unsigned long uint32_t; #define HAVE_UINT32_T #endif #if !defined(HAVE_UINT32_T) #error No 32-bit unsigned integer type was found. #endif /* * Similarly for uint16_t */ #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED == 2 typedef unsigned uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) && SIZE_OF_UNSIGNED_SHORT == 2 typedef unsigned short uint16_t; #define HAVE_UINT16_T #endif #if !defined(HAVE_UINT16_T) #error No 16-bit unsigned integer type was found. #endif /* * Similarly for uint8_t */ #if !defined(HAVE_UINT8_T) typedef unsigned char uint8_t; #define HAVE_UINT8_T #endif #if !defined(HAVE_UINT16_T) #error No 8-bit unsigned integer type was found. #endif /* Define intmax_t and uintmax_t if they are not already defined. */ #if !defined(HAVE_INTMAX_T) typedef int64_t intmax_t; #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #endif #if !defined(HAVE_UINTMAX_T) typedef uint64_t uintmax_t; #endif /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ /* #undef ZLIB_WINAPI */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBC */ /* MD5 via ARCHIVE_CRYPTO_MD5_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_MD5_LIBSYSTEM */ /* MD5 via ARCHIVE_CRYPTO_MD5_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_MD5_NETTLE */ /* MD5 via ARCHIVE_CRYPTO_MD5_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_MD5_OPENSSL */ /* MD5 via ARCHIVE_CRYPTO_MD5_WIN supported. */ /* #undef ARCHIVE_CRYPTO_MD5_WIN */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_LIBC */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_NETTLE */ /* RMD160 via ARCHIVE_CRYPTO_RMD160_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_RMD160_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBC */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_LIBSYSTEM */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_NETTLE */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_OPENSSL */ /* SHA1 via ARCHIVE_CRYPTO_SHA1_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA1_WIN */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC2 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBC3 */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_LIBSYSTEM */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_NETTLE */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_OPENSSL */ /* SHA256 via ARCHIVE_CRYPTO_SHA256_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA256_WIN */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC2 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBC3 */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_LIBSYSTEM */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_NETTLE */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_OPENSSL */ /* SHA384 via ARCHIVE_CRYPTO_SHA384_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA384_WIN */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC2 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC2 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBC3 supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBC3 */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_LIBSYSTEM supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_LIBSYSTEM */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_NETTLE supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_NETTLE */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_OPENSSL supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_OPENSSL */ /* SHA512 via ARCHIVE_CRYPTO_SHA512_WIN supported. */ /* #undef ARCHIVE_CRYPTO_SHA512_WIN */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "3.1.2" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "3.1.2" /* Define to 1 if you have the `acl_create_entry' function. */ /* #undef HAVE_ACL_CREATE_ENTRY */ /* Define to 1 if you have the `acl_get_link' function. */ /* #undef HAVE_ACL_GET_LINK */ /* Define to 1 if you have the `acl_get_link_np' function. */ /* #undef HAVE_ACL_GET_LINK_NP */ /* Define to 1 if you have the `acl_get_perm' function. */ /* #undef HAVE_ACL_GET_PERM */ /* Define to 1 if you have the `acl_get_perm_np' function. */ /* #undef HAVE_ACL_GET_PERM_NP */ /* Define to 1 if you have the `acl_init' function. */ /* #undef HAVE_ACL_INIT */ /* Define to 1 if you have the header file. */ #define HAVE_ACL_LIBACL_H 1 /* Define to 1 if the system has the type `acl_permset_t'. */ /* #undef HAVE_ACL_PERMSET_T */ /* Define to 1 if you have the `acl_set_fd' function. */ /* #undef HAVE_ACL_SET_FD */ /* Define to 1 if you have the `acl_set_fd_np' function. */ /* #undef HAVE_ACL_SET_FD_NP */ /* Define to 1 if you have the `acl_set_file' function. */ /* #undef HAVE_ACL_SET_FILE */ /* True for systems with POSIX ACL support */ /* #undef HAVE_ACL_USER */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ATTR_XATTR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_BSDXML_H */ /* Define to 1 if you have the header file. */ #define HAVE_BZLIB_H 1 /* Define to 1 if you have the `chflags' function. */ /* #undef HAVE_CHFLAGS */ /* Define to 1 if you have the `chown' function. */ #define HAVE_CHOWN 1 /* Define to 1 if you have the `chroot' function. */ #define HAVE_CHROOT 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_COPYFILE_H */ /* Define to 1 if you have the `ctime_r' function. */ #define HAVE_CTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 /* Define to 1 if you have the `cygwin_conv_path' function. */ /* #undef HAVE_CYGWIN_CONV_PATH */ /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_INT64_MAX 1 /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you don't. */ #define HAVE_DECL_INT64_MIN 1 /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SIZE_MAX 1 /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you don't. */ #define HAVE_DECL_SSIZE_MAX 1 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you don't. */ #define HAVE_DECL_STRERROR_R 1 /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT32_MAX 1 /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you don't. */ #define HAVE_DECL_UINT64_MAX 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_DIRECT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ #define HAVE_DIRENT_H 1 /* Define to 1 if you have the `dirfd' function. */ #define HAVE_DIRFD 1 /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ /* #undef HAVE_DOPRNT */ /* Define to 1 if nl_langinfo supports D_MD_ORDER */ /* #undef HAVE_D_MD_ORDER */ /* A possible errno value for invalid file format errors */ /* #undef HAVE_EFTYPE */ /* A possible errno value for invalid file format errors */ #define HAVE_EILSEQ 1 /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_EXPAT_H */ /* Define to 1 if you have the header file. */ #define HAVE_EXT2FS_EXT2_FS_H 1 /* Define to 1 if you have the `extattr_get_file' function. */ /* #undef HAVE_EXTATTR_GET_FILE */ /* Define to 1 if you have the `extattr_list_file' function. */ /* #undef HAVE_EXTATTR_LIST_FILE */ /* Define to 1 if you have the `extattr_set_fd' function. */ /* #undef HAVE_EXTATTR_SET_FD */ /* Define to 1 if you have the `extattr_set_file' function. */ /* #undef HAVE_EXTATTR_SET_FILE */ /* Define to 1 if EXTATTR_NAMESPACE_USER is defined in sys/extattr.h. */ /* #undef HAVE_DECL_EXTATTR_NAMESPACE_USER */ /* Define to 1 if you have the `fchdir' function. */ #define HAVE_FCHDIR 1 /* Define to 1 if you have the `fchflags' function. */ /* #undef HAVE_FCHFLAGS */ /* Define to 1 if you have the `fchmod' function. */ #define HAVE_FCHMOD 1 /* Define to 1 if you have the `fchown' function. */ #define HAVE_FCHOWN 1 /* Define to 1 if you have the `fcntl' function. */ #define HAVE_FCNTL 1 /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 /* Define to 1 if you have the `fdopendir' function. */ #define HAVE_FDOPENDIR 1 /* Define to 1 if you have the `fgetea' function. */ /* #undef HAVE_FGETEA */ /* Define to 1 if you have the `fgetxattr' function. */ /* #undef HAVE_FGETXATTR */ /* Define to 1 if you have the `flistea' function. */ /* #undef HAVE_FLISTEA */ /* Define to 1 if you have the `flistxattr' function. */ /* #undef HAVE_FLISTXATTR */ /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ #define HAVE_FSEEKO 1 /* Define to 1 if you have the `fsetea' function. */ /* #undef HAVE_FSETEA */ /* Define to 1 if you have the `fsetxattr' function. */ /* #undef HAVE_FSETXATTR */ /* Define to 1 if you have the `fstat' function. */ #define HAVE_FSTAT 1 /* Define to 1 if you have the `fstatat' function. */ #define HAVE_FSTATAT 1 /* Define to 1 if you have the `fstatfs' function. */ #define HAVE_FSTATFS 1 /* Define to 1 if you have the `fstatvfs' function. */ #define HAVE_FSTATVFS 1 /* Define to 1 if you have the `ftruncate' function. */ #define HAVE_FTRUNCATE 1 /* Define to 1 if you have the `futimens' function. */ #define HAVE_FUTIMENS 1 /* Define to 1 if you have the `futimes' function. */ #define HAVE_FUTIMES 1 /* Define to 1 if you have the `futimesat' function. */ #define HAVE_FUTIMESAT 1 /* Define to 1 if you have the `getea' function. */ /* #undef HAVE_GETEA */ /* Define to 1 if you have the `geteuid' function. */ #define HAVE_GETEUID 1 /* Define to 1 if you have the `getgrgid_r' function. */ #define HAVE_GETGRGID_R 1 /* Define to 1 if you have the `getgrnam_r' function. */ #define HAVE_GETGRNAM_R 1 /* Define to 1 if you have the `getpid' function. */ #define HAVE_GETPID 1 /* Define to 1 if you have the `getpwnam_r' function. */ #define HAVE_GETPWNAM_R 1 /* Define to 1 if you have the `getpwuid_r' function. */ #define HAVE_GETPWUID_R 1 /* Define to 1 if you have the `getvfsbyname' function. */ /* #undef HAVE_GETVFSBYNAME */ /* Define to 1 if you have the `getxattr' function. */ /* #undef HAVE_GETXATTR */ /* Define to 1 if you have the `gmtime_r' function. */ #define HAVE_GMTIME_R 1 /* Define to 1 if you have the header file. */ #define HAVE_GRP_H 1 /* Define to 1 if you have the `iconv' function. */ /* #undef HAVE_ICONV */ /* Define to 1 if you have the header file. */ /* #undef HAVE_ICONV_H */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_IO_H */ /* Define to 1 if you have the header file. */ #define HAVE_LANGINFO_H 1 /* Define to 1 if you have the `lchflags' function. */ /* #undef HAVE_LCHFLAGS */ /* Define to 1 if you have the `lchmod' function. */ /* #undef HAVE_LCHMOD */ /* Define to 1 if you have the `lchown' function. */ #define HAVE_LCHOWN 1 /* Define to 1 if you have the `lgetea' function. */ /* #undef HAVE_LGETEA */ /* Define to 1 if you have the `lgetxattr' function. */ /* #undef HAVE_LGETXATTR */ /* Define to 1 if you have the `acl' library (-lacl). */ /* #undef HAVE_LIBACL */ /* Define to 1 if you have the `attr' library (-lattr). */ /* #undef HAVE_LIBATTR */ /* Define to 1 if you have the `bsdxml' library (-lbsdxml). */ /* #undef HAVE_LIBBSDXML */ /* Define to 1 if you have the `bz2' library (-lbz2). */ #define HAVE_LIBBZ2 1 /* Define to 1 if you have the `expat' library (-lexpat). */ /* #undef HAVE_LIBEXPAT */ /* Define to 1 if you have the `gcc' library (-lgcc). */ /* #undef HAVE_LIBGCC */ /* Define to 1 if you have the `lzma' library (-llzma). */ /* #undef HAVE_LIBLZMA */ /* Define to 1 if you have the `lzmadec' library (-llzmadec). */ /* #undef HAVE_LIBLZMADEC */ /* Define to 1 if you have the `lzo2' library (-llzo2). */ /* #undef HAVE_LIBLZO2 */ /* Define to 1 if you have the `nettle' library (-lnettle). */ /* #undef HAVE_LIBNETTLE */ /* Define to 1 if you have the `pcre' library (-lpcre). */ /* #undef HAVE_LIBPCRE */ /* Define to 1 if you have the `pcreposix' library (-lpcreposix). */ /* #undef HAVE_LIBPCREPOSIX */ /* Define to 1 if you have the `xml2' library (-lxml2). */ /* #undef HAVE_LIBXML2 */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLREADER_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBXML_XMLWRITER_H */ /* Define to 1 if you have the `z' library (-lz). */ #define HAVE_LIBZ 1 /* Define to 1 if you have the header file. */ #define HAVE_LIMITS_H 1 /* Define to 1 if you have the `link' function. */ #define HAVE_LINK 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MAGIC_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_TYPES_H 1 /* Define to 1 if you have the `listea' function. */ /* #undef HAVE_LISTEA */ /* Define to 1 if you have the `listxattr' function. */ /* #undef HAVE_LISTXATTR */ /* Define to 1 if you have the `llistea' function. */ /* #undef HAVE_LLISTEA */ /* Define to 1 if you have the `llistxattr' function. */ /* #undef HAVE_LLISTXATTR */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LOCALCHARSET_H */ /* Define to 1 if you have the `locale_charset' function. */ /* #undef HAVE_LOCALE_CHARSET */ /* Define to 1 if you have the header file. */ #define HAVE_LOCALE_H 1 /* Define to 1 if you have the `localtime_r' function. */ #define HAVE_LOCALTIME_R 1 /* Define to 1 if the system has the type `long long int'. */ /* #undef HAVE_LONG_LONG_INT */ /* Define to 1 if you have the `lsetea' function. */ /* #undef HAVE_LSETEA */ /* Define to 1 if you have the `lsetxattr' function. */ /* #undef HAVE_LSETXATTR */ /* Define to 1 if you have the `lstat' function. */ #define HAVE_LSTAT 1 /* Define to 1 if `lstat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the `lutimes' function. */ #define HAVE_LUTIMES 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMADEC_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZMA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZO1X_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_LZO_LZOCONF_H */ /* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 /* Define to 1 if you have the `memmove' function. */ #define HAVE_MEMMOVE 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkdir' function. */ #define HAVE_MKDIR 1 /* Define to 1 if you have the `mkfifo' function. */ #define HAVE_MKFIFO 1 /* Define to 1 if you have the `mknod' function. */ #define HAVE_MKNOD 1 /* Define to 1 if you have the `mkstemp' function. */ #define HAVE_MKSTEMP 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_MD5_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_RIPEMD160_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_NETTLE_SHA_H */ /* Define to 1 if you have the `nl_langinfo' function. */ #define HAVE_NL_LANGINFO 1 /* Define to 1 if you have the `openat' function. */ #define HAVE_OPENAT 1 /* Define to 1 if you have the header file. */ #define HAVE_PATHS_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PCREPOSIX_H */ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 /* Define to 1 if you have the header file. */ #define HAVE_POLL_H 1 /* Define to 1 if you have the `posix_spawnp' function. */ #define HAVE_POSIX_SPAWNP 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_PROCESS_H */ /* Define to 1 if you have the header file. */ #define HAVE_PWD_H 1 /* Define to 1 if you have the `readdir_r' function. */ #define HAVE_READDIR_R 1 /* Define to 1 if you have the `readlink' function. */ #define HAVE_READLINK 1 /* Define to 1 if you have the `readlinkat' function. */ #define HAVE_READLINKAT 1 /* Define to 1 if you have the header file. */ #define HAVE_REGEX_H 1 /* Define to 1 if you have the `select' function. */ #define HAVE_SELECT 1 /* Define to 1 if you have the `setenv' function. */ #define HAVE_SETENV 1 /* Define to 1 if you have the `setlocale' function. */ #define HAVE_SETLOCALE 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 /* Define to 1 if you have the header file. */ #define HAVE_SIGNAL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SPAWN_H 1 /* Define to 1 if you have the `statfs' function. */ #define HAVE_STATFS 1 /* Define to 1 if you have the `statvfs' function. */ #define HAVE_STATVFS 1 /* Define to 1 if `stat' has the bug that it succeeds when given the zero-length file name argument. */ /* #undef HAVE_STAT_EMPTY_STRING_BUG */ /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strchr' function. */ #define HAVE_STRCHR 1 /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 /* Define to 1 if you have the `strerror_r' function. */ #define HAVE_STRERROR_R 1 /* Define to 1 if you have the `strftime' function. */ #define HAVE_STRFTIME 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 /* Define to 1 if `f_namemax' is a member of `struct statfs'. */ /* #undef HAVE_STRUCT_STATFS_F_NAMEMAX */ /* Define to 1 if `f_iosize' is a member of `struct statvfs'. */ /* #undef HAVE_STRUCT_STATVFS_F_IOSIZE */ /* Define to 1 if `st_birthtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */ /* Define to 1 if `st_birthtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC_TV_NSEC */ /* Define to 1 if `st_blksize' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 /* Define to 1 if `st_flags' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_FLAGS */ /* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */ /* Define to 1 if `st_mtime_n' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_N */ /* Define to 1 if `st_mtime_usec' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_MTIME_USEC */ /* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */ #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1 /* Define to 1 if `st_umtime' is a member of `struct stat'. */ /* #undef HAVE_STRUCT_STAT_ST_UMTIME */ /* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ #define HAVE_STRUCT_TM_TM_GMTOFF 1 /* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */ /* #undef HAVE_STRUCT_TM___TM_GMTOFF */ /* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_ACL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_CDEFS_H 1 /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_DIR_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EA_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_EXTATTR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MKDEV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_MOUNT_H */ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_SYS_NDIR_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_POLL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_SELECT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STATVFS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TIME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UTIME_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_UTSNAME_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_VFS_H 1 /* Define to 1 if you have that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_XATTR_H */ /* Define to 1 if you have the `timegm' function. */ #define HAVE_TIMEGM 1 /* Define to 1 if you have the header file. */ #define HAVE_TIME_H 1 /* Define to 1 if you have the `tzset' function. */ #define HAVE_TZSET 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the `unsetenv' function. */ #define HAVE_UNSETENV 1 /* Define to 1 if the system has the type `unsigned long long'. */ /* #undef HAVE_UNSIGNED_LONG_LONG */ /* Define to 1 if the system has the type `unsigned long long int'. */ /* #undef HAVE_UNSIGNED_LONG_LONG_INT */ /* Define to 1 if you have the `utime' function. */ #define HAVE_UTIME 1 /* Define to 1 if you have the `utimensat' function. */ #define HAVE_UTIMENSAT 1 /* Define to 1 if you have the `utimes' function. */ #define HAVE_UTIMES 1 /* Define to 1 if you have the header file. */ #define HAVE_UTIME_H 1 /* Define to 1 if you have the `vfork' function. */ #define HAVE_VFORK 1 /* Define to 1 if you have the `vprintf' function. */ #define HAVE_VPRINTF 1 /* Define to 1 if you have the header file. */ #define HAVE_WCHAR_H 1 /* Define to 1 if the system has the type `wchar_t'. */ #define HAVE_WCHAR_T 1 /* Define to 1 if you have the `wcrtomb' function. */ #define HAVE_WCRTOMB 1 /* Define to 1 if you have the `wcscmp' function. */ #define HAVE_WCSCMP 1 /* Define to 1 if you have the `wcscpy' function. */ #define HAVE_WCSCPY 1 /* Define to 1 if you have the `wcslen' function. */ #define HAVE_WCSLEN 1 /* Define to 1 if you have the `wctomb' function. */ #define HAVE_WCTOMB 1 /* Define to 1 if you have the header file. */ #define HAVE_WCTYPE_H 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_WINCRYPT_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINDOWS_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_WINIOCTL_H */ /* Define to 1 if you have _CrtSetReportMode in */ /* #undef HAVE__CrtSetReportMode */ /* Define to 1 if you have the `wmemcmp' function. */ #define HAVE_WMEMCMP 1 /* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 /* Define to 1 if you have a working EXT2_IOC_GETFLAGS */ #define HAVE_WORKING_EXT2_IOC_GETFLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_ZLIB_H 1 /* Define to 1 if you have the `_ctime64_s' function. */ /* #undef HAVE__CTIME64_S */ /* Define to 1 if you have the `_fseeki64' function. */ /* #undef HAVE__FSEEKI64 */ /* Define to 1 if you have the `_get_timezone' function. */ /* #undef HAVE__GET_TIMEZONE */ /* Define to 1 if you have the `_localtime64_s' function. */ /* #undef HAVE__LOCALTIME64_S */ /* Define to 1 if you have the `_mkgmtime64' function. */ /* #undef HAVE__MKGMTIME64 */ /* Define as const if the declaration of iconv() needs const. */ #define ICONV_CONST /* Version number of libarchive as a single integer */ #define LIBARCHIVE_VERSION_NUMBER "3001002" /* Version number of libarchive */ #define LIBARCHIVE_VERSION_STRING "3.1.2" /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ /* #undef MAJOR_IN_MKDEV */ /* Define to 1 if `major', `minor', and `makedev' are declared in . */ #define MAJOR_IN_SYSMACROS 1 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ /* #undef NO_MINUS_C_MINUS_O */ /* The size of `wchar_t', as computed by sizeof. */ #define SIZEOF_WCHAR_T 4 /* Define to 1 if strerror_r returns char *. */ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 /* * Some platform requires a macro to use extension functions. */ #define SAFE_TO_DEFINE_EXTENSIONS 1 #ifdef SAFE_TO_DEFINE_EXTENSIONS /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # define __EXTENSIONS__ 1 #endif #endif /* SAFE_TO_DEFINE_EXTENSIONS */ /* Version number of package */ #define VERSION "3.1.2" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ /* #undef _LARGEFILE_SOURCE */ /* Define for large files, on AIX-style hosts. */ /* #undef _LARGE_FILES */ /* Define for Windows to use Windows 2000+ APIs. */ /* #undef _WIN32_WINNT */ /* #undef WINVER */ /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ /* Define to `int' if doesn't define. */ /* #undef gid_t */ /* Define to `unsigned long' if does not define. */ /* #undef id_t */ /* Define to `int' if does not define. */ /* #undef mode_t */ /* Define to `long long' if does not define. */ /* #undef off_t */ /* Define to `int' if doesn't define. */ /* #undef pid_t */ /* Define to `unsigned int' if does not define. */ /* #undef size_t */ /* Define to `int' if does not define. */ /* #undef ssize_t */ /* Define to `int' if doesn't define. */ /* #undef uid_t */ /* Define to `int' if does not define. */ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ /* #undef uintptr_t */ #define ARCHIVE_SHA512_COMPILE_TEST #define ARCHIVE_CRYPTO_SHA512_LIBMD #define PLATFORM_CONFIG_H "check_crypto_md.h" /*- * Copyright (c) 2003-2007 Tim Kientzle * Copyright (c) 2011 Andres Mejia * Copyright (c) 2011 Michihiro NAKAJIMA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "archive_platform.h" #include "archive.h" #include "archive_crypto_private.h" /* In particular, force the configure probe to break if it tries * to test a combination of OpenSSL and libmd. */ #if defined(ARCHIVE_CRYPTO_OPENSSL) && defined(ARCHIVE_CRYPTO_LIBMD) #error Cannot use both OpenSSL and libmd. #endif /* * Message digest functions for Windows platform. */ #if defined(ARCHIVE_CRYPTO_MD5_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA1_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA256_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA384_WIN) ||\ defined(ARCHIVE_CRYPTO_SHA512_WIN) /* * Initialize a Message digest. */ static int win_crypto_init(Digest_CTX *ctx, ALG_ID algId) { ctx->valid = 0; if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT)) { if (GetLastError() != (DWORD)NTE_BAD_KEYSET) return (ARCHIVE_FAILED); if (!CryptAcquireContext(&ctx->cryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_NEWKEYSET)) return (ARCHIVE_FAILED); } if (!CryptCreateHash(ctx->cryptProv, algId, 0, 0, &ctx->hash)) { CryptReleaseContext(ctx->cryptProv, 0); return (ARCHIVE_FAILED); } ctx->valid = 1; return (ARCHIVE_OK); } /* * Update a Message digest. */ static int win_crypto_Update(Digest_CTX *ctx, const unsigned char *buf, size_t len) { if (!ctx->valid) return (ARCHIVE_FAILED); CryptHashData(ctx->hash, (unsigned char *)(uintptr_t)buf, (DWORD)len, 0); return (ARCHIVE_OK); } static int win_crypto_Final(unsigned char *buf, size_t bufsize, Digest_CTX *ctx) { DWORD siglen = (DWORD)bufsize; if (!ctx->valid) return (ARCHIVE_FAILED); CryptGetHashParam(ctx->hash, HP_HASHVAL, buf, &siglen, 0); CryptDestroyHash(ctx->hash); CryptReleaseContext(ctx->cryptProv, 0); ctx->valid = 0; return (ARCHIVE_OK); } #endif /* defined(ARCHIVE_CRYPTO_*_WIN) */ /* MD5 implementations */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) static int __archive_libc_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) static int __archive_libmd_md5init(archive_md5_ctx *ctx) { MD5Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { MD5Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_md5final(archive_md5_ctx *ctx, void *md) { MD5Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) static int __archive_libsystem_md5init(archive_md5_ctx *ctx) { CC_MD5_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { CC_MD5_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_md5final(archive_md5_ctx *ctx, void *md) { CC_MD5_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) static int __archive_nettle_md5init(archive_md5_ctx *ctx) { md5_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { md5_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_md5final(archive_md5_ctx *ctx, void *md) { md5_digest(ctx, MD5_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) static int __archive_openssl_md5init(archive_md5_ctx *ctx) { EVP_DigestInit(ctx, EVP_md5()); return (ARCHIVE_OK); } static int __archive_openssl_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_md5final(archive_md5_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_MD5_WIN) static int __archive_windowsapi_md5init(archive_md5_ctx *ctx) { return (win_crypto_init(ctx, CALG_MD5)); } static int __archive_windowsapi_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_md5final(archive_md5_ctx *ctx, void *md) { return (win_crypto_Final(md, 16, ctx)); } #else static int __archive_stub_md5init(archive_md5_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5update(archive_md5_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_md5final(archive_md5_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* RIPEMD160 implementations */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) static int __archive_libc_ripemd160init(archive_rmd160_ctx *ctx) { RMD160Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RMD160Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RMD160Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) static int __archive_libmd_ripemd160init(archive_rmd160_ctx *ctx) { RIPEMD160_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { RIPEMD160_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_ripemd160final(archive_rmd160_ctx *ctx, void *md) { RIPEMD160_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) static int __archive_nettle_ripemd160init(archive_rmd160_ctx *ctx) { ripemd160_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { ripemd160_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_ripemd160final(archive_rmd160_ctx *ctx, void *md) { ripemd160_digest(ctx, RIPEMD160_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) static int __archive_openssl_ripemd160init(archive_rmd160_ctx *ctx) { EVP_DigestInit(ctx, EVP_ripemd160()); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_ripemd160final(archive_rmd160_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #else static int __archive_stub_ripemd160init(archive_rmd160_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160update(archive_rmd160_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_ripemd160final(archive_rmd160_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA1 implementations */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) static int __archive_libc_sha1init(archive_sha1_ctx *ctx) { SHA1Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) static int __archive_libmd_sha1init(archive_sha1_ctx *ctx) { SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha1final(archive_sha1_ctx *ctx, void *md) { SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) static int __archive_libsystem_sha1init(archive_sha1_ctx *ctx) { CC_SHA1_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { CC_SHA1_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha1final(archive_sha1_ctx *ctx, void *md) { CC_SHA1_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) static int __archive_nettle_sha1init(archive_sha1_ctx *ctx) { sha1_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { sha1_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha1final(archive_sha1_ctx *ctx, void *md) { sha1_digest(ctx, SHA1_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) static int __archive_openssl_sha1init(archive_sha1_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha1()); return (ARCHIVE_OK); } static int __archive_openssl_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha1final(archive_sha1_ctx *ctx, void *md) { /* HACK: archive_write_set_format_xar.c is finalizing empty contexts, so * this is meant to cope with that. Real fix is probably to fix * archive_write_set_format_xar.c */ if (ctx->digest) EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) static int __archive_windowsapi_sha1init(archive_sha1_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA1)); } static int __archive_windowsapi_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha1final(archive_sha1_ctx *ctx, void *md) { return (win_crypto_Final(md, 20, ctx)); } #else static int __archive_stub_sha1init(archive_sha1_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1update(archive_sha1_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha1final(archive_sha1_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA256 implementations */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) static int __archive_libc_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) static int __archive_libc2_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) static int __archive_libc3_sha256init(archive_sha256_ctx *ctx) { SHA256Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) static int __archive_libmd_sha256init(archive_sha256_ctx *ctx) { SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha256final(archive_sha256_ctx *ctx, void *md) { SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) static int __archive_libsystem_sha256init(archive_sha256_ctx *ctx) { CC_SHA256_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { CC_SHA256_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha256final(archive_sha256_ctx *ctx, void *md) { CC_SHA256_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) static int __archive_nettle_sha256init(archive_sha256_ctx *ctx) { sha256_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { sha256_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha256final(archive_sha256_ctx *ctx, void *md) { sha256_digest(ctx, SHA256_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) static int __archive_openssl_sha256init(archive_sha256_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha256()); return (ARCHIVE_OK); } static int __archive_openssl_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha256final(archive_sha256_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) static int __archive_windowsapi_sha256init(archive_sha256_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_256)); } static int __archive_windowsapi_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha256final(archive_sha256_ctx *ctx, void *md) { return (win_crypto_Final(md, 32, ctx)); } #else static int __archive_stub_sha256init(archive_sha256_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256update(archive_sha256_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha256final(archive_sha256_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA384 implementations */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) static int __archive_libc_sha384init(archive_sha384_ctx *ctx) { SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) static int __archive_libc2_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) static int __archive_libc3_sha384init(archive_sha384_ctx *ctx) { SHA384Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { SHA384Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha384final(archive_sha384_ctx *ctx, void *md) { SHA384Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) static int __archive_libsystem_sha384init(archive_sha384_ctx *ctx) { CC_SHA384_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { CC_SHA384_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha384final(archive_sha384_ctx *ctx, void *md) { CC_SHA384_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) static int __archive_nettle_sha384init(archive_sha384_ctx *ctx) { sha384_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { sha384_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha384final(archive_sha384_ctx *ctx, void *md) { sha384_digest(ctx, SHA384_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) static int __archive_openssl_sha384init(archive_sha384_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha384()); return (ARCHIVE_OK); } static int __archive_openssl_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha384final(archive_sha384_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) static int __archive_windowsapi_sha384init(archive_sha384_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_384)); } static int __archive_windowsapi_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha384final(archive_sha384_ctx *ctx, void *md) { return (win_crypto_Final(md, 48, ctx)); } #else static int __archive_stub_sha384init(archive_sha384_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384update(archive_sha384_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha384final(archive_sha384_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* SHA512 implementations */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) static int __archive_libc_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libc_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) static int __archive_libc2_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc2_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc2_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) static int __archive_libc3_sha512init(archive_sha512_ctx *ctx) { SHA512Init(ctx); return (ARCHIVE_OK); } static int __archive_libc3_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libc3_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) static int __archive_libmd_sha512init(archive_sha512_ctx *ctx) { SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libmd_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libmd_sha512final(archive_sha512_ctx *ctx, void *md) { SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) static int __archive_libsystem_sha512init(archive_sha512_ctx *ctx) { CC_SHA512_Init(ctx); return (ARCHIVE_OK); } static int __archive_libsystem_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { CC_SHA512_Update(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_libsystem_sha512final(archive_sha512_ctx *ctx, void *md) { CC_SHA512_Final(md, ctx); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) static int __archive_nettle_sha512init(archive_sha512_ctx *ctx) { sha512_init(ctx); return (ARCHIVE_OK); } static int __archive_nettle_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { sha512_update(ctx, insize, indata); return (ARCHIVE_OK); } static int __archive_nettle_sha512final(archive_sha512_ctx *ctx, void *md) { sha512_digest(ctx, SHA512_DIGEST_SIZE, md); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) static int __archive_openssl_sha512init(archive_sha512_ctx *ctx) { EVP_DigestInit(ctx, EVP_sha512()); return (ARCHIVE_OK); } static int __archive_openssl_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { EVP_DigestUpdate(ctx, indata, insize); return (ARCHIVE_OK); } static int __archive_openssl_sha512final(archive_sha512_ctx *ctx, void *md) { EVP_DigestFinal(ctx, md, NULL); return (ARCHIVE_OK); } #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) static int __archive_windowsapi_sha512init(archive_sha512_ctx *ctx) { return (win_crypto_init(ctx, CALG_SHA_512)); } static int __archive_windowsapi_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { return (win_crypto_Update(ctx, indata, insize)); } static int __archive_windowsapi_sha512final(archive_sha512_ctx *ctx, void *md) { return (win_crypto_Final(md, 64, ctx)); } #else static int __archive_stub_sha512init(archive_sha512_ctx *ctx) { (void)ctx; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512update(archive_sha512_ctx *ctx, const void *indata, size_t insize) { (void)ctx; /* UNUSED */ (void)indata; /* UNUSED */ (void)insize; /* UNUSED */ return (ARCHIVE_FAILED); } static int __archive_stub_sha512final(archive_sha512_ctx *ctx, void *md) { (void)ctx; /* UNUSED */ (void)md; /* UNUSED */ return (ARCHIVE_FAILED); } #endif /* NOTE: Crypto functions are set based on availability and by the following * order of preference. * 1. libc * 2. libc2 * 3. libc3 * 4. libSystem * 5. Nettle * 6. OpenSSL * 7. libmd * 8. Windows API */ const struct archive_crypto __archive_crypto = { /* MD5 */ #if defined(ARCHIVE_CRYPTO_MD5_LIBC) &__archive_libc_md5init, &__archive_libc_md5update, &__archive_libc_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBMD) &__archive_libmd_md5init, &__archive_libmd_md5update, &__archive_libmd_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_LIBSYSTEM) &__archive_libsystem_md5init, &__archive_libsystem_md5update, &__archive_libsystem_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_NETTLE) &__archive_nettle_md5init, &__archive_nettle_md5update, &__archive_nettle_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_OPENSSL) &__archive_openssl_md5init, &__archive_openssl_md5update, &__archive_openssl_md5final, #elif defined(ARCHIVE_CRYPTO_MD5_WIN) &__archive_windowsapi_md5init, &__archive_windowsapi_md5update, &__archive_windowsapi_md5final, #elif !defined(ARCHIVE_MD5_COMPILE_TEST) &__archive_stub_md5init, &__archive_stub_md5update, &__archive_stub_md5final, #endif /* RIPEMD160 */ #if defined(ARCHIVE_CRYPTO_RMD160_LIBC) &__archive_libc_ripemd160init, &__archive_libc_ripemd160update, &__archive_libc_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_LIBMD) &__archive_libmd_ripemd160init, &__archive_libmd_ripemd160update, &__archive_libmd_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_NETTLE) &__archive_nettle_ripemd160init, &__archive_nettle_ripemd160update, &__archive_nettle_ripemd160final, #elif defined(ARCHIVE_CRYPTO_RMD160_OPENSSL) &__archive_openssl_ripemd160init, &__archive_openssl_ripemd160update, &__archive_openssl_ripemd160final, #elif !defined(ARCHIVE_RMD160_COMPILE_TEST) &__archive_stub_ripemd160init, &__archive_stub_ripemd160update, &__archive_stub_ripemd160final, #endif /* SHA1 */ #if defined(ARCHIVE_CRYPTO_SHA1_LIBC) &__archive_libc_sha1init, &__archive_libc_sha1update, &__archive_libc_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBMD) &__archive_libmd_sha1init, &__archive_libmd_sha1update, &__archive_libmd_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_LIBSYSTEM) &__archive_libsystem_sha1init, &__archive_libsystem_sha1update, &__archive_libsystem_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_NETTLE) &__archive_nettle_sha1init, &__archive_nettle_sha1update, &__archive_nettle_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_OPENSSL) &__archive_openssl_sha1init, &__archive_openssl_sha1update, &__archive_openssl_sha1final, #elif defined(ARCHIVE_CRYPTO_SHA1_WIN) &__archive_windowsapi_sha1init, &__archive_windowsapi_sha1update, &__archive_windowsapi_sha1final, #elif !defined(ARCHIVE_SHA1_COMPILE_TEST) &__archive_stub_sha1init, &__archive_stub_sha1update, &__archive_stub_sha1final, #endif /* SHA256 */ #if defined(ARCHIVE_CRYPTO_SHA256_LIBC) &__archive_libc_sha256init, &__archive_libc_sha256update, &__archive_libc_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC2) &__archive_libc2_sha256init, &__archive_libc2_sha256update, &__archive_libc2_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBC3) &__archive_libc3_sha256init, &__archive_libc3_sha256update, &__archive_libc3_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBMD) &__archive_libmd_sha256init, &__archive_libmd_sha256update, &__archive_libmd_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_LIBSYSTEM) &__archive_libsystem_sha256init, &__archive_libsystem_sha256update, &__archive_libsystem_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_NETTLE) &__archive_nettle_sha256init, &__archive_nettle_sha256update, &__archive_nettle_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_OPENSSL) &__archive_openssl_sha256init, &__archive_openssl_sha256update, &__archive_openssl_sha256final, #elif defined(ARCHIVE_CRYPTO_SHA256_WIN) &__archive_windowsapi_sha256init, &__archive_windowsapi_sha256update, &__archive_windowsapi_sha256final, #elif !defined(ARCHIVE_SHA256_COMPILE_TEST) &__archive_stub_sha256init, &__archive_stub_sha256update, &__archive_stub_sha256final, #endif /* SHA384 */ #if defined(ARCHIVE_CRYPTO_SHA384_LIBC) &__archive_libc_sha384init, &__archive_libc_sha384update, &__archive_libc_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC2) &__archive_libc2_sha384init, &__archive_libc2_sha384update, &__archive_libc2_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBC3) &__archive_libc3_sha384init, &__archive_libc3_sha384update, &__archive_libc3_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_LIBSYSTEM) &__archive_libsystem_sha384init, &__archive_libsystem_sha384update, &__archive_libsystem_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_NETTLE) &__archive_nettle_sha384init, &__archive_nettle_sha384update, &__archive_nettle_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_OPENSSL) &__archive_openssl_sha384init, &__archive_openssl_sha384update, &__archive_openssl_sha384final, #elif defined(ARCHIVE_CRYPTO_SHA384_WIN) &__archive_windowsapi_sha384init, &__archive_windowsapi_sha384update, &__archive_windowsapi_sha384final, #elif !defined(ARCHIVE_SHA384_COMPILE_TEST) &__archive_stub_sha384init, &__archive_stub_sha384update, &__archive_stub_sha384final, #endif /* SHA512 */ #if defined(ARCHIVE_CRYPTO_SHA512_LIBC) &__archive_libc_sha512init, &__archive_libc_sha512update, &__archive_libc_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC2) &__archive_libc2_sha512init, &__archive_libc2_sha512update, &__archive_libc2_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBC3) &__archive_libc3_sha512init, &__archive_libc3_sha512update, &__archive_libc3_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBMD) &__archive_libmd_sha512init, &__archive_libmd_sha512update, &__archive_libmd_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_LIBSYSTEM) &__archive_libsystem_sha512init, &__archive_libsystem_sha512update, &__archive_libsystem_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_NETTLE) &__archive_nettle_sha512init, &__archive_nettle_sha512update, &__archive_nettle_sha512final, #elif defined(ARCHIVE_CRYPTO_SHA512_OPENSSL) &__archive_openssl_sha512init, &__archive_openssl_sha512update, &__archive_openssl_sha512final #elif defined(ARCHIVE_CRYPTO_SHA512_WIN) &__archive_windowsapi_sha512init, &__archive_windowsapi_sha512update, &__archive_windowsapi_sha512final #elif !defined(ARCHIVE_SHA512_COMPILE_TEST) &__archive_stub_sha512init, &__archive_stub_sha512update, &__archive_stub_sha512final #endif }; int main(int argc, char **argv) { archive_sha512_ctx ctx; archive_sha512_init(&ctx); archive_sha512_update(&ctx, *argv, argc); archive_sha512_final(&ctx, NULL); return 0; } Determining size of unsigned short passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3192565239/fast" gmake -f CMakeFiles/cmTryCompileExec3192565239.dir/build.make CMakeFiles/cmTryCompileExec3192565239.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3192565239.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3192565239.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c Linking C executable cmTryCompileExec3192565239 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3192565239.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3192565239.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -o cmTryCompileExec3192565239 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the function wsyncup exists in the /usr/lib64/libcurses.so passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec102464674/fast" gmake -f CMakeFiles/cmTryCompileExec102464674.dir/build.make CMakeFiles/cmTryCompileExec102464674.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec102464674.dir/CheckFunctionExists.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DCHECK_FUNCTION_EXISTS=wsyncup -o CMakeFiles/cmTryCompileExec102464674.dir/CheckFunctionExists.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec102464674 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec102464674.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib -DCHECK_FUNCTION_EXISTS=wsyncup CMakeFiles/cmTryCompileExec102464674.dir/CheckFunctionExists.c.o -o cmTryCompileExec102464674 -rdynamic -lcurses gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Determining if the include file elf.h exists passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec3622064072/fast" gmake -f CMakeFiles/cmTryCompileExec3622064072.dir/build.make CMakeFiles/cmTryCompileExec3622064072.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3622064072.dir/CheckIncludeFile.c.o /usr/bin/gcc -L/usr/local/python/python-2.7/lib -o CMakeFiles/cmTryCompileExec3622064072.dir/CheckIncludeFile.c.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckIncludeFile.c Linking C executable cmTryCompileExec3622064072 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3622064072.dir/link.txt --verbose=1 /usr/bin/gcc -L/usr/local/python/python-2.7/lib CMakeFiles/cmTryCompileExec3622064072.dir/CheckIncludeFile.c.o -o cmTryCompileExec3622064072 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Looking for a Fortran compiler passed with the following output: -- The Fortran compiler identification is GNU -- Check for working Fortran compiler: /usr/bin/f95 -- Check for working Fortran compiler: /usr/bin/f95 -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/f95 supports Fortran 90 -- Checking whether /usr/bin/f95 supports Fortran 90 -- yes -- Configuring done -- Generating done -- Build files have been written to: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Tests/CMakeFiles/CheckFortran Determining if the Q_WS_X11 exist passed with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec1666636366/fast" gmake -f CMakeFiles/cmTryCompileExec1666636366.dir/build.make CMakeFiles/cmTryCompileExec1666636366.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec1666636366.dir/CheckSymbolExists.cxx.o /usr/bin/g++ -o CMakeFiles/cmTryCompileExec1666636366.dir/CheckSymbolExists.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx Linking CXX executable cmTryCompileExec1666636366 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1666636366.dir/link.txt --verbose=1 /usr/bin/g++ CMakeFiles/cmTryCompileExec1666636366.dir/CheckSymbolExists.cxx.o -o cmTryCompileExec1666636366 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' File /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef Q_WS_X11 return ((int*)(&Q_WS_X11))[argc]; #else (void)argc; return 0; #endif } Performing C++ SOURCE FILE Test QT4_WORKS succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2317393755/fast" gmake -f CMakeFiles/cmTryCompileExec2317393755.dir/build.make CMakeFiles/cmTryCompileExec2317393755.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2317393755.dir/src.cxx.o /usr/bin/g++ -DQT4_WORKS -I/usr/include/QtDesigner -I/usr/include/QtAssistant -I/usr/include/QtScriptTools -I/usr/include/QtDBus -I/usr/include/QtXml -I/usr/include/QtSql -I/usr/include/QtOpenGL -I/usr/include/QtMultimedia -I/usr/include/QtNetwork -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtHelp -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtScript -I/usr/include/QtSvg -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/lib64/qt4/mkspecs/default -o CMakeFiles/cmTryCompileExec2317393755.dir/src.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTryCompileExec2317393755 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2317393755.dir/link.txt --verbose=1 /usr/bin/g++ -DQT4_WORKS CMakeFiles/cmTryCompileExec2317393755.dir/src.cxx.o -o cmTryCompileExec2317393755 -rdynamic -lQtCore gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: #include int main() {return (qApp == 0 ? 0 : 1); } Performing C++ SOURCE FILE Test run_pic_test succeded with the following output: Change Dir: /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec2731154437/fast" gmake -f CMakeFiles/cmTryCompileExec2731154437.dir/build.make CMakeFiles/cmTryCompileExec2731154437.dir/build gmake[1]: Entering directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_progress_report /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2731154437.dir/src.cxx.o /usr/bin/g++ -Drun_pic_test -fPIE -o CMakeFiles/cmTryCompileExec2731154437.dir/src.cxx.o -c /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp/src.cxx Linking CXX executable cmTryCompileExec2731154437 /sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2731154437.dir/link.txt --verbose=1 /usr/bin/g++ -Drun_pic_test CMakeFiles/cmTryCompileExec2731154437.dir/src.cxx.o -o cmTryCompileExec2731154437 -rdynamic gmake[1]: Leaving directory `/sps/hep/comet/cometmgr/cvmfs_repo/ICEDUST/sl6/v2r1p0/cmake/cmake-2.8.12.2/CMakeFiles/CMakeTmp' Source file was: int main() { return 0;}