Build of subsurface-libdc with musl toolchain

The build took 00h 01m 45s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
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:

List of Errors

Log

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:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

There were existing files in /sysroot, using those
# /sysroot/lib
# /sysroot/share
# /sysroot/bin
# /sysroot/include
# /sysroot/libexec

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 -c
# checking whether build environment is sane... yes
# checking for x86_64-unknown-linux-strip... no
# checking for strip... strip
# checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
# checking for gawk... gawk
# checking whether make sets $(MAKE)... yes
# checking whether make supports nested variables... yes
# checking for style of include used by make... GNU
# checking for x86_64-unknown-linux-gcc... clang
# checking whether the C compiler works... yes
# checking for C compiler default output file name... a.out
# checking for suffix of executables...
# checking whether we are cross compiling... yes
# checking for suffix of object files... o
# checking whether we are using the GNU C compiler... yes
# checking whether clang accepts -g... yes
# checking for clang option to accept ISO C89... none needed
# checking whether clang understands -c and -o together... yes
# checking dependency style of clang... gcc3
# checking for x86_64-unknown-linux-ar... no
# checking for x86_64-unknown-linux-lib... no
# checking for x86_64-unknown-linux-link... no
# checking for ar... ar
# configure: WARNING: using cross tools not prefixed with host triplet
# checking the archiver (ar) interface... ar
# checking build system type... x86_64-unknown-linux-gnu
# checking host system type... x86_64-unknown-linux-gnu
# checking how to print strings... printf
# checking for a sed that does not truncate output... /usr/sbin/sed
# checking for grep that handles long lines and -e... /usr/sbin/grep
# checking for egrep... /usr/sbin/grep -E
# checking for fgrep... /usr/sbin/grep -F
# checking for ld used by clang... /sysroot/bin/ld
# checking if the linker (/sysroot/bin/ld) is GNU ld... yes
# checking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/nm -B
# checking the name lister (/sysroot/bin/nm -B) interface... BSD nm
# checking whether ln -s works... yes
# checking the maximum length of command line arguments... 1572864
# checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
# checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
# checking for /sysroot/bin/ld option to reload object files... -r
# checking for x86_64-unknown-linux-objdump... no
# checking for objdump... objdump
# checking how to recognize dependent libraries... pass_all
# checking for x86_64-unknown-linux-dlltool... no
# checking for dlltool... no
# checking how to associate runtime and link libraries... printf %s\n
# checking for x86_64-unknown-linux-ar... ar
# checking for archiver @FILE support... @
# checking for x86_64-unknown-linux-strip... strip
# checking for x86_64-unknown-linux-ranlib... no
# checking for ranlib... ranlib
# checking command to parse /sysroot/bin/nm -B output from clang object... ok
# checking for sysroot... no
# checking for a working dd... /usr/sbin/dd
# checking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1
# checking for x86_64-unknown-linux-mt... no
# checking for mt... no
# checking if : is a manifest tool... no
# checking how to run the C preprocessor... clang -E
# checking for ANSI C header files... yes
# checking for sys/types.h... yes
# checking for sys/stat.h... yes
# checking for stdlib.h... yes
# checking for string.h... yes
# checking for memory.h... yes
# checking for strings.h... yes
# checking for inttypes.h... yes
# checking for stdint.h... yes
# checking for unistd.h... yes
# checking for dlfcn.h... yes
# checking for objdir... .libs
# checking if clang supports -fno-rtti -fno-exceptions... yes
# checking for clang option to produce PIC... -fPIC -DPIC
# checking if clang PIC flag -fPIC -DPIC works... yes
# checking if clang static flag -static works... no
# checking if clang supports -c -o file.o... yes
# checking if clang supports -c -o file.o... (cached) yes
# checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries... yes
# checking whether -lc should be explicitly linked in... no
# checking dynamic linker characteristics... GNU/Linux ld.so
# checking how to hardcode library paths into programs... immediate
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... yes
# checking for x86_64-unknown-linux-windres... no
# checking for windres... no
# checking for x86_64-unknown-linux-gcc... (cached) clang
# checking whether we are using the GNU C compiler... (cached) yes
# checking whether clang accepts -g... (cached) yes
# checking for clang option to accept ISO C89... (cached) none needed
# checking whether clang understands -c and -o together... (cached) yes
# checking dependency style of clang... (cached) gcc3
# checking for clang option to accept ISO C99... none needed
# checking whether make supports nested variables... (cached) yes
# checking for native Win32... no
# checking for x86_64-unknown-linux-pkg-config... no
# checking for pkg-config... /usr/sbin/pkg-config
# checking pkg-config is at least version 0.9.0... yes
# checking for LIBUSB... yes
# checking for HIDAPI... no
# checking for winsock2.h... no
# checking for af_irda.h... no
# checking for sys/socket.h... yes
# checking for linux/types.h... no
# checking for linux/irda.h... no
# checking linux/serial.h usability... no
# checking linux/serial.h presence... no
# checking for linux/serial.h... no
# checking IOKit/serial/ioss.h usability... no
# checking IOKit/serial/ioss.h presence... no
# checking for IOKit/serial/ioss.h... no
# checking getopt.h usability... yes
# checking getopt.h presence... yes
# checking for getopt.h... yes
# checking sys/param.h usability... yes
# checking sys/param.h presence... yes
# checking for sys/param.h... yes
# checking whether optreset is declared... no
# checking whether strerror_r is declared... yes
# checking for strerror_r... yes
# checking whether strerror_r returns char *... no
# checking for localtime_r... yes
# checking for gmtime_r... yes
# checking for getopt_long... yes
# checking that generated files are newer than configure... done
# configure: creating ./config.status
# config.status: creating libdivecomputer.pc
# config.status: creating Makefile
# config.status: creating include/Makefile
# config.status: creating include/libdivecomputer/Makefile
# config.status: creating include/libdivecomputer/version.h
# config.status: creating src/Makefile
# config.status: creating src/libdivecomputer.rc
# config.status: creating examples/Makefile
# config.status: creating config.h
# config.status: executing depfiles commands
# config.status: executing libtool commands
# make -s all-recursive
# Making all in include
# Making all in libdivecomputer
# Making 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.lo
# suunto_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.lo
# suunto_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 1
# make[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' here
# static 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' here
# static 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' here
# static 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' here
# static 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' here
# static 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' here
# static 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' here
# static 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' here
# static 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' here
# static 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 2
# make[1]: *** [Makefile:470: all-recursive] Error 1
# make: *** [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 while
# running configure, to aid debugging if configure makes a mistake.
#
# It was created by libdivecomputer configure 0.5.0-devel-Subsurface-branch, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# $ ./configure --host=x86_64-unknown-linux --prefix=/usr --program-prefix=libdc-
#
# ## --------- ##
# ## Platform. ##
# ## --------- ##
#
# hostname = fbe371a88b58
# uname -m = x86_64
# uname -r = 4.10.6-1-ARCH
# uname -s = Linux
# uname -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 = unknown
#
# PATH: /sysroot/bin
# PATH: /usr/local/sbin
# PATH: /usr/local/bin
# PATH: /usr/sbin
# PATH: /usr/bin
# PATH: /sbin
# PATH: /bin
#
#
# ## ----------- ##
# ## Core tests. ##
# ## ----------- ##
#
# configure:2354: checking for a BSD-compatible install
# configure:2422: result: /usr/bin/install -c
# configure:2433: checking whether build environment is sane
# configure:2488: result: yes
# configure:2547: checking for x86_64-unknown-linux-strip
# configure:2577: result: no
# configure:2587: checking for strip
# configure:2603: found /sysroot/bin/strip
# configure:2614: result: strip
# configure:2639: checking for a thread-safe mkdir -p
# configure:2678: result: /usr/sbin/mkdir -p
# configure:2685: checking for gawk
# configure:2701: found /usr/sbin/gawk
# configure:2712: result: gawk
# configure:2723: checking whether make sets $(MAKE)
# configure:2745: result: yes
# configure:2774: checking whether make supports nested variables
# configure:2791: result: yes
# configure:2931: checking for style of include used by make
# configure:2959: result: GNU
# configure:2990: checking for x86_64-unknown-linux-gcc
# configure:3017: result: clang
# configure:3286: checking for C compiler version
# configure:3295: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:3306: $? = 0
# configure:3295: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:3306: $? = 0
# configure:3295: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:3306: $? = 1
# configure:3295: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:3306: $? = 1
# configure:3326: checking whether the C compiler works
# configure:3348: clang conftest.c >&5
# configure:3352: $? = 0
# configure:3400: result: yes
# configure:3403: checking for C compiler default output file name
# configure:3405: result: a.out
# configure:3411: checking for suffix of executables
# configure:3418: clang -o conftest conftest.c >&5
# configure:3422: $? = 0
# configure:3444: result:
# configure:3466: checking whether we are cross compiling
# configure:3474: clang -o conftest conftest.c >&5
# configure:3478: $? = 0
# configure:3485: ./conftest
# ./conftest: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
# configure:3489: $? = 127
# configure:3504: result: yes
# configure:3509: checking for suffix of object files
# configure:3531: clang -c conftest.c >&5
# configure:3535: $? = 0
# configure:3556: result: o
# configure:3560: checking whether we are using the GNU C compiler
# configure:3579: clang -c conftest.c >&5
# configure:3579: $? = 0
# configure:3588: result: yes
# configure:3597: checking whether clang accepts -g
# configure:3617: clang -c -g conftest.c >&5
# configure:3617: $? = 0
# configure:3658: result: yes
# configure:3675: checking for clang option to accept ISO C89
# configure:3738: clang -c conftest.c >&5
# configure:3738: $? = 0
# configure:3751: result: none needed
# configure:3776: checking whether clang understands -c and -o together
# configure:3798: clang -c conftest.c -o conftest2.o
# configure:3801: $? = 0
# configure:3798: clang -c conftest.c -o conftest2.o
# configure:3801: $? = 0
# configure:3813: result: yes
# configure:3832: checking dependency style of clang
# configure:3943: result: gcc3
# configure:3964: checking for x86_64-unknown-linux-ar
# configure:3994: result: no
# configure:3964: checking for x86_64-unknown-linux-lib
# configure:3994: result: no
# configure:3964: checking for x86_64-unknown-linux-link
# configure:3994: result: no
# configure:4008: checking for ar
# configure:4024: found /sysroot/bin/ar
# configure:4035: result: ar
# configure:4051: WARNING: using cross tools not prefixed with host triplet
# configure:4061: checking the archiver (ar) interface
# configure:4077: clang -c conftest.c >&5
# configure:4077: $? = 0
# configure:4079: ar cru libconftest.a conftest.o >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:4082: $? = 0
# configure:4110: result: ar
# configure:4162: checking build system type
# configure:4176: result: x86_64-unknown-linux-gnu
# configure:4196: checking host system type
# configure:4209: result: x86_64-unknown-linux-gnu
# configure:4250: checking how to print strings
# configure:4277: result: printf
# configure:4298: checking for a sed that does not truncate output
# configure:4362: result: /usr/sbin/sed
# configure:4380: checking for grep that handles long lines and -e
# configure:4438: result: /usr/sbin/grep
# configure:4443: checking for egrep
# configure:4505: result: /usr/sbin/grep -E
# configure:4510: checking for fgrep
# configure:4572: result: /usr/sbin/grep -F
# configure:4607: checking for ld used by clang
# configure:4674: result: /sysroot/bin/ld
# configure:4681: checking if the linker (/sysroot/bin/ld) is GNU ld
# configure:4696: result: yes
# configure:4708: checking for BSD- or MS-compatible name lister (nm)
# configure:4762: result: /sysroot/bin/nm -B
# configure:4892: checking the name lister (/sysroot/bin/nm -B) interface
# configure:4899: clang -c conftest.c >&5
# configure:4902: /sysroot/bin/nm -B "conftest.o"
# configure:4905: output
# 0000000000000000 B some_variable
# configure:4912: result: BSD nm
# configure:4915: checking whether ln -s works
# configure:4919: result: yes
# configure:4927: checking the maximum length of command line arguments
# configure:5058: result: 1572864
# configure:5106: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
# configure:5146: result: func_convert_file_noop
# configure:5153: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
# configure:5173: result: func_convert_file_noop
# configure:5180: checking for /sysroot/bin/ld option to reload object files
# configure:5187: result: -r
# configure:5221: checking for x86_64-unknown-linux-objdump
# configure:5251: result: no
# configure:5261: checking for objdump
# configure:5277: found /sysroot/bin/objdump
# configure:5288: result: objdump
# configure:5317: checking how to recognize dependent libraries
# configure:5517: result: pass_all
# configure:5562: checking for x86_64-unknown-linux-dlltool
# configure:5592: result: no
# configure:5602: checking for dlltool
# configure:5632: result: no
# configure:5659: checking how to associate runtime and link libraries
# configure:5686: result: printf %s\n
# configure:5702: checking for x86_64-unknown-linux-ar
# configure:5729: result: ar
# configure:5810: checking for archiver @FILE support
# configure:5827: clang -c conftest.c >&5
# configure:5827: $? = 0
# configure:5830: ar cru libconftest.a @conftest.lst >&5
# /r: `u' modifier ignored since `D' is the default (see `U')
# configure:5833: $? = 0
# configure: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 directory
# configure:5841: $? = 1
# configure:5853: result: @
# configure:5871: checking for x86_64-unknown-linux-strip
# configure:5898: result: strip
# configure:5970: checking for x86_64-unknown-linux-ranlib
# configure:6000: result: no
# configure:6010: checking for ranlib
# configure:6026: found /sysroot/bin/ranlib
# configure:6037: result: ranlib
# configure:6139: checking command to parse /sysroot/bin/nm -B output from clang object
# configure:6292: clang -c conftest.c >&5
# configure:6295: $? = 0
# configure: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.nm
# configure:6302: $? = 0
# configure:6368: clang -o conftest conftest.c conftstm.o >&5
# configure:6371: $? = 0
# configure:6409: result: ok
# configure:6456: checking for sysroot
# configure:6486: result: no
# configure:6493: checking for a working dd
# configure:6531: result: /usr/sbin/dd
# configure:6535: checking how to truncate binary pipes
# configure:6550: result: /usr/sbin/dd bs=4096 count=1
# configure:6686: clang -c conftest.c >&5
# configure:6689: $? = 0
# configure:6839: checking for x86_64-unknown-linux-mt
# configure:6869: result: no
# configure:6879: checking for mt
# configure:6909: result: no
# configure:6929: checking if : is a manifest tool
# configure:6935: : '-?'
# configure:6943: result: no
# configure:7620: checking how to run the C preprocessor
# configure:7651: clang -E conftest.c
# configure:7651: $? = 0
# configure:7665: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7665: $? = 1
# configure: 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 -E
# configure:7710: clang -E conftest.c
# configure:7710: $? = 0
# configure:7724: clang -E conftest.c
# conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
# #include
# ^
# 1 error generated.
# configure:7724: $? = 1
# configure: 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 files
# configure:7773: clang -c conftest.c >&5
# configure:7773: $? = 0
# configure:7857: result: yes
# configure:7870: checking for sys/types.h
# configure:7870: clang -c conftest.c >&5
# configure:7870: $? = 0
# configure:7870: result: yes
# configure:7870: checking for sys/stat.h
# configure:7870: clang -c conftest.c >&5
# configure:7870: $? = 0
# configure:7870: result: yes
# configure:7870: checking for stdlib.h
# configure:7870: clang -c conftest.c >&5
# configure:7870: $? = 0
# configure:7870: result: yes
# configure:7870: checking for string.h
# configure:7870: clang -c conftest.c >&5
# configure:7870: $? = 0
# configure:7870: result: yes
# configure:7870: checking for memory.h
# configure:7870: clang -c conftest.c >&5
# configure:7870: $? = 0
# configure:7870: result: yes
# configure:7870: checking for strings.h
# configure:7870: clang -c conftest.c >&5
# configure:7870: $? = 0
# configure:7870: result: yes
# configure:7870: checking for inttypes.h
# configure:7870: clang -c conftest.c >&5
# configure:7870: $? = 0
# configure:7870: result: yes
# configure:7870: checking for stdint.h
# configure:7870: clang -c conftest.c >&5
# configure:7870: $? = 0
# configure:7870: result: yes
# configure:7870: checking for unistd.h
# configure:7870: clang -c conftest.c >&5
# configure:7870: $? = 0
# configure:7870: result: yes
# configure:7884: checking for dlfcn.h
# configure:7884: clang -c conftest.c >&5
# configure:7884: $? = 0
# configure:7884: result: yes
# configure:8438: checking for objdir
# configure:8453: result: .libs
# configure:8717: checking if clang supports -fno-rtti -fno-exceptions
# configure:8735: clang -c -fno-rtti -fno-exceptions conftest.c >&5
# configure:8739: $? = 0
# configure:8752: result: yes
# configure:9110: checking for clang option to produce PIC
# configure:9117: result: -fPIC -DPIC
# configure:9125: checking if clang PIC flag -fPIC -DPIC works
# configure:9143: clang -c -fPIC -DPIC -DPIC conftest.c >&5
# configure:9147: $? = 0
# configure:9160: result: yes
# configure:9189: checking if clang static flag -static works
# configure:9217: result: no
# configure:9232: checking if clang supports -c -o file.o
# configure:9253: clang -c -o out/conftest2.o conftest.c >&5
# configure:9257: $? = 0
# configure:9279: result: yes
# configure:9287: checking if clang supports -c -o file.o
# configure:9334: result: yes
# configure:9367: checking whether the clang linker (/sysroot/bin/ld -m elf_x86_64) supports shared libraries
# configure:10626: result: yes
# configure:10663: checking whether -lc should be explicitly linked in
# configure:10671: clang -c conftest.c >&5
# configure:10674: $? = 0
# configure:10689: clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
# configure:10692: $? = 0
# configure:10706: result: no
# configure:10866: checking dynamic linker characteristics
# configure:11447: clang -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
# configure:11447: $? = 0
# configure:11684: result: GNU/Linux ld.so
# configure:11806: checking how to hardcode library paths into programs
# configure:11831: result: immediate
# configure:12379: checking whether stripping libraries is possible
# configure:12384: result: yes
# configure:12419: checking if libtool supports shared libraries
# configure:12421: result: yes
# configure:12424: checking whether to build shared libraries
# configure:12449: result: yes
# configure:12452: checking whether to build static libraries
# configure:12456: result: yes
# configure:12496: checking for x86_64-unknown-linux-windres
# configure:12526: result: no
# configure:12536: checking for windres
# configure:12566: result: no
# configure:12721: checking for x86_64-unknown-linux-gcc
# configure:12748: result: clang
# configure:13017: checking for C compiler version
# configure:13026: clang --version >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# configure:13037: $? = 0
# configure:13026: clang -v >&5
# clang version 3.8.1
# Target: x86_64-unknown-linux-gnu
# Thread model: posix
# InstalledDir: /
# Found candidate GCC installation: //../lib/gcc/x86_64-pc-linux-gnu/6.1.1
# Found candidate GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Selected GCC installation: //../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
# Candidate multilib: .;@m64
# Selected multilib: .;@m64
# configure:13037: $? = 0
# configure:13026: clang -V >&5
# clang-3.8: error: argument to '-V' is missing (expected 1 value)
# clang-3.8: error: no input files
# configure:13037: $? = 1
# configure:13026: clang -qversion >&5
# clang-3.8: error: unknown argument: '-qversion'
# clang-3.8: error: no input files
# configure:13037: $? = 1
# configure:13041: checking whether we are using the GNU C compiler
# configure:13069: result: yes
# configure:13078: checking whether clang accepts -g
# configure:13139: result: yes
# configure:13156: checking for clang option to accept ISO C89
# configure:13232: result: none needed
# configure:13257: checking whether clang understands -c and -o together
# configure:13294: result: yes
# configure:13313: checking dependency style of clang
# configure:13424: result: gcc3
# configure:13439: checking for clang option to accept ISO C99
# configure:13588: clang -c conftest.c >&5
# configure:13588: $? = 0
# configure:13601: result: none needed
# configure:13629: checking whether make supports nested variables
# configure:13646: result: yes
# configure:13659: checking for native Win32
# configure:13669: result: no
# configure:13696: checking for x86_64-unknown-linux-pkg-config
# configure:13729: result: no
# configure:13739: checking for pkg-config
# configure:13757: found /usr/sbin/pkg-config
# configure:13769: result: /usr/sbin/pkg-config
# configure:13794: checking pkg-config is at least version 0.9.0
# configure:13797: result: yes
# configure:13809: checking for LIBUSB
# configure:13816: $PKG_CONFIG --exists --print-errors "libusb-1.0"
# configure:13819: $? = 0
# configure:13832: $PKG_CONFIG --exists --print-errors "libusb-1.0"
# configure:13835: $? = 0
# configure:13872: result: yes
# configure:13896: checking for HIDAPI
# configure: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 variable
# No package 'hidapi' found
# configure:13906: $? = 1
# configure: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 variable
# No package 'hidapi' found
# configure:13922: $? = 1
# configure:13935: result: no
# No package 'hidapi' found
# configure:13977: checking for winsock2.h
# configure:13977: clang -c conftest.c >&5
# conftest.c:31:10: fatal error: 'winsock2.h' file not found
# #include
# ^
# 1 error generated.
# configure:13977: $? = 1
# configure: 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: no
# configure:13977: checking for af_irda.h
# configure:13977: clang -c conftest.c >&5
# conftest.c:31:10: fatal error: 'af_irda.h' file not found
# #include
# ^
# 1 error generated.
# configure:13977: $? = 1
# configure: 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: no
# configure:13998: checking for sys/socket.h
# configure:13998: clang -c conftest.c >&5
# configure:13998: $? = 0
# configure:13998: result: yes
# configure:13998: checking for linux/types.h
# configure:13998: clang -c conftest.c >&5
# conftest.c:35:10: fatal error: 'linux/types.h' file not found
# #include
# ^
# 1 error generated.
# configure:13998: $? = 1
# configure: 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: no
# configure:13998: checking for linux/irda.h
# configure:13998: clang -c conftest.c >&5
# conftest.c:35:10: fatal error: 'linux/irda.h' file not found
# #include
# ^
# 1 error generated.
# configure:13998: $? = 1
# configure: 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: no
# configure:14037: checking linux/serial.h usability
# configure:14037: clang -c conftest.c >&5
# conftest.c:59:10: fatal error: 'linux/serial.h' file not found
# #include
# ^
# 1 error generated.
# configure:14037: $? = 1
# configure: 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: no
# configure:14037: checking linux/serial.h presence
# configure:14037: clang -E conftest.c
# conftest.c:26:10: fatal error: 'linux/serial.h' file not found
# #include
# ^
# 1 error generated.
# configure:14037: $? = 1
# configure: 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: no
# configure:14037: checking for linux/serial.h
# configure:14037: result: no
# configure:14049: checking IOKit/serial/ioss.h usability
# configure:14049: clang -c conftest.c >&5
# conftest.c:59:10: fatal error: 'IOKit/serial/ioss.h' file not found
# #include
# ^
# 1 error generated.
# configure:14049: $? = 1
# configure: 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: no
# configure:14049: checking IOKit/serial/ioss.h presence
# configure:14049: clang -E conftest.c
# conftest.c:26:10: fatal error: 'IOKit/serial/ioss.h' file not found
# #include
# ^
# 1 error generated.
# configure:14049: $? = 1
# configure: 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: no
# configure:14049: checking for IOKit/serial/ioss.h
# configure:14049: result: no
# configure:14061: checking getopt.h usability
# configure:14061: clang -c conftest.c >&5
# configure:14061: $? = 0
# configure:14061: result: yes
# configure:14061: checking getopt.h presence
# configure:14061: clang -E conftest.c
# configure:14061: $? = 0
# configure:14061: result: yes
# configure:14061: checking for getopt.h
# configure:14061: result: yes
# configure:14073: checking sys/param.h usability
# configure:14073: clang -c conftest.c >&5
# configure:14073: $? = 0
# configure:14073: result: yes
# configure:14073: checking sys/param.h presence
# configure:14073: clang -E conftest.c
# configure:14073: $? = 0
# configure:14073: result: yes
# configure:14073: checking for sys/param.h
# configure:14073: result: yes
# configure:14085: checking whether optreset is declared
# configure:14085: clang -c conftest.c >&5
# conftest.c:68:10: error: use of undeclared identifier 'optreset'
# (void) optreset;
# ^
# 1 error generated.
# configure:14085: $? = 1
# configure: 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: no
# configure:14098: checking whether strerror_r is declared
# configure:14098: clang -c conftest.c >&5
# configure:14098: $? = 0
# configure:14098: result: yes
# configure:14111: checking for strerror_r
# configure:14111: clang -o conftest conftest.c >&5
# configure:14111: $? = 0
# configure:14111: result: yes
# configure:14120: checking whether strerror_r returns char *
# configure:14144: clang -c conftest.c >&5
# conftest.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: $? = 1
# configure: 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: no
# configure:14193: checking for localtime_r
# configure:14193: clang -o conftest conftest.c >&5
# configure:14193: $? = 0
# configure:14193: result: yes
# configure:14193: checking for gmtime_r
# configure:14193: clang -o conftest conftest.c >&5
# configure:14193: $? = 0
# configure:14193: result: yes
# configure:14204: checking for getopt_long
# configure:14204: clang -o conftest conftest.c >&5
# configure:14204: $? = 0
# configure:14204: result: yes
# configure:14344: checking that generated files are newer than configure
# configure:14350: result: done
# configure:14389: creating ./config.status
#
# ## ---------------------- ##
# ## Running config.status. ##
# ## ---------------------- ##
#
# This file was extended by libdivecomputer config.status 0.5.0-devel-Subsurface-branch, which was
# generated by GNU Autoconf 2.69. Invocation command line was
#
# CONFIG_FILES =
# CONFIG_HEADERS =
# CONFIG_LINKS =
# CONFIG_COMMANDS =
# $ ./config.status
#
# on fbe371a88b58
#
# config.status:1168: creating libdivecomputer.pc
# config.status:1168: creating Makefile
# config.status:1168: creating include/Makefile
# config.status:1168: creating include/libdivecomputer/Makefile
# config.status:1168: creating include/libdivecomputer/version.h
# config.status:1168: creating src/Makefile
# config.status:1168: creating src/libdivecomputer.rc
# config.status:1168: creating examples/Makefile
# config.status:1168: creating config.h
# config.status:1397: executing depfiles commands
# config.status:1397: executing libtool commands
#
# ## ---------------- ##
# ## Cache variables. ##
# ## ---------------- ##
#
# ac_cv_build=x86_64-unknown-linux-gnu
# ac_cv_c_compiler_gnu=yes
# ac_cv_env_CC_set=set
# ac_cv_env_CC_value=clang
# ac_cv_env_CFLAGS_set=set
# ac_cv_env_CFLAGS_value=
# ac_cv_env_CPPFLAGS_set=set
# ac_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=set
# ac_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=set
# ac_cv_env_host_alias_value=x86_64-unknown-linux
# ac_cv_env_target_alias_set=
# ac_cv_env_target_alias_value=
# ac_cv_func_getopt_long=yes
# ac_cv_func_gmtime_r=yes
# ac_cv_func_localtime_r=yes
# ac_cv_func_strerror_r=yes
# ac_cv_func_strerror_r_char_p=no
# ac_cv_have_decl_optreset=no
# ac_cv_have_decl_strerror_r=yes
# ac_cv_header_IOKit_serial_ioss_h=no
# ac_cv_header_af_irda_h=no
# ac_cv_header_dlfcn_h=yes
# ac_cv_header_getopt_h=yes
# ac_cv_header_inttypes_h=yes
# ac_cv_header_linux_irda_h=no
# ac_cv_header_linux_serial_h=no
# ac_cv_header_linux_types_h=no
# ac_cv_header_memory_h=yes
# ac_cv_header_stdc=yes
# ac_cv_header_stdint_h=yes
# ac_cv_header_stdlib_h=yes
# ac_cv_header_string_h=yes
# ac_cv_header_strings_h=yes
# ac_cv_header_sys_param_h=yes
# ac_cv_header_sys_socket_h=yes
# ac_cv_header_sys_stat_h=yes
# ac_cv_header_sys_types_h=yes
# ac_cv_header_unistd_h=yes
# ac_cv_header_winsock2_h=no
# ac_cv_host=x86_64-unknown-linux-gnu
# ac_cv_objext=o
# ac_cv_path_EGREP='/usr/sbin/grep -E'
# ac_cv_path_FGREP='/usr/sbin/grep -F'
# ac_cv_path_GREP=/usr/sbin/grep
# ac_cv_path_SED=/usr/sbin/sed
# ac_cv_path_ac_pt_PKG_CONFIG=/usr/sbin/pkg-config
# ac_cv_path_install='/usr/bin/install -c'
# ac_cv_path_lt_DD=/usr/sbin/dd
# ac_cv_path_mkdir=/usr/sbin/mkdir
# ac_cv_prog_AR=ar
# ac_cv_prog_AWK=gawk
# ac_cv_prog_CC=clang
# ac_cv_prog_CPP='clang -E'
# ac_cv_prog_STRIP=strip
# ac_cv_prog_ac_ct_AR=ar
# ac_cv_prog_ac_ct_OBJDUMP=objdump
# ac_cv_prog_ac_ct_RANLIB=ranlib
# ac_cv_prog_ac_ct_STRIP=strip
# ac_cv_prog_cc_c89=
# ac_cv_prog_cc_c99=
# ac_cv_prog_cc_g=yes
# ac_cv_prog_make_make_set=yes
# am_cv_CC_dependencies_compiler_type=gcc3
# am_cv_ar_interface=ar
# am_cv_make_support_nested_variables=yes
# am_cv_prog_cc_c_o=yes
# lt_cv_ar_at_file=@
# lt_cv_archive_cmds_need_lc=no
# lt_cv_deplibs_check_method=pass_all
# lt_cv_file_magic_cmd='$MAGIC_CMD'
# lt_cv_file_magic_test_file=
# lt_cv_ld_reload_flag=-r
# lt_cv_nm_interface='BSD nm'
# lt_cv_objdir=.libs
# lt_cv_path_LD=/sysroot/bin/ld
# lt_cv_path_NM='/sysroot/bin/nm -B'
# lt_cv_path_mainfest_tool=no
# lt_cv_prog_compiler_c_o=yes
# lt_cv_prog_compiler_c_o_RC=yes
# lt_cv_prog_compiler_pic='-fPIC -DPIC'
# lt_cv_prog_compiler_pic_works=yes
# lt_cv_prog_compiler_rtti_exceptions=yes
# lt_cv_prog_compiler_static_works=no
# lt_cv_prog_gnu_ld=yes
# lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
# lt_cv_shlibpath_overrides_runpath=yes
# lt_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=1572864
# lt_cv_to_host_file_cmd=func_convert_file_noop
# lt_cv_to_tool_file_cmd=func_convert_file_noop
# lt_cv_truncate_bin='/usr/sbin/dd bs=4096 count=1'
# pkg_cv_LIBUSB_CFLAGS=-I/usr/include/libusb-1.0
# pkg_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 1
#
# configure: exit 0