The build took 00h 01m 45s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language | 
|---|---|
| 30,321 | ansic | 
| 4,304 | sh | 
| 3,246 | makefile | 
| 37,871 | total | 
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
    To avoid scrolling, you may jump to the last line of the
    invocation of makepkg that was used to build this
    package.
    
Removed vanilla repositories from pacman.conf and added:
        There were existing files in /sysroot, using those
        CMD: sudo -u tuscan PATH=/sysroot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
        ==> Making package: subsurface-libdc 4.5.6-1 (Wed Apr  5 00:44:25 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...libtoolize: putting auxiliary files in '.'.libtoolize: copying file './ltmain.sh'libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.libtoolize: copying file 'm4/libtool.m4'libtoolize: copying file 'm4/ltoptions.m4'libtoolize: copying file 'm4/ltsugar.m4'libtoolize: copying file 'm4/ltversion.m4'libtoolize: copying file 'm4/lt~obsolete.m4'Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/sbin/automake line 3936.configure.ac:24: installing './ar-lib'configure.ac:24: installing './compile'configure.ac:28: installing './config.guess'configure.ac:28: installing './config.sub'configure.ac:21: installing './install-sh'configure.ac:21: installing './missing'examples/Makefile.am: installing './depcomp'checking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yeschecking for x86_64-unknown-linux-strip... nochecking for strip... stripchecking for a thread-safe mkdir -p... /usr/sbin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether make supports nested variables... yeschecking for style of include used by make... GNUchecking for x86_64-unknown-linux-gcc... clangchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... yeschecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether clang accepts -g... yeschecking for clang option to accept ISO C89... none neededchecking whether clang understands -c and -o together... yeschecking dependency style of clang... gcc3checking for x86_64-unknown-linux-ar... nochecking for x86_64-unknown-linux-lib... nochecking for x86_64-unknown-linux-link... nochecking for ar... arconfigure: WARNING: using cross tools not prefixed with host tripletchecking the archiver (ar) interface... archecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking how to print strings... printfchecking for a sed that does not truncate output... /usr/sbin/sedchecking for grep that handles long lines and -e... /usr/sbin/grepchecking for egrep... /usr/sbin/grep -Echecking for fgrep... /usr/sbin/grep -Fchecking for ld used by clang... /sysroot/bin/ldchecking if the linker (/sysroot/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/nm -Bchecking the name lister (/sysroot/bin/nm -B) interface... BSD nmchecking whether ln -s works... yeschecking the maximum length of command line arguments... 1572864checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noopchecking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noopchecking for /sysroot/bin/ld option to reload object files... -rchecking for x86_64-unknown-linux-objdump... nochecking for objdump... objdumpchecking how to recognize dependent libraries... pass_allchecking for x86_64-unknown-linux-dlltool... nochecking for dlltool... nochecking how to associate runtime and link libraries... printf %s\nchecking for x86_64-unknown-linux-ar... archecking for archiver @FILE support... @checking for x86_64-unknown-linux-strip... stripchecking for x86_64-unknown-linux-ranlib... nochecking for ranlib... ranlibchecking command to parse /sysroot/bin/nm -B output from clang object... okchecking for sysroot... nochecking for a working dd... /usr/sbin/ddchecking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1checking for x86_64-unknown-linux-mt... nochecking for mt... nochecking if : is a manifest tool... nochecking how to run the C preprocessor... clang -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for dlfcn.h... yeschecking for objdir... .libschecking if clang supports -fno-rtti -fno-exceptions... yeschecking for clang option to produce PIC... -fPIC -DPICchecking if clang PIC flag -fPIC -DPIC works... yeschecking if clang static flag -static works... nochecking if clang supports -c -o file.o... yeschecking if clang supports -c -o file.o... (cached) yeschecking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... yeschecking for x86_64-unknown-linux-windres... nochecking for windres... nochecking for x86_64-unknown-linux-gcc... (cached) clangchecking whether we are using the GNU C compiler... (cached) yeschecking whether clang accepts -g... (cached) yeschecking for clang option to accept ISO C89... (cached) none neededchecking whether clang understands -c and -o together... (cached) yeschecking dependency style of clang... (cached) gcc3checking for clang option to accept ISO C99... none neededchecking whether make supports nested variables... (cached) yeschecking for native Win32... nochecking for x86_64-unknown-linux-pkg-config... nochecking for pkg-config... /usr/sbin/pkg-configchecking pkg-config is at least version 0.9.0... yeschecking for LIBUSB... yeschecking for HIDAPI... nochecking for winsock2.h... nochecking for af_irda.h... nochecking for sys/socket.h... yeschecking for linux/types.h... nochecking for linux/irda.h... nochecking linux/serial.h usability... nochecking linux/serial.h presence... nochecking for linux/serial.h... nochecking IOKit/serial/ioss.h usability... nochecking IOKit/serial/ioss.h presence... nochecking for IOKit/serial/ioss.h... nochecking getopt.h usability... yeschecking getopt.h presence... yeschecking for getopt.h... yeschecking sys/param.h usability... yeschecking sys/param.h presence... yeschecking for sys/param.h... yeschecking whether optreset is declared... nochecking whether strerror_r is declared... yeschecking for strerror_r... yeschecking whether strerror_r returns char *... nochecking for localtime_r... yeschecking for gmtime_r... yeschecking for getopt_long... yeschecking that generated files are newer than configure... doneconfigure: creating ./config.statusconfig.status: creating libdivecomputer.pcconfig.status: creating Makefileconfig.status: creating include/Makefileconfig.status: creating include/libdivecomputer/Makefileconfig.status: creating include/libdivecomputer/version.hconfig.status: creating src/Makefileconfig.status: creating src/libdivecomputer.rcconfig.status: creating examples/Makefileconfig.status: creating config.hconfig.status: executing depfiles commandsconfig.status: executing libtool commandsmake -s all-recursiveMaking all in includeMaking all in libdivecomputerMaking all in src  GEN      revision.h  CC       version.lo  CC       descriptor.lo  CC       common.lo  CC       iterator.lo  CC       context.lo  CC       device.lo  CC       parser.lo  CC       datetime.lo  CC       suunto_common.lo  CC       suunto_common2.lo  CC       suunto_solution.lo  CC       suunto_solution_parser.lo  CC       suunto_eon.lo  CC       suunto_eon_parser.lo  CC       suunto_vyper.lo  CC       suunto_vyper_parser.lo  CC       suunto_vyper2.lo  CC       suunto_d9.lo  CC       suunto_d9_parser.lo  CC       suunto_eonsteel.losuunto_eonsteel.c:49:10: fatal error: 'libusb-1.0/libusb.h' file not found#include          ^  CC       suunto_eonsteel_parser.lo  CC       reefnet_sensus.lo  CC       reefnet_sensus_parser.lo  CC       reefnet_sensuspro.lo  CC       reefnet_sensuspro_parser.lo  CC       reefnet_sensusultra.lo  CC       reefnet_sensusultra_parser.lo  CC       uwatec_aladin.lo  CC       uwatec_memomouse.lo  CC       uwatec_memomouse_parser.lo  CC       uwatec_smart.lo  CC       uwatec_smart_parser.losuunto_eonsteel_parser.c:202:96: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]                        ERROR(eon->base.context, "Group type descriptor '%s' has undescribed index %d", desc->desc, index);                                                                                                   ~~               ^~~~~                                                                                                   %ld./context-private.h:52:103: note1: expanded from macro 'ERROR' error#define ERROR(context, ...) dc_context_log (context, DC_LOGLEVEL_ERROR, __FILE__, __LINE__, FUNCTION, __VA_ARGS__)                                                                                                      ^~~~~~~~~~~ generated.suunto_eonsteel_parser.c:230:96: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]                        ERROR(eon->base.context, "Group type descriptor '%s' has unparseable index %d", desc->desc, index);                                                                                                   ~~               ^~~~~                                                                                                   %ld./context-private.h:52:103: note: expanded from macro 'ERROR'#define ERROR(context, ...) dc_context_log (context, DC_LOGLEVEL_ERROR, __FILE__, __LINE__, FUNCTION, __VA_ARGS__)                                                                                                      ^~~~~~~~~~~make[3]: *** [Makefile:632: suunto_eonsteel.lo] Error 1make[3]: *** Waiting for unfinished jobs....suunto_eonsteel_parser.c:1087:36: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]                return add_string(eon, "Serial", data);                                                 ^~~~suunto_eonsteel_parser.c:1047:84: note: passing argument to parameter 'value' herestatic int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)                                                                                   ^suunto_eonsteel_parser.c:1089:40: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]                return add_string(eon, "HW Version", data);                                                     ^~~~suunto_eonsteel_parser.c:1047:84: note: passing argument to parameter 'value' herestatic int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)                                                                                   ^suunto_eonsteel_parser.c:1091:40: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]                return add_string(eon, "FW Version", data);                                                     ^~~~suunto_eonsteel_parser.c:1047:84: note: passing argument to parameter 'value' herestatic int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)                                                                                   ^suunto_eonsteel_parser.c:1093:46: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]                return add_string(eon, "Battery at start", data);                                                           ^~~~suunto_eonsteel_parser.c:1047:84: note: passing argument to parameter 'value' herestatic int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)                                                                                   ^suunto_eonsteel_parser.c:1095:44: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]                return add_string(eon, "Battery at end", data);                                                         ^~~~suunto_eonsteel_parser.c:1047:84: note: passing argument to parameter 'value' herestatic int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)                                                                                   ^suunto_eonsteel_parser.c:1156:44: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]                return add_string(eon, "Transmitter ID", data);                                                         ^~~~suunto_eonsteel_parser.c:1047:84: note: passing argument to parameter 'value' herestatic int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)                                                                                   ^suunto_eonsteel_parser.c:1172:44: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]                return add_string(eon, "Deco algorithm", data);                                                         ^~~~suunto_eonsteel_parser.c:1047:84: note: passing argument to parameter 'value' herestatic int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)                                                                                   ^suunto_eonsteel_parser.c:1175:39: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]                return add_string(eon, "Dive Mode", data);                                                    ^~~~suunto_eonsteel_parser.c:1047:84: note: passing argument to parameter 'value' herestatic int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)                                                                                   ^suunto_eonsteel_parser.c:1213:37: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]                return add_string(eon, "Dive ID", data);                                                  ^~~~suunto_eonsteel_parser.c:1047:84: note: passing argument to parameter 'value' herestatic int add_string(suunto_eonsteel_parser_t *eon, const char *desc, const char *value)                                                                                   ^suunto_eonsteel_parser.c:1248:11: warning: 21 enumeration values not handled in switch: 'ES_none', 'ES_temp', 'ES_ndl'... [-Wswitch]                switch (type) {                        ^12 warnings generated.make[2]: *** [Makefile:454: all] Error 2make[1]: *** [Makefile:470: all-recursive] Error 1make: *** [Makefile:379: all] Error 2==> ERROR: A failure occurred in build().    Aborting...Printing config logfiles
        CMD: config logfiles '/tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/config.log'
        This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by libdivecomputer configure 0.5.0-devel-Subsurface-branch, which wasgenerated by GNU Autoconf 2.69.  Invocation command line was$ ./configure --host=x86_64-unknown-linux --prefix=/usr --program-prefix=libdc-## --------- #### Platform. #### --------- ##hostname = fbe371a88b58uname -m = x86_64uname -r = 4.10.6-1-ARCHuname -s = Linuxuname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017/usr/bin/uname -p = unknown/bin/uname -X     = unknown/bin/arch              = unknown/usr/bin/arch -k       = unknown/usr/convex/getsysinfo = unknown/usr/bin/hostinfo      = unknown/bin/machine           = unknown/usr/bin/oslevel       = unknown/bin/universe          = unknownPATH: /sysroot/binPATH: /usr/local/sbinPATH: /usr/local/binPATH: /usr/sbinPATH: /usr/binPATH: /sbinPATH: /bin## ----------- #### Core tests. #### ----------- ##configure:2354: checking for a BSD-compatible installconfigure:2422: result: /usr/bin/install -cconfigure:2433: checking whether build environment is saneconfigure:2488: result: yesconfigure:2547: checking for x86_64-unknown-linux-stripconfigure:2577: result: noconfigure:2587: checking for stripconfigure:2603: found /sysroot/bin/stripconfigure:2614: result: stripconfigure:2639: checking for a thread-safe mkdir -pconfigure:2678: result: /usr/sbin/mkdir -pconfigure:2685: checking for gawkconfigure:2701: found /usr/sbin/gawkconfigure:2712: result: gawkconfigure:2723: checking whether make sets $(MAKE)configure:2745: result: yesconfigure:2774: checking whether make supports nested variablesconfigure:2791: result: yesconfigure:2931: checking for style of include used by makeconfigure:2959: result: GNUconfigure:2990: checking for x86_64-unknown-linux-gccconfigure:3017: result: clangconfigure:3286: checking for C compiler versionconfigure:3295: clang --version >&5clang version 3.8.1Target: x86_64-unknown-linux-gnuThread model: posixInstalledDir: /configure:3306: $? = 0configure:3295: clang -v >&5clang version 3.8.1Target: x86_64-unknown-linux-gnuThread model: posixInstalledDir: /Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1Candidate multilib: .;@m64Selected multilib: .;@m64configure:3306: $? = 0configure:3295: clang -V >&5clang-3.8: error: argument to '-V' is missing (expected 1 value)clang-3.8: error: no input filesconfigure:3306: $? = 1configure:3295: clang -qversion >&5clang-3.8: error: unknown argument: '-qversion'clang-3.8: error: no input filesconfigure:3306: $? = 1configure:3326: checking whether the C compiler worksconfigure:3348: clang    conftest.c  >&5configure:3352: $? = 0configure:3400: result: yesconfigure:3403: checking for C compiler default output file nameconfigure:3405: result: a.outconfigure:3411: checking for suffix of executablesconfigure:3418: clang -o conftest    conftest.c  >&5configure:3422: $? = 0configure:3444: result:configure:3466: checking whether we are cross compilingconfigure:3474: clang -o conftest    conftest.c  >&5configure:3478: $? = 0configure:3485: ./conftest./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF headerconfigure:3489: $? = 127configure:3504: result: yesconfigure:3509: checking for suffix of object filesconfigure:3531: clang -c   conftest.c >&5configure:3535: $? = 0configure:3556: result: oconfigure:3560: checking whether we are using the GNU C compilerconfigure:3579: clang -c   conftest.c >&5configure:3579: $? = 0configure:3588: result: yesconfigure:3597: checking whether clang accepts -gconfigure:3617: clang -c -g  conftest.c >&5configure:3617: $? = 0configure:3658: result: yesconfigure:3675: checking for clang option to accept ISO C89configure:3738: clang  -c   conftest.c >&5configure:3738: $? = 0configure:3751: result: none neededconfigure:3776: checking whether clang understands -c and -o togetherconfigure:3798: clang -c conftest.c -o conftest2.oconfigure:3801: $? = 0configure:3798: clang -c conftest.c -o conftest2.oconfigure:3801: $? = 0configure:3813: result: yesconfigure:3832: checking dependency style of clangconfigure:3943: result: gcc3configure:3964: checking for x86_64-unknown-linux-arconfigure:3994: result: noconfigure:3964: checking for x86_64-unknown-linux-libconfigure:3994: result: noconfigure:3964: checking for x86_64-unknown-linux-linkconfigure:3994: result: noconfigure:4008: checking for arconfigure:4024: found /sysroot/bin/arconfigure:4035: result: arconfigure:4051: WARNING: using cross tools not prefixed with host tripletconfigure:4061: checking the archiver (ar) interfaceconfigure:4077: clang -c   conftest.c >&5configure:4077: $? = 0configure:4079: ar cru libconftest.a conftest.o >&5/r: `u' modifier ignored since `D' is the default (see `U')configure:4082: $? = 0configure:4110: result: arconfigure:4162: checking build system typeconfigure:4176: result: x86_64-unknown-linux-gnuconfigure:4196: checking host system typeconfigure:4209: result: x86_64-unknown-linux-gnuconfigure:4250: checking how to print stringsconfigure:4277: result: printfconfigure:4298: checking for a sed that does not truncate outputconfigure:4362: result: /usr/sbin/sedconfigure:4380: checking for grep that handles long lines and -econfigure:4438: result: /usr/sbin/grepconfigure:4443: checking for egrepconfigure:4505: result: /usr/sbin/grep -Econfigure:4510: checking for fgrepconfigure:4572: result: /usr/sbin/grep -Fconfigure:4607: checking for ld used by clangconfigure:4674: result: /sysroot/bin/ldconfigure:4681: checking if the linker (/sysroot/bin/ld) is GNU ldconfigure:4696: result: yesconfigure:4708: checking for BSD- or MS-compatible name lister (nm)configure:4762: result: /sysroot/bin/nm -Bconfigure:4892: checking the name lister (/sysroot/bin/nm -B) interfaceconfigure:4899: clang -c   conftest.c >&5configure:4902: /sysroot/bin/nm -B "conftest.o"configure:4905: output0000000000000000 B some_variableconfigure:4912: result: BSD nmconfigure:4915: checking whether ln -s worksconfigure:4919: result: yesconfigure:4927: checking the maximum length of command line argumentsconfigure:5058: result: 1572864configure:5106: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu formatconfigure:5146: result: func_convert_file_noopconfigure:5153: checking how to convert x86_64-unknown-linux-gnu file names to toolchain formatconfigure:5173: result: func_convert_file_noopconfigure:5180: checking for /sysroot/bin/ld option to reload object filesconfigure:5187: result: -rconfigure:5221: checking for x86_64-unknown-linux-objdumpconfigure:5251: result: noconfigure:5261: checking for objdumpconfigure:5277: found /sysroot/bin/objdumpconfigure:5288: result: objdumpconfigure:5317: checking how to recognize dependent librariesconfigure:5517: result: pass_allconfigure:5562: checking for x86_64-unknown-linux-dlltoolconfigure:5592: result: noconfigure:5602: checking for dlltoolconfigure:5632: result: noconfigure:5659: checking how to associate runtime and link librariesconfigure:5686: result: printf %s\nconfigure:5702: checking for x86_64-unknown-linux-arconfigure:5729: result: arconfigure:5810: checking for archiver @FILE supportconfigure:5827: clang -c   conftest.c >&5configure:5827: $? = 0configure:5830: ar cru libconftest.a @conftest.lst >&5/r: `u' modifier ignored since `D' is the default (see `U')configure:5833: $? = 0configure:5838: ar cru libconftest.a @conftest.lst >&5/r: `u' modifier ignored since `D' is the default (see `U')/r: conftest.o: No such file or directoryconfigure:5841: $? = 1configure:5853: result: @configure:5871: checking for x86_64-unknown-linux-stripconfigure:5898: result: stripconfigure:5970: checking for x86_64-unknown-linux-ranlibconfigure:6000: result: noconfigure:6010: checking for ranlibconfigure:6026: found /sysroot/bin/ranlibconfigure:6037: result: ranlibconfigure:6139: checking command to parse /sysroot/bin/nm -B output from clang objectconfigure:6292: clang -c   conftest.c >&5configure:6295: $? = 0configure:6299: /sysroot/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nmconfigure:6302: $? = 0configure:6368: clang -o conftest    conftest.c conftstm.o >&5configure:6371: $? = 0configure:6409: result: okconfigure:6456: checking for sysrootconfigure:6486: result: noconfigure:6493: checking for a working ddconfigure:6531: result: /usr/sbin/ddconfigure:6535: checking how to truncate binary pipesconfigure:6550: result: /usr/sbin/dd bs=4096 count=1configure:6686: clang -c   conftest.c >&5configure:6689: $? = 0configure:6839: checking for x86_64-unknown-linux-mtconfigure:6869: result: noconfigure:6879: checking for mtconfigure:6909: result: noconfigure:6929: checking if : is a manifest toolconfigure:6935: : '-?'configure:6943: result: noconfigure:7620: checking how to run the C preprocessorconfigure:7651: clang -E  conftest.cconfigure:7651: $? = 0configure:7665: clang -E  conftest.cconftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found#include ^1 error generated.configure:7665: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| /* end confdefs.h.  */| #include configure:7690: result: clang -Econfigure:7710: clang -E  conftest.cconfigure:7710: $? = 0configure:7724: clang -E  conftest.cconftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found#include ^1 error generated.configure:7724: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| /* end confdefs.h.  */| #include configure:7753: checking for ANSI C header filesconfigure:7773: clang -c   conftest.c >&5configure:7773: $? = 0configure:7857: result: yesconfigure:7870: checking for sys/types.hconfigure:7870: clang -c   conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for sys/stat.hconfigure:7870: clang -c   conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for stdlib.hconfigure:7870: clang -c   conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for string.hconfigure:7870: clang -c   conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for memory.hconfigure:7870: clang -c   conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for strings.hconfigure:7870: clang -c   conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for inttypes.hconfigure:7870: clang -c   conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for stdint.hconfigure:7870: clang -c   conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7870: checking for unistd.hconfigure:7870: clang -c   conftest.c >&5configure:7870: $? = 0configure:7870: result: yesconfigure:7884: checking for dlfcn.hconfigure:7884: clang -c   conftest.c >&5configure:7884: $? = 0configure:7884: result: yesconfigure:8438: checking for objdirconfigure:8453: result: .libsconfigure:8717: checking if clang supports -fno-rtti -fno-exceptionsconfigure:8735: clang -c   -fno-rtti -fno-exceptions conftest.c >&5configure:8739: $? = 0configure:8752: result: yesconfigure:9110: checking for clang option to produce PICconfigure:9117: result: -fPIC -DPICconfigure:9125: checking if clang PIC flag -fPIC -DPIC worksconfigure:9143: clang -c   -fPIC -DPIC -DPIC conftest.c >&5configure:9147: $? = 0configure:9160: result: yesconfigure:9189: checking if clang static flag -static worksconfigure:9217: result: noconfigure:9232: checking if clang supports -c -o file.oconfigure:9253: clang -c   -o out/conftest2.o conftest.c >&5configure:9257: $? = 0configure:9279: result: yesconfigure:9287: checking if clang supports -c -o file.oconfigure:9334: result: yesconfigure:9367: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared librariesconfigure:10626: result: yesconfigure:10663: checking whether -lc should be explicitly linked inconfigure:10671: clang -c   conftest.c >&5configure:10674: $? = 0configure:10689: clang -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep  -lc  \>/dev/null 2\>\&1configure:10692: $? = 0configure:10706: result: noconfigure:10866: checking dynamic linker characteristicsconfigure:11447: clang -o conftest    -Wl,-rpath -Wl,/foo conftest.c  >&5configure:11447: $? = 0configure:11684: result: GNU/Linux ld.soconfigure:11806: checking how to hardcode library paths into programsconfigure:11831: result: immediateconfigure:12379: checking whether stripping libraries is possibleconfigure:12384: result: yesconfigure:12419: checking if libtool supports shared librariesconfigure:12421: result: yesconfigure:12424: checking whether to build shared librariesconfigure:12449: result: yesconfigure:12452: checking whether to build static librariesconfigure:12456: result: yesconfigure:12496: checking for x86_64-unknown-linux-windresconfigure:12526: result: noconfigure:12536: checking for windresconfigure:12566: result: noconfigure:12721: checking for x86_64-unknown-linux-gccconfigure:12748: result: clangconfigure:13017: checking for C compiler versionconfigure:13026: clang --version >&5clang version 3.8.1Target: x86_64-unknown-linux-gnuThread model: posixInstalledDir: /configure:13037: $? = 0configure:13026: clang -v >&5clang version 3.8.1Target: x86_64-unknown-linux-gnuThread model: posixInstalledDir: /Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1Candidate multilib: .;@m64Selected multilib: .;@m64configure:13037: $? = 0configure:13026: clang -V >&5clang-3.8: error: argument to '-V' is missing (expected 1 value)clang-3.8: error: no input filesconfigure:13037: $? = 1configure:13026: clang -qversion >&5clang-3.8: error: unknown argument: '-qversion'clang-3.8: error: no input filesconfigure:13037: $? = 1configure:13041: checking whether we are using the GNU C compilerconfigure:13069: result: yesconfigure:13078: checking whether clang accepts -gconfigure:13139: result: yesconfigure:13156: checking for clang option to accept ISO C89configure:13232: result: none neededconfigure:13257: checking whether clang understands -c and -o togetherconfigure:13294: result: yesconfigure:13313: checking dependency style of clangconfigure:13424: result: gcc3configure:13439: checking for clang option to accept ISO C99configure:13588: clang  -c   conftest.c >&5configure:13588: $? = 0configure:13601: result: none neededconfigure:13629: checking whether make supports nested variablesconfigure:13646: result: yesconfigure:13659: checking for native Win32configure:13669: result: noconfigure:13696: checking for x86_64-unknown-linux-pkg-configconfigure:13729: result: noconfigure:13739: checking for pkg-configconfigure:13757: found /usr/sbin/pkg-configconfigure:13769: result: /usr/sbin/pkg-configconfigure:13794: checking pkg-config is at least version 0.9.0configure:13797: result: yesconfigure:13809: checking for LIBUSBconfigure:13816: $PKG_CONFIG --exists --print-errors "libusb-1.0"configure:13819: $? = 0configure:13832: $PKG_CONFIG --exists --print-errors "libusb-1.0"configure:13835: $? = 0configure:13872: result: yesconfigure:13896: checking for HIDAPIconfigure:13903: $PKG_CONFIG --exists --print-errors "hidapi"Package hidapi was not found in the pkg-config search path.Perhaps you should add the directory containing `hidapi.pc'to the PKG_CONFIG_PATH environment variableNo package 'hidapi' foundconfigure:13906: $? = 1configure:13919: $PKG_CONFIG --exists --print-errors "hidapi"Package hidapi was not found in the pkg-config search path.Perhaps you should add the directory containing `hidapi.pc'to the PKG_CONFIG_PATH environment variableNo package 'hidapi' foundconfigure:13922: $? = 1configure:13935: result: noNo package 'hidapi' foundconfigure:13977: checking for winsock2.hconfigure:13977: clang -c   conftest.c >&5conftest.c:31:10: fatal error: 'winsock2.h' file not found#include ^1 error generated.configure:13977: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_DLFCN_H 1| #define LT_OBJDIR ".libs/"| #define ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| /* end confdefs.h.  */|| #if HAVE_WINSOCK2_H| #   include | # endif||| #include configure:13977: result: noconfigure:13977: checking for af_irda.hconfigure:13977: clang -c   conftest.c >&5conftest.c:31:10: fatal error: 'af_irda.h' file not found#include ^1 error generated.configure:13977: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_DLFCN_H 1| #define LT_OBJDIR ".libs/"| #define ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| /* end confdefs.h.  */|| #if HAVE_WINSOCK2_H| #   include | # endif||| #include configure:13977: result: noconfigure:13998: checking for sys/socket.hconfigure:13998: clang -c   conftest.c >&5configure:13998: $? = 0configure:13998: result: yesconfigure:13998: checking for linux/types.hconfigure:13998: clang -c   conftest.c >&5conftest.c:35:10: fatal error: 'linux/types.h' file not found#include ^1 error generated.configure:13998: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_DLFCN_H 1| #define LT_OBJDIR ".libs/"| #define ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| /* end confdefs.h.  */|| #if HAVE_SYS_SOCKET_H| #   include | # endif| #if HAVE_LINUX_TYPES_H| #   include | # endif||| #include configure:13998: result: noconfigure:13998: checking for linux/irda.hconfigure:13998: clang -c   conftest.c >&5conftest.c:35:10: fatal error: 'linux/irda.h' file not found#include ^1 error generated.configure:13998: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_DLFCN_H 1| #define LT_OBJDIR ".libs/"| #define ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| /* end confdefs.h.  */|| #if HAVE_SYS_SOCKET_H| #   include | # endif| #if HAVE_LINUX_TYPES_H| #   include | # endif||| #include configure:13998: result: noconfigure:14037: checking linux/serial.h usabilityconfigure:14037: clang -c   conftest.c >&5conftest.c:59:10: fatal error: 'linux/serial.h' file not found#include ^1 error generated.configure:14037: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_DLFCN_H 1| #define LT_OBJDIR ".libs/"| #define ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| /* end confdefs.h.  */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| #  include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| #  include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| #include configure:14037: result: noconfigure:14037: checking linux/serial.h presenceconfigure:14037: clang -E  conftest.cconftest.c:26:10: fatal error: 'linux/serial.h' file not found#include ^1 error generated.configure:14037: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_DLFCN_H 1| #define LT_OBJDIR ".libs/"| #define ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| /* end confdefs.h.  */| #include configure:14037: result: noconfigure:14037: checking for linux/serial.hconfigure:14037: result: noconfigure:14049: checking IOKit/serial/ioss.h usabilityconfigure:14049: clang -c   conftest.c >&5conftest.c:59:10: fatal error: 'IOKit/serial/ioss.h' file not found#include ^1 error generated.configure:14049: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_DLFCN_H 1| #define LT_OBJDIR ".libs/"| #define ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| /* end confdefs.h.  */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| #  include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| #  include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| #include configure:14049: result: noconfigure:14049: checking IOKit/serial/ioss.h presenceconfigure:14049: clang -E  conftest.cconftest.c:26:10: fatal error: 'IOKit/serial/ioss.h' file not found#include ^1 error generated.configure:14049: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_DLFCN_H 1| #define LT_OBJDIR ".libs/"| #define ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| /* end confdefs.h.  */| #include configure:14049: result: noconfigure:14049: checking for IOKit/serial/ioss.hconfigure:14049: result: noconfigure:14061: checking getopt.h usabilityconfigure:14061: clang -c   conftest.c >&5configure:14061: $? = 0configure:14061: result: yesconfigure:14061: checking getopt.h presenceconfigure:14061: clang -E  conftest.cconfigure:14061: $? = 0configure:14061: result: yesconfigure:14061: checking for getopt.hconfigure:14061: result: yesconfigure:14073: checking sys/param.h usabilityconfigure:14073: clang -c   conftest.c >&5configure:14073: $? = 0configure:14073: result: yesconfigure:14073: checking sys/param.h presenceconfigure:14073: clang -E  conftest.cconfigure:14073: $? = 0configure:14073: result: yesconfigure:14073: checking for sys/param.hconfigure:14073: result: yesconfigure:14085: checking whether optreset is declaredconfigure:14085: clang -c   conftest.c >&5conftest.c:68:10: error: use of undeclared identifier 'optreset'(void) optreset;^1 error generated.configure:14085: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_DLFCN_H 1| #define LT_OBJDIR ".libs/"| #define ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| #define HAVE_GETOPT_H 1| #define HAVE_SYS_PARAM_H 1| /* end confdefs.h.  */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| #  include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| #  include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| int| main ()| {| #ifndef optreset| #ifdef __cplusplus|   (void) optreset;| #else|   (void) optreset;| #endif| #endif||   ;|   return 0;| }configure:14085: result: noconfigure:14098: checking whether strerror_r is declaredconfigure:14098: clang -c   conftest.c >&5configure:14098: $? = 0configure:14098: result: yesconfigure:14111: checking for strerror_rconfigure:14111: clang -o conftest    conftest.c  >&5configure:14111: $? = 0configure:14111: result: yesconfigure:14120: checking whether strerror_r returns char *configure:14144: clang -c   conftest.c >&5conftest.c:69:13: error: indirection requires pointer operand ('int' invalid)char x = *strerror_r (0, buf, sizeof buf);^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~conftest.c:70:10: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]char *p = strerror_r (0, buf, sizeof buf);^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 warning and 1 error generated.configure:14144: $? = 1configure: failed program was:| /* confdefs.h */| #define PACKAGE_NAME "libdivecomputer"| #define PACKAGE_TARNAME "libdivecomputer"| #define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"| #define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"| #define PACKAGE_BUGREPORT ""| #define PACKAGE_URL ""| #define PACKAGE "libdivecomputer"| #define VERSION "0.5.0-devel-Subsurface-branch"| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define HAVE_DLFCN_H 1| #define LT_OBJDIR ".libs/"| #define ENABLE_LOGGING 1| #define HAVE_LIBUSB 1| #define HAVE_SYS_SOCKET_H 1| #define HAVE_GETOPT_H 1| #define HAVE_SYS_PARAM_H 1| #define HAVE_DECL_OPTRESET 0| #define HAVE_DECL_STRERROR_R 1| #define HAVE_STRERROR_R 1| /* end confdefs.h.  */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| #  include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| #  include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| int| main ()| {|| 	  char buf[100];| 	  char x = *strerror_r (0, buf, sizeof buf);| 	  char *p = strerror_r (0, buf, sizeof buf);| 	  return !p || x;||   ;|   return 0;| }configure:14182: result: noconfigure:14193: checking for localtime_rconfigure:14193: clang -o conftest    conftest.c  >&5configure:14193: $? = 0configure:14193: result: yesconfigure:14193: checking for gmtime_rconfigure:14193: clang -o conftest    conftest.c  >&5configure:14193: $? = 0configure:14193: result: yesconfigure:14204: checking for getopt_longconfigure:14204: clang -o conftest    conftest.c  >&5configure:14204: $? = 0configure:14204: result: yesconfigure:14344: checking that generated files are newer than configureconfigure:14350: result: doneconfigure:14389: creating ./config.status## ---------------------- #### Running config.status. #### ---------------------- ##This file was extended by libdivecomputer config.status 0.5.0-devel-Subsurface-branch, which wasgenerated by GNU Autoconf 2.69.  Invocation command line wasCONFIG_FILES    =CONFIG_HEADERS  =CONFIG_LINKS    =CONFIG_COMMANDS =$ ./config.statuson fbe371a88b58config.status:1168: creating libdivecomputer.pcconfig.status:1168: creating Makefileconfig.status:1168: creating include/Makefileconfig.status:1168: creating include/libdivecomputer/Makefileconfig.status:1168: creating include/libdivecomputer/version.hconfig.status:1168: creating src/Makefileconfig.status:1168: creating src/libdivecomputer.rcconfig.status:1168: creating examples/Makefileconfig.status:1168: creating config.hconfig.status:1397: executing depfiles commandsconfig.status:1397: executing libtool commands## ---------------- #### Cache variables. #### ---------------- ##ac_cv_build=x86_64-unknown-linux-gnuac_cv_c_compiler_gnu=yesac_cv_env_CC_set=setac_cv_env_CC_value=clangac_cv_env_CFLAGS_set=setac_cv_env_CFLAGS_value=ac_cv_env_CPPFLAGS_set=setac_cv_env_CPPFLAGS_value=ac_cv_env_CPP_set=ac_cv_env_CPP_value=ac_cv_env_HIDAPI_CFLAGS_set=ac_cv_env_HIDAPI_CFLAGS_value=ac_cv_env_HIDAPI_LIBS_set=ac_cv_env_HIDAPI_LIBS_value=ac_cv_env_LDFLAGS_set=setac_cv_env_LDFLAGS_value=ac_cv_env_LIBS_set=ac_cv_env_LIBS_value=ac_cv_env_LIBUSB_CFLAGS_set=ac_cv_env_LIBUSB_CFLAGS_value=ac_cv_env_LIBUSB_LIBS_set=ac_cv_env_LIBUSB_LIBS_value=ac_cv_env_LT_SYS_LIBRARY_PATH_set=ac_cv_env_LT_SYS_LIBRARY_PATH_value=ac_cv_env_PKG_CONFIG_LIBDIR_set=ac_cv_env_PKG_CONFIG_LIBDIR_value=ac_cv_env_PKG_CONFIG_PATH_set=ac_cv_env_PKG_CONFIG_PATH_value=ac_cv_env_PKG_CONFIG_set=ac_cv_env_PKG_CONFIG_value=ac_cv_env_build_alias_set=ac_cv_env_build_alias_value=ac_cv_env_host_alias_set=setac_cv_env_host_alias_value=x86_64-unknown-linuxac_cv_env_target_alias_set=ac_cv_env_target_alias_value=ac_cv_func_getopt_long=yesac_cv_func_gmtime_r=yesac_cv_func_localtime_r=yesac_cv_func_strerror_r=yesac_cv_func_strerror_r_char_p=noac_cv_have_decl_optreset=noac_cv_have_decl_strerror_r=yesac_cv_header_IOKit_serial_ioss_h=noac_cv_header_af_irda_h=noac_cv_header_dlfcn_h=yesac_cv_header_getopt_h=yesac_cv_header_inttypes_h=yesac_cv_header_linux_irda_h=noac_cv_header_linux_serial_h=noac_cv_header_linux_types_h=noac_cv_header_memory_h=yesac_cv_header_stdc=yesac_cv_header_stdint_h=yesac_cv_header_stdlib_h=yesac_cv_header_string_h=yesac_cv_header_strings_h=yesac_cv_header_sys_param_h=yesac_cv_header_sys_socket_h=yesac_cv_header_sys_stat_h=yesac_cv_header_sys_types_h=yesac_cv_header_unistd_h=yesac_cv_header_winsock2_h=noac_cv_host=x86_64-unknown-linux-gnuac_cv_objext=oac_cv_path_EGREP='/usr/sbin/grep -E'ac_cv_path_FGREP='/usr/sbin/grep -F'ac_cv_path_GREP=/usr/sbin/grepac_cv_path_SED=/usr/sbin/sedac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-configac_cv_path_install='/usr/bin/install -c'ac_cv_path_lt_DD=/usr/sbin/ddac_cv_path_mkdir=/usr/sbin/mkdirac_cv_prog_AR=arac_cv_prog_AWK=gawkac_cv_prog_CC=clangac_cv_prog_CPP='clang -E'ac_cv_prog_STRIP=stripac_cv_prog_ac_ct_AR=arac_cv_prog_ac_ct_OBJDUMP=objdumpac_cv_prog_ac_ct_RANLIB=ranlibac_cv_prog_ac_ct_STRIP=stripac_cv_prog_cc_c89=ac_cv_prog_cc_c99=ac_cv_prog_cc_g=yesac_cv_prog_make_make_set=yesam_cv_CC_dependencies_compiler_type=gcc3am_cv_ar_interface=aram_cv_make_support_nested_variables=yesam_cv_prog_cc_c_o=yeslt_cv_ar_at_file=@lt_cv_archive_cmds_need_lc=nolt_cv_deplibs_check_method=pass_alllt_cv_file_magic_cmd='$MAGIC_CMD'lt_cv_file_magic_test_file=lt_cv_ld_reload_flag=-rlt_cv_nm_interface='BSD nm'lt_cv_objdir=.libslt_cv_path_LD=/sysroot/bin/ldlt_cv_path_NM='/sysroot/bin/nm -B'lt_cv_path_mainfest_tool=nolt_cv_prog_compiler_c_o=yeslt_cv_prog_compiler_c_o_RC=yeslt_cv_prog_compiler_pic='-fPIC -DPIC'lt_cv_prog_compiler_pic_works=yeslt_cv_prog_compiler_rtti_exceptions=yeslt_cv_prog_compiler_static_works=nolt_cv_prog_gnu_ld=yeslt_cv_sharedlib_from_linklib_cmd='printf %s\n'lt_cv_shlibpath_overrides_runpath=yeslt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''lt_cv_sys_global_symbol_to_import=lt_cv_sys_max_cmd_len=1572864lt_cv_to_host_file_cmd=func_convert_file_nooplt_cv_to_tool_file_cmd=func_convert_file_nooplt_cv_truncate_bin='/usr/sbin/dd bs=4096 count=1'pkg_cv_LIBUSB_CFLAGS=-I/usr/include/libusb-1.0pkg_cv_LIBUSB_LIBS=-lusb-1.0## ----------------- #### Output variables. #### ----------------- ##ACLOCAL='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/missing aclocal-1.15'AMDEPBACKSLASH='\'AMDEP_FALSE='#'AMDEP_TRUE=''AMTAR='$${TAR-tar}'AM_BACKSLASH='\'AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'AM_DEFAULT_VERBOSITY='0'AM_V='$(V)'AR='ar'AS='as'AUTOCONF='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/missing autoconf'AUTOHEADER='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/missing autoheader'AUTOMAKE='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/missing automake-1.15'AWK='gawk'CC='clang'CCDEPMODE='depmode=gcc3'CFLAGS=''CPP='clang -E'CPPFLAGS=''CYGPATH_W='echo'DC_VERSION='0.5.0-devel-Subsurface-branch'DC_VERSION_LIBTOOL='0:0:0'DC_VERSION_MAJOR='0'DC_VERSION_MICRO='0'DC_VERSION_MINOR='5'DEFS='-DHAVE_CONFIG_H'DEPDIR='.deps'DEPENDENCIES='libusb-1.0'DLLTOOL='false'DSYMUTIL=''DUMPBIN=''ECHO_C=''ECHO_N='-n'ECHO_T=''EGREP='/usr/sbin/grep -E'ENABLE_EXAMPLES_FALSE=''ENABLE_EXAMPLES_TRUE='#'EXEEXT=''FGREP='/usr/sbin/grep -F'GREP='/usr/sbin/grep'HIDAPI_CFLAGS=''HIDAPI_LIBS=''INSTALL_DATA='${INSTALL} -m 644'INSTALL_PROGRAM='${INSTALL}'INSTALL_SCRIPT='${INSTALL}'INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'IRDA_FALSE=''IRDA_TRUE='#'LD='/sysroot/bin/ld -m elf_x86_64'LDFLAGS=''LIBOBJS=''LIBS=''LIBTOOL='$(SHELL) $(top_builddir)/libtool'LIBUSB_CFLAGS='-I/usr/include/libusb-1.0'LIBUSB_LIBS='-lusb-1.0'LIPO=''LN_S='ln -s'LTLIBOBJS=''LT_SYS_LIBRARY_PATH=''MAKEINFO='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/missing makeinfo'MANIFEST_TOOL=':'MKDIR_P='/usr/sbin/mkdir -p'NM='/sysroot/bin/nm -B'NMEDIT=''OBJDUMP='objdump'OBJEXT='o'OS_WIN32_FALSE=''OS_WIN32_TRUE='#'OTOOL64=''OTOOL=''PACKAGE='libdivecomputer'PACKAGE_BUGREPORT=''PACKAGE_NAME='libdivecomputer'PACKAGE_STRING='libdivecomputer 0.5.0-devel-Subsurface-branch'PACKAGE_TARNAME='libdivecomputer'PACKAGE_URL=''PACKAGE_VERSION='0.5.0-devel-Subsurface-branch'PATH_SEPARATOR=':'PKG_CONFIG='/usr/sbin/pkg-config'PKG_CONFIG_LIBDIR=''PKG_CONFIG_PATH=''RANLIB='ranlib'RC=''SED='/usr/sbin/sed'SET_MAKE=''SHELL='/bin/sh'STRIP='strip'VERSION='0.5.0-devel-Subsurface-branch'ac_ct_AR='ar'ac_ct_CC=''ac_ct_DUMPBIN=''am__EXEEXT_FALSE=''am__EXEEXT_TRUE='#'am__fastdepCC_FALSE='#'am__fastdepCC_TRUE=''am__include='include'am__isrc=''am__leading_dot='.'am__nodep='_no'am__quote=''am__tar='$${TAR-tar} chof - "$$tardir"'am__untar='$${TAR-tar} xf -'bindir='${exec_prefix}/bin'build='x86_64-unknown-linux-gnu'build_alias=''build_cpu='x86_64'build_os='linux-gnu'build_vendor='unknown'datadir='${datarootdir}'datarootdir='${prefix}/share'docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'dvidir='${docdir}'exec_prefix='${prefix}'host='x86_64-unknown-linux-gnu'host_alias='x86_64-unknown-linux'host_cpu='x86_64'host_os='linux-gnu'host_vendor='unknown'htmldir='${docdir}'includedir='${prefix}/include'infodir='${datarootdir}/info'install_sh='${SHELL} /tmp/subsurface-libdc/src/libdivecomputer-subsurface-branch-4.5.6/install-sh'libdir='${exec_prefix}/lib'libexecdir='${exec_prefix}/libexec'localedir='${datarootdir}/locale'localstatedir='${prefix}/var'mandir='${datarootdir}/man'mkdir_p='$(MKDIR_P)'oldincludedir='/usr/include'pdfdir='${docdir}'prefix='/usr'program_transform_name='s&^&libdc-&'psdir='${docdir}'sbindir='${exec_prefix}/sbin'sharedstatedir='${prefix}/com'sysconfdir='${prefix}/etc'target_alias=''## ----------- #### confdefs.h. #### ----------- ##/* confdefs.h */#define PACKAGE_NAME "libdivecomputer"#define PACKAGE_TARNAME "libdivecomputer"#define PACKAGE_VERSION "0.5.0-devel-Subsurface-branch"#define PACKAGE_STRING "libdivecomputer 0.5.0-devel-Subsurface-branch"#define PACKAGE_BUGREPORT ""#define PACKAGE_URL ""#define PACKAGE "libdivecomputer"#define VERSION "0.5.0-devel-Subsurface-branch"#define STDC_HEADERS 1#define HAVE_SYS_TYPES_H 1#define HAVE_SYS_STAT_H 1#define HAVE_STDLIB_H 1#define HAVE_STRING_H 1#define HAVE_MEMORY_H 1#define HAVE_STRINGS_H 1#define HAVE_INTTYPES_H 1#define HAVE_STDINT_H 1#define HAVE_UNISTD_H 1#define HAVE_DLFCN_H 1#define LT_OBJDIR ".libs/"#define ENABLE_LOGGING 1#define HAVE_LIBUSB 1#define HAVE_SYS_SOCKET_H 1#define HAVE_GETOPT_H 1#define HAVE_SYS_PARAM_H 1#define HAVE_DECL_OPTRESET 0#define HAVE_DECL_STRERROR_R 1#define HAVE_STRERROR_R 1#define HAVE_LOCALTIME_R 1#define HAVE_GMTIME_R 1#define HAVE_GETOPT_LONG 1#define HAVE_VERSION_SUFFIX 1configure: exit 0